Merge pull request #5017 from consul/fix_colors

Fix and adjust the colors of some elements
This commit is contained in:
Javi Martín
2022-10-26 16:23:18 +02:00
committed by GitHub
7 changed files with 20 additions and 22 deletions

View File

@@ -61,8 +61,6 @@ $table-header: #ecf1f6;
}
.top-links {
background: #000;
color: $white;
a {
line-height: rem-calc($line-height * 1.5);

View File

@@ -29,8 +29,7 @@
> [aria-expanded] {
@include xy-gutters;
color: $link;
cursor: pointer;
@include link;
margin-top: $line-height;
margin-bottom: $line-height;
max-width: max-content;

View File

@@ -8,14 +8,14 @@
.ui-datepicker-calendar {
.ui-state-default {
background: $highlight;
color: $text;
}
.ui-state-hover,
.ui-state-active {
@extend %brand-background;
.ui-state-default:not(&) {
background: $highlight;
color: $text;
}
}
thead {

View File

@@ -146,9 +146,8 @@ button,
}
.button.hollow {
@include normal-selection;
@include brand-text;
border: 1px solid;
color: $link;
}
.button.hollow.error {
@@ -1375,16 +1374,20 @@ form {
}
}
.notification-link {
color: inherit;
&:hover {
color: $link;
}
}
&:hover {
a {
text-decoration: none;
}
p:not(.time) {
color: $link;
}
&::before {
content: "\43";
}
@@ -1405,7 +1408,6 @@ form {
}
p {
color: $text;
margin-bottom: 0;
max-width: 80%;
}
@@ -2359,8 +2361,7 @@ table {
}
.add-related-content {
color: $link;
cursor: pointer;
@include link;
display: block;
margin-bottom: $line-height;
@@ -2459,7 +2460,7 @@ table {
}
a {
color: $link;
@include link;
}
}

View File

@@ -23,7 +23,7 @@
@include base-button;
}
@mixin hollow-button($color: $link) {
@mixin hollow-button($color: $brand) {
@include button($style: hollow, $background: $color);
@include normal-selection;
@include base-button;

View File

@@ -249,7 +249,7 @@
font-weight: bold;
a {
color: $link !important;
@include link;
}
}

View File

@@ -5,7 +5,7 @@
title: notification.notifiable_title,
body: notification.notifiable_body } %>
<% link_text = render "/notifications/notification_body", locals %>
<%= link_to_if notification.link.present?, link_text, notification.link %>
<%= link_to_if notification.link.present?, link_text, notification.link, class: "notification-link" %>
<% else %>
<p>
<strong>