@@ -106,6 +106,22 @@ textarea {
106
106
display : block;
107
107
overflow : auto;
108
108
}
109
+ button {
110
+ background : # 3c76a7 ;
111
+ background : linear-gradient (180deg , # 3c76a7, # 225c8d );
112
+ border-color : # 225c8d ;
113
+ color : # fff ;
114
+ }
115
+ button [type = 'submit' ] {
116
+ background : # 6fa349 ;
117
+ background : linear-gradient (180deg , # 6fa349, # 568a30 );
118
+ border-color : # 568a30 ;
119
+ }
120
+ button [type = 'reset' ] {
121
+ background : # d79435 ;
122
+ background : linear-gradient (180deg , # d79435, # be7b1c );
123
+ border-color : # be7b1c ;
124
+ }
109
125
select {
110
126
display : block;
111
127
padding-right : 2.25em ;
@@ -116,6 +132,10 @@ select {
116
132
border-color : # 225c8d ;
117
133
color : # fff ;
118
134
}
135
+ button : active ,
136
+ select : active {
137
+ box-shadow : inset 0 0 8px rgba (0 , 0 , 0 , 0.5 );
138
+ }
119
139
select ::-ms-expand {
120
140
display : none;
121
141
}
@@ -151,6 +171,9 @@ input[type='file']::-webkit-file-upload-button {
151
171
border-radius : 5px ;
152
172
box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.07 );
153
173
}
174
+ input [type = 'file' ]::-webkit-file-upload-button : active {
175
+ box-shadow : inset 0 0 8px rgba (0 , 0 , 0 , 0.5 );
176
+ }
154
177
input [type = 'file' ]::-ms-browse {
155
178
box-sizing : border-box;
156
179
margin : 0 ;
@@ -164,6 +187,9 @@ input[type='file']::-ms-browse {
164
187
border-radius : 5px ;
165
188
box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.07 );
166
189
}
190
+ input [type = 'file' ]::-ms-browse : active {
191
+ box-shadow : inset 0 0 8px rgba (0 , 0 , 0 , 0.5 );
192
+ }
167
193
168
194
@media (prefers-color-scheme : light) {
169
195
body {
@@ -195,25 +221,6 @@ input[type='file']::-ms-browse {
195
221
}
196
222
}
197
223
198
- # edit {
199
- background : # 3c76a7 ;
200
- background : linear-gradient (180deg , # 3c76a7, # 225c8d );
201
- border-color : # 225c8d ;
202
- color : # fff ;
203
- }
204
- # crop {
205
- background : # 6fa349 ;
206
- background : linear-gradient (180deg , # 6fa349, # 568a30 );
207
- border-color : # 568a30 ;
208
- color : # fff ;
209
- }
210
- # cancel {
211
- background : # d79435 ;
212
- background : linear-gradient (180deg , # d79435, # be7b1c );
213
- border-color : # be7b1c ;
214
- color : # fff ;
215
- }
216
-
217
224
# result {
218
225
display : block;
219
226
}
0 commit comments