Kaynağa Gözat

remove :root selector

Yuki Takei 3 yıl önce
ebeveyn
işleme
65f64ed185

+ 1 - 1
packages/app/src/styles/atoms/_buttons.scss

@@ -39,7 +39,7 @@
 }
 }
 
 
 // fill button style
 // fill button style
-:root .btn.btn-fill {
+.btn.btn-fill {
   position: relative;
   position: relative;
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;

+ 4 - 7
packages/app/src/styles/bootstrap/_apply.scss

@@ -3,10 +3,7 @@
 @import '~bootstrap/scss/utilities';
 @import '~bootstrap/scss/utilities';
 @import '~bootstrap/scss/root';
 @import '~bootstrap/scss/root';
 
 
-// increase specificity with ':root' for GROWI theming
-:root {
-  // import bootstrap
-  @import '~bootstrap/scss/bootstrap';
-  // override
-  @import './override';
-}
+// import bootstrap
+@import '~bootstrap/scss/bootstrap';
+// override
+@import './override';

+ 1 - 7
packages/app/src/styles/theme/_reboot-bootstrap-colors.scss

@@ -14,14 +14,8 @@
 // 3. Set an explicit initial text-align value so that we can later use
 // 3. Set an explicit initial text-align value so that we can later use
 //    the `inherit` value on things like `<th>` elements.
 //    the `inherit` value on things like `<th>` elements.
 
 
-body {
-  // margin: 0; // 1
-  // font-family: $font-family-base;
-  // @include font-size($font-size-base);
-  // font-weight: $font-weight-base;
-  // line-height: $line-height-base;
+& {
   color: $body-color;
   color: $body-color;
-  // text-align: left; // 3
   background-color: $body-bg; // 2
   background-color: $body-bg; // 2
 
 
   svg {
   svg {