bootstrap: Clean up .close references.

Removing `.alert` from the dark theme seems acceptable,
as there is nowhere in the codebase we're setting a
`text-shadow` value that would require `none` here.
This commit is contained in:
Karl Stolley
2025-04-30 09:14:58 -05:00
committed by Tim Abbott
parent d7102f7443
commit 0c07bf79f1
3 changed files with 0 additions and 46 deletions

View File

@@ -188,10 +188,6 @@
opacity: 0.2; opacity: 0.2;
} }
.close {
color: hsl(236deg 33% 80%);
}
.zoom-in { .zoom-in {
#topics_header { #topics_header {
background-color: var(--color-background); background-color: var(--color-background);
@@ -293,19 +289,6 @@
border: 1px solid hsl(11deg 46% 54%); border: 1px solid hsl(11deg 46% 54%);
} }
.alert {
text-shadow: none;
.close {
color: inherit;
opacity: 0.8;
}
.close:hover {
opacity: 1;
}
}
.alert.alert-success { .alert.alert-success {
color: inherit; color: inherit;
background-color: hsl(161deg 60% 46% / 20%); background-color: hsl(161deg 60% 46% / 20%);

View File

@@ -18,12 +18,6 @@
.alert h4 { .alert h4 {
margin: 0; margin: 0;
} }
.alert .close {
position: relative;
top: -2px;
right: -21px;
line-height: 20px;
}
.alert-success { .alert-success {
background-color: #dff0d8; background-color: #dff0d8;
border-color: #d6e9c6; border-color: #d6e9c6;

View File

@@ -101,26 +101,3 @@ input:focus:invalid:focus {
-moz-box-shadow: 0 0 6px #f8b9b7; -moz-box-shadow: 0 0 6px #f8b9b7;
box-shadow: 0 0 6px #f8b9b7; box-shadow: 0 0 6px #f8b9b7;
} }
.close {
float: right;
font-size: 20px;
font-weight: bold;
line-height: 20px;
color: #000000;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
}
.close:hover,
.close:focus {
color: #000000;
text-decoration: none;
cursor: pointer;
opacity: 0.4;
}
button.close {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}