2020-10-15 14:05:48 -04:00
|
|
|
// Overrides for WCAG color schemes only
|
|
|
|
|
|
|
|
// Global
|
|
|
|
|
|
|
|
::placeholder {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
html.discourse-no-touch {
|
2023-03-20 13:23:10 -04:00
|
|
|
.btn-default:not(.btn-flat, .btn-danger, .btn-primary),
|
|
|
|
.btn-icon:not(.btn-flat, .btn-danger, .btn-primary) {
|
2020-10-15 14:05:48 -04:00
|
|
|
&.btn-default {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover,
|
2023-03-20 13:23:10 -04:00
|
|
|
&.btn-hover,
|
|
|
|
&:focus {
|
2020-10-15 14:05:48 -04:00
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-primary .d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
.btn-icon.ok,
|
|
|
|
.btn-icon.cancel,
|
2023-03-20 13:23:10 -04:00
|
|
|
.btn-danger:not(.btn-flat) {
|
2020-10-15 14:05:48 -04:00
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-flat.delete.d-hover {
|
|
|
|
background: var(--danger);
|
|
|
|
}
|
2023-03-20 13:23:10 -04:00
|
|
|
|
|
|
|
.select-kit.single-select .select-kit-header:focus {
|
|
|
|
border-color: var(--primary-medium);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
html {
|
|
|
|
// html parent adds some additional specificity to override core styles
|
|
|
|
.nav-pills > li > a:not(.active):hover {
|
|
|
|
background: var(--tertiary-low);
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
// Composer
|
|
|
|
#reply-control .reply-to .reply-details .d-icon {
|
|
|
|
opacity: 1;
|
2020-10-15 14:05:48 -04:00
|
|
|
color: var(--primary-low-mid);
|
2021-05-20 02:28:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.d-editor-button-bar {
|
|
|
|
.btn-icon.btn-default .d-icon {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
.discourse-no-touch & {
|
|
|
|
&:hover {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
}
|
2023-07-18 15:39:52 -04:00
|
|
|
.btn-icon:not(.btn-flat, .btn-danger, .btn-primary):focus {
|
|
|
|
.d-icon {
|
|
|
|
color: currentColor;
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
// Site header
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.menu-panel li a.widget-link:hover,
|
|
|
|
.menu-panel li a.widget-link:focus,
|
|
|
|
.menu-panel li.heading a.widget-link:hover,
|
|
|
|
.menu-panel li.heading a.widget-link:focus {
|
2020-10-15 14:05:48 -04:00
|
|
|
color: var(--primary);
|
2021-05-20 02:28:03 -04:00
|
|
|
background-color: var(--highlight-medium);
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.menu-panel .panel-body-bottom .btn:hover {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.d-header-icons .d-icon {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.d-header-icons .unread-notifications {
|
|
|
|
background: var(--tertiary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2022-04-25 17:07:35 -04:00
|
|
|
.extra-info-wrapper {
|
|
|
|
--header_primary-high: var(--header_primary);
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2022-04-25 17:07:35 -04:00
|
|
|
// Topic list
|
2021-05-20 02:28:03 -04:00
|
|
|
|
2022-04-25 17:07:35 -04:00
|
|
|
table th {
|
|
|
|
color: var(--primary-high);
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.heatmap-high,
|
2022-04-25 17:07:35 -04:00
|
|
|
.heatmap-high a,
|
2021-05-20 02:28:03 -04:00
|
|
|
.heatmap-med,
|
2022-04-25 17:07:35 -04:00
|
|
|
.heatmap-med a,
|
2021-05-20 02:28:03 -04:00
|
|
|
.heatmap-low,
|
|
|
|
.heatmap-low a {
|
2022-04-25 17:07:35 -04:00
|
|
|
color: var(--primary-medium) !important;
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.badge-notification {
|
|
|
|
background: var(--primary-medium);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.badge-notification.unread-posts {
|
|
|
|
background: var(--tertiary);
|
|
|
|
}
|
|
|
|
.select-kit.dropdown-select-box.period-chooser
|
|
|
|
.period-chooser-header
|
|
|
|
h2.selected-name
|
|
|
|
.top-date-string,
|
|
|
|
.select-kit.dropdown-select-box.period-chooser
|
|
|
|
.period-chooser-row
|
|
|
|
.top-date-string {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2023-04-07 17:16:27 -04:00
|
|
|
.topic-list .posters a:first-child .avatar.latest:not(.single) {
|
|
|
|
box-shadow: 0 0 0 2px var(--tertiary);
|
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
// Posts
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.discourse-no-touch .topic-body .actions .fade-out {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.topic-body .reply-to-tab {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.timeline-container .topic-timeline {
|
|
|
|
.timeline-scrollarea {
|
|
|
|
border-color: var(--primary-low-mid);
|
|
|
|
}
|
|
|
|
.timeline-handle {
|
|
|
|
background: var(--primary-low-mid);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.topic-map h4 {
|
|
|
|
color: var(--primary);
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
2021-05-20 02:28:03 -04:00
|
|
|
|
|
|
|
.quote-controls,
|
|
|
|
.quote-controls .d-icon {
|
|
|
|
color: var(--primary-medium);
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
blockquote {
|
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.meta .d-icon + .filename,
|
|
|
|
.meta .informations {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
#topic-footer-buttons .bookmark.bookmarked:hover .d-icon-bookmark {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gap {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.badge-notification.clicks {
|
|
|
|
color: var(--primary-high);
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.topic-map {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
// Post controls
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.topic-admin-menu-button-container,
|
|
|
|
.timeline-controls {
|
|
|
|
.btn .d-icon {
|
|
|
|
// admin wrenches
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
nav.post-controls {
|
|
|
|
.actions {
|
2022-04-25 17:07:35 -04:00
|
|
|
button.create,
|
|
|
|
button.create .d-icon {
|
2021-05-20 02:28:03 -04:00
|
|
|
color: var(--primary-high-or-secondary-low);
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
button {
|
2021-05-20 02:28:03 -04:00
|
|
|
&.d-hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: var(--primary-medium);
|
2020-10-15 14:05:48 -04:00
|
|
|
color: var(--secondary);
|
2021-05-20 02:28:03 -04:00
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
2021-05-20 02:28:03 -04:00
|
|
|
|
|
|
|
&.delete.d-hover,
|
|
|
|
&.delete:hover,
|
|
|
|
&.delete:focus {
|
|
|
|
background: var(--danger);
|
|
|
|
color: var(--secondary);
|
2020-10-15 14:05:48 -04:00
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
}
|
2021-05-20 02:28:03 -04:00
|
|
|
&.bookmark {
|
|
|
|
&.bookmarked {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
|
|
|
&.d-hover {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--tertiary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
2022-04-25 17:07:35 -04:00
|
|
|
.double-button .button-count {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
.double-button:hover {
|
|
|
|
button,
|
|
|
|
.d-icon,
|
|
|
|
button.has-like .d-icon {
|
|
|
|
color: var(--love);
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
2021-05-20 02:28:03 -04:00
|
|
|
|
|
|
|
.show-replies {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2020-10-15 14:05:48 -04:00
|
|
|
color: var(--secondary);
|
2021-05-20 02:28:03 -04:00
|
|
|
background: var(--primary-medium);
|
|
|
|
.d-icon {
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
// Categories
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.list-cell,
|
|
|
|
.table-heading,
|
|
|
|
.category-list td,
|
|
|
|
.category-list th {
|
2020-10-15 14:05:48 -04:00
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
// Admin
|
2020-10-15 14:05:48 -04:00
|
|
|
|
2021-05-20 02:28:03 -04:00
|
|
|
.admin-controls {
|
|
|
|
.nav-pills > li > a:not(.active):hover {
|
|
|
|
background: var(--primary-medium);
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
2022-04-29 14:22:26 -04:00
|
|
|
|
|
|
|
.cooked mark,
|
|
|
|
.d-editor-preview mark {
|
|
|
|
background-color: yellow; // resets to browser default
|
|
|
|
}
|
2020-10-15 14:05:48 -04:00
|
|
|
}
|
2023-04-07 17:16:27 -04:00
|
|
|
|
|
|
|
// chat
|
|
|
|
|
|
|
|
.no-touch
|
|
|
|
.chat-messages-container
|
|
|
|
.chat-message:hover
|
|
|
|
.chat-message-react-btn:hover {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// sidebar
|
|
|
|
|
|
|
|
.sidebar-wrapper
|
|
|
|
.sidebar-sections
|
|
|
|
.sidebar-section-link-suffix.icon.unread
|
|
|
|
svg {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|