mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
148 lines
2.9 KiB
CSS
148 lines
2.9 KiB
CSS
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
z-index: 4;
|
|
}
|
|
|
|
.settingsModal label, .settingsModal button, .settingsModal select {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settingsModal button {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.settingsModal input[type='text'] {
|
|
outline: none;
|
|
border: var(--reply-modal-field-input-border, revert);
|
|
padding: 2px 4px 3px;
|
|
}
|
|
|
|
.settingsModal textarea {
|
|
border: var(--reply-modal-field-input-border, revert) !important;
|
|
}
|
|
|
|
.settingsModal input[type="text"]:focus, .settingsModal textarea:focus {
|
|
border: var(--reply-modal-field-input-border-focus, revert) !important;
|
|
}
|
|
|
|
.settingsModal {
|
|
top: 25px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 394px;
|
|
height: auto;
|
|
max-height: 80%;
|
|
overflow-y: auto;
|
|
position: fixed;
|
|
z-index: 5;
|
|
padding: 2px;
|
|
font-size: var(--settings-modal-font-size);
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
|
|
background-color: var(--settings-modal-background-color);
|
|
border-top: var(--settings-modal-border-top);
|
|
border-right: var(--settings-modal-border-right);
|
|
border-bottom: var(--settings-modal-border-bottom);
|
|
border-left: var(--settings-modal-border-left);
|
|
}
|
|
|
|
.settingsModal textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.settingsModal select, .settingsModal button, .settingsModal textarea, .settingsModal input[type='text'] {
|
|
filter: var(--filter80);
|
|
}
|
|
|
|
.header {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin-bottom: 5px;
|
|
margin-top: 5px;
|
|
padding-bottom: 5px;
|
|
text-align: center;
|
|
line-height: 14px;
|
|
border-bottom: var(--settings-modal-header-border-bottom);
|
|
}
|
|
|
|
.title {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.closeButton {
|
|
right: 5px;
|
|
width: 18px;
|
|
height: 18px;
|
|
display: block;
|
|
background-size: 100%;
|
|
position: absolute;
|
|
top: 5px;
|
|
image-rendering: pixelated;
|
|
background-image: var(--settings-modal-close-button-background-image);
|
|
}
|
|
|
|
.expandAllSettings {
|
|
text-align: center;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.expandAllSettings span {
|
|
color: var(--button-desktop-text-color);
|
|
}
|
|
|
|
.expandAllSettings span:hover {
|
|
color: var(--button-desktop-text-color-hover);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.setting {
|
|
margin-bottom: 8px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.hideButton, .showButton {
|
|
vertical-align: text-bottom;
|
|
margin-right: 5px;
|
|
width: 18px;
|
|
height: 18px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
display: inline-block;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.hideButton {
|
|
background-image: var(--settings-modal-hide-button-background-image);
|
|
}
|
|
|
|
.showButton {
|
|
background-image: var(--settings-modal-show-button-background-image);
|
|
}
|
|
|
|
.category {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.category label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.checkForUpdatesButton {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.setting, .category {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.settingsModal {
|
|
width: 350px !important;
|
|
max-height: 60% !important;
|
|
left: calc(50% - 2px) !important;
|
|
}
|
|
} |