Pārlūkot izejas kodu

Add all: initial, remove “UppyTheme”, start adding uppy- prefix

Artur Paikin 7 gadi atpakaļ
vecāks
revīzija
61c9130b04
1 mainītis faili ar 10 papildinājumiem un 12 dzēšanām
  1. 10 12
      src/scss/_common.scss

+ 10 - 12
src/scss/_common.scss

@@ -2,11 +2,19 @@
 * General Uppy styles that apply to everything inside the .Uppy container
 * General Uppy styles that apply to everything inside the .Uppy container
 */
 */
 
 
-.Uppy {
+.uppy {
+  all: initial;
   box-sizing: border-box;
   box-sizing: border-box;
+  font-family: -apple-system, BlinkMacSystemFont,
+    'avenir next', avenir,
+    helvetica, 'helvetica neue',
+    ubuntu, roboto, noto,
+    'segoe ui', arial, sans-serif;
+  line-height: 1;
+  // -webkit-font-smoothing: antialiased;
 }
 }
 
 
-.Uppy *, .Uppy *:before, .Uppy *:after {
+.uppy *, .uppy *:before, .uppy *:after {
   box-sizing: inherit;
   box-sizing: inherit;
 }
 }
 
 
@@ -28,16 +36,6 @@
   position: relative;
   position: relative;
 }
 }
 
 
-.UppyTheme--default {
-  font-family: -apple-system, BlinkMacSystemFont,
-               'avenir next', avenir,
-               helvetica, 'helvetica neue',
-               ubuntu, roboto, noto,
-               'segoe ui', arial, sans-serif;
-  line-height: 1;
-  -webkit-font-smoothing: antialiased;
-}
-
 // Buttons
 // Buttons
 
 
 .UppyButton--circular {
 .UppyButton--circular {