mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-23 04:29:21 +00:00
311 lines
4.7 KiB
CSS
311 lines
4.7 KiB
CSS
/**
|
|
* General definitions
|
|
*/
|
|
:root {
|
|
--black: #1119;
|
|
--black2: #111111;
|
|
--black3: #000;
|
|
--black4: #686a6c;
|
|
--black5: #232426;
|
|
--black6: #0f0f0f;
|
|
--white: silver;
|
|
}
|
|
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
color: var(--white);
|
|
}
|
|
|
|
.content-wrapper {
|
|
background-color: var(--black3);
|
|
}
|
|
|
|
.link-black {
|
|
color: var(--white);
|
|
}
|
|
|
|
.table-hover > tbody > tr:hover {
|
|
background-color: var(--black3);
|
|
}
|
|
|
|
|
|
/**
|
|
* Buttons
|
|
*/
|
|
.btn {
|
|
color: var(--white);
|
|
}
|
|
|
|
.btn-primary,
|
|
.btn-success,
|
|
.btn-default,
|
|
.btn-danger {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.btn-default:active, .btn-default:focus {
|
|
background-color: var(--white);
|
|
}
|
|
|
|
|
|
/**
|
|
* Forms
|
|
*/
|
|
.form-control {
|
|
background-color: var(--black);
|
|
color: var(--white);
|
|
border-color: var(--black5);
|
|
}
|
|
|
|
.form-control:focus {
|
|
background-color: var(--black5);
|
|
}
|
|
|
|
.form-group label {
|
|
color: var(--white);
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Boxes
|
|
*/
|
|
.box {
|
|
background-color: var(--black5);
|
|
color: var(--white);
|
|
}
|
|
|
|
|
|
/**
|
|
* Modals
|
|
*/
|
|
.modal-header,
|
|
.modal-footer {
|
|
background-color: var(--black5);
|
|
}
|
|
|
|
.modal-body {
|
|
background-color: var(--black6);
|
|
}
|
|
|
|
.modal-primary .modal-header,
|
|
.modal-primary .modal-footer {
|
|
background-color: var(--black5) !important;;
|
|
}
|
|
|
|
.modal-primary .modal-body {
|
|
background-color: var(--black6) !important;
|
|
}
|
|
|
|
.modal-danger .modal-header,
|
|
.modal-danger .modal-footer {
|
|
background-color: #a22819 !important;
|
|
}
|
|
|
|
.modal-danger .modal-body {
|
|
background-color: #872f24 !important;
|
|
}
|
|
|
|
/**
|
|
* Dropdown menus
|
|
*/
|
|
.dropdown-menu {
|
|
background-color: var(--black5);
|
|
}
|
|
|
|
.dropdown-menu > li > a {
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
.dropdown-menu > li > a:hover {
|
|
background-color: var(--black3);
|
|
}
|
|
|
|
.dropdown {
|
|
color: var(--white);
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Navbar
|
|
*/
|
|
.navbar {
|
|
background-color: var(--black) !important;;
|
|
}
|
|
|
|
.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 {
|
|
background-color: var(--black6);
|
|
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);
|
|
}
|
|
|
|
|
|
/**
|
|
* 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);
|
|
}
|
|
}
|
|
|
|
#friendsList h4 {
|
|
color: var(--white);
|
|
}
|
|
|
|
#friendsList li:hover {
|
|
background-color: var(--black4);
|
|
}
|
|
|
|
|
|
/**
|
|
* Conversations
|
|
*/
|
|
.open-conversation-button {
|
|
background-color: var(--black5);
|
|
}
|
|
|
|
/**
|
|
* Home page
|
|
*/
|
|
#homeLandingScreen {
|
|
background-image: none !important;
|
|
background-color: var(--black5);
|
|
}
|
|
|
|
#homeLandingScreen #homeMessage {
|
|
background-color: var(--black);
|
|
}
|
|
|
|
|
|
/**
|
|
* Login page
|
|
*/
|
|
.login-page, .register-page {
|
|
background-color: var(--black2);
|
|
}
|
|
|
|
.login-box-body {
|
|
background-color: var(--black3);
|
|
}
|
|
|
|
.login-logo b, #loginForm label {
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
|
|
/**
|
|
* Create account page
|
|
*/
|
|
.create-account-form label {
|
|
color: var(--white);
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* User information
|
|
*/
|
|
.list-group-item {
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Posts
|
|
*/
|
|
.attachment-block {
|
|
background-color: var(--black6);
|
|
}
|
|
|
|
.post-comments {
|
|
background-color: var(--black);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.post {
|
|
color: var(--white);
|
|
}
|
|
|
|
.post-image {
|
|
filter: brightness(50%);
|
|
transition: filter 1s;
|
|
}
|
|
|
|
.post-image:hover {
|
|
filter: brightness(100%);
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
|
|
/**
|
|
* Posts creation form
|
|
*/
|
|
.datepicker.dropdown-menu {
|
|
background-color: var(--black6);
|
|
color: var(--white);
|
|
}
|
|
|
|
.select2-container--default .select2-selection--multiple {
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
/**
|
|
* Posts edit modal
|
|
*/
|
|
.editor {
|
|
background-color: var(--black5);
|
|
color: var(--white);
|
|
} |