OSDN Git Service

CSS: change admin_bar position to fixed
[newslash/newslash.git] / src / newslash_web / css / newslash / admin / admin_bar.less
index ab50edc..3f252d1 100644 (file)
@@ -1,8 +1,17 @@
 /* admin-bar */
 
 #admin-bar {
-    padding: 0 12px;
-    margin: 0 0 8px;
-    border-bottom: 1px solid @color-weaker;
-    border-left: 8px solid @color-stronger;
-}
\ No newline at end of file
+    height: 1.8em;
+    .menu-bar {
+       padding: 0 12px;
+       margin: 0 0 8px;
+       border-bottom: 1px solid @color-weaker;
+       border-left: 8px solid @color-stronger;
+       width: 100%;
+       position: fixed;
+       background: @background-color;
+       z-index: 1000;
+
+    }
+}
+