Files
openfoodnetwork/app/assets/stylesheets/darkswarm/tabset.scss
Pau Perez f36e08a163 Rename *.css.scss to *.scss
This fixes the following deprecation warning

```
DEPRECATION WARNING: Extra .css in SCSS file is unnecessary. Rename /usr/src/app/app/assets/stylesheets/darkswarm/variables.css.scss to /usr/src/app/app/assets/stylesheets/darkswar
m/variables.scss. (called from _app_views_layouts_darkswarm_html_haml___3990351141569700945_46957256630860 at /usr/src/app/app/views/layouts/darkswarm.html.haml:18)
(...)
```
2020-06-19 16:29:08 +02:00

72 lines
1.3 KiB
SCSS

@import "typography";
@import "mixins";
@import "branding";
.tabset-ctrl:not(#shop-tabs) {
.tab-view {
padding-top: 30px;
}
.tab {
text-align: center;
@include breakpoint(phablet) {
text-align: left;
}
a {
@include headingFont;
background: transparent;
text-transform: uppercase;
font-size: 1.5em;
text-shadow: 0 -1px 1px #ffffff;
padding: 1em;
border: none;
@include breakpoint(phablet) {
padding: 0.35em 0 0.65em 0;
text-shadow: none;
}
}
border-bottom: 4px solid transparent;
&:hover, &:focus, &:active {
transition: all 0.4s ease-in-out;
border-bottom: 4px solid $clr-brick-bright;
cursor: pointer;
@include breakpoint(phablet) {
transition: none;
color: white;
background-color: $clr-brick-bright;
}
a {
color: $clr-brick-bright;
@include breakpoint(phablet) {
color: #ffffff;
}
}
}
&.selected {
border-bottom: 4px solid $clr-brick;
@include breakpoint(phablet) {
background-color: $clr-brick;
}
a {
color: $clr-brick;
@include breakpoint(phablet) {
color: #ffffff;
}
}
}
}
}