forked from prettierlichess/prettierlichess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popupStyles.css
213 lines (180 loc) · 3.89 KB
/
popupStyles.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
body {
padding: 20px 20px;
background: #2B343B;
font-family: 'Roboto Mono', sans-serif;
color: white;
font-size: 18px;
width: 300px;
overflow-x: hidden;
}
.logo {
margin-bottom: 20px;
}
.listItem {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
#buttonRow {
display: flex;
margin-bottom: 8px;
}
button {
width: 100%;
height: 40px;
border: none;
outline: none;
border-radius: 4px;
background: #3F474D;
color: white;
cursor: pointer;
transition: transform .2s ease-in-out;
font-size: 12px;
font-family: 'Red Hat Text', sans-serif;
}
button:first-child {
margin-right: 8px;
}
button:active {
transform: scale(.95);
}
.button {
width: 100%;
height: 40px;
border: none;
outline: none;
border-radius: 4px;
background: #3F474D;
color: white;
cursor: pointer;
transition: transform .2s ease-in-out;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
.button:first-child {
margin-right: 8px;
}
.button:active {
transform: scale(.95);
}
input[type="color"] {
-webkit-appearance: none;
border: 2px solid white;
width: 20px;
height: 20px;
border-radius: 100%;
overflow: hidden;
outline: none;
background: none;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
border: none;
outline: none;
}
input[type="color"]::-webkit-color-swatch {
border: none;
transform: scale(2);
}
.customBoardGroup {
background: #3F474D;
border-radius: 4px;
padding: 20px 20px 8px;
margin-bottom: 20px;
}
/* Tabs */
.tabGroup {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
margin-bottom: 20px;
}
.tab {
width: 38%;
padding: 0px 16px 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: .8em;
border-bottom: 1px solid #4e565c;
cursor: pointer;
transition: all .3s ease-in-out;
}
.tab:hover {
border-bottom: 1px solid white;
}
.tab.active {
border-bottom: 1px solid #9FC0A2;
color: #9FC0A2;
}
.tab.active:hover {
border-bottom: 1px solid #9FC0A2;
}
.hideGroup {
display: none;
}
#hideBoardColors {
background: #4e565c;
margin-bottom: 10px;
}
/* Picker Styles Overrides */
.pickr .pcr-button:after,
.pickr .pcr-button:before {
border-radius: 100% !important;
overflow: hidden !important;
outline: none !important;
border: 1px solid white !important;
}
.pcr-app .pcr-interaction input {
background: #2B343B !important;
color: white !important;
}
.pcr-app .pcr-interaction .pcr-save,
.pcr-app .pcr-interaction .pcr-type.active {
background: #9FC0A2 !important;
color: #2B343B !important;
}
.pcr-app {
background: #3F474D !important;
font-family: 'Red Hat Text', sans-serif !important;
color: white !important;
border-radius: 8px !important;
overflow: hidden !important;
}
.pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-current-color {
border: 1px solid white !important;
}
.pcr-app button {
transition: transform .4s ease-in-out !important;
}
.pcr-app button.pcr-active,
.pcr-app button:focus,
.pcr-app input.pcr-active,
.pcr-app input:focus,
.pickr button.pcr-active,
.pickr button:focus,
.pickr input.pcr-active,
.pickr input:focus {
box-shadow: none !important;
transform: scale(.9) !important;
}
#basicImportExportContainer {
margin: 8px 0 30px;
}
#basicImportExport {
box-sizing: border-box;
width: 100%;
background-color: #4b5b67;
color: #fff;
border: 1px solid #607585;
border-radius: 4px;
margin-bottom: 8px;
resize: none;
outline: none;
}