ComunicWeb/assets/css/dark_theme.css

356 lines
5.8 KiB
CSS
Raw Normal View History

2019-01-09 08:49:02 +00:00
/**
* ComunicWeb dark theme
*
* @author Pierre HUBERT
*/
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-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-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-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-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
/**
* Footer
*/
.main-footer {
background-color: var(--black3);
}
.main-footer span {
color: var(--white);
}
/**
* 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);
}
}
2019-01-08 19:55:40 +00:00
#friendsList h4 {
color: var(--white);
}
#friendsList li:hover {
background-color: var(--black4);
}
/**
* Conversations
*/
.open-conversation-button {
background-color: var(--black5);
}
/**
* 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 {
filter: brightness(50%);
transition: filter 1s;
}
.post-image:hover {
filter: brightness(100%);
}
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);
}
.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);
}