Merge pull request #720 from glowing-bear/black-theme

Add black theme for AMOLED displays, fix theme selector background in dark theme
This commit is contained in:
Lorenz Hübschle-Schneider 2016-01-06 17:30:59 +01:00
commit ec24142e50
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.