File tree Expand file tree Collapse file tree 1 file changed +0
-60
lines changed Expand file tree Collapse file tree 1 file changed +0
-60
lines changed Original file line number Diff line number Diff line change @@ -259,66 +259,6 @@ textarea {
259259 }
260260}
261261
262- /* *
263- * Styling for file inputs.
264- */
265-
266- [type = " file" ] {
267- box-sizing : border-box ;
268- height : auto ;
269- min-height : 2em ; // 32px / 16px
270- padding : 0.25em 0.1875em ; // 8px / 16px + 3px / 16px
271- border : 1px solid var (--clr-brdr );
272- border-radius : 0 ;
273- background : var (--clr-bkgd-form );
274- appearance : none ;
275- cursor : pointer ;
276-
277- & :hover {
278- border-color : var (--clr-brdr-x-dark );
279- }
280-
281- & :focus {
282- border-color : var (--clr-focus );
283- outline : 2px solid transparent ; // Allows for repainting in high contrast modes.
284- }
285- }
286-
287- @include setup .dark-mode {
288- [type = " file" ] {
289- border-color : var (--clr-brdr-x-dark );
290-
291- & :hover {
292- border-color : var (--clr-brdr-x-lite );
293- }
294-
295- & :focus {
296- border-color : var (--clr-focus );
297- }
298- }
299- }
300-
301- [type = " file" ]::-webkit-file-upload-button {
302- @include setup .gradient-linear (var (--clr-btn-grad-from ), var (--clr-btn-grad-to ));
303-
304- padding : 0 0.25em ;
305- border : 0 ;
306- border-radius : 0.25em ;
307- color : var (--clr-text-btn );
308- font : inherit ;
309- /* autoprefixer: off */
310- appearance : none ;
311- cursor : pointer ;
312- }
313-
314- [type = " file" ]:hover ::-webkit-file-upload-button {
315- filter : brightness (1.05 );
316- }
317-
318- [type = " file" ]:active ::-webkit-file-upload-button {
319- filter : brightness (0.95 );
320- }
321-
322262/* *
323263 * Remove the inner padding in Chrome and Safari on macOS.
324264 */
You can’t perform that action at this time.
0 commit comments