mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +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) (...) ```
32 lines
505 B
SCSS
32 lines
505 B
SCSS
@import "variables";
|
|
|
|
.side_menu {
|
|
border-right: 2px solid #f6f6f6;
|
|
border-top: 2px solid #f6f6f6;
|
|
|
|
.menu_item {
|
|
display: block;
|
|
padding: 8px 15px;
|
|
font-size: 120%;
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
|
|
&:nth-child(odd) {
|
|
background-color: #ebf3fb;
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #eaf0f5;
|
|
}
|
|
|
|
&.selected {
|
|
background-color: $spree-blue;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
}
|