mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
A11Y: Better contrast for lightbox overlay links (#25208)
This commit is contained in:
parent
c916806fe8
commit
7bfb1af180
|
@ -29,7 +29,7 @@
|
|||
|
||||
@use "sass:math";
|
||||
|
||||
$overlay-color: #0b0b0b !default;
|
||||
$overlay-color: #000000 !default;
|
||||
$overlay-opacity: 0.8 !default;
|
||||
$shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default; // shadow on image or iframe
|
||||
$popup-padding-left: 8px !default; // Padding from left and from right side
|
||||
|
@ -79,7 +79,7 @@ $use-visuallyhidden: false !default; // Hide content from browsers, but make it
|
|||
position: fixed;
|
||||
|
||||
background: $overlay-color;
|
||||
opacity: $overlay-opacity;
|
||||
animation: fade 0.3s alternate;
|
||||
}
|
||||
|
||||
// Wrapper for popup
|
||||
|
@ -486,6 +486,10 @@ button {
|
|||
a.image-source-link .d-icon {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--tertiary-medium);
|
||||
}
|
||||
}
|
||||
|
||||
.mfp-ready {
|
||||
|
@ -617,7 +621,7 @@ button {
|
|||
@include transform(scale(1));
|
||||
}
|
||||
&.mfp-bg {
|
||||
opacity: 0.8;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user