diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index 380d5fc0..d344e2d7 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -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) { diff --git a/src/main/webapp/sass/app.scss b/src/main/webapp/sass/app.scss index 02e742f7..360992d8 100644 --- a/src/main/webapp/sass/app.scss +++ b/src/main/webapp/sass/app.scss @@ -10,4 +10,5 @@ @import "mobile/mobile"; @import "themes/test"; +@import "themes/ebraminio"; @import "themes/MRACHINI"; diff --git a/src/main/webapp/sass/themes/_ebraminio.scss b/src/main/webapp/sass/themes/_ebraminio.scss new file mode 100644 index 00000000..64a92333 --- /dev/null +++ b/src/main/webapp/sass/themes/_ebraminio.scss @@ -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; +} +} \ No newline at end of file