Files
5chan/src/views/mod-queue/mod-queue.module.css
T

298 lines
4.8 KiB
CSS
Raw Normal View History

2026-01-07 16:03:02 +01:00
.container {
padding: 10px;
max-width: 1000px;
margin: 0 auto;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
flex-wrap: wrap;
gap: 10px;
}
.title {
font-size: 1.5em;
font-weight: bold;
}
.alertThresholdSetting {
display: flex;
align-items: center;
gap: 8px;
}
.alertThresholdSetting label {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
}
.alertThresholdInput {
width: 50px;
padding: 4px;
2026-01-08 16:43:14 +01:00
border: var(--mod-queue-table-border);
background: var(--mod-queue-header-background-color);
color: var(--body-font-color);
}
.tableWrapper {
border: var(--mod-queue-table-border);
2026-01-07 16:03:02 +01:00
}
.tableHeader {
display: flex;
padding: 8px;
2026-01-08 16:43:14 +01:00
border-bottom: var(--mod-queue-header-border-bottom);
background: var(--mod-queue-header-background-color);
2026-01-07 16:03:02 +01:00
font-weight: bold;
font-size: 13px;
}
.boardHeader {
width: 50px;
flex-shrink: 0;
}
.excerptHeader {
flex-grow: 1;
}
.timeHeader {
width: 80px;
text-align: right;
flex-shrink: 0;
}
.actionsHeader {
width: 150px;
flex-shrink: 0;
text-align: right;
}
.empty {
padding: 20px;
text-align: center;
2026-01-08 16:43:14 +01:00
color: var(--mod-queue-time-color);
2026-01-07 16:03:02 +01:00
}
/* ModQueueRow styles */
.row {
display: flex;
padding: 4px 8px;
2026-01-08 16:43:14 +01:00
border-top: none;
border-left: none;
border-right: none;
border-bottom: var(--mod-queue-row-border-bottom);
2026-01-07 16:03:02 +01:00
align-items: center;
gap: 8px;
2026-01-08 16:43:14 +01:00
background-color: var(--mod-queue-row-background-color);
color: var(--body-font-color);
2026-01-07 16:03:02 +01:00
font-size: 13px;
}
.row:hover {
2026-01-08 16:43:14 +01:00
background-color: var(--mod-queue-row-hover-background-color);
2026-01-07 16:03:02 +01:00
}
.board {
width: 50px;
flex-shrink: 0;
font-weight: bold;
}
.excerpt {
flex-grow: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.excerpt a {
2026-01-08 16:43:14 +01:00
text-decoration: var(--post-link-text-decoration);
color: var(--post-link-text-color);
2026-01-07 16:03:02 +01:00
}
.excerpt a:hover {
2026-01-08 16:43:14 +01:00
text-decoration: var(--post-link-text-decoration-hover);
color: var(--post-link-text-color-hover);
2026-01-07 16:03:02 +01:00
}
.time {
width: 80px;
flex-shrink: 0;
text-align: right;
2026-01-08 16:43:14 +01:00
color: var(--mod-queue-time-color);
2026-01-07 16:03:02 +01:00
}
.time.alert {
2026-01-08 16:43:14 +01:00
color: var(--mod-queue-alert-color);
2026-01-07 16:03:02 +01:00
font-weight: bold;
animation: blink 2s infinite;
}
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
.actions {
width: 150px;
flex-shrink: 0;
display: flex;
gap: 4px;
justify-content: flex-end;
align-items: center;
2026-01-07 16:03:02 +01:00
}
/* Desktop: buttons styled as text links (same as board buttons) */
2026-01-08 16:43:14 +01:00
@media (min-width: 640px) {
.actions {
display: block;
text-align: right;
}
2026-01-08 16:43:14 +01:00
.button {
all: unset;
cursor: pointer;
text-transform: capitalize;
color: var(--button-desktop-text-color);
text-decoration: var(--button-text-decoration);
display: inline;
2026-01-08 16:43:14 +01:00
font-family: inherit;
}
2026-01-07 16:03:02 +01:00
2026-01-08 16:43:14 +01:00
.button:hover {
color: var(--button-desktop-text-color-hover);
cursor: pointer;
2026-01-08 16:43:14 +01:00
}
.button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
2026-01-07 16:03:02 +01:00
}
/* Status indicators (spans only) - bold, green/red, no underline */
span.approve {
color: green;
font-weight: 700;
text-decoration: none;
2026-01-08 16:43:14 +01:00
}
span.approve:hover {
color: green;
2026-01-07 16:03:02 +01:00
}
span.reject {
color: red;
font-weight: 700;
text-decoration: none;
2026-01-08 16:43:14 +01:00
}
span.reject:hover {
color: red;
2026-01-07 16:03:02 +01:00
}
/* ModQueueBoardFilter styles */
.filterContainer {
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 8px;
}
.filterSelect {
padding: 4px;
2026-01-08 16:43:14 +01:00
border: var(--mod-queue-table-border);
background: var(--mod-queue-header-background-color);
color: var(--body-font-color);
2026-01-07 16:03:02 +01:00
}
/* ModQueueButton styles */
.modQueueButtonCount {
font-weight: bold;
}
2026-01-08 16:43:14 +01:00
/* Number blinking, changing color to red */
.modQueueButtonCountAlert {
animation: blinkColor 2s infinite;
}
@keyframes blinkColor {
0% {
color: inherit;
}
50% {
color: var(--mod-queue-alert-color);
}
100% {
color: inherit;
}
2026-01-07 16:03:02 +01:00
}
/* Mobile Layout */
@media (max-width: 600px) {
.tableHeader {
display: none;
}
.row {
flex-wrap: wrap;
padding: 8px;
}
.board {
width: auto;
margin-right: 8px;
}
.time {
margin-left: auto;
width: auto;
}
.excerpt {
width: 100%;
margin: 4px 0;
white-space: normal;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.actions {
width: 100%;
justify-content: flex-start;
}
.button {
flex: 1;
text-align: center;
padding: 8px;
2026-01-08 16:43:14 +01:00
border: var(--button-border-mobile);
background: var(--button-background-color-mobile);
color: var(--button-text-color-mobile);
text-decoration: none;
}
.button:hover {
background: var(--button-background-color-mobile);
2026-01-07 16:03:02 +01:00
}
.button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
2026-01-07 16:03:02 +01:00
.header {
flex-direction: column;
align-items: flex-start;
}
}