-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrolling.css
executable file
·93 lines (82 loc) · 1.8 KB
/
scrolling.css
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
/* ----------------------------------
* Scrolling
* ---------------------------------- */
nav[data-type="scrollbar"] {
position: absolute;
right: 0;
top: 0;
bottom: 0;
}
/* Mirror */
nav[data-type="scrollbar"] p {
position: absolute;
right: 5rem;
top: 20%;
margin: 0;
width: 12rem;
height: 12rem;
border-radius: 50%;
opacity: 0;
font-weight: 300;
font-size: 7rem;
line-height: 12rem;
color: #fff;
background: rgba(51,204,204,0.8);
pointer-events: none;
text-align: center;
transition: opacity;
}
nav[data-type="scrollbar"] p img {
position: absolute;
width: 4.8rem;
left: 3.5rem;
top: 3.5rem;
}
nav[data-type="scrollbar"] ol {
padding: 0.3rem 0;
margin: 0;
height: 100%;
-moz-box-sizing: border-box;
border-radius: 4rem;
opacity: 0.6;
list-style: none;
}
nav[data-type="scrollbar"] li {
font-size: 0.9rem;
line-height: 1.4em;
text-align: center;
text-transform: uppercase;
width: 4.5rem;
height: calc(100% / 29);
}
nav[data-type="scrollbar"] li a {
display: block;
color: #aaa;
width: 100%;
height: 100%;
text-indent: 1.5rem;
text-decoration: none;
}
/* Top action icons */
nav[data-type="scrollbar"] li .pack-icon-search,
nav[data-type="scrollbar"] li .pack-icon-favorites {
width: 1.2rem;
height: 1.2rem;
font-size: 0;
vertical-align: middle;
background: transparent no-repeat center center / 1.2rem;
}
nav[data-type="scrollbar"] li span:not([hidden]) {
display: inline-block;
}
nav[data-type="scrollbar"] li .pack-icon-search {
background-image: url(scrolling/images/icons/search.svg);
background-size: 1.8rem
}
nav[data-type="scrollbar"] li .pack-icon-favorites {
background-image: url(scrolling/images/icons/favorites.svg);
}
/* Themes */
/*.skin-comms*/ nav[data-type="scrollbar"] p {
background: rgba(51,204,204,0.8);
}