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