From 667e11c4ec3835d959aab1797647bd0a49869674 Mon Sep 17 00:00:00 2001 From: etienne Date: Tue, 21 Oct 2014 23:35:24 +0200 Subject: Init commit --- static/css/style-responsive.css | 68 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100755 static/css/style-responsive.css (limited to 'static/css/style-responsive.css') diff --git a/static/css/style-responsive.css b/static/css/style-responsive.css new file mode 100755 index 0000000..b302d58 --- /dev/null +++ b/static/css/style-responsive.css @@ -0,0 +1,68 @@ +@media (max-width: 768px) { + + .header { + position: absolute; + } + + /*sidebar*/ + + #sidebar { + height: auto; + overflow: hidden; + position: absolute; + width: 100%; + z-index: 1001; + } + + + /* body container */ + #main-content { + margin: 0px!important; + position: none !important; + } + + #sidebar > ul > li > a > span { + line-height: 35px; + } + + #sidebar > ul > li { + margin: 0 10px 5px 10px; + } + #sidebar > ul > li > a { + height:35px; + line-height:35px; + padding: 0 10px; + text-align: left; + } + + #sidebar > ul > li > a, #sidebar > ul > li > ul.sub > li { + width: 100%; + } + #sidebar > ul > li > ul.sub > li > a { + background: transparent !important ; + } + + /* sidebar */ + #sidebar { + margin: 0px !important; + } + + .btn { + margin-bottom: 5px; + } + +} + +@media (max-width: 480px) { + + .notification-row { + display: none; + } +} + +@media (max-width:320px) { + + .notification-row { + display: none; + } +} -- cgit v1.3