-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
138 lines (121 loc) · 2.44 KB
/
styles.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
136
137
138
:root {
--primary-color: #121212;
--text-color: #ffffff;
--surface-color: #1e1e1e;
--accent-color: #bb86fc;
}
#topcut-fab {
position: fixed;
bottom: 20px;
right: 20px;
width: 56px;
height: 56px;
border-radius: 50%;
background-color: var(--accent-color);
box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
border: none;
}
#topcut-fab:hover {
background-color: #9965db;
}
#topcut-modal {
position: fixed;
bottom: 90px;
right: 20px;
width: 320px;
max-width: 90vw;
background-color: var(--surface-color);
border-radius: 8px;
box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);
padding: 16px;
color: var(--text-color);
z-index: 999;
display: none;
word-wrap: break-word;
}
.modal-header {
font-size: 18px;
font-weight: 500;
margin-bottom: 16px;
}
.input-group {
margin-bottom: 16px;
}
.input-group label {
display: block;
margin-bottom: 8px;
font-size: 14px;
}
.input-group input {
width: calc(100% - 16px);
padding: 8px;
border-radius: 4px;
border: 1px solid rgba(255,255,255,0.12);
background-color: var(--primary-color);
color: var(--text-color);
}
.input-group select {
width: 100%;
padding: 8px;
border-radius: 4px;
border: 1px solid rgba(255,255,255,0.12);
background-color: var(--primary-color);
color: var(--text-color);
}
.button {
background-color: var(--accent-color);
color: var(--primary-color);
padding: 8px 16px;
border-radius: 4px;
border: none;
cursor: pointer;
font-weight: 500;
width: 100%;
}
.button:hover {
background-color: #9965db;
}
.results {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid rgba(255,255,255,0.12);
}
.modal-header,
.input-group label,
.results,
.button {
color: var(--text-color);
}
#topcut-modal,
#topcut-modal input,
#topcut-modal select,
#topcut-modal label,
#topcut-modal .results,
#topcut-modal .modal-header,
#topcut-modal option {
color: rgba(255, 255, 255, 0.87);
}
#topcut-modal select option {
background-color: var(--surface-color);
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.settings-icon {
background: none;
border: none;
cursor: pointer;
font-size: 1.2em;
padding: 4px;
margin-left: 8px;
}
.settings-icon:hover {
opacity: 0.8;
}