_layout.scss 3.8 KB

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