mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56: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) (...) ```
39 lines
489 B
SCSS
39 lines
489 B
SCSS
@import "../variables";
|
|
|
|
#info-dialog, #confirm-dialog {
|
|
.message {
|
|
.text, .icon {
|
|
position: relative;
|
|
float:left;
|
|
display: inline;
|
|
}
|
|
|
|
.text {
|
|
padding-top: 10px;
|
|
width: 80%;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.icon {
|
|
width: 20%;
|
|
font-size: 4rem;
|
|
}
|
|
}
|
|
|
|
&.error {
|
|
.message {
|
|
.icon {
|
|
color: $warning-red;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.info {
|
|
.message {
|
|
.icon {
|
|
color: $spree-blue;
|
|
}
|
|
}
|
|
}
|
|
}
|