Skip to content
Snippets Groups Projects
Commit 7b9fb3b1 authored by Phil Höfer's avatar Phil Höfer
Browse files

Merge branch '770-linkfarbe-nicht-barrierefrei' into 'development'

Resolve "Linkfarbe nicht barrierefrei"

Closes #770

See merge request !1285
parents 54ea3a7b 1751baf2
No related branches found
No related tags found
1 merge request!1285Resolve "Linkfarbe nicht barrierefrei"
...@@ -71,7 +71,7 @@ class Result ...@@ -71,7 +71,7 @@ class Result
private function price_to_text($price) private function price_to_text($price)
{ {
$euros = $price / 100; $euros = floor($price / 100);
$cents = $price % 100; $cents = $price % 100;
$price_text = $euros . ','; $price_text = $euros . ',';
if ($cents < 10) { if ($cents < 10) {
...@@ -284,7 +284,7 @@ class Result ...@@ -284,7 +284,7 @@ class Result
strpos($this->strippedHost, "www.ladenpreis.net") === false && strpos($this->strippedHost, "www.ladenpreis.net") === false &&
strpos($this->strippedHost, "ncbi.nlm.nih.gov") === false && strpos($this->strippedHost, "ncbi.nlm.nih.gov") === false &&
strpos($this->strippedHost, "www.onenewspage.com") === false && strpos($this->strippedHost, "www.onenewspage.com") === false &&
$this->gefVon !== "Shopzilla" ){ $this->gefVon !== "Shopzilla") {
$count = $metager->getHostCount($this->strippedHost); $count = $metager->getHostCount($this->strippedHost);
if ($count >= 3) { if ($count >= 3) {
return false; return false;
......
...@@ -89,7 +89,6 @@ ...@@ -89,7 +89,6 @@
order: 0; order: 0;
border: none; border: none;
box-shadow: none; box-shadow: none;
color: #ff8000;
background-color: inherit; background-color: inherit;
.quicktip-summary { .quicktip-summary {
display: flex; display: flex;
...@@ -102,7 +101,7 @@ ...@@ -102,7 +101,7 @@
margin: 5px; margin: 5px;
.spendenaufruf-btn { .spendenaufruf-btn {
color: white; color: white;
background-color: #ff8000; background-color: @link-color;
font-size: 16px; font-size: 16px;
} }
} }
...@@ -110,9 +109,7 @@ ...@@ -110,9 +109,7 @@
} }
&[type=spruch] { &[type=spruch] {
order: 1; order: 1;
border-left: 3px solid #070;
p { p {
color: #070;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
text-align: justify; text-align: justify;
......
...@@ -11,11 +11,9 @@ ...@@ -11,11 +11,9 @@
// //
@result-page-body-background-color: @background-color; @result-page-body-background-color: @background-color;
@result-page-a-hover-color: red; @result-page-a-hover-color: red;
@result-page-a-visited-color: @metager-orange;
@result-page-product-shop-color: green; @result-page-product-shop-color: green;
// //
@body-background-color: @result-page-body-background-color; @body-background-color: @result-page-body-background-color;
@a-visited-color: @result-page-a-visited-color;
@a-hover-color: @result-page-a-hover-color; @a-hover-color: @result-page-a-hover-color;
@a-donation-hover-color: @result-page-a-hover-color; @a-donation-hover-color: @result-page-a-hover-color;
@product-shop-color: @result-page-product-shop-color; @product-shop-color: @result-page-product-shop-color;
...@@ -162,7 +160,7 @@ nav .input-group { ...@@ -162,7 +160,7 @@ nav .input-group {
a { a {
&:visited { &:visited {
color: @a-visited-color; color: @link-color;
} }
&:hover { &:hover {
text-decoration: none; text-decoration: none;
...@@ -510,8 +508,8 @@ a { ...@@ -510,8 +508,8 @@ a {
color: black; color: black;
} }
&.active>a { &.active>a {
border-bottom: 1px solid @metager-orange; border-bottom: 1px solid black;
color: @metager-orange; color: black;
} }
&:last-child { &:last-child {
padding-right: 20px padding-right: 20px
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
.result-price { .result-price {
padding: 0px 10px; padding: 0px 10px;
color: white; color: white;
background-color: #ff8000; background-color: #666699;
border-radius: 3px; border-radius: 3px;
} }
a { a {
...@@ -108,15 +108,7 @@ ...@@ -108,15 +108,7 @@
&>*:not(:first-child) { &>*:not(:first-child) {
margin-left: 20px; margin-left: 20px;
} }
.result-open { .result-open,
&,
&:active,
&:hover,
&:focus,
&:visited {
color: #ff8000;
}
}
.result-open-newtab { .result-open-newtab {
&, &,
&:active, &:active,
...@@ -127,7 +119,6 @@ ...@@ -127,7 +119,6 @@
font-size: @result-font-small; font-size: @result-font-small;
text-decoration: none; text-decoration: none;
} }
margin-left: 25px;
} }
@media (max-width: 499px) { @media (max-width: 499px) {
.result-open-newtab { .result-open-newtab {
......
// MetaGer Brand Color // MetaGer Brand Color
@metager-orange: rgb(255, 128, 0); @metager-orange: #FF8000;
// General Colors // General Colors
@color-white: white; @color-white: white;
@color-almost-white: mix(@color-white, @color-black, 90%); @color-almost-white: mix(@color-white, @color-black, 90%);
...@@ -24,7 +24,7 @@ Helvetica, ...@@ -24,7 +24,7 @@ Helvetica,
Arial, Arial,
sans-serif; sans-serif;
// General textual link color. // General textual link color.
@link-color: @metager-orange; @link-color: #0066CC;
// //
@padding-small-default: 8px; @padding-small-default: 8px;
/* Unsorted */ /* Unsorted */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment