-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (131 loc) · 3.05 KB
/
style.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,700");
#rsw-footer {
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
font-size: 10px;
line-height: 1;
position: fixed;
bottom: 0;
/* left: 0; */
right: 0;
text-align: left;
z-index: 9000;
}
#rsw-footer > #rsw-footer-bg {
/* Don't have any use for this element right now, but will keep it around. */
display: none;
/* Other properties */
background-image: linear-gradient(to bottom, transparent, transparent);
width: 100%;
height: 10%;
pointer-events: none;
position: fixed;
z-index: 1;
}
/* General Toggle buttons */
#rsw-footer > .rsw-toggle {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background-image: var(--avatar, none);
background-position: center center;
background-size: contain;
border-radius: 50%;
cursor: pointer;
display: inline-block;
float: right;
margin: .5em;
padding: 2em;
position: relative;
transition:
transform .25s,
border .25s
;
vertical-align: top;
z-index: 1;
}
#rsw-footer > .rsw-toggle:hover {
transform: scale(1.2);
}
#rsw-footer > .rsw-toggle:checked {
box-shadow: inset 0 0 0 1px #000;
}
#rsw-footer > .rsw-toggle:after {
content: "";
position: absolute;
border-radius: 50%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #FFF;
opacity: 0;
}
#rsw-footer > .rsw-toggle:checked:after { opacity: .5; }
/* Specific toggle buttons */
#rsw-footer > #rsw-toggle-main { --avatar: url("avatar.png"); }
#rsw-footer > #rsw-toggle-main:checked ~ #rsw-menu-main { display: block; }
#rsw-footer > .rsw-menu {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#rsw-footer > .rsw-menu:before {
content: "";
background: linear-gradient(135deg, #1A237E, #0288D1);
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
opacity: .75;
}
#rsw-footer > .rsw-menu .rsw-separator {
border: none;
border-top: 1px solid rgba(255, 255, 255, .1);
}
#rsw-footer > .rsw-menu .rsw-link {
background-color: rgba(0, 0, 0, .5);
margin: 1em;
position: relative;
text-shadow: .1em .1em 0 #263238;
transition: background-color .1s;
}
#rsw-footer > .rsw-menu .rsw-link:hover {
background-color: rgba(32, 32, 32, .5);
}
#rsw-footer > .rsw-menu [data-powered] {
background-image: linear-gradient(to right, rgba(255, 128, 0, .1), transparent);
border-left: 4px solid rgba(255, 128, 0, .5);
}
#rsw-footer > .rsw-menu [data-series] {
background-image: linear-gradient(to right, rgba(0, 255, 128, .1), transparent);
border-left: 4px solid rgba(0, 255, 128, .5);
}
#rsw-footer > .rsw-menu .rsw-link a {
color: #B3E5FC;
display: block;
font-size: 1.6em;
font-weight: bold;
padding: 8px;
text-decoration: none;
}
#rsw-footer > .rsw-menu .rsw-link a > span > span { font-weight: normal; }
#rsw-footer > .rsw-menu .rsw-link p {
color: #FAFAFA;
font-size: 1.4em;
margin: 0;
padding: 8px;
}
#rsw-footer > .rsw-menu .rsw-link p:empty { display: none; }
#rsw-footer > .rsw-menu > .rsw-menu-inner {
overflow-x: hidden;
overflow-y: auto;
margin: 0 auto;
max-height: 100%;
max-width: 960px;
}