diff options
| author | Max | 2021-01-12 13:31:30 +0100 |
|---|---|---|
| committer | Max | 2021-01-12 13:31:30 +0100 |
| commit | ece168b02c73104ef67a6b7f6cba253cdfb4152b (patch) | |
| tree | 7a1f31f37f3535fca05bb6ef266f93be365b9ce2 /sass | |
| parent | 57b1f4abc3fb43180456b69f28566e20e91fc76b (diff) | |
| download | fuselkoenig_de-ece168b02c73104ef67a6b7f6cba253cdfb4152b.tar.gz | |
Adds css to show a banner for the angebote website.
Diffstat (limited to 'sass')
| -rw-r--r-- | sass/theme/_offer.scss | 6 | ||||
| -rw-r--r-- | sass/theme/_theme.scss | 28 |
2 files changed, 33 insertions, 1 deletions
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%); +} |
