mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
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) (...) ```
80 lines
1.3 KiB
SCSS
80 lines
1.3 KiB
SCSS
@import "../variables";
|
|
|
|
$color_unselected: #d9d9d9;
|
|
$color_selected: $spree-blue;
|
|
|
|
ul.wizard-progress {
|
|
list-style: none;
|
|
margin: 15px 0;
|
|
padding: 0;
|
|
text-align: center;
|
|
display: block;
|
|
li {
|
|
background-color: $color_unselected;
|
|
color: #494949;
|
|
display: inline-block;
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
text-transform: uppercase;
|
|
line-height: 30px;
|
|
padding: 0 25px 0 40px;
|
|
position: relative;
|
|
a {
|
|
color: #494949;
|
|
}
|
|
&:first-child {
|
|
padding-left: 25px;
|
|
border-top-left-radius: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
}
|
|
&:last-child {
|
|
border-top-right-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
&:after {
|
|
display: none;
|
|
}
|
|
&:before {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&:before, &:after {
|
|
background-color: $color_unselected;
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
}
|
|
|
|
&:after {
|
|
border-radius: 3px;
|
|
border-right: 3px solid #fff;
|
|
border-top: 3px solid #fff;
|
|
height: 21px;
|
|
right: -15px;
|
|
top: 3px;
|
|
transform: rotate(45deg);
|
|
width: 21px;
|
|
z-index: 5;
|
|
}
|
|
&:before {
|
|
height: 30px;
|
|
right: 3px;
|
|
width: 20px;
|
|
z-index: 6;
|
|
}
|
|
&.current {
|
|
background-color: $color_selected;
|
|
color: #fff;
|
|
a {
|
|
color: #fff;
|
|
}
|
|
&:after {
|
|
background-color: $color_selected;
|
|
}
|
|
&:before {
|
|
background-color: $color_selected;
|
|
}
|
|
}
|
|
}
|
|
}
|