|
1 | 1 | footer { |
2 | | - background-color: var(--rbc-cool-white); |
| 2 | + --footer-columns-bg: var(--rbc-blue); |
| 3 | + --footer-bar-bg: #595959; |
| 4 | + |
3 | 5 | font-size: var(--body-font-size-xs); |
4 | 6 | } |
5 | 7 |
|
6 | | -footer .footer > div { |
| 8 | +footer .footer-columns-band { |
| 9 | + background-color: var(--footer-columns-bg); |
| 10 | + color: var(--rbc-white); |
| 11 | +} |
| 12 | + |
| 13 | +footer .footer-bar-band { |
| 14 | + background-color: var(--footer-bar-bg); |
| 15 | + color: var(--rbc-white); |
| 16 | +} |
| 17 | + |
| 18 | +footer .footer-inner { |
7 | 19 | margin: auto; |
8 | 20 | max-width: 1200px; |
9 | | - padding: var(--space-2xl) var(--space-l) var(--space-l); |
| 21 | + padding: var(--space-xl) var(--space-l); |
| 22 | +} |
| 23 | + |
| 24 | +footer .footer-columns-band .footer-inner { |
| 25 | + padding: var(--space-2xl) var(--space-l) var(--space-xl); |
| 26 | +} |
| 27 | + |
| 28 | +footer .footer-columns { |
| 29 | + display: grid; |
| 30 | + grid-template-columns: 1fr; |
| 31 | + gap: var(--space-xl); |
| 32 | +} |
| 33 | + |
| 34 | +footer .footer-col h2, |
| 35 | +footer .footer-col h3 { |
| 36 | + margin: 0 0 var(--space-m); |
| 37 | + color: var(--rbc-white); |
| 38 | + font-size: var(--body-font-size-l); |
| 39 | + font-weight: 500; |
| 40 | + font-family: var(--body-font-family); |
10 | 41 | } |
11 | 42 |
|
12 | | -footer .footer p { |
| 43 | +footer .footer-col ul { |
13 | 44 | margin: 0; |
| 45 | + padding: 0; |
| 46 | + list-style: none; |
| 47 | +} |
| 48 | + |
| 49 | +footer .footer-col li { |
| 50 | + margin-bottom: var(--space-m); |
| 51 | +} |
| 52 | + |
| 53 | +footer .footer-col a { |
| 54 | + display: grid; |
| 55 | + grid-template-columns: 12px 1fr; |
| 56 | + gap: var(--space-xs); |
| 57 | + align-items: start; |
| 58 | + color: var(--rbc-white); |
| 59 | + text-decoration: none; |
| 60 | + font-size: var(--body-font-size-s); |
| 61 | +} |
| 62 | + |
| 63 | +footer .footer-col a::before { |
| 64 | + content: ""; |
| 65 | + width: 14px; |
| 66 | + height: 14px; |
| 67 | + padding-top: 4px; |
| 68 | + background-color: currentcolor; |
| 69 | + mask: url('../../icons/chevron-down.svg') center / contain no-repeat; |
| 70 | + transform: rotate(-90deg); |
| 71 | +} |
| 72 | + |
| 73 | +footer .footer-col a:hover, |
| 74 | +footer .footer-col a:focus-visible { |
| 75 | + text-decoration: underline; |
| 76 | +} |
| 77 | + |
| 78 | +footer .footer-col p { |
| 79 | + margin: var(--space-m) 0 0; |
| 80 | +} |
| 81 | + |
| 82 | +footer .footer-col .icon-cdic-sadc { |
| 83 | + width: 116px; |
| 84 | + height: 54px; |
| 85 | +} |
| 86 | + |
| 87 | +footer .footer-bar { |
| 88 | + display: flex; |
| 89 | + flex-direction: column; |
| 90 | + align-items: center; |
| 91 | + gap: var(--space-m); |
| 92 | + text-align: center; |
| 93 | +} |
| 94 | + |
| 95 | +footer .footer-bar-left, |
| 96 | +footer .footer-bar-right { |
| 97 | + display: flex; |
| 98 | + flex-direction: column; |
| 99 | + align-items: center; |
| 100 | + gap: var(--space-s); |
| 101 | +} |
| 102 | + |
| 103 | +footer .footer-bar p { |
| 104 | + margin: 0; |
| 105 | + font-size: var(--body-font-size-s); |
| 106 | +} |
| 107 | + |
| 108 | +footer .footer-legal { |
| 109 | + display: flex; |
| 110 | + flex-wrap: wrap; |
| 111 | + justify-content: center; |
| 112 | + gap: var(--space-2xs) var(--space-s); |
| 113 | + color: rgb(255 255 255 / 75%); |
| 114 | +} |
| 115 | + |
| 116 | +footer .footer-bar .footer-legal a { |
| 117 | + color: rgb(255 255 255 / 75%); |
| 118 | + text-decoration: none; |
| 119 | +} |
| 120 | + |
| 121 | +footer .footer-bar .footer-legal a:not(:last-child)::after { |
| 122 | + content: "|"; |
| 123 | + margin-left: var(--space-s); |
| 124 | + color: rgb(255 255 255 / 40%); |
| 125 | +} |
| 126 | + |
| 127 | +footer .footer-bar-right { |
| 128 | + width: 100%; |
| 129 | + padding-top: var(--space-l); |
| 130 | + border-top: 1px solid rgb(255 255 255 / 25%); |
| 131 | +} |
| 132 | + |
| 133 | +footer .footer-social { |
| 134 | + display: flex; |
| 135 | + gap: var(--space-l); |
| 136 | + align-items: center; |
| 137 | + justify-content: center; |
| 138 | +} |
| 139 | + |
| 140 | +footer .footer-social .icon { |
| 141 | + width: 22px; |
| 142 | + height: 22px; |
| 143 | +} |
| 144 | + |
| 145 | +footer .footer-bar .footer-totop a { |
| 146 | + display: inline-flex; |
| 147 | + flex-direction: column; |
| 148 | + gap: var(--space-3xs); |
| 149 | + align-items: center; |
| 150 | + color: var(--rbc-white); |
| 151 | + text-decoration: none; |
| 152 | +} |
| 153 | + |
| 154 | +footer .footer-totop .icon { |
| 155 | + width: 20px; |
| 156 | + height: 20px; |
| 157 | +} |
| 158 | + |
| 159 | +footer .footer-bar .icon svg, |
| 160 | +footer .footer-bar .icon svg * { |
| 161 | + fill: var(--rbc-white); |
| 162 | +} |
| 163 | + |
| 164 | +footer .footer-bar a:hover, |
| 165 | +footer .footer-bar a:focus-visible { |
| 166 | + text-decoration: underline; |
14 | 167 | } |
15 | 168 |
|
16 | 169 | @media (width >= 768px) { |
17 | | - footer .footer > div { |
18 | | - padding: var(--space-2xl) var(--space-xl) var(--space-l); |
| 170 | + footer .footer-columns-band .footer-inner { |
| 171 | + padding: var(--space-2xl) var(--space-xl) var(--space-xl); |
| 172 | + } |
| 173 | + |
| 174 | + footer .footer-columns { |
| 175 | + grid-template-columns: repeat(4, 1fr); |
| 176 | + } |
| 177 | + |
| 178 | + footer .footer-bar { |
| 179 | + flex-direction: row; |
| 180 | + justify-content: space-between; |
| 181 | + align-items: center; |
| 182 | + text-align: left; |
| 183 | + } |
| 184 | + |
| 185 | + footer .footer-bar-left, |
| 186 | + footer .footer-bar-right { |
| 187 | + align-items: flex-start; |
| 188 | + } |
| 189 | + |
| 190 | + footer .footer-legal { |
| 191 | + justify-content: flex-start; |
| 192 | + } |
| 193 | + |
| 194 | + footer .footer-bar-right { |
| 195 | + flex-direction: row; |
| 196 | + align-items: center; |
| 197 | + gap: var(--space-l); |
| 198 | + width: auto; |
| 199 | + padding-top: 0; |
| 200 | + border-top: 0; |
| 201 | + } |
| 202 | + |
| 203 | + footer .footer-totop { |
| 204 | + padding-left: var(--space-l); |
| 205 | + border-left: 1px solid rgb(255 255 255 / 30%); |
19 | 206 | } |
20 | 207 | } |
0 commit comments