Work progress on dark theme

This commit is contained in:
Pierre HUBERT 2019-01-08 20:55:40 +01:00
parent 5dc64492cb
commit 379826f16b

View File

@ -23,6 +23,9 @@ p, h1, h2, h3, h4, h5, h6 {
color: var(--white); color: var(--white);
} }
.table-hover > tbody > tr:hover {
background-color: var(--black3);
}
/** /**
@ -63,26 +66,6 @@ p, h1, h2, h3, h4, h5, h6 {
/**
* Navbar
*/
.navbar {
background-color: var(--black) !important;;
}
/**
* Footer
*/
.main-footer {
background-color: var(--black3);
}
.main-footer span {
color: var(--white);
}
/** /**
* Boxes * Boxes
*/ */
@ -137,6 +120,90 @@ p, h1, h2, h3, h4, h5, h6 {
background-color: var(--black3); 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 * Home page
@ -176,6 +243,13 @@ p, h1, h2, h3, h4, h5, h6 {
/**
* User information
*/
.list-group-item {
background-color: transparent;
}
/** /**
@ -194,6 +268,15 @@ p, h1, h2, h3, h4, h5, h6 {
color: var(--white); color: var(--white);
} }
.post-image {
filter: brightness(50%);
transition: filter 1s;
}
.post-image:hover {
filter: brightness(100%);
}
.box-comments .username, .box-comments .username,
.box-comments .comment-content { .box-comments .comment-content {
color: var(--white); color: var(--white);
@ -206,6 +289,19 @@ p, h1, h2, h3, h4, h5, h6 {
} }
/**
* 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 * Posts edit modal
*/ */