mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57: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) (...) ```
50 lines
787 B
SCSS
50 lines
787 B
SCSS
@import "mixins";
|
|
@import 'typography';
|
|
|
|
section {
|
|
:not(shop) navigation {
|
|
box-shadow: $distributor-header-shadow;
|
|
}
|
|
}
|
|
|
|
.darkswarm navigation {
|
|
display: block;
|
|
background: $white;
|
|
position: relative;
|
|
z-index: 20;
|
|
|
|
.details {
|
|
box-sizing: border-box;
|
|
display: block;
|
|
min-height: 150px;
|
|
padding: 30px 0 0;
|
|
position: relative;
|
|
|
|
img {
|
|
display: block;
|
|
height: 100px;
|
|
width: 100px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
location {
|
|
@include headingFont;
|
|
}
|
|
|
|
@include breakpoint(tablet) {
|
|
location, location + small {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
#distributor_title h3 {
|
|
margin-top: 0;
|
|
padding-top: 0.45em;
|
|
|
|
@include breakpoint(tablet) {
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|