_layout.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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 img {
  106. max-width: 180px;
  107. }
  108. #ch-ggs-web-suite-toggler-nav {
  109. > .navbar-nav {
  110. padding: 40px 0;
  111. }
  112. li.level-rel-0 > .nav-link {
  113. padding-left: 0;
  114. }
  115. .dropdown-menu {
  116. border: none;
  117. padding: 0.1rem 0 0.8rem;
  118. .dropdown-item {
  119. padding: 0.15rem .5rem;
  120. }
  121. }
  122. .ch-ggs-web-suite-language-nav {
  123. display: inline-block;
  124. }
  125. }
  126. }
  127. @include media-breakpoint-up(lg) {
  128. #ch-ggs-web-suite-nav {
  129. padding: 0;
  130. }
  131. #ch-ggs-web-suite-toggler-nav {
  132. margin-top: 12px;
  133. }
  134. }
  135. // content
  136. h1 {
  137. color: $primary;
  138. text-align: center;
  139. border-bottom: 1px solid $antrazit05;
  140. padding-bottom: 22px;
  141. margin-bottom: 30px;
  142. }
  143. #ch-ggs-web-suite-content > .container,
  144. #ch-ggs-web-suite-content > section > .container {
  145. padding-top: 120px;
  146. padding-bottom: 120px;
  147. }
  148. #ch-ggs-web-suite-content > section > .container:last-child > *:last-child,
  149. .ch-ggs-web-suite-common-content-holder:last-child > .ch-ggs-web-suite-common-content > *:last-child {
  150. margin-bottom: 0;
  151. }
  152. #ch-ggs-web-suite-content-step {
  153. background-color: $antrazit05;
  154. padding: 15px 0;
  155. }
  156. // footer
  157. #ch-ggs-web-suite-footer-addr {
  158. border-top: 5px solid $primary-d-100;
  159. background-color: $primary;
  160. color: white;
  161. padding: 40px 0 28px;
  162. a {
  163. color: white;
  164. }
  165. }
  166. #ch-ggs-web-suite-footer-payment {
  167. padding: 20px 0;
  168. dl {
  169. margin: 0;
  170. > dt {
  171. display: inline-block;
  172. }
  173. > dd {
  174. display: inline-block;
  175. font-weight: bold;
  176. color: $antrazit60;
  177. }
  178. }
  179. img {
  180. width: auto;
  181. height: 40px;
  182. margin-right: 15px;
  183. }
  184. }
  185. #ch-ggs-web-suite-footer-copyright {
  186. background-color: $antrazit;
  187. color: white;
  188. padding: 18px;
  189. a {
  190. color: white;
  191. }
  192. }
  193. #ch-ggs-web-suite-footer-creator > a {
  194. color: $antrazit60;
  195. }