_layout.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. --bar-color: #2d2d2d;
  82. &:focus {
  83. outline: none;
  84. }
  85. .navbar-toggler-bar {
  86. background-color: var(--bar-color);
  87. position: relative;
  88. display: block;
  89. height: var(--bar-height);
  90. margin: var(--bar-margin) 0;
  91. width: 26px;
  92. transform: rotate(0deg);
  93. transform-origin: center;
  94. transition: .25s ease-in-out;
  95. will-change: transform;
  96. }
  97. &[aria-expanded="true"],
  98. &:hover,
  99. &:focus {
  100. --bar-color: #{$primary};
  101. }
  102. &:focus-within {
  103. //--#{$prefix}navbar-toggler-focus-width: 1px;
  104. }
  105. &[aria-expanded="true"] {
  106. .navbar-toggler-bar:nth-child(1),
  107. .navbar-toggler-bar:nth-child(3) {
  108. transform: translateY(calc(var(--bar-height) + var(--bar-margin))) rotate(45deg);
  109. }
  110. .navbar-toggler-bar:nth-child(2) {
  111. opacity: 0;
  112. }
  113. .navbar-toggler-bar:nth-child(3) {
  114. transform: translateY(calc(-1 * calc(var(--bar-height) + var(--bar-margin)))) rotate(-45deg);
  115. }
  116. }
  117. }
  118. @include media-breakpoint-down(md) {
  119. .navbar-brand svg,
  120. .navbar-brand img {
  121. max-width: 180px;
  122. max-height: 44px;
  123. }
  124. #ch-ggs-web-suite-toggler-nav {
  125. > .navbar-nav {
  126. padding: 40px 0;
  127. }
  128. li.level-rel-0 > .nav-link {
  129. padding-left: 0;
  130. }
  131. .dropdown-menu {
  132. border: none;
  133. padding: 0.1rem 0 0.8rem;
  134. .dropdown-item {
  135. padding: 0.15rem .5rem;
  136. }
  137. }
  138. .ch-ggs-web-suite-language-nav {
  139. display: inline-block;
  140. }
  141. }
  142. }
  143. @include media-breakpoint-up(lg) {
  144. #ch-ggs-web-suite-nav {
  145. padding: 0;
  146. }
  147. }
  148. // content
  149. h1 {
  150. color: $primary;
  151. text-align: center;
  152. border-bottom: 1px solid $antrazit05;
  153. padding-bottom: 22px;
  154. margin-bottom: 30px;
  155. }
  156. #ch-ggs-web-suite-content > .container,
  157. #ch-ggs-web-suite-content > section > .container {
  158. padding-top: 120px;
  159. padding-bottom: 120px;
  160. }
  161. #ch-ggs-web-suite-content > section > .container:last-child > *:last-child,
  162. .ch-ggs-web-suite-common-content-holder:last-child > .ch-ggs-web-suite-common-content > *:last-child {
  163. margin-bottom: 0;
  164. }
  165. #ch-ggs-web-suite-content-step {
  166. background-color: $antrazit05;
  167. padding: 15px 0;
  168. }
  169. // footer
  170. #ch-ggs-web-suite-footer-addr {
  171. border-top: 5px solid $primary-d-100;
  172. background-color: $primary;
  173. color: white;
  174. padding: 40px 0 28px;
  175. a {
  176. color: white;
  177. }
  178. }
  179. #ch-ggs-web-suite-footer-payment {
  180. padding: 20px 0;
  181. dl {
  182. margin: 0;
  183. > dt {
  184. display: inline-block;
  185. }
  186. > dd {
  187. display: inline-block;
  188. font-weight: bold;
  189. color: $antrazit60;
  190. }
  191. }
  192. img {
  193. width: auto;
  194. height: 40px;
  195. margin-right: 15px;
  196. }
  197. }
  198. #ch-ggs-web-suite-footer-copyright {
  199. background-color: $antrazit;
  200. color: white;
  201. padding: 18px;
  202. a {
  203. color: white;
  204. }
  205. }
  206. #ch-ggs-web-suite-footer-creator > a {
  207. color: $antrazit60;
  208. }