ComunicWeb/assets/css/dark_theme.css

697 lines
12 KiB
CSS
Raw Normal View History

2019-01-09 08:49:02 +00:00
/**
2019-01-10 16:01:00 +00:00
* ComunicWeb dark theme
*
* @author Pierre HUBERT
*/
2019-01-09 08:49:02 +00:00
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* General definitions
*/
2019-01-08 19:07:38 +00:00
:root {
--black: #1119;
--black2: #111111;
--black3: #000;
--black4: #686a6c;
--black5: #232426;
--black6: #0f0f0f;
--white: silver;
}
2019-01-10 16:01:00 +00:00
body {
background-color: var(--black6);
}
2019-01-08 19:28:41 +00:00
p, h1, h2, h3, h4, h5, h6 {
color: var(--white);
2019-01-08 19:07:38 +00:00
}
2019-01-08 19:28:41 +00:00
.content-wrapper {
background-color: var(--black3);
2019-01-08 19:07:38 +00:00
}
2019-01-08 19:28:41 +00:00
.link-black {
color: var(--white);
2019-01-08 19:07:38 +00:00
}
2019-01-08 19:55:40 +00:00
.table-hover > tbody > tr:hover {
background-color: var(--black3);
}
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Buttons
*/
2019-01-08 19:07:38 +00:00
.btn {
color: var(--white);
}
2019-01-08 19:28:41 +00:00
.btn-primary,
.btn-success,
.btn-default,
2019-01-09 08:49:02 +00:00
.btn-danger,
.btn-info {
2019-01-08 19:07:38 +00:00
background-color: transparent;
}
2019-01-08 19:28:41 +00:00
.btn-default:active, .btn-default:focus {
background-color: var(--white);
2019-01-08 19:07:38 +00:00
}
2019-01-08 19:28:41 +00:00
2019-01-21 08:06:27 +00:00
/**
2019-02-25 06:57:45 +00:00
* Callouts
*/
2019-01-21 08:06:27 +00:00
.callout.callout-info {
background-color: var(--black-5) !important;
}
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Forms
*/
2019-01-08 19:07:38 +00:00
.form-control {
background-color: var(--black);
color: var(--white);
border-color: var(--black5);
}
.form-control:focus {
background-color: var(--black5);
2019-01-09 08:49:02 +00:00
border-color: var(--black4);
2019-01-08 19:07:38 +00:00
}
2019-01-08 19:28:41 +00:00
.form-group label {
color: var(--white);
2019-01-08 19:07:38 +00:00
}
2019-01-09 10:40:00 +00:00
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
background-color: var(--black6);
}
2019-01-08 19:07:38 +00:00
.input-group .help-block {
color: var(--white);
}
2019-01-08 19:07:38 +00:00
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Boxes
*/
.box {
2019-01-08 19:07:38 +00:00
background-color: var(--black5);
color: var(--white);
}
2019-01-09 10:40:00 +00:00
.box-footer {
background-color: var(--black5);
}
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Modals
*/
2019-01-08 19:28:41 +00:00
.modal-header,
.modal-footer {
background-color: var(--black5);
}
.modal-body {
background-color: var(--black6);
2019-01-08 19:07:38 +00:00
}
.modal-primary .modal-header,
.modal-primary .modal-footer {
background-color: var(--black5) !important;;
}
.modal-primary .modal-body {
background-color: var(--black6) !important;
}
2019-01-08 19:28:41 +00:00
.modal-danger .modal-header,
.modal-danger .modal-footer {
background-color: #a22819 !important;
}
.modal-danger .modal-body {
background-color: #872f24 !important;
}
/**
2019-01-08 19:55:40 +00:00
* Dropdown menus
*/
2019-01-08 19:28:41 +00:00
.dropdown-menu {
2019-01-09 08:49:02 +00:00
background-color: var(--black5) !important;
2019-01-08 19:28:41 +00:00
}
.dropdown-menu > li > a {
color: var(--white) !important;
}
.dropdown-menu > li > a:hover {
2019-01-09 08:49:02 +00:00
background-color: var(--black3) !important;
2019-01-08 19:28:41 +00:00
}
2019-01-08 19:55:40 +00:00
.dropdown {
color: var(--white);
}
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Navbar
*/
.navbar {
2019-01-09 08:49:02 +00:00
background-color: var(--black6) !important;;
2019-01-08 19:55:40 +00:00
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.header,
.navbar-nav > .messages-menu > .dropdown-menu > li.header,
.navbar-nav > .tasks-menu > .dropdown-menu > li.header {
background-color: var(--black6);
color: var(--white);
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
2019-01-09 08:49:02 +00:00
background-color: var(--black6) !important;
2019-01-08 19:55:40 +00:00
color: var(--white) !important;
}
.main-header #navbar-search-input.form-control:focus,
.main-header #navbar-search-input.form-control:active {
background-color: var(--black3);
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
color: var(--white);
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a:hover {
background-color: var(--black6);
}
2019-01-09 08:49:02 +00:00
.skin-blue .main-header .navbar .dropdown-user-menu-action .dropdown-menu li a {
color: var(--white) !important;;
}
.skin-blue .main-header .navbar .nav > li > a:hover,
.skin-blue .main-header .navbar .nav > li > a:active,
.skin-blue .main-header .navbar .nav > li > a:focus,
.skin-blue .main-header .navbar .nav .open > a,
.skin-blue .main-header .navbar .nav .open > a:hover,
.skin-blue .main-header .navbar .nav .open > a:focus,
.skin-blue .main-header .navbar .nav > .active > a {
background-color: var(--black4);
}
2019-01-08 19:55:40 +00:00
/**
* Sidebar
*/
.sidebar-form input[type="text"]:focus,
.sidebar-form input[type="text"]:focus + .input-group-btn,
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
background-color: var(--black6) !important;
color: var(--white);
}
.sidebar-form input[type="text"] {
color: white !important;
}
.sidebar-search-results .results-container {
background-color: var(--black5);
color: var(--white);
}
2019-01-08 19:55:40 +00:00
/**
* Footer
*/
.main-footer {
background-color: var(--black3);
}
.main-footer span {
color: var(--white);
}
2021-03-16 16:22:51 +00:00
/**
* Nav tabs
*/
.nav-tabs-custom {
background-color: var(--black5);
color: var(--white);
}
.nav-tabs-custom .nav {
border-bottom-color: var(--black5);
}
.nav-tabs-custom li.active, .nav-tabs-custom li.active a {
background-color: var(--black) !important;
}
.nav-tabs-custom li.active a {
border-left-color: transparent !important;
border-right-color: transparent !important;
}
.nav-tabs-custom a {
color: var(--white) !important;
}
2019-01-08 19:55:40 +00:00
/**
* Friends list
*/
@media screen and (min-width: 1200px) {
#friendsList {
background-color: var(--black6);
}
#friendsList:hover {
background-color: var(--black5);
}
}
2019-01-09 08:49:02 +00:00
@media screen and (max-width: 1200px) and (min-width: 513px) {
#friendsList {
background-color: var(--black5);
}
}
@media screen and (max-width: 513px) {
#friendsList {
background-color: var(--black5);
}
}
2019-01-08 19:55:40 +00:00
#friendsList h4 {
color: var(--white);
}
#friendsList li:hover {
background-color: var(--black4);
}
2019-01-09 10:40:00 +00:00
/**
2019-01-10 16:01:00 +00:00
* Emoji picker
*/
2019-01-09 10:40:00 +00:00
.wdt-emoji-popup {
background-color: var(--black6);
border: 1px var(--black6) solid;
border-radius: 2;
}
#wdt-emoji-menu-header {
background-color: var(--black5);
}
#wdt-emoji-footer {
background-color: var(--black5);
}
.wdt-emoji-popup h3 {
background-color: var(--black4);
color: var(--white);
}
#wdt-emoji-search {
background-color: var(--black5);
color: var(--white);
}
#wdt-emoji-search:focus {
background-color: var(--black4);
color: var(--white);
}
.wdt-emoji:hover {
background-color: var(--black4) !important;;
}
2019-01-08 19:55:40 +00:00
2019-01-10 16:01:00 +00:00
/**
* Sceditor
*/
.sceditor-iframe-body {
background-color: var(--black5);
color: var(--white);
}
.sceditor-container textarea {
background-color: var(--black5);
color: var(--white);
}
.sceditor-button {
background-color: var(--black6);
}
.sceditor-button svg {
fill: var(--black4);
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background-color: var(--black4);
color: white;
}
.sceditor-button:hover svg,
.sceditor-button:active svg,
.sceditor-button.active svg {
fill: var(--black6);
}
div.sceditor-dropdown {
background-color: var(--black5);
}
div.sceditor-dropdown input {
background-color: var(--black4);
}
2019-01-08 19:55:40 +00:00
/**
* Conversations
*/
.open-conversation-button {
background-color: var(--black5);
}
2019-01-09 10:40:00 +00:00
.nav-stacked > li > a {
color: var(--white);
}
.conversations-list-box .last-activity {
color: var(--white);
}
.nav > li > a:hover,
.nav > li > a:active,
.nav > li > a:focus {
color: var(--black5);
}
2019-02-25 06:57:45 +00:00
.select2-dropdown, .select2-selection,
.select2-search__field {
background-color: var(--black5) !important;
2019-01-09 10:40:00 +00:00
color: var(--white);
}
2019-02-25 06:57:45 +00:00
.select2-selection__rendered {
color: var(--white) !important;
}
2019-01-09 10:40:00 +00:00
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: var(--black4);
color: var(--white);
}
#conversationsElem .create-message-form .btn.btn-add-emoji:hover,
#conversationsElem .create-message-form .btn.btn-add-image:hover {
color: var(--white);
}
2019-01-10 14:53:16 +00:00
.conversation-settings-pane {
background-color: var(--black5) !important;
}
2019-01-08 19:55:40 +00:00
/**
* Home page
*/
2019-01-08 19:28:41 +00:00
#homeLandingScreen {
background-image: none !important;
background-color: var(--black5);
}
#homeLandingScreen #homeMessage {
background-color: var(--black);
}
/**
2019-01-08 19:55:40 +00:00
* Login page
*/
2019-01-08 19:28:41 +00:00
.login-page, .register-page {
background-color: var(--black2);
}
.login-box-body {
background-color: var(--black3);
}
.login-logo b, #loginForm label {
color: var(--white) !important;
}
/**
2019-01-08 19:55:40 +00:00
* Create account page
*/
2019-01-08 19:28:41 +00:00
.create-account-form label {
color: var(--white);
}
2019-01-08 19:55:40 +00:00
/**
* User information
*/
.list-group-item {
background-color: transparent;
}
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Posts
*/
2019-01-08 19:07:38 +00:00
.attachment-block {
background-color: var(--black6);
}
.post-comments {
background-color: var(--black);
2019-01-08 19:28:41 +00:00
border-radius: 2px;
2019-01-08 19:07:38 +00:00
}
.post {
color: var(--white);
}
2019-01-08 19:55:40 +00:00
.post-image {
2019-01-09 10:40:00 +00:00
filter: brightness(80%);
2019-01-08 19:55:40 +00:00
transition: filter 1s;
}
.post-image:hover {
filter: brightness(100%);
}
2019-02-25 06:57:45 +00:00
.post-youtube-placeholder {
background-color: var(--black6) !important;
}
2019-01-08 19:07:38 +00:00
.box-comments .username,
.box-comments .comment-content {
color: var(--white);
}
.comment-creation-form .comment-image-select a,
.comment-creation-form .comment-emoji-select a {
color: var(--white);
}
2019-01-08 19:28:41 +00:00
/**
2019-01-08 19:55:40 +00:00
* Posts creation form
*/
2019-01-09 08:49:02 +00:00
.post-form-choice span {
color: var(--black4);
}
2019-01-11 17:27:02 +00:00
.post-form-choice span span {
color: inherit;
}
2019-01-09 08:49:02 +00:00
.post-form .post-form-choice input:checked ~ span {
color: var(--white);
}
2019-01-08 19:55:40 +00:00
.datepicker.dropdown-menu {
background-color: var(--black6);
color: var(--white);
}
.select2-container--default .select2-selection--multiple {
background-color: transparent;
}
2019-01-09 08:49:02 +00:00
.post-form .post-visiblity-container span {
color: var(--black4);
}
.post-form .post-visiblity-container input:checked ~ span {
color: var(--white);
}
2019-01-08 19:55:40 +00:00
/**
* Posts edit modal
*/
2019-01-08 19:28:41 +00:00
.editor {
background-color: var(--black5);
color: var(--white);
2019-01-09 10:40:00 +00:00
}
/**
2019-01-10 16:01:00 +00:00
* Search page
*/
2019-01-09 10:40:00 +00:00
.nav > li > a:hover,
.nav > li > a:active,
.nav > li > a:focus {
background-color: var(--black4);
}
/**
2019-01-10 16:01:00 +00:00
* Conversation page
*/
2021-04-05 14:11:30 +00:00
.big-box-conversation a {
2019-01-09 10:40:00 +00:00
background-color: var(--black6) !important;;
}
2021-04-05 14:11:30 +00:00
.big-box-conversation a {
2019-01-09 10:40:00 +00:00
color: var(--white) !important;
}
2021-04-05 14:11:30 +00:00
.big-box-conversation a:hover {
2019-01-09 10:40:00 +00:00
background-color: var(--black5) !important;;
}
2021-04-05 14:11:30 +00:00
.big-box-conversation a:active {
2019-01-09 10:40:00 +00:00
background-color: var(--black6) !important;;
}
2021-04-05 14:11:30 +00:00
.big-box-conversation a.selected {
2019-01-09 10:40:00 +00:00
background-color: var(--black5) !important;;
}
2021-04-05 14:11:30 +00:00
.big-box-conversation .input-group-btn .btn {
2019-01-09 10:40:00 +00:00
background-color: var(--black5);
}
2021-04-05 14:11:30 +00:00
.big-box-conversation .input-group-btn .btn:hover {
2019-01-09 10:40:00 +00:00
background-color: var(--black4);
color: var(--black6);
}
2021-04-05 14:11:30 +00:00
.big-box-conversation .input-group-btn .btn:focus,
.big-box-conversation .input-group-btn .btn:active {
2019-01-09 10:40:00 +00:00
color: var(--white);
}
.big-box-conversation .direct-chat-text .a,
.big-box-conversation .direct-chat-text a {
background-color: transparent !important;
color: inherit !important;
2019-01-10 14:53:16 +00:00
}
/**
2019-01-10 16:01:00 +00:00
* Groups logo
*/
2019-01-10 14:53:16 +00:00
img[src$="groups_logo/default.png"] {
filter: invert(1) brightness(50%);
}
/**
2019-01-10 16:01:00 +00:00
* Read only friends list
*/
2019-01-10 14:53:16 +00:00
.friends-list-ro .friend a:hover .friends-name {
color: var(--black4);
2019-01-21 08:06:27 +00:00
}
/**
* Account created page
*/
.page_account_created .message_container .message {
background-color: var(--black5);
2019-01-26 10:42:46 +00:00
}
/**
2019-02-25 06:57:45 +00:00
* Call system
*/
2019-01-26 10:42:46 +00:00
.call-window {
border: 1px var(--black4) solid;
2019-01-26 15:07:57 +00:00
}
.ring-call-container {
background-color: var(--black5);
}
.call-message-box {
background-color: var(--black6);
2019-02-25 06:57:45 +00:00
}
/**
* Groups list page
*/
.groups-main-page {
color: var(--white);
}
/**
* Groups members page
*/
.group-members-page {
color: var(--white);
}
/**
* Group settings page
*/
.group-settings-container label {
color: var(--white);
}
2021-03-16 16:22:51 +00:00
.delete-group-link-container a {
color: var(--white) !important;
}
/**
* Post target picker
*/
.posts-target-picker {
color: var(--white);
}
.posts-target-picker > div:hover {
background-color: var(--black4);
2021-04-21 16:49:43 +00:00
}
/**
* Full calendar
*/
.fc-theme-standard .fc-list-day-cushion {
background-color: var(--black3);
}
.fc .fc-list-event:hover td {
background-color: var(--black3);
2019-01-08 19:28:41 +00:00
}