[Groonga-commit] groonga/express-kotoumi [master] Define #header as a shorthand of .navbar.navbar-fixed-top

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jan 23 15:59:24 JST 2013


YUKI Hiroshi	2013-01-23 15:59:24 +0900 (Wed, 23 Jan 2013)

  New Revision: 7046f981c2262d7e13cf8442767044fdc7ad4e5f
  https://github.com/groonga/express-kotoumi/commit/7046f981c2262d7e13cf8442767044fdc7ad4e5f

  Log:
    Define #header as a shorthand of .navbar.navbar-fixed-top

  Modified files:
    public/styles/override.less
    views/index.jade

  Modified: public/styles/override.less (+13 -0)
===================================================================
--- public/styles/override.less    2013-01-23 15:11:33 +0900 (e3eb3dc)
+++ public/styles/override.less    2013-01-23 15:59:24 +0900 (bd14255)
@@ -3,3 +3,16 @@
 
 @iconSpritePath:          "../bootstrap/images/glyphicons-halflings.png";
 @iconWhiteSpritePath:     "../bootstrap/images/glyphicons-halflings-white.png";
+
+#header {
+  .navbar();
+  .navbar-fixed-top();
+}
+
+#header form {
+  .navbar-search();
+  .pull-right();
+  input[type="text"] {
+    .search-query();
+  }
+}

  Modified: views/index.jade (+3 -3)
===================================================================
--- views/index.jade    2013-01-23 15:11:33 +0900 (85dcf31)
+++ views/index.jade    2013-01-23 15:59:24 +0900 (97e2acf)
@@ -7,9 +7,9 @@ html(lang='ja')
     link(rel='stylesheet', href=prefix + '/styles/override.css', type='text/css', media='screen')
     script(type='text/javascript', src=prefix + '/bootstrap/js/bootstrap.min.js')
   body
-    .navbar.navbar.navbar-fixed-top
+    #header
       .navbar-inner
         .container
           a.brand(href=prefix + '/dashboard') Express Kotoumi Dashboard
-          form.navbar-search.pull-right
-            input.search-query(type='text', placeholder='Search')
+          form
+            input(type='text', placeholder='Search')
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index