Skip to content
Snippets Groups Projects
Commit a9f5c964 authored by Chris Lawton's avatar Chris Lawton
Browse files

move switcher buttons styles to the app

parent d46f652d
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ import ReactDOM from 'react-dom'; ...@@ -3,6 +3,8 @@ import ReactDOM from 'react-dom';
import ArrayIcon from 'images/icon-array.svg' import ArrayIcon from 'images/icon-array.svg'
import GridIcon from 'images/icon-grid.svg'; import GridIcon from 'images/icon-grid.svg';
import './styles.scss';
class Switcher extends React.Component { class Switcher extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
......
.button {
&--switcher {
fill: transparentize($color--white, .5);
transition: fill $transition;
&:hover,
&:focus {
fill: transparentize($color--white, .25);
}
&:first-child {
margin-right: 10px;
}
&.is-active {
fill: $color--white;
}
svg {
width: 45px;
height: 45px;
}
}
}
...@@ -208,27 +208,4 @@ ...@@ -208,27 +208,4 @@
fill: $color--white; fill: $color--white;
} }
} }
&--switcher {
fill: transparentize($color--white, .5);
transition: fill $transition;
&:hover,
&:focus {
fill: transparentize($color--white, .25);
}
&:first-child {
margin-right: 10px;
}
&.is-active {
fill: $color--white;
}
svg {
width: 45px;
height: 45px;
}
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment