Merge pull request #382 from ebraminio/master

ebraminio theme for commafeed
This commit is contained in:
Athou
2013-07-02 06:02:08 -07:00
3 changed files with 51 additions and 1 deletions

View File

@@ -1181,7 +1181,7 @@ function($scope, $location, SettingsService, AnalyticsService, ServerService) {
$scope.ServerService = ServerService.get();
$scope.themes = ['default','MRACHINI'];
$scope.themes = ['default', 'ebraminio', 'MRACHINI'];
$scope.settingsService = SettingsService;
$scope.$watch('settingsService.settings', function(value) {

View File

@@ -10,4 +10,5 @@
@import "mobile/mobile";
@import "themes/test";
@import "themes/ebraminio";
@import "themes/MRACHINI";

View File

@@ -0,0 +1,49 @@
#theme-ebraminio {
/* My font setting, a bit specific for Persian but is okay in other languages */
body {
font-family: Tahoma, 'Iranian sans', 'DejaVu Sans', sans-serif;
}
/* My scroll speed hack, it is temporary */
.toolbar {
position: relative;
}
.entryList {
padding-top: 0!important;
}
/* Change source-codes in feeds background to white */
pre {
background-color: transparent;
}
/* I don't like default buttons radius */
.btn, .btn-large, .btn-small, .btn-mini {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
.btn-group > .btn:first-child, .btn-group > .btn-large:first-child {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.btn-group > .btn:last-child, .btn-group > .btn-large:last-child, .btn-group > .dropdown-toggle {
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
/* Better scrollbar*/
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.4);
}
::-webkit-scrollbar-track {
background: rgba(0,0,0,0.1);
}
/* Hide feed list scroll when is not hover */
.sidebar-nav-fixed {
overflow: hidden;
}
.sidebar-nav-fixed:hover {
overflow-y: auto;
}
}