Files
5chan/src/components/topbar-edit-modal/topbar-edit-modal.module.css
T

156 lines
2.8 KiB
CSS

.backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.25);
z-index: 999;
}
.topbarEditDialog {
position: absolute;
width: 400px;
max-height: 80vh;
top: 50%;
left: 50%;
margin-left: -200px;
transform: translateY(-50%);
padding: 2px;
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);
box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 5px 0px;
font-size: var(--body-font-size);
line-height: normal;
z-index: 1000;
display: flex;
flex-direction: column;
}
@media (max-width: 600px) {
.topbarEditDialog {
width: calc(100% - 20px);
margin-left: -50%;
left: 50%;
max-width: 600px;
}
}
.hd {
position: relative;
padding: 0px 0px 5px;
margin: 5px 0px;
text-align: center;
border-bottom: var(--settings-modal-header-border-bottom);
}
.hd h2 {
margin: 0;
padding: 0;
font-size: 16px;
font-weight: 700;
line-height: 14px;
height: 14px;
}
.closeButton {
all: unset;
cursor: pointer;
width: 18px;
height: 18px;
position: absolute;
top: -2px;
right: 3px;
background-image: var(--settings-modal-close-button-background-image);
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
image-rendering: pixelated;
}
.bd {
overflow-y: auto;
flex: 1;
padding: 0;
margin: 0;
}
.section {
margin-bottom: 0;
}
.section:last-child {
margin-bottom: 0;
}
.section h3 {
margin: 0 0 8px 0;
padding: 0;
font-size: calc(var(--body-font-size) * 1.077);
font-weight: bold;
letter-spacing: 0.3px;
}
.directoryInput {
width: 100%;
padding: 2px 4px 3px;
font-size: 13.3333px;
margin: 0 0 5px;
box-sizing: border-box;
outline: none;
font-family: Arial, sans-serif;
border: var(--post-form-field-input-border, revert);
background-color: var(--post-form-field-input-background-color, revert);
color: var(--post-form-field-input-color);
}
.directoryInput:focus {
outline: none;
border: var(--post-form-field-input-focus-border, revert);
}
.checkboxGroup {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.checkboxItem {
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 5px;
}
.checkboxItem input[type='checkbox'] {
cursor: pointer;
}
.checkboxItem label {
cursor: pointer;
font-size: var(--body-font-size);
user-select: none;
}
.editSubscriptionsLink {
font-size: var(--body-font-size);
color: var(--link-color, #0000ee);
text-decoration: underline;
cursor: pointer;
}
.editSubscriptionsLink:hover {
color: var(--link-hover-color, #551a8b);
}
.topbarEditFooter {
padding: 0;
margin: 0;
text-align: center;
padding-bottom: 5px;
}