Remove .spoiler-button styles

environments/review-sensitive-bak9vm/deployments/1465
Alex Gleason 2022-11-19 17:17:56 -06:00
rodzic ba8cab0513
commit 30a34b0b82
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
4 zmienionych plików z 0 dodań i 52 usunięć

Wyświetl plik

@ -45,7 +45,6 @@
@import 'components/search';
@import 'components/react-toggle';
@import 'components/still-image';
@import 'components/spoiler-button';
@import 'components/video-player';
@import 'components/audio-player';
@import 'components/profile-hover-card';

Wyświetl plik

@ -343,10 +343,6 @@
height: 100% !important;
margin: 4px 0 8px;
.spoiler-button {
display: none;
}
.media-gallery__item:not(.media-gallery__item--image) {
max-width: 100%;
width: 120px !important;

Wyświetl plik

@ -194,10 +194,6 @@ $media-compact-size: 50px;
height: $media-compact-size !important;
background: transparent;
.spoiler-button {
display: none;
}
.media-gallery__item {
width: $media-compact-size !important;
height: $media-compact-size !important;

Wyświetl plik

@ -1,43 +0,0 @@
.spoiler-button {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
z-index: 40;
&--hidden {
display: none;
}
.svg-icon {
width: 20px;
height: 20px;
}
&__overlay {
display: block;
background: transparent;
width: 100%;
height: 100%;
border: 0;
&__label {
display: inline-block;
background: var(--accent-color--faint);
border-radius: 8px;
padding: 8px 12px;
color: var(--primary-text-color);
font-weight: 500;
font-size: 14px;
}
&:hover,
&:focus,
&:active {
.spoiler-button__overlay__label {
background: var(--accent-color--med);
}
}
}
}