This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
/
settings.css
135 lines (114 loc) · 2.73 KB
/
settings.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
134
135
body[data-path^='/event'] #time-views,
body[data-path^='/month'] #time-views,
body[data-path^='/day'] #time-views,
body[data-path^='/week'] #time-views {
z-index: 200;
transform: translateX(0%);
transition: transform 0.5s ease-in-out;
}
body[data-path^='/advanced-settings'] #time-views,
body[data-path^='/select-preset'] #time-views,
body[data-path^='/create-account'] #time-views,
body[data-path^='/settings'] #time-views {
position: relative;
transform: translateX(80%);
box-shadow: 0.1rem 0.1rem 0.5rem 0.5rem #222;
transition: transform 0.5s ease-in-out;
}
#settings {
font-size: 1.7rem;
color: white;
width: 80%;
z-index: 0;
visibility: visible;
}
#settings ol.calendars {
height: calc(100% - 9rem);
overflow-y: scroll;
}
#settings .calendars label > .name {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: -moz-calc(100% - 2rem);
height: 100%;
}
#settings .calendars label > span {
display: block;
float: left;
}
#settings .calendars .error label {
background: transparent url('icons/accountwarning.png') no-repeat 2rem 0.5rem;
padding-left: 6rem;
}
#settings .calendars label {
display: block;
height: 100%;
width: 100%;
padding: 0 3rem;
border-bottom: 0.1rem solid #7E8C91;
-moz-user-select: none;
user-select: none;
}
#settings .calendars li {
width: 100%;
height: 3.9rem;
line-height: 3.9rem;
}
#settings .calendars .calendar-color {
float: left;
width: 0.5rem;
display: block;
height: 100%;
background-image: linear-gradient(
to bottom,
rgba(255,255,255,0.2) 0%,
rgba(255,255,255,0) 40%,
rgba(0, 0, 0, 0.3) 100%
)
}
#settings > menu {
position: absolute;
bottom: 0;
height: 4rem;
padding: 0.5rem 0;
background-color: rgba(0, 0, 0, 0.3);
}
.pending-operation #settings .sync {
display: none;
}
#settings .settings {
width: 5.5rem;
height: 4rem;
background: transparent url('/style/icons/settings.png') no-repeat center / 3rem;
font-size: 0;
display: block;
}
#settings .calendars > li label {
text-transform: none;
}
#settings .calendars input[type="checkbox"] {
display: none;
}
#settings .calendars input[type="checkbox"]:checked + span {
width: 2.2rem;
height: 1.9rem;
background: transparent url('/style/icons/checkmark.png') no-repeat center / 1.4rem;
}
#settings .calendars input[type="checkbox"] + span {
left: auto;
top: 0.9rem;
right: 1.3rem;
background: none;
margin: 0;
}
body[role="application"] [role="toolbar"] li button:active {
background-color: #008aaa;
background-size: 3rem auto;
}
body[role="application"] [role="toolbar"] li button.update {
background-image: url("icons/update.png");
background-repeat: no-repeat;
background-position: center center;
}