Files
Iris/src/scss/components/_sub-views.scss
Matthew Gamble 2c671bd89c Build process improvements
- Ensure static directory is always fully regenerated, to ensure
  reproducibility
- Exclude Photoshop and Illustrator assets from the static directory
- Switch from node-sass to sass, because not everyone has a C compiler
  available or can easily work with node-gyp
- Fix many sass compilation errors and warnings
2021-01-07 14:38:00 +11:00

52 lines
1.0 KiB
SCSS
Executable File

.sub-views {
&__option {
@include feature_font();
@include animate();
color: colour('white');
display: inline-block;
margin-right: 25px;
font-size: 15px;
font-weight: 500;
border-bottom: 0;
padding-bottom: 3px;
cursor: pointer;
@include theme('light') {
color: colour('darkest_grey');
}
h4 {
margin: 8px 0 4px;
}
&--active,
&:hover {
border-bottom-width: 3px !important;
border-bottom-style: solid;
padding-bottom: 0px;
}
&--active {
border-color: colour('white') !important;
@include theme('light') {
border-color: colour('darkest_grey') !important;
}
}
&:not(.sub-views__option--active):hover {
border-color: colour('soft_grey') !important;
@include theme('light') {
border-color: colour('light_grey') !important;
}
}
}
@include responsive($bp_medium) {
&__option {
margin-right: 15px;
}
}
}