_layout.scss 3.7 KB

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