_layout.scss 3.9 KB

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