-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (87 loc) · 1.71 KB
/
style.css
File metadata and controls
100 lines (87 loc) · 1.71 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.hs-Wrapper {
position: relative;
box-sizing: border-box;
display: block;
overflow: hidden;
}
.hs-ListWrap {
overflow-x: hidden;
overflow-y: hidden;
white-space: nowrap;
position: relative;
text-align: right; /* or left */
}
.hs-List {
-webkit-transition: -webkit-transform .2s ease-in-out;
transition: -webkit-transform .2s ease-in-out;
transition: transform .2s ease-in-out;
transition: transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
position: relative;
display: inline-block;
padding: 0;
}
.hs-List-transition-off {
-webkit-transition: none;
transition: none;
}
.hs-Item {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
}
.hs-Advancer {
/* Reset */
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: transparent;
padding: 0;
border: 0;
position: absolute;
top: 0;
bottom: 0;
opacity: 0.5;
-webkit-transition: opacity .3s;
transition: opacity .3s;
display: none;
}
.hs-Advancer:focus {
outline: 0;
}
.hs-Advancer:hover {
cursor: pointer;
}
.hs-Advancer_Left {
left: 0;
}
[data-overflowing="both"] ~ .hs-Advancer_Left, [data-overflowing="left"] ~ .hs-Advancer_Left {
opacity: 1;
}
.hs-Advancer_Right {
right: 0;
}
[data-overflowing="both"] ~ .hs-Advancer_Right, [data-overflowing="right"] ~ .hs-Advancer_Right {
opacity: 1;
}
.hs-Advancer_Icon {
width: 20px;
height: 30px;
fill: #bbb;
}
/* list item style example */
.hs-Item a {
border: none;
display: inline-block;
outline: 0;
padding: 8px 16px;
vertical-align: middle;
overflow: hidden;
text-decoration: none;
color: inherit;
background-color: inherit;
text-align: center;
cursor: pointer;
white-space: nowrap;
color: #fff;
background-color: #4CAF50;
}