blob: 905a6d6b9b30cf08723853eab045d57755e1c9fe [file] [log] [blame]
:root {
--TWPT-primary-text: #e8eaed;
--TWPT-primary-text-alt: var(--TWPT-primary-text);
--TWPT-secondary-text: #9aa0a6;
--TWPT-primary-background: #202124;
--TWPT-secondary-background: #28292c;
--TWPT-active-background: #3c4043;
--TWPT-card-border: #5f6368;
--TWPT-subtle-border: #383735;
--TWPT-link: #8ab4f8;
--TWPT-highlighted-item-background: rgba(255, 255, 255, .08);
--TWPT-thread-read-background: var(--TWPT-highlighted-item-background);
--TWPT-drawer-background: #2d2e30;
--TWPT-button-background: #3c3e42;
--TWPT-input-underline: rgba(255, 255, 255, .28);
--TWPT-green-A400: #00E676;
--TWPT-red-A400: #FF1744;
--TWPT-blue-A100: #82B1FF;
}
body {
color: var(--TWPT-primary-text);
background-color: var(--TWPT-primary-background)!important;
}
p {
color: var(--TWPT-primary-text);
}
body.ec a {
color: var(--TWPT-link);
}
/* Header */
.material-content > header {
background-color: var(--TWPT-primary-background)!important;
}
.material-content > header .app-title-button,
.material-content > header .app-title-text {
color: var(--TWPT-secondary-text)!important;
}
.material-content > header material-button,
.material-content > header material-button material-icon,
.material-content > header notification-bell material-icon {
color: rgba(255, 255, 255, .87)!important;
}
.search-box {
background-color: #313235!important;
}
.search-box .clear-icon {
opacity: 0.8;
color: rgba(255, 255, 255, .87)!important;
}
.material-content > header .bell.mixin {
fill: rgba(255, 255, 255, .87)!important;
}
/* Drawer */
material-drawer, material-drawer .panel, material-list-item {
background-color: var(--TWPT-drawer-background)!important;
}
material-list-item:hover, material-list-item:focus, material-list-item.item--active {
background-color: var(--TWPT-active-background)!important;
}
material-drawer .panel {
border-bottom-color: #25231f!important;
}
material-drawer .drawer-section-title, material-drawer .header > material-icon {
color: var(--TWPT-secondary-text)!important;
}
material-drawer material-list-item,
material-drawer material-list-item .title {
color: #d2cecb!important;
}
material-drawer ec-forum-drawer-item material-checkbox material-icon {
filter: brightness(1.5);
}
/* Header menus */
.popup material-list-item {
color: #d2cecb!important;
}
/* Filters (ec-query-builder) */
material-condition-builder .compound-condition-operator {
color: var(--TWPT-secondary-text)!important;
}
material-condition-builder .compound-condition-operator::before,
material-condition-builder .compound-condition-operator::after {
border-left-color: rgba(255, 255, 255, .20)!important;
}
/* Selector */
/*
* This applies not only to the selector but also to the ec-work-state-picker.
*/
.popup-wrapper, material-list, .popup .item-group-list {
background-color: var(--TWPT-drawer-background)!important;
}
material-list [group]:not(.empty) + *:not(script):not(template):not(.empty),
.popup .item-group-list [group]:not(.empty) + *:not(script):not(template):not(.empty) {
box-shadow: inset 0 8px 0 0 var(--TWPT-drawer-background)!important;
border-top-color: #1f1f1f!important;
}
material-list material-select-item:hover,
material-list material-select-item:focus,
material-list material-select-dropdown-item:hover,
material-list material-select-dropdown-item:focus,
material-list material-select-dropdown-item.active,
material-list material-select-dropdown-item:not(.multiselect).selected,
.popup .item-group-list material-select-item:hover,
.popup .item-group-list material-select-item:focus,
.popup .item-group-list material-select-item.active,
.popup .item-group-list material-select-dropdown-item:hover,
.popup .item-group-list material-select-dropdown-item:focus,
.popup .item-group-list material-select-dropdown-item.active,
.popup .item-group-list material-select-dropdown-item:not(.multiselect).selected {
background-color: var(--TWPT-highlighted-item-background)!important;
}
material-list .menu-item-label,
material-list .label,
material-list .text-segment,
.popup .item-group-list .menu-item-label,
.popup .item-group-list .label,
.popup .item-group-list .text-segment {
color: rgba(255, 255, 255, .87)!important;
}
.popup .item-group-list material-icon {
color: rgba(255, 255, 255, .7)!important;
}
material-list [group] > [label] {
color: #8a8a8a!important;
}
/* This is shown in the new thread view */
ec-forum-language-picker .labeled-select .select-label {
color: var(--TWPT-secondary-text)!important;
}
/* Main */
.main {
color: var(--TWPT-primary-text)!important;
}
/* Border color for the page title bar (most pages use .title-bar although
* some use .page-header).
*/
main .title-bar, main .page-header {
border-bottom-color: var(--TWPT-subtle-border)!important;
}
main .title-bar .title, main .page-header h1, main .header h1 {
color: var(--TWPT-primary-text)!important;
}
.card {
background-color: var(--TWPT-secondary-background)!important;
color: var(--TWPT-primary-text)!important;
border-color: var(--TWPT-card-border)!important;
}
.card .card-title, .card, .card-section-title {
color: var(--TWPT-primary-text)!important;
}
.card .card-section-hint, .card .card-section-checkbox-hint {
color: var(--TWPT-secondary-text)!important;
}
/* Action bar */
.material-content .action-bar material-button,
ec-bulk-actions material-button,
ec-back-button material-button,
.sort-options material-button {
color: rgba(255, 255, 255, .54)!important;
}
.material-content .action-bar .review-button.reviewing {
color: #1a73e8!important;
background: #dae7ff!important;
}
.material-content .action-bar material-button.starred {
color: #fbbc04!important;
}
/* ec-work-state-picker */
ec-work-state-picker > button {
color: var(--TWPT-secondary-text)!important;
background-color: var(--TWPT-button-background)!important;
border-color: var(--TWPT-subtle-border)!important;
}
.material-popup-content .popup-content .title {
color: var(--TWPT-primary-text)!important;
}
/* Thread list */
ec-thread-list ul.thread-group {
background-color: var(--TWPT-primary-background)!important;
}
ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
border-bottom-color: var(--TWPT-subtle-border)!important;
}
ec-thread-summary material-expansionpanel.read:not(.checked) {
background-color: var(--TWPT-thread-read-background)!important;
}
ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
opacity: 0.8;
}
ec-thread-summary material-expansionpanel.read .title .icon {
opacity: 0.48!important;
}
ec-thread-summary material-expansionpanel.checked {
background-color: #2c4b77!important;
}
ec-thread-summary material-expansionpanel .title {
color: var(--TWPT-primary-text)!important;
}
ec-thread-summary material-expansionpanel ec-second-summary-line,
material-expansionpanel .header-content,
material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
material-expansionpanel .duplicate-label {
color: #928e89!important;
}
material-expansionpanel .removed-label {
/*
* The following color should be --TWPT-red-A400, but it unfortunately doesn't
* contrast well with the dark background, so this is the AA correction of
* that color.
**/
color: #ff6868!important;
}
ec-thread-summary material-expansionpanel ec-safe-html.body,
material-expansionpanel .issue-tracking-work-state {
color: var(--TWPT-primary-text)!important;
}
/* Thread view (including review/live review components) */
ec-question, .heading + .group, ec-message {
background-color: var(--TWPT-secondary-background)!important;
}
ec-thread .no-review-needed {
background-color: #155829!important;
border-color: var(--TWPT-subtle-border)!important;
}
/* Review bar shown above the main message or replies */
ec-review-bar {
background-color: var(--TWPT-active-background)!important;
}
ec-review-bar material-chip {
background-color: var(--TWPT-button-background)!important;
}
ec-review-bar material-chip:not(.relevant-active):not(.active) {
color: var(--TWPT-primary-text)!important;
border-color: var(--TWPT-card-border)!important;
}
ec-review-bar material-chip:not(.relevant-active):not(.active) material-icon {
color: var(--TWPT-primary-text)!important;
fill: var(--TWPT-primary-text)!important;
}
ec-review-bar material-chip.relevant-active {
color: var(--TWPT-green-A400)!important;
border-color: var(--TWPT-green-A400)!important;
}
ec-review-bar material-chip.relevant-active material-icon {
color: var(--TWPT-green-A400)!important;
fill: var(--TWPT-green-A400)!important;
}
ec-review-bar material-chip.active {
color: var(--TWPT-red-A400)!important;
border-color: var(--TWPT-red-A400)!important;
}
ec-review-bar material-chip.active material-icon {
color: var(--TWPT-red-A400)!important;
fill: var(--TWPT-red-A400)!important;
}
ec-message-header .header, ec-question .state, ec-question ec-thread-counts > span, ec-message ec-thread-counts > span {
color: var(--TWPT-secondary-text)!important;
}
ec-question .alert, ec-message .alert {
background-color: var(--TWPT-active-background)!important;
}
ec-question .alert material-icon, ec-message .alert material-icon {
color: var(--TWPT-primary-text)!important;
}
ec-question .alert ec-icon, ec-message .alert ec-icon {
color: var(--TWPT-primary-text)!important;
fill: var(--TWPT-primary-text)!important;
}
ec-question .title {
color: var(--TWPT-primary-text-alt)!important;
}
ec-user-link .name-text {
color: var(--TWPT-link)!important;
}
ec-message-header ec-avatar svg, ec-message-header .role,
ec-message .footer .role {
filter: brightness(1.5);
}
ec-question .body, ec-message .body {
color: var(--TWPT-primary-text)!important;
}
ec-question .thread-insert {
background: none!important;
}
ec-question .details-heading {
color: var(--TWPT-primary-text-alt) !important;
}
ec-question .footer,
ec-ask-flow .content-disclaimer {
color: var(--TWPT-primary-text)!important;
background-color: var(--TWPT-active-background)!important;
border-top-color: var(--TWPT-card-border)!important;
}
.heading {
color: var(--TWPT-primary-text)!important;
}
.heading + .group,
.load-more-bar,
ec-message:not(:first-child),
.load-more-bar .load-more-button,
.load-more-bar .load-all-button {
border-color: var(--TWPT-card-border)!important;
}
ec-message .type {
color: var(--TWPT-primary-text)!important;
}
ec-message .footer ec-relative-time,
ec-message .footer ec-safe-html {
color: var(--TWPT-secondary-text)!important;
}
ec-message .helpful-prompt {
color: var(--TWPT-primary-text)!important;
}
ec-question .me-too-button,
ec-question .subscribe-button,
ec-message .upvote-button,
ec-message .downvote-button {
color: var(--TWPT-secondary-text)!important;
background-color: var(--TWPT-button-background)!important;
}
ec-message .alert {
color: var(--TWPT-secondary-text)!important;
}
ec-question .me-too-button.selected,
ec-question .subscribe-button.selected,
ec-message .upvote-button.selected,
ec-message .downvote-button.selected {
color: #4285f4!important;
}
.load-more-bar .load-more-button, .load-more-bar .load-all-button {
background-color: var(--TWPT-secondary-background)!important;
}
.locked-alert {
background-color: var(--TWPT-active-background)!important;
border: var(--TWPT-card-border)!important;
}
.locked-alert material-icon {
color: rgba(255, 255, 255, .38)!important;
}
ec-thread button.reply.collapsed {
color: var(--TWPT-secondary-text)!important;
}
ec-thread .finished-question {
background-color: var(--TWPT-active-background)!important;
border: var(--TWPT-card-border)!important;
}
ec-thread .finished-question .next-question {
color: var(--TWPT-link)!important;
border-color: var(--TWPT-link)!important;
}
.material-content .action-bar material-button.has-activity {
color: #1a73e8!important;
}
.material-content .action-bar material-button.showing-sidebar {
background-color: var(--TWPT-active-background)!important;
}
ec-activity-panel .title-bar h3 {
color: #e8eaf2!important;
}
ec-activity-panel ec-activity {
color: var(--TWPT-secondary-text)!important;
border-color: var(--TWPT-card-border)!important;
}
ec-activity-panel ec-activity .message {
color: var(--TWPT-primary-text-alt)!important;
}
ec-activity-panel ec-activity .thread-title {
color: #c3bfbc!important;
}
/* Recommended answers - show in green where we've overwritten the colors */
.recommended-answers {
color: #34a853!important;
}
/* Suggested answers - show brighter blue */
.suggested-icon {
color: var(--TWPT-blue-A100)!important;
}
/* Help button (shown in the suggested answers header) */
.explanation-icon material-icon {
color: rgba(255, 255, 255, .54)!important;
}
/* Help button tooltip */
.popup .paper-container {
background: var(--TWPT-drawer-background)!important;
}
.explanation-icon material-icon:hover {
color: var(--TWPT-blue-A100)!important;
}
/* New thread and edit message views */
material-stepper {
border-top-color: var(--TWPT-card-border)!important;
}
material-stepper .stepper-step-name,
material-stepper .purpose-title {
color: var(--TWPT-primary-text)!important;
}
ec-ask-flow .display-name-label,
material-stepper .additional-details-label,
material-stepper .detail-label {
color: var(--TWPT-secondary-text)!important;
}
material-stepper .stepper-step[selectable=true]:focus {
background-color: rgba(60, 64, 67, .24)!important;
}
/* Note: see thread view section. There is a rule for the thread creation
* footer.
**/
/* Profile view */
ec-user .main-card {
background-color: var(--TWPT-secondary-background)!important;
}
ec-user .abuse-alert-container {
background-color: var(--TWPT-active-background)!important;
border-top-right-radius: 8px!important;
}
ec-user .abuse-alert-container .abuse-alert {
color: var(--TWPT-primary-text)!important;
}
ec-user ec-display-name-editor, ec-user .header .name {
color: var(--TWPT-primary-text)!important;
}
ec-user .role {
filter: brightness(1.5);
}
ec-user bar-chart .axis text {
fill: rgba(255, 255, 255, .54)!important;
}
ec-user bar-chart .axis path,
ec-user bar-chart .axis .gridline,
ec-user bar-chart .axis line {
stroke: rgba(255, 255, 255, .12)!important;
}
ec-user bar-chart .axis line.axis-zero-tick,
ec-user bar-chart .axis.x .tick-mark {
stroke: rgba(255, 255, 255, .38)!important;
}
ec-user bar-chart .aplos-legend-entry {
color: var(--TWPT-secondary-text)!important;
}
.aplos-hovercard {
background: var(--TWPT-secondary-background)!important;
}
.aplos-hovercard .title {
color: var(--TWPT-primary-text)!important;
}
.aplos-hovercard .subtitle,
.aplos-donut-center .subtitle,
.aplos-hovercard .series,
.aplos-donut-center .series,
.aplos-hovercard .value,
.aplos-donut-center .value {
color: var(--TWPT-secondary-text)!important;
}
/* Duplicate thread feature */
.search-results ec-thread-option material-expansionpanel .panel {
background-color: var(--TWPT-primary-background)!important;
}
.search-results ec-thread-option material-expansionpanel.selected .panel,
.search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:hover,
.search-results ec-thread-option material-expansionpanel .panel > .main-header > .header.closed:focus {
background-color: #17191c!important;
}
/* Disabled buttons */
material-button[disabled] {
color: rgba(255, 255, 255, .26)!important;
}
/* Material icons */
ec-filter-drawer-item material-icon,
ec-filter-drawer-item ec-icon,
material-drawer .drawer-section material-icon,
material-drawer .drawer-section ec-icon,
material-list material-icon,
ec-query-builder material-icon,
material-radio .icon-container:not(.checked) material-icon,
ec-thread-summary material-expansionpanel .title material-icon,
.search-results ec-thread-option material-icon,
.search-results ec-thread-option ec-icon,
ec-rich-text-editor material-icon,
ec-editor-command material-icon,
ec-canned-responses ec-canned-response-row material-icon,
ec-ask-flow > .header material-button {
color: rgba(255, 255, 255, .87)!important;
}
material-drawer ec-icon,
.search-results ec-thread-option ec-icon,
ec-thread-summary material-expansionpanel .title ec-icon,
ec-announcements-menu-item ec-icon {
fill: rgba(255, 255, 255, .87)!important;
}
/* Dialogs */
material-dialog, material-dialog .dialog-header {
background-color: var(--TWPT-primary-background)!important;
}
ec-movable-dialog[showminimize] material-dialog .dialog-header {
background-color: #d2e3fc!important;
}
material-dialog .title {
color: var(--TWPT-primary-text-alt)!important;
}
ec-movable-dialog[showminimize] material-dialog .dialog-header .title, ec-movable-dialog[showminimize] material-dialog header material-icon {
color: var(--TWPT-primary-background)!important;
}
ec-movable-dialog[showminimize] material-dialog .header-notice, material-dialog .legal-prompt {
background-color: #170f01!important;
}
ec-movable-dialog[showminimize] material-dialog .main .header-notice material-icon[icon="info_outline"] {
color: var(--TWPT-blue-A100)!important;
}
material-dialog .section-title,
material-dialog .select-label,
material-dialog .input-label,
material-dialog .btn-no,
ec-display-name-editor,
.forum-selection-label {
color: var(--TWPT-secondary-text)!important;
}
ec-movable-dialog[showminimize] material-dialog footer > [footer] > .footer > [footer] > simple-html {
color: var(--TWPT-secondary-text)!important;
background-color: var(--TWPT-active-background)!important;
border-top-color: #25231f!important;
}
/* Keyboard shortcuts dialog */
material-dialog .main.with-scroll-strokes table td {
color: var(--TWPT-primary-text)!important;
}
/* Rich text editor */
ec-editor-command material-button,
ec-formatting-popup material-button {
box-shadow: none!important;
}
ec-editor-command material-button.is-active {
background: var(--TWPT-active-background)!important;
}
ec-rich-text-editor .placeholder {
color: rgba(255, 255, 255, .38)!important;
}
ec-rich-text-editor .input {
color: var(--TWPT-primary-text)!important;
}
ec-rich-text-editor .hint {
color: rgba(255, 255, 255, .54)!important;
}
material-select-searchbox + material-list material-list-item {
color: rgba(255, 255, 255, .87)!important;
}
ec-attachment .filename {
color: var(--TWPT-primary-text)!important;
}
/* Thread insert */
ec-thread-insert .title {
color: var(--TWPT-primary-text)!important;
}
ec-thread-insert ec-thread-counts,
ec-thread-insert .details,
ec-thread-insert ec-relative-time {
color: rgba(255, 255, 255, .54)!important;
}
/* Text input */
material-input input {
color: var(--TWPT-primary-text)!important;
}
material-input .label-text,
material-input .hint-text,
material-input .counter {
color: rgba(255, 255, 255, .54)!important;
}
material-input .underline .unfocused-underline {
background-color: var(--TWPT-input-underline)!important;
}
label .label {
color: var(--TWPT-primary-text)!important;
}
/* Input underline */
material-input .underline .unfocused-underline,
material-dropdown-select dropdown-button [buttondecorator] {
border-bottom-color: var(--TWPT-input-underline)!important;
}
/* Checkbox input */
material-checkbox, material-checkbox .content {
color: var(--TWPT-secondary-text)!important;
}
/* Material menu button and dropdown select */
material-menu material-button, material-dropdown-select dropdown-button {
color: var(--TWPT-primary-text)!important;
}
material-dropdown-select dropdown-button .button.is-disabled .button-text,
material-dropdown-select dropdown-button .button.is-disabled material-icon {
color: rgba(255, 255, 255, .32)!important;
}
/* Announcements content */
ec-announcements-content .header,
ec-announcements-content .no-announcements,
ec-announcements-content .announcement {
border-bottom-color: var(--TWPT-card-border)!important;
}
ec-announcements-content .header .title, ec-announcements-content .announcement-title {
color: var(--TWPT-primary-text-alt)!important;
}
ec-announcements-content .announcement-date {
color: var(--TWPT-secondary-text)!important;
}
ec-announcements-content .no-announcements-message {
color: #c3bfbc!important;
}
ec-announcements-content .view-all-link,
ec-announcements-content .read-more-button {
color: var(--TWPT-link)!important;
}
ec-announcements-content ::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, .26)!important;
}
ec-announcements-content ::-webkit-scrollbar-thumb:hover {
background-color: #4285f4!important;
}
/* Generic popup (for notification bell, account selector, etc.) */
.popup-wrapper .header-text {
color: var(--TWPT-primary-text)!important;
}
/* Notifications bell popup/panel */
.notification-panel .header material-button {
color: var(--TWPT-secondary-text)!important;
}
.notification-panel .cards-container .promo-message {
color: var(--TWPT-secondary-text)!important;
}
.notification-panel .cards-container .promo-message .header-text {
color: var(--TWPT-primary-text)!important;
}
/* Account selector */
.popup-wrapper .profile .email {
color: rgba(255, 255, 255, .54)!important;
}
material-gaia-picker-footer {
color: rgba(255, 255, 255, .54)!important;
background-color: var(--TWPT-active-background)!important;
}
material-gaia-picker-footer material-button {
color: var(--TWPT-secondary-text)!important;
}
/* Canned responses */
ec-canned-responses .filter-label,
ec-canned-responses ec-canned-response-row .name {
color: var(--TWPT-primary-text)!important;
}
ec-canned-responses .label-row,
ec-canned-responses ec-canned-response-row .snippet,
ec-canned-responses ec-canned-response-row .tag {
color: var(--TWPT-secondary-text)!important;
}
ec-canned-responses ec-canned-response-row .header.closed:hover,
ec-canned-responses ec-canned-response-row .header.closed:focus,
ec-canned-responses ec-canned-response-row .header.closed:hover .toolbar,
ec-canned-responses ec-canned-response-row .header.closed:focus .toolbar {
background-color: var(--TWPT-active-background)!important;
}
ec-canned-responses .filter-row,
ec-canned-responses .label-row,
ec-canned-responses ec-canned-response-row material-expansionpanel {
border-bottom-color: var(--TWPT-subtle-border)!important;
}
/* Reply button */
material-fab.reply-button {
background-color: var(--TWPT-link)!important;
color: var(--TWPT-primary-background)!important;
}
/* Settings view */
ec-settings .forum-language-container {
border-bottom-color: var(--TWPT-subtle-border)!important;
}
ec-settings .forum-language-container material-button {
color: var(--TWPT-secondary-text)!important;
}
ec-settings material-checkbox, ec-settings material-checkbox .content {
color: var(--TWPT-primary-text)!important;
}
/* Custom injected components */
.TWPT-log {
background-color: #424242!important;
}
.TWPT-log-entry.TWPT-log-entry--error {
color: #ff8A80!important;
}