Skip to content
Permalink
Browse files

fix(style): Fix less and sass to correctly generate tab--disabled class

  • Loading branch information
danez committed Nov 12, 2017
1 parent ccf9c23 commit b95891e2ab3466fd6d164abfb73250f763e1bafa
Showing with 20 additions and 18 deletions.
  1. +8 −8 style/react-tabs.css
  2. +6 −5 style/react-tabs.less
  3. +6 −5 style/react-tabs.scss
@@ -22,14 +22,6 @@
border-radius: 5px 5px 0 0;
}

.react-tabs__tab-panel {
display: none;
}

.react-tabs__tab-panel--selected {
display: block;
}

.react-tabs__tab--disabled {
color: GrayText;
cursor: default;
@@ -50,3 +42,11 @@
bottom: -5px;
background: #fff;
}

.react-tabs__tab-panel {
display: none;
}

.react-tabs__tab-panel--selected {
display: block;
}
@@ -21,6 +21,12 @@
color: black;
border-radius: 5px 5px 0 0;
}

&--disabled {
color: GrayText;
cursor: default;
}

&:focus {
box-shadow: 0 0 5px hsl(208, 99%, 50%);
border-color: hsl(208, 99%, 50%);
@@ -44,10 +50,5 @@
&--selected {
display: block;
}

&--disabled {
color: GrayText;
cursor: default;
}
}
}
@@ -21,6 +21,12 @@
color: black;
border-radius: 5px 5px 0 0;
}

&--disabled {
color: GrayText;
cursor: default;
}

&:focus {
box-shadow: 0 0 5px hsl(208, 99%, 50%);
border-color: hsl(208, 99%, 50%);
@@ -44,10 +50,5 @@
&--selected {
display: block;
}

&--disabled {
color: GrayText;
cursor: default;
}
}
}

0 comments on commit b95891e

Please sign in to comment.
You can’t perform that action at this time.