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; left: 0;
} }
.imgur-progress-bar { .imgur-progress-bar {
width: 0%; width: 0%;
height: 5px; height: 5px;
margin-top: 1px; margin-top: 1px;
background: #428BCA; background: #428BCA;
} }
/* fix for mobile firefox which ignores :hover */ /* fix for mobile firefox which ignores :hover */
.nav-pills > li > a:active, .nav-pills > li > a:active span { .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; border: 0px none;
} }
.form-control option {
color: #eee;
background: #282828;
}
html { html {
background-color: inherit; background-color: inherit;
} }

View file

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