aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/assets/app.scss
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-06-27 16:02:52 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-05-08 20:13:28 +0200
commite0a72b7dfbaac977798cbe02a840e5f400291198 (patch)
tree5273a1d7bf76689a1719772ee4351273e48af1b3 /src/assets/app.scss
parent796a16c8da1e40aef418559ade2252a5275708c8 (diff)
downloadhomer-e0a72b7dfbaac977798cbe02a840e5f400291198.tar.gz
homer-e0a72b7dfbaac977798cbe02a840e5f400291198.tar.zst
homer-e0a72b7dfbaac977798cbe02a840e5f400291198.zip
Add some local changes
Diffstat (limited to 'src/assets/app.scss')
-rw-r--r--src/assets/app.scss68
1 files changed, 62 insertions, 6 deletions
diff --git a/src/assets/app.scss b/src/assets/app.scss
index ab067e6..2408d60 100644
--- a/src/assets/app.scss
+++ b/src/assets/app.scss
@@ -55,6 +55,23 @@ body {
55 } 55 }
56 } 56 }
57 57
58 .subcard {
59 background-color: var(--subcard-background);
60 color: var(--subcard-a);
61
62 a {
63 color: var(--subcard-a);
64 &:hover {
65 color: var(--subcard-a-hover);
66 }
67 }
68 }
69
70 a.card-arrow {
71 color: var(--subcard-a);
72 background-color: var(--subcard-background);
73 }
74
58 .footer { 75 .footer {
59 background-color: var(--card-background); 76 background-color: var(--card-background);
60 box-shadow: 0 2px 15px 0 var(--card-shadow); 77 box-shadow: 0 2px 15px 0 var(--card-shadow);
@@ -214,8 +231,7 @@ body {
214 } 231 }
215 } 232 }
216 233
217 .card { 234 .card, .card-arrow {
218 border-radius: 5px;
219 border: none; 235 border: none;
220 box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); 236 box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
221 transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; 237 transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
@@ -225,6 +241,32 @@ body {
225 } 241 }
226 } 242 }
227 243
244 .card {
245 border-radius: 5px;
246 }
247
248 .card-arrow {
249 border-radius: 0px 5px 5px 0px;
250 }
251
252 .card-arrow.active {
253 border-radius: 0px 5px 0px 0px;
254 box-shadow: none;
255 }
256
257 .subcard {
258 border-radius: 0px 0px 5px 5px;
259 display: none;
260 list-style: disc inside;
261 padding: 0.8rem;
262 }
263 .subcard.active {
264 display: block;
265 }
266 .subcard a {
267 padding: 10px;
268 }
269
228 .card:hover { 270 .card:hover {
229 transform: translate(0, -3px); 271 transform: translate(0, -3px);
230 272
@@ -239,6 +281,14 @@ body {
239 } 281 }
240 } 282 }
241 283
284 .card-arrow {
285 height: 85px;
286 display: flex;
287 align-items: center;
288 float: right;
289 padding: 10px;
290 }
291
242 .card-content { 292 .card-content {
243 height: 85px; 293 height: 85px;
244 padding: 1.3rem; 294 padding: 1.3rem;
@@ -259,10 +309,6 @@ body {
259 } 309 }
260 310
261 .footer { 311 .footer {
262 position: fixed;
263 left: 0;
264 right: 0;
265 bottom: 0;
266 padding: 0.5rem; 312 padding: 0.5rem;
267 text-align: left; 313 text-align: left;
268 color: #676767; 314 color: #676767;
@@ -318,6 +364,16 @@ body {
318 } 364 }
319 } 365 }
320 366
367 .search-bar-mobile {
368 input {
369 margin-top: 10px;
370 margin-left: 10px;
371 }
372 .search-label::before {
373 top: 14px;
374 }
375 }
376
321 .offline-message { 377 .offline-message {
322 text-align: center; 378 text-align: center;
323 margin: 35px 0; 379 margin: 35px 0;