|
13 | 13 |
|
14 | 14 | #coop-logo { |
15 | 15 | margin-top: 36px; |
| 16 | + border-radius: 4px; |
| 17 | + display: inline-block; |
| 18 | + transition: all 0.3s ease; |
16 | 19 |
|
17 | 20 | img { |
18 | 21 | max-width: 172px; |
19 | 22 | } |
| 23 | + |
| 24 | + &:focus { |
| 25 | + outline: 3px solid #00dbff; |
| 26 | + outline-offset: 4px; |
| 27 | + } |
| 28 | + |
| 29 | + &:focus:not(:focus-visible) { |
| 30 | + outline: none; |
| 31 | + } |
| 32 | + |
| 33 | + &:focus-visible { |
| 34 | + outline: 3px solid #00dbff; |
| 35 | + outline-offset: 4px; |
| 36 | + } |
20 | 37 | } |
21 | 38 |
|
22 | 39 | #copyright { |
|
29 | 46 | display: flex; |
30 | 47 | height: 100%; |
31 | 48 | flex-direction: column; |
32 | | - justify-content: end; |
33 | | - |
34 | | - p { |
35 | | - color: var(--white); |
36 | | - font-size: 12px; |
37 | | - line-height: 22px; |
38 | | - margin-bottom: 0; |
39 | | - } |
| 49 | + justify-content: flex-end; |
| 50 | + color: var(--white); |
| 51 | + font-size: 12px; |
| 52 | + line-height: 22px; |
| 53 | + margin-bottom: 0; |
| 54 | + font-style: normal; |
40 | 55 | } |
41 | 56 |
|
42 | 57 | .show-on-scroll { |
43 | 58 | display: none; |
44 | 59 | } |
45 | 60 |
|
46 | 61 | #footer-contact { |
47 | | - height: 80px; |
| 62 | + min-height: 80px; |
48 | 63 | width: 476px; |
49 | 64 | border-radius: 16px; |
50 | 65 | background-color: #d97706; |
| 66 | + border: none; |
| 67 | + display: flex; |
| 68 | + align-items: center; |
| 69 | + padding: 0; |
51 | 70 |
|
52 | 71 | position: fixed; |
53 | 72 | right: 4px; |
54 | | - bottom: -150px; |
| 73 | + bottom: 32px; |
55 | 74 | z-index: 98; |
56 | 75 |
|
57 | 76 | cursor: pointer; |
|
61 | 80 | transition: opacity 0.3s ease-in-out, |
62 | 81 | visibility 0.3s ease-in-out, |
63 | 82 | bottom 0.3s ease-in-out, |
64 | | - transform 0.3s ease-in-out; |
| 83 | + transform 0.3s ease-in-out, |
| 84 | + width 0.3s ease-in-out, |
| 85 | + height 0.3s ease-in-out, |
| 86 | + border-radius 0.3s ease-in-out; |
65 | 87 |
|
66 | 88 | &.visible { |
67 | 89 | opacity: 1; |
68 | 90 | visibility: visible; |
69 | | - bottom: -140px; |
| 91 | + bottom: 48px; |
70 | 92 | } |
71 | 93 |
|
72 | 94 | &:hover { |
73 | 95 | transform: translateY(-2px); |
74 | 96 | } |
75 | 97 |
|
76 | 98 | &:focus { |
77 | | - outline: 2px solid #d97706; |
| 99 | + outline: 3px solid #00dbff; |
78 | 100 | outline-offset: 2px; |
79 | 101 | } |
80 | 102 |
|
|
83 | 105 | } |
84 | 106 |
|
85 | 107 | &:focus-visible { |
86 | | - outline: 2px solid #d97706; |
| 108 | + outline: 3px solid #00dbff; |
87 | 109 | outline-offset: 2px; |
88 | 110 | } |
89 | 111 |
|
|
95 | 117 | padding: 12px 60px 12px 20px; |
96 | 118 | font-size: 18px; |
97 | 119 | position: relative; |
98 | | - top: 4px; |
| 120 | + top: 0; |
99 | 121 | left: 4px; |
| 122 | + text-align: left; |
| 123 | + transition: opacity 0.3s ease-in-out, |
| 124 | + visibility 0.3s ease-in-out, |
| 125 | + width 0.3s ease-in-out; |
| 126 | + |
| 127 | + p { |
| 128 | + margin: 0; |
| 129 | + text-align: left; |
| 130 | + } |
100 | 131 |
|
101 | 132 | &::after { |
102 | 133 | content: ''; |
|
109 | 140 | border-top: 4px solid transparent; |
110 | 141 | border-bottom: 4px solid transparent; |
111 | 142 | border-left: 4px solid var(--white); |
| 143 | + transition: opacity 0.3s ease-in-out; |
112 | 144 | } |
113 | 145 | } |
114 | 146 |
|
| 147 | + .image-wrapper { |
| 148 | + position: relative; |
| 149 | + display: flex; |
| 150 | + align-items: center; |
| 151 | + justify-content: center; |
| 152 | + margin-left: auto; |
| 153 | + padding-right: 24px; |
| 154 | + } |
| 155 | + |
115 | 156 | .image { |
116 | 157 | width: 76px; |
117 | 158 | aspect-ratio: 1/1; |
118 | 159 | border-radius: 50%; |
119 | 160 | background-color: #ffc107; |
120 | | - position: absolute; |
121 | | - right: 24px; |
122 | | - bottom: 2px; |
| 161 | + position: relative; |
| 162 | + display: flex; |
| 163 | + align-items: center; |
| 164 | + justify-content: center; |
| 165 | + transition: all 0.3s ease-in-out; |
| 166 | + |
| 167 | + img { |
| 168 | + width: 100%; |
| 169 | + height: 100%; |
| 170 | + object-fit: cover; |
| 171 | + border-radius: 50%; |
| 172 | + } |
123 | 173 |
|
124 | 174 | .status { |
125 | 175 | width: 20px; |
|
129 | 179 | position: absolute; |
130 | 180 | right: 0; |
131 | 181 | bottom: 0; |
| 182 | + transition: opacity 0.3s ease-in-out; |
132 | 183 | } |
133 | 184 | } |
134 | 185 |
|
135 | | - // Responsive design for smaller screens |
136 | | - @media (max-width: 576px) { |
137 | | - width: calc(100% - 8px); |
138 | | - right: 4px; |
| 186 | + // Compact mode for tablets and smaller (< 992px) |
| 187 | + @media (max-width: 992px) { |
| 188 | + width: 80px; |
| 189 | + min-height: 80px; |
| 190 | + border-radius: 50%; |
| 191 | + justify-content: center; |
| 192 | + align-items: center; |
| 193 | + padding: 0; |
| 194 | + right: 11px; |
| 195 | + |
| 196 | + &.visible { |
| 197 | + bottom: 40px; |
| 198 | + } |
139 | 199 |
|
140 | 200 | .bubble { |
141 | | - width: calc(100% - 100px); |
142 | | - font-size: 14px; |
143 | | - padding: 8px 40px 8px 12px; |
| 201 | + opacity: 0; |
| 202 | + visibility: hidden; |
| 203 | + width: 0; |
| 204 | + pointer-events: none; |
| 205 | + display: none; |
| 206 | + |
| 207 | + &::after { |
| 208 | + opacity: 0; |
| 209 | + } |
| 210 | + } |
| 211 | + |
| 212 | + .image-wrapper { |
| 213 | + margin: 0; |
| 214 | + padding: 0; |
| 215 | + width: 100%; |
| 216 | + height: 100%; |
| 217 | + display: flex; |
| 218 | + align-items: center; |
| 219 | + justify-content: center; |
144 | 220 | } |
145 | 221 |
|
146 | 222 | .image { |
147 | | - right: 12px; |
| 223 | + position: relative; |
| 224 | + width: 64px; |
| 225 | + margin: 0; |
| 226 | + } |
| 227 | + |
| 228 | + &:hover { |
| 229 | + .status { |
| 230 | + opacity: 0.8; |
| 231 | + } |
| 232 | + } |
| 233 | + } |
| 234 | + |
| 235 | + // Extra small screens |
| 236 | + @media (max-width: 576px) { |
| 237 | + width: 64px; |
| 238 | + min-height: 64px; |
| 239 | + right: 10px; |
| 240 | + |
| 241 | + &.visible { |
| 242 | + bottom: 12px; |
| 243 | + } |
| 244 | + |
| 245 | + .image { |
| 246 | + width: 52px; |
| 247 | + } |
| 248 | + |
| 249 | + .status { |
| 250 | + width: 16px; |
148 | 251 | } |
149 | 252 | } |
150 | 253 | } |
|
153 | 256 | margin-top: 32px; |
154 | 257 | } |
155 | 258 |
|
| 259 | +.ud-widget-address { |
| 260 | + display: flex; |
| 261 | + height: 100%; |
| 262 | + flex-direction: column; |
| 263 | + justify-content: flex-end; |
| 264 | +} |
| 265 | + |
156 | 266 | .ud-widget { |
157 | 267 | .ud-footer-logo { |
158 | 268 | display: block; |
|
162 | 272 | width: 100%; |
163 | 273 | max-width: 120px; |
164 | 274 | } |
| 275 | + |
| 276 | + &:focus { |
| 277 | + outline: 3px solid #00dbff; |
| 278 | + outline-offset: 4px; |
| 279 | + border-radius: 4px; |
| 280 | + } |
| 281 | + |
| 282 | + &:focus:not(:focus-visible) { |
| 283 | + outline: none; |
| 284 | + } |
| 285 | + |
| 286 | + &:focus-visible { |
| 287 | + outline: 3px solid #00dbff; |
| 288 | + outline-offset: 4px; |
| 289 | + border-radius: 4px; |
| 290 | + } |
165 | 291 | } |
166 | 292 |
|
167 | 293 | .ud-widget-desc { |
|
180 | 306 | display: flex; |
181 | 307 | align-items: center; |
182 | 308 | justify-content: center; |
| 309 | + border-radius: 4px; |
| 310 | + transition: all 0.3s ease; |
183 | 311 |
|
184 | 312 | .social-icon { |
185 | 313 | color: var(--white); |
|
189 | 317 | &:hover .social-icon { |
190 | 318 | color: var(--primary-color); |
191 | 319 | } |
| 320 | + |
| 321 | + &:focus { |
| 322 | + outline: 3px solid #00dbff; |
| 323 | + outline-offset: 2px; |
| 324 | + background-color: rgba(0, 219, 255, 0.1); |
| 325 | + } |
| 326 | + |
| 327 | + &:focus:not(:focus-visible) { |
| 328 | + outline: none; |
| 329 | + background-color: transparent; |
| 330 | + } |
| 331 | + |
| 332 | + &:focus-visible { |
| 333 | + outline: 3px solid #00dbff; |
| 334 | + outline-offset: 2px; |
| 335 | + background-color: rgba(0, 219, 255, 0.1); |
| 336 | + } |
192 | 337 | } |
193 | 338 | } |
194 | 339 |
|
|
200 | 345 | a { |
201 | 346 | font-size: 14px; |
202 | 347 | color: var(--white); |
| 348 | + transition: all 0.3s ease; |
| 349 | + border-radius: 4px; |
| 350 | + padding: 4px 0; |
203 | 351 |
|
204 | 352 | &:hover { |
205 | 353 | color: var(--primary-color); |
206 | 354 | padding-left: 10px; |
207 | 355 | } |
| 356 | + |
| 357 | + &:focus { |
| 358 | + outline: 3px solid #00dbff; |
| 359 | + outline-offset: 2px; |
| 360 | + color: var(--primary-color); |
| 361 | + padding-left: 8px; |
| 362 | + } |
| 363 | + |
| 364 | + &:focus:not(:focus-visible) { |
| 365 | + outline: none; |
| 366 | + color: var(--white); |
| 367 | + padding-left: 0; |
| 368 | + } |
| 369 | + |
| 370 | + &:focus-visible { |
| 371 | + outline: 3px solid #00dbff; |
| 372 | + outline-offset: 2px; |
| 373 | + color: var(--primary-color); |
| 374 | + padding-left: 8px; |
| 375 | + } |
208 | 376 | } |
209 | 377 | } |
210 | 378 |
|
|
0 commit comments