-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalphaListNav.scss
69 lines (60 loc) · 1.1 KB
/
alphaListNav.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
body {
font-family: sans-serif;
font-weight: 400;
font-size: 16px;
background-color: #fafafa;
}
.alpha-list-wrapper,
#no-match {
display: none;
}
.alpha-list-wrapper.active,
#no-match.active {
display: block;
}
#alpha-nav {
padding-top: 15px;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.character-element {
position: relative;
text-decoration: none;
text-align: center;
/* font-size: 1.2em; */
line-height: 1;
white-space: nowrap;
padding: 5px 6px;
color: #005f97;
border: 1px solid #aaa;
border-radius: 3px;
background: rgb(2, 0, 36);
background: linear-gradient(
180deg,
rgba(2, 0, 36, 1) 0%,
rgba(248, 253, 255, 1) 0%,
rgba(225, 225, 225, 1) 100%
);
}
@media (max-width: 767px) {
.character-element {
padding: calc(100% / 50);
margin: calc(100% / 50);
min-width: calc(100% / 15);
}
}
.alphaNav-count-elem {
}
.character-element:not(.disabled):hover,
.character-element:not(.disabled):active {
background: #ccc;
cursor: pointer;
}
.character-element.disabled {
color: #aaa;
cursor: default;
}
.character-element.active {
background: #ddd;
}