File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed
app/components/front-page-list Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change 1
1
.link {
2
+ --shadow : 0 2px 3px hsla (51 , 50% , 44% , .35 );
3
+
2
4
display : flex;
3
5
align-items : center;
4
6
width : 100% ;
5
- min- height: 60px ;
7
+ height : 60px ;
6
8
margin : 8px 0 ;
7
- padding : 0 10 px ;
8
- background-color : var ( --main-bg-dark ) ;
9
+ padding : 0 15 px ;
10
+ background-color : white ;
9
11
color : # 525252 ;
10
12
text-decoration : none;
13
+ border-radius : 7px ;
14
+ box-shadow : var (--shadow );
15
+ transition : background-color 300ms ;
16
+
17
+ & : focus-visible {
18
+ outline : none;
19
+ box-shadow : 0 0 0 3px var (--yellow500 ), var (--shadow );
20
+ }
21
+
22
+ & : hover , & : focus-visible {
23
+ color : # 525252 ;
24
+ background-color : hsl (58deg 72% 97% );
25
+ transition : background-color 0ms ;
26
+ }
11
27
12
- & : hover {
13
- background-color : # e4e1cc ;
28
+ & : active {
29
+ transform : translateY (2px );
30
+ --shadow : inset 0 0 0 1px hsla (51 , 50% , 44% , .15 );
14
31
}
15
32
}
16
33
You can’t perform that action at this time.
0 commit comments