mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Actually we don't need the additional paths
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
padding: 4em 2em;
|
||||
|
||||
background-color: black;
|
||||
background-image: url("../../assets/images/home/tagline-bg.jpg");
|
||||
background-image: url("/assets/home/tagline-bg.jpg");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
.question-mark-icon {
|
||||
background-image: url("../../assets/images/question-mark-icon.svg");
|
||||
background-image: url("/assets/question-mark-icon.svg");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 50%;
|
||||
|
||||
@@ -60,7 +60,7 @@ ordercycle {
|
||||
}
|
||||
|
||||
select {
|
||||
background-image: url('../../assets/images/white-caret.svg');
|
||||
background-image: url('/assets/white-caret.svg');
|
||||
background-size: 30px auto;
|
||||
background-position-x: 102%;
|
||||
height: 2.35em;
|
||||
@@ -145,7 +145,7 @@ shop ordercycle {
|
||||
|
||||
select {
|
||||
background-color: $white;
|
||||
background-image: url('../../assets/images/black-caret.svg');
|
||||
background-image: url('/assets/black-caret.svg');
|
||||
color: $grey-500;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ footer {
|
||||
|
||||
width: 100%;
|
||||
border: 1px solid rgba($dark-grey, 0.35);
|
||||
background-image: url("../../assets/images/tile-wide.png");
|
||||
background-image: url("/assets/tile-wide.png");
|
||||
background-position: center center;
|
||||
background-color: #bbb;
|
||||
padding: 12px 0 8px 0;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
}
|
||||
|
||||
#stats.pane {
|
||||
background-image: url("../../assets/images/home/background-blurred-oranges.jpg");
|
||||
background-image: url("/assets/home/background-blurred-oranges.jpg");
|
||||
background-position: center center;
|
||||
background-color: $ofn-grey;
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
}
|
||||
|
||||
.home-icon-box {
|
||||
background-image: url("../../assets/images/ofn-o.png");
|
||||
background-image: url("/assets/ofn-o.png");
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: auto 100%;
|
||||
@@ -115,15 +115,15 @@
|
||||
background-size: auto 100%;
|
||||
|
||||
&.search {
|
||||
background-image: url("../../assets/images/icon-mask-magnifier.png");
|
||||
background-image: url("/assets/icon-mask-magnifier.png");
|
||||
}
|
||||
|
||||
&.shop {
|
||||
background-image: url("../../assets/images/icon-mask-apple.png");
|
||||
background-image: url("/assets/icon-mask-apple.png");
|
||||
}
|
||||
|
||||
&.pick-up-delivery {
|
||||
background-image: url("../../assets/images/icon-mask-truck.png");
|
||||
background-image: url("/assets/icon-mask-truck.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Generic \\
|
||||
|
||||
@mixin tiledPane {
|
||||
background-image: url("../../assets/images/tile-wide.png");
|
||||
background-image: url("/assets/tile-wide.png");
|
||||
background-color: $brand-colour;
|
||||
background-position: center center;
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
@mixin producersbg {
|
||||
background-color: lighten($clr-turquoise, 68%);
|
||||
background-image: url("../../assets/images/producers.svg");
|
||||
background-image: url("/assets/producers.svg");
|
||||
background-position: center 50px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 922px 763px;
|
||||
@@ -185,13 +185,13 @@
|
||||
|
||||
@mixin hubsbg {
|
||||
background-color: $brand-colour;
|
||||
background-image: url("../../assets/images/hubs-bg.jpg");
|
||||
background-image: url("/assets/hubs-bg.jpg");
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
@mixin groupsbg {
|
||||
background-color: lighten($clr-brick, 56%);
|
||||
background-image: url("../../assets/images/groups.svg");
|
||||
background-image: url("/assets/groups.svg");
|
||||
background-position: center 50px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 922px 922px;
|
||||
|
||||
@@ -9,7 +9,7 @@ $page-alert-height: 55px;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
background-color: #bbb;
|
||||
background-image: url("../../assets/images/tile-wide.png");
|
||||
background-image: url("/assets/tile-wide.png");
|
||||
background-position: center center;
|
||||
padding: 12px 0 8px 0;
|
||||
margin: 0;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
padding: 0 2.25em 0 2.75em;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
background: $white url("../../assets/images/icn-search-grey.png") 1em center no-repeat;
|
||||
background: $white url("/assets/icn-search-grey.png") 1em center no-repeat;
|
||||
font-size: 1rem; // avoid zoom on iphone, see issue #4535
|
||||
|
||||
&::placeholder {
|
||||
|
||||
@@ -298,7 +298,7 @@
|
||||
}
|
||||
|
||||
&:after {
|
||||
background-image: url("../../assets/images/edit-with-pen.svg");
|
||||
background-image: url("/assets/edit-with-pen.svg");
|
||||
content: " ";
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}
|
||||
|
||||
.question-mark-icon {
|
||||
background-image: url("../../assets/images/question-mark-icon.svg");
|
||||
background-image: url("/assets/question-mark-icon.svg");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 50%;
|
||||
|
||||
@@ -13,7 +13,7 @@ default: &default
|
||||
'vendor',
|
||||
'app/webpacker/css',
|
||||
'app/webpacker/fonts',
|
||||
'app/assets/images',
|
||||
# 'app/assets/images',
|
||||
'engines/web/app/assets/stylesheets',
|
||||
'app/components'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user