Themes: Add black theme for AMOLED displays, fix theme selector background in dark theme

Deprecates / closes #671
This commit is contained in:
Lorenz Hübschle-Schneider 2015-12-26 11:47:09 +01:00
parent d06219102c
commit 01d0891a2d
4 changed files with 34 additions and 7 deletions

View file

@ -370,12 +370,12 @@ td.time {
left: 0;
}
.imgur-progress-bar {
width: 0%;
height: 5px;
margin-top: 1px;
background: #428BCA;
}
.imgur-progress-bar {
width: 0%;
height: 5px;
margin-top: 1px;
background: #428BCA;
}
/* fix for mobile firefox which ignores :hover */
.nav-pills > li > a:active, .nav-pills > li > a:active span {

22
css/themes/black.css Normal file
View file

@ -0,0 +1,22 @@
@import "dark.css";
body, .modal-content {
background-color: #000;
}
#topbar, #sidebar, .panel, .dropdown-menu, #topbar .actions {
background: #080808;
}
.nav-pills li:nth-child(2n) {
background: #000;
}
.form-control option, input.form-control, select.form-control {
color: #ccc;
background: #080808;
}
.close, .close:hover, .close:focus {
color: #ddd;
}

View file

@ -10,6 +10,11 @@ body {
border: 0px none;
}
.form-control option {
color: #eee;
background: #282828;
}
html {
background-color: inherit;
}

View file

@ -21,7 +21,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
};
$scope.command = '';
$scope.themes = ['dark', 'light'];
$scope.themes = ['dark', 'light', 'black'];
// Initialise all our settings, this needs to include all settings
// or else they won't be saved to the localStorage.