_layout.scss 4.0 KB

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