1
1
div .alphabet {
2
+ clear : both;
2
3
position : relative;
3
- margin-bottom : 1 em ;
4
+ margin : 0.5 em 0 ;
4
5
}
5
6
6
- @media screen and (max-width : 767 px ){
7
+ @media screen and (max-width : 640 px ){
7
8
div .alphabet {
8
9
text-align : center;
9
10
}
@@ -25,23 +26,38 @@ div.alphabet a {
25
26
cursor : pointer;
26
27
text-align : center;
27
28
text-decoration : none;
29
+ box-sizing : content-box;
30
+ padding : 0.2em 0.1em ;
28
31
min-width : 1.3em ;
32
+ color : # 333 !important ;
33
+ border : 1px solid transparent;
34
+ border-radius : 2px ;
29
35
}
30
36
31
- div .alphabet a span {
32
- opacity : 1 ;
37
+ div .alphabet a : hover {
38
+ color : # FFF !important ;
39
+ border : 1px solid # 111 ;
40
+ background-color : # 585858 ;
41
+ background : linear-gradient (to bottom, # 585858 0% , # 111 100% );
33
42
}
34
43
35
- div .alphabet a .active span {
36
- font-weight : bold;
37
- }
44
+ div .alphabet a : active {
45
+ outline : none;
46
+ background-color : # 2b2b2b ;
47
+ background : linear-gradient (to bottom, # 2b2b2b 0% , # 0c0c0c 100% );
48
+ box-shadow : inset 0 0 3px # 111 ;
49
+ }
38
50
39
- div .alphabet a .empty span {
40
- opacity : 0.3 ;
51
+ div .alphabet a .empty {
52
+ color : # 888 !important ;
41
53
}
42
54
43
- div .alphabet a .empty .active span {
44
- opacity : 1 ;
55
+ div .alphabet a .active ,
56
+ div .alphabet a .active .empty {
57
+ color : # 333 !important ;
58
+ border : 1px solid # 979797 ;
59
+ background-color : # FFF ;
60
+ background : linear-gradient (to bottom, # fff 0% , # dcdcdc 100% )
45
61
}
46
62
47
63
div .alphabet .alphabet-info-display {
@@ -50,14 +66,15 @@ div.alphabet .alphabet-info-display {
50
66
51
67
div .alphabet div .alphabet-info {
52
68
position : absolute;
53
- background-color : # 111 ;
54
- border-radius : 3px ;
69
+ border : 1px solid # 111 ;
70
+ background-color : # 585858 ;
71
+ background : linear-gradient (to bottom, # 585858 0% , # 111 100% );
72
+ border-radius : 2px ;
55
73
color : # FFF ;
56
74
margin-top : 0.2em ;
57
75
padding : 0.2em 0.4em ;
58
76
text-align : center;
59
77
opacity : 0 ;
60
- transition : opacity .4s ease-in-out;
61
78
z-index : 9999 ;
62
79
}
63
80
0 commit comments