_layout.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. // general style corrections
  2. // stretch content -> sticky footer
  3. html {
  4. scroll-behavior: smooth;
  5. }
  6. body {
  7. display: flex;
  8. flex-direction: column;
  9. overflow-y: scroll;
  10. min-height: 100vh;
  11. position: relative;
  12. }
  13. #ch-ggs-web-suite-content {
  14. flex: 1 0 auto;
  15. }
  16. .ch-ggs-web-suite-section-gray {
  17. background: $antrazit05;
  18. }
  19. .ch-ggs-web-suite-section-dark {
  20. background: $primary-d-200;
  21. &,
  22. & a:not([class]) {
  23. color: $white;
  24. }
  25. }
  26. h1, h2 {
  27. font-weight: 300;
  28. }
  29. footer h2 {
  30. margin-bottom: 1.5rem;
  31. }
  32. .ch-ggs-web-suite-section-title {
  33. margin-bottom: 2.5rem;
  34. }
  35. .navbar-brand svg,
  36. .navbar-brand img {
  37. max-width: 243px;
  38. max-height: 60px;
  39. width: auto;
  40. }
  41. // header
  42. #ch-ggs-web-suite-header {
  43. padding: 18px 0;
  44. border-bottom: 2px solid $primary;
  45. }
  46. // Navigation
  47. #ch-ggs-web-suite-toggler-nav {
  48. li.level-rel-0 > .nav-link {
  49. color: $antrazit85;
  50. font-weight: bold;
  51. font-size: $font-size-md;
  52. text-transform: uppercase;
  53. padding: 0.5rem 1rem;
  54. line-height: 1;
  55. &:hover {
  56. color: $primary;
  57. }
  58. &.ch-ggs-web-suite-language-nav {
  59. background-color: $antrazit05;
  60. margin-left: 2px;
  61. padding: 0.5rem 0.75rem;
  62. &.active {
  63. background-color: $primary;
  64. color: white;
  65. }
  66. }
  67. .ifc {
  68. vertical-align: middle;
  69. position: relative;
  70. top: -1px;
  71. }
  72. }
  73. }
  74. .navbar-brand {
  75. padding-top: 0;
  76. padding-bottom: 0;
  77. }
  78. .navbar-toggler {
  79. --bar-height: 4px;
  80. --bar-margin: 5px;
  81. &:focus {
  82. outline: none;
  83. }
  84. .navbar-toggler-bar {
  85. background-color: #2d2d2d;
  86. position: relative;
  87. display: block;
  88. height: var(--bar-height);
  89. margin: var(--bar-margin) 0;
  90. width: 26px;
  91. transform: rotate(0deg);
  92. transform-origin: center;
  93. transition: .25s ease-in-out;
  94. will-change: transform;
  95. }
  96. &[aria-expanded="true"] {
  97. .navbar-toggler-bar:nth-child(1),
  98. .navbar-toggler-bar:nth-child(3) {
  99. transform: translateY(calc(var(--bar-height) + var(--bar-margin))) rotate(45deg);
  100. }
  101. .navbar-toggler-bar:nth-child(2) {
  102. opacity: 0;
  103. }
  104. .navbar-toggler-bar:nth-child(3) {
  105. transform: translateY(calc(-1 * calc(var(--bar-height) + var(--bar-margin)))) rotate(-45deg);
  106. }
  107. }
  108. }
  109. @include media-breakpoint-down(md) {
  110. .navbar-brand svg,
  111. .navbar-brand img {
  112. max-width: 180px;
  113. max-height: 44px;
  114. }
  115. #ch-ggs-web-suite-toggler-nav {
  116. > .navbar-nav {
  117. padding: 40px 0;
  118. }
  119. li.level-rel-0 > .nav-link {
  120. padding-left: 0;
  121. }
  122. .dropdown-menu {
  123. border: none;
  124. padding: 0.1rem 0 0.8rem;
  125. .dropdown-item {
  126. padding: 0.15rem .5rem;
  127. }
  128. }
  129. .ch-ggs-web-suite-language-nav {
  130. display: inline-block;
  131. }
  132. }
  133. }
  134. @include media-breakpoint-up(lg) {
  135. #ch-ggs-web-suite-nav {
  136. padding: 0;
  137. }
  138. }
  139. // content
  140. h1 {
  141. color: $primary;
  142. text-align: center;
  143. border-bottom: 1px solid $antrazit05;
  144. padding-bottom: 22px;
  145. margin-bottom: 30px;
  146. }
  147. #ch-ggs-web-suite-content > .container,
  148. #ch-ggs-web-suite-content > section > .container {
  149. padding-top: 120px;
  150. padding-bottom: 120px;
  151. }
  152. #ch-ggs-web-suite-content > section > .container:last-child > *:last-child,
  153. .ch-ggs-web-suite-common-content-holder:last-child > .ch-ggs-web-suite-common-content > *:last-child {
  154. margin-bottom: 0;
  155. }
  156. #ch-ggs-web-suite-content-step {
  157. background-color: $antrazit05;
  158. padding: 15px 0;
  159. }
  160. // footer
  161. #ch-ggs-web-suite-footer-addr {
  162. border-top: 5px solid $primary-d-100;
  163. background-color: $primary;
  164. color: white;
  165. padding: 40px 0 28px;
  166. a {
  167. color: white;
  168. }
  169. }
  170. #ch-ggs-web-suite-footer-payment {
  171. padding: 20px 0;
  172. dl {
  173. margin: 0;
  174. > dt {
  175. display: inline-block;
  176. }
  177. > dd {
  178. display: inline-block;
  179. font-weight: bold;
  180. color: $antrazit60;
  181. }
  182. }
  183. img {
  184. width: auto;
  185. height: 40px;
  186. margin-right: 15px;
  187. }
  188. }
  189. #ch-ggs-web-suite-footer-copyright {
  190. background-color: $antrazit;
  191. color: white;
  192. padding: 18px;
  193. a {
  194. color: white;
  195. }
  196. }
  197. #ch-ggs-web-suite-footer-creator > a {
  198. color: $antrazit60;
  199. }