2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode {
|
2017-12-07 05:33:16 +01:00
|
|
|
background-color: hsl(212, 28%, 18%);
|
|
|
|
color: hsl(236, 33%, 90%);
|
2017-11-14 18:50:06 +01:00
|
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
2017-11-22 21:34:04 +01:00
|
|
|
body.dark-mode .app-main,
|
2017-12-13 00:32:28 +01:00
|
|
|
body.dark-mode .header-main,
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode #tab_bar_underpadding,
|
|
|
|
body.dark-mode .floating_recipient .message-header-wrapper,
|
|
|
|
body.dark-mode .column-middle,
|
2017-12-13 00:32:28 +01:00
|
|
|
body.dark-mode #compose,
|
2017-12-06 03:37:16 +01:00
|
|
|
body.dark-mode .column-left .left-sidebar,
|
|
|
|
body.dark-mode .column-right .right-sidebar,
|
|
|
|
body.dark-mode #subscription_overlay .right,
|
2018-01-13 19:38:30 +01:00
|
|
|
body.dark-mode #settings_page .form-sidebar,
|
2017-12-06 03:37:16 +01:00
|
|
|
body.dark-mode #settings_page .right {
|
2017-12-07 05:33:16 +01:00
|
|
|
background-color: hsl(212, 28%, 18%);
|
2017-12-06 03:37:16 +01:00
|
|
|
}
|
|
|
|
|
2017-12-19 05:48:32 +01:00
|
|
|
body.dark-mode .column-left .left-sidebar,
|
2018-01-13 19:38:30 +01:00
|
|
|
body.dark-mode #settings_page .form-sidebar,
|
2017-12-06 03:37:16 +01:00
|
|
|
body.dark-mode .column-right .right-sidebar {
|
|
|
|
border-left-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .dark .message_label_clickable.stream_label,
|
2017-11-16 01:43:43 +01:00
|
|
|
body.dark-mode .dark .stream_label,
|
|
|
|
body.dark-mode .stream_label {
|
2017-12-07 05:33:16 +01:00
|
|
|
color: hsl(212, 28%, 18%);
|
2017-11-14 18:50:06 +01:00
|
|
|
}
|
|
|
|
|
2017-11-16 01:43:43 +01:00
|
|
|
body.dark-mode .new-style label.checkbox input[type=checkbox] ~ span {
|
|
|
|
border-color: hsla(0, 0%, 100%, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .modal-bg {
|
2017-12-07 05:33:16 +01:00
|
|
|
background: hsl(212, 28%, 18%);
|
2017-11-16 01:43:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.streams_popover .sp-container {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* this one is because in the app we have blue and in dark-mode it should be white. */
|
|
|
|
body.dark-mode .popover a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .dark_background a,
|
|
|
|
body.dark-mode a.dark_background:hover,
|
2017-11-29 23:18:34 +01:00
|
|
|
body.dark-mode .dark_background,
|
|
|
|
body.dark-mode .message_reactions .message_reaction_count,
|
|
|
|
body.dark-mode .message_reactions .reaction_button i,
|
|
|
|
body.dark-mode .message_reactions:hover .message_reaction + .reaction_button {
|
2017-11-16 01:43:43 +01:00
|
|
|
color: inherit !important;
|
2017-11-14 18:50:06 +01:00
|
|
|
}
|
|
|
|
|
2017-11-30 00:56:36 +01:00
|
|
|
/* do not turn the .message_header .stream_label text dark on hover because they're
|
|
|
|
on a dark background, and don't change the dark labels dark either. */
|
2017-11-30 22:36:15 +01:00
|
|
|
body.dark-mode .message_header:not(.dark_background) a.stream_label:not(.dark_background):hover,
|
2017-12-01 00:22:48 +01:00
|
|
|
body.dark-mode #tab_list li.stream:not(.dark_background) {
|
2017-12-07 05:33:16 +01:00
|
|
|
color: hsl(212, 28%, 18%) !important;
|
2017-11-30 00:56:36 +01:00
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
/* these are converting grey things to "new grey" */
|
|
|
|
body.dark-mode .sidebar-title,
|
|
|
|
body.dark-mode .recipient_row_date,
|
|
|
|
body.dark-mode .stream-row .sub-info-box .top-bar .subscriber-count,
|
|
|
|
body.dark-mode .stream-row .sub-info-box .top-bar .message-count {
|
|
|
|
color: inherit;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .new-style .button,
|
|
|
|
body.dark-mode input[type="text"],
|
|
|
|
body.dark-mode input[type="email"],
|
2018-01-26 19:22:59 +01:00
|
|
|
body.dark-mode input[type="password"],
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode textarea,
|
2017-11-16 01:43:43 +01:00
|
|
|
body.dark-mode .new-style .tab-switcher .ind-tab:not(.selected),
|
|
|
|
body.dark-mode select {
|
2017-11-14 18:50:06 +01:00
|
|
|
background-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.6);
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2018-01-25 17:12:32 +01:00
|
|
|
body.dark-mode select option {
|
|
|
|
background-color: hsl(212, 28%, 18%);
|
|
|
|
color: hsl(236, 33%, 90%);
|
|
|
|
}
|
|
|
|
|
2017-11-30 22:44:45 +01:00
|
|
|
body.dark-mode .new-style .button.no-style {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .new-style .tab-switcher .ind-tab.selected,
|
2018-01-17 04:57:10 +01:00
|
|
|
body.dark-mode div.message_content thead,
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .table-striped thead th,
|
2017-11-29 23:18:34 +01:00
|
|
|
body.dark-mode .message_reactions .message_reaction.reacted,
|
|
|
|
body.dark-mode .message_reactions:hover .message_reaction + .reaction_button {
|
2017-11-14 18:50:06 +01:00
|
|
|
background-color: hsla(0, 0%, 0%, 0.5);
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .message_reactions .message_reaction {
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.5);
|
2017-11-29 23:18:34 +01:00
|
|
|
color: inherit;
|
2017-11-14 18:50:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .new-style button.button:focus,
|
|
|
|
body.dark-mode input[type="text"]:focus,
|
|
|
|
body.dark-mode input[type="email"]:focus,
|
|
|
|
body.dark-mode textarea:focus,
|
|
|
|
body.dark-mode textarea.new_message_textarea:focus,
|
|
|
|
body.dark-mode .compose_table .recipient_box:focus {
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .message-header-contents,
|
|
|
|
body.dark-mode .message_header_private_message .message-header-contents,
|
|
|
|
body.dark-mode #tab_list li.active {
|
|
|
|
background: hsla(0, 0%, 0%, 0.2);
|
2017-11-16 01:43:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .message-header-contents,
|
|
|
|
body.dark-mode .message_header_private_message .message-header-contents {
|
2017-11-14 18:50:06 +01:00
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2017-11-16 01:43:43 +01:00
|
|
|
/* Not that .message_row (below) needs to be more contrast on dark mode */
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .compose-content,
|
|
|
|
body.dark-mode .message_list .recipient_row,
|
|
|
|
body.dark-mode .message_row,
|
2017-11-16 01:43:43 +01:00
|
|
|
body.dark-mode .draft-row .draft-info-box,
|
|
|
|
body.dark-mode #preview_message_area {
|
2017-11-14 18:50:06 +01:00
|
|
|
border-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-11-22 21:34:04 +01:00
|
|
|
body.dark-mode .navbar-search {
|
|
|
|
border-right-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .overlay,
|
|
|
|
body.dark-mode .emoji-popover-emoji:not(.reacted):focus {
|
|
|
|
background-color: hsla(212, 28%, 8%, 0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .overlay .flex.overlay-content > div,
|
|
|
|
body.dark-mode #settings_page,
|
|
|
|
body.dark-mode .informational-overlays .overlay-content {
|
2017-11-16 01:43:43 +01:00
|
|
|
box-shadow: 0px 0px 30px hsl(212, 32%, 7%);
|
2017-11-14 18:50:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .dropdown .dropdown-menu,
|
|
|
|
body.dark-mode .popover {
|
2017-11-16 01:43:43 +01:00
|
|
|
background: hsl(212, 32%, 14%);
|
2017-11-14 18:50:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .dropdown .dropdown-menu li.divider,
|
|
|
|
body.dark-mode .popover hr,
|
|
|
|
body.dark-mode hr {
|
2017-12-07 05:33:16 +01:00
|
|
|
color: hsl(212, 28%, 18%);
|
2017-11-14 18:50:06 +01:00
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .nav .dropdown-menu::after,
|
2017-11-29 23:18:34 +01:00
|
|
|
body.dark-mode .popover.bottom .arrow {
|
2017-11-14 18:50:06 +01:00
|
|
|
border-bottom-color: hsl(235, 18%, 7%);
|
|
|
|
}
|
|
|
|
|
2017-12-19 05:48:32 +01:00
|
|
|
body.dark-mode .popover.right .arrow,
|
|
|
|
body.dark-mode .popover.left .arrow,
|
2017-11-29 23:29:01 +01:00
|
|
|
body.dark-mode .popover.top .arrow {
|
|
|
|
border-top-color: hsl(235, 18%, 7%);
|
|
|
|
}
|
|
|
|
|
2017-12-20 05:49:24 +01:00
|
|
|
body.dark-mode ul.filters li:hover .arrow {
|
|
|
|
color: hsl(236, 33%, 80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode ul.filters li .arrow:hover {
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode li.active-filter,
|
|
|
|
body.dark-mode li.active-sub-filter {
|
|
|
|
background-color: hsla(199, 33%, 46%, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode #global_filters li:hover,
|
|
|
|
body.dark-mode #stream_filters li:hover,
|
|
|
|
body.dark-mode #group-pms li:hover,
|
|
|
|
body.dark-mode #user_presences li:hover {
|
|
|
|
background-color: hsla(136, 25%, 73%, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode #stream_filters li.active-sub-filter:hover {
|
|
|
|
background-color: hsla(136, 25%, 73%, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .floating_recipient .recipient_row {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2017-11-29 23:18:34 +01:00
|
|
|
body.dark-mode .stream-row.active,
|
|
|
|
body.dark-mode .emoji-showcase-container,
|
|
|
|
body.dark-mode .emoji-popover-category-tabs,
|
|
|
|
body.dark-mode .emoji-popover-top {
|
2017-11-16 01:43:43 +01:00
|
|
|
background-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .drafts-header,
|
|
|
|
body.dark-mode .nav > li > a:hover,
|
|
|
|
body.dark-mode .subscriptions-header,
|
|
|
|
body.dark-mode .grey-box,
|
2018-01-13 19:38:30 +01:00
|
|
|
body.dark-mode .white-box,
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .stream-email,
|
2017-12-06 03:37:16 +01:00
|
|
|
body.dark-mode #settings_page .settings-header,
|
2018-01-13 19:38:30 +01:00
|
|
|
body.dark-mode #settings_page .form-sidebar .title,
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode #settings_page .sidebar li.active,
|
|
|
|
body.dark-mode #settings_page .sidebar .tab-container,
|
|
|
|
body.dark-mode .table-striped tbody tr:nth-child(odd) td,
|
|
|
|
body.dark-mode .table-striped tbody tr:nth-child(odd) th,
|
2017-11-30 00:13:15 +01:00
|
|
|
body.dark-mode .modal-footer,
|
2018-01-26 19:23:34 +01:00
|
|
|
body.dark-mode .modal-bg .modal-header {
|
2017-11-14 18:50:06 +01:00
|
|
|
border-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .modal-footer {
|
|
|
|
-webkit-box-shadow: inset 0 1px 0 hsla(0, 0%, 0%, 0.2);
|
|
|
|
box-shadow: inset 0 1px 0 hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .subscriptions-container .right .display-type,
|
|
|
|
body.dark-mode .stream-row,
|
|
|
|
body.dark-mode .subscriptions-container .left .search-container,
|
|
|
|
body.dark-mode .subscriptions-container .left,
|
|
|
|
body.dark-mode .subscriber-list-box,
|
|
|
|
body.dark-mode .subscriber-list tr,
|
|
|
|
body.dark-mode #subscription_overlay ul.grey-box li,
|
|
|
|
body.dark-mode #settings_page .sidebar,
|
2017-11-16 01:43:43 +01:00
|
|
|
body.dark-mode #settings_page .sidebar *,
|
|
|
|
body.dark-mode table,
|
|
|
|
body.dark-mode table th,
|
|
|
|
body.dark-mode table td {
|
2017-11-14 18:50:06 +01:00
|
|
|
border-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-12-19 05:48:32 +01:00
|
|
|
body.dark-mode .draft-row .draft-info-box,
|
2017-11-14 18:50:06 +01:00
|
|
|
body.dark-mode .private-message .messagebox,
|
|
|
|
body.dark-mode .message_header_private_message .message-header-contents {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .draft-row .message_header_private_message .message_label_clickable {
|
|
|
|
padding: 4px 6px 3px 6px;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .nav-list > li > a,
|
|
|
|
body.dark-mode .nav-list .nav-header {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
2017-11-29 23:07:07 +01:00
|
|
|
|
|
|
|
body.dark-mode .mention .messagebox {
|
|
|
|
background-color: hsla(8, 78%, 43%, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .user-mention,
|
|
|
|
body.dark-mode .user-group-mention {
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla(0, 0%, 0%, 0.1)), color-stop(100%,hsla(0, 0%, 0%, 0.0)));
|
|
|
|
background: -webkit-linear-gradient(top, hsla(0, 0%, 0%, 0.2) 0%, hsla(0, 0%, 0%, 0.1) 100%);
|
|
|
|
background: -o-linear-gradient(top, hsla(0, 0%, 0%, 0.2) 0%, hsla(0, 0%, 0%, 0.1) 100%);
|
|
|
|
background: -ms-linear-gradient(top, hsla(0, 0%, 0%, 0.2) 0%, hsla(0, 0%, 0%, 0.1) 100%);
|
|
|
|
background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0.2) 0%, hsla(0, 0%, 0%, 0.1) 100%);
|
|
|
|
|
|
|
|
box-shadow: 0px 0px 0px 1px hsla(0, 0%, 0%, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .user-mention-me {
|
|
|
|
background: hsla(355, 37%, 31%, 1);
|
|
|
|
box-shadow: 0px 0px 0px 1px hsla(330, 40%, 20%, 1);
|
|
|
|
}
|
2017-11-29 23:40:42 +01:00
|
|
|
|
2018-01-24 21:34:57 +01:00
|
|
|
body.dark-mode .tip {
|
|
|
|
color: inherit;
|
|
|
|
background-color: hsla(46, 28%, 38%, 0.27);
|
|
|
|
border: 1px solid hsl(49, 38%, 46%);
|
|
|
|
}
|
|
|
|
|
2017-12-01 02:14:14 +01:00
|
|
|
body.dark-mode .alert {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
2018-01-24 21:35:34 +01:00
|
|
|
body.dark-mode .alert.alert-success {
|
|
|
|
color: inherit;
|
|
|
|
background-color: hsla(161, 60%, 46%, 0.20);
|
|
|
|
border-color: #1e9e7f;
|
|
|
|
}
|
|
|
|
|
2018-01-24 21:36:17 +01:00
|
|
|
body.dark-mode .alert.alert-error,
|
|
|
|
body.dark-mode .alert.alert-danger {
|
|
|
|
background: hsl(318, 12%, 21%);
|
|
|
|
color: inherit;
|
|
|
|
border: 1px solid hsl(0, 75%, 65%);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .alert .close {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2017-12-01 02:14:14 +01:00
|
|
|
body.dark-mode .alert-box .alert,
|
|
|
|
body.dark-mode .alert.alert-error {
|
2017-11-29 23:40:42 +01:00
|
|
|
background: hsl(318, 12%, 21%);
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
border: 1px solid hsl(0, 75%, 65%);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .alert-box .alert.alert-error::before {
|
|
|
|
color: 1px solid hsl(0, 75%, 65%);
|
|
|
|
}
|
2017-11-30 01:02:15 +01:00
|
|
|
|
|
|
|
body.dark-mode .top-messages-logo svg path {
|
2017-12-07 05:33:16 +01:00
|
|
|
fill: hsl(214, 27%, 18%);
|
|
|
|
stroke: hsl(214, 27%, 18%);
|
2017-11-30 01:02:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .top-messages-logo svg circle {
|
2017-12-07 05:33:16 +01:00
|
|
|
fill: hsl(0, 0%, 100%);
|
|
|
|
stroke: hsl(0, 0%, 100%);
|
2017-11-30 01:02:15 +01:00
|
|
|
}
|
2017-11-30 21:44:25 +01:00
|
|
|
|
2017-11-30 21:57:20 +01:00
|
|
|
body.dark-mode #unmute_muted_topic_notification,
|
2017-11-30 21:49:06 +01:00
|
|
|
body.dark-mode .message_content code,
|
2017-11-30 22:49:48 +01:00
|
|
|
body.dark-mode .message_edit_content code,
|
2018-01-24 21:36:52 +01:00
|
|
|
body.dark-mode #settings_page code,
|
2017-11-30 22:49:48 +01:00
|
|
|
body.dark-mode .typeahead.dropdown-menu {
|
2017-11-30 21:44:25 +01:00
|
|
|
background-color: hsl(212, 25%, 15%);
|
|
|
|
border-color: hsla(0, 0%, 0%, 0.5);
|
|
|
|
color: inherit;
|
|
|
|
}
|
2017-11-30 21:49:06 +01:00
|
|
|
|
|
|
|
body.dark-mode .highlight {
|
|
|
|
background-color: hsla(51, 100%, 64%, 0.42);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .highlight_text_inserted {
|
|
|
|
color: hsl(122, 100%, 81%);
|
|
|
|
background-color: hsla(120, 64%, 95%, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .highlight_text_deleted {
|
|
|
|
text-decoration: line-through;
|
|
|
|
background-color: hsla(7, 54%, 62%, 0.38);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark-mode .sub-unsub-message span:before,
|
|
|
|
body.dark-mode .sub-unsub-message span:after,
|
|
|
|
body.dark-mode .date_row span:before,
|
|
|
|
body.dark-mode .date_row span:after {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
2017-11-30 22:52:39 +01:00
|
|
|
|
|
|
|
body.dark-mode .star:not(.empty-star),
|
|
|
|
body.dark-mode .empty-star:hover {
|
|
|
|
color: hsla(126, 66%, 72%, 0.75);
|
|
|
|
}
|
2017-12-01 02:14:14 +01:00
|
|
|
|
|
|
|
body.dark-mode #out-of-view-notification {
|
|
|
|
border: 1px solid 1px solid hsl(144, 45%, 62%);
|
|
|
|
}
|
2017-10-28 19:26:36 +02:00
|
|
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
body.dark-mode #settings_page select {
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.2);
|
|
|
|
}
|
|
|
|
}
|