Skip to content

Commit af06592

Browse files
schiltpuzzleMasterEvarior
authored andcommitted
fix(frontend): Update objective shadow with UX approved shadow #1403
1 parent 7724953 commit af06592

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

frontend/src/app/components/objective/objective.component.scss

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
.objective {
44
max-width: 750px;
5-
position: relative;
5+
box-shadow:
6+
0px 0px 0px 0px #0000000f,
7+
1px 1px 2px 0px #0000000f,
8+
3px 3px 4px 0px #0000000d,
9+
8px 6px 6px 0px #00000008,
10+
14px 11px 7px 0px #00000003,
11+
21px 18px 8px 0px #00000000;
612

7-
&::after {
8-
content: '';
9-
position: absolute;
10-
inset: 0;
11-
z-index: 0;
12-
pointer-events: none;
13-
border-radius: inherit;
14-
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
15-
}
1613
&:hover {
17-
&::after {
18-
box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.25);
19-
}
14+
box-shadow:
15+
0px 0px 0px 0px #0000001a,
16+
2px 1px 5px 0px #0000001a,
17+
8px 5px 9px 0px #00000017,
18+
18px 11px 13px 0px #0000000d,
19+
32px 19px 15px 0px #00000003,
20+
51px 29px 16px 0px #00000000;
2021
}
2122
}
2223

0 commit comments

Comments
 (0)