From: Marius Gavrilescu Date: Wed, 10 Dec 2014 11:39:31 +0000 (+0200) Subject: Improve nav, hide Theme if no javascript X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=4896df53ed848c34d2fb08b222187a73a0dccbdd;p=gruntmaster-page.git Improve nav, hide Theme if no javascript --- diff --git a/css/custom.css b/css/custom.css index dcd555f..0da7b4e 100644 --- a/css/custom.css +++ b/css/custom.css @@ -60,13 +60,6 @@ a.dropdown-toggle{ margin-right: 1em; } -nav{ - padding: 5px 0; - background-color: #3A3F44; - background-image: linear-gradient(#484E55, #3A3F44 60%, #313539); -} - nav li{ - border-right: 1px solid rgba(0, 0, 0, 0.2); - border-left: 1px solid rgba(255, 255, 255, 0.1); -} \ No newline at end of file + padding: 5px; +} diff --git a/js/90-custom.js b/js/90-custom.js index 750aaa1..183f3dd 100644 --- a/js/90-custom.js +++ b/js/90-custom.js @@ -6,6 +6,8 @@ } $( document ).ready(function() { + $('#theme-selector').removeClass('hidden'); + var hiddenDiv = $(document.createElement('div')); hiddenDiv.addClass('hiddendiv common'); diff --git a/tmpl/skel.en b/tmpl/skel.en index 09f37b6..d9ce6fc 100644 --- a/tmpl/skel.en +++ b/tmpl/skel.en @@ -9,12 +9,13 @@