summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax2021-01-12 13:31:30 +0100
committerMax2021-01-12 13:31:30 +0100
commitece168b02c73104ef67a6b7f6cba253cdfb4152b (patch)
tree7a1f31f37f3535fca05bb6ef266f93be365b9ce2
parent57b1f4abc3fb43180456b69f28566e20e91fc76b (diff)
downloadfuselkoenig_de-ece168b02c73104ef67a6b7f6cba253cdfb4152b.tar.gz
Adds css to show a banner for the angebote website.
-rw-r--r--img/sale-opac.pngbin0 -> 12381 bytes
-rw-r--r--img/sale.pngbin0 -> 14020 bytes
-rw-r--r--sass/theme/_offer.scss6
-rw-r--r--sass/theme/_theme.scss28
4 files changed, 33 insertions, 1 deletions
diff --git a/img/sale-opac.png b/img/sale-opac.png
new file mode 100644
index 0000000..13d410a
--- /dev/null
+++ b/img/sale-opac.png
Binary files differ
diff --git a/img/sale.png b/img/sale.png
new file mode 100644
index 0000000..7d932dd
--- /dev/null
+++ b/img/sale.png
Binary files differ
diff --git a/sass/theme/_offer.scss b/sass/theme/_offer.scss
index ab14095..8a8e0f5 100644
--- a/sass/theme/_offer.scss
+++ b/sass/theme/_offer.scss
@@ -27,7 +27,11 @@
.card-img-overlay-badge {
bottom: inherit;
left: inherit;
- top: 12%;
+ //top: 12%;
+}
+.offer-index {
+ margin-top: 1%;
+ margin-bottom: 1%;
}
.off-badge {
diff --git a/sass/theme/_theme.scss b/sass/theme/_theme.scss
index b91c5b6..129ef15 100644
--- a/sass/theme/_theme.scss
+++ b/sass/theme/_theme.scss
@@ -371,4 +371,32 @@ span.rpwwt-post-title:hover{
//li.active > .dropdown-toggle {
+.angebot-banner {
+ @extend .alert;
+ @extend .alert-primary;
+ background-color: #f07206;
+ color: white;
+ box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 4px 0px, rgba(0, 0, 0, 0.12) 0px 3px 4px 0px, rgba(0, 0, 0, 0.2) 0px 1px 5px 0px;
+ //background-image: url(../img/sale.png);
+ background-image: url(../img/sale-opac.png);
+ background-position: right;
+ background-repeat: no-repeat;
+ text-decoration: none !important;
+
+}
+
+a > .angebot-banner:hover {
+ text-decoration: none !important;
+}
+
+@media (max-width: 768px) {
+ .angebot-banner {
+ font-weight: bold;
+ }
+}
+
+.angebot-banner:hover {
+ text-decoration: none !important;
+ background-color: scale-color(#f07206, $lightness: -10%);
+}