couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [6/7] couchdb commit: updated refs/heads/Update-Sidebar-Ui to 1ec81fb
Date Tue, 03 Jun 2014 14:44:39 GMT
adding icon update placeholder for side nav sub menus (eg. map reduce and meta data). Need
to figure out icon compiling.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/a929349a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a929349a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a929349a

Branch: refs/heads/Update-Sidebar-Ui
Commit: a929349ac153173eded8f6c52bf60b9b696f4f24
Parents: e94171b
Author: sean barclay <fudd1011@hotmail.com>
Authored: Sun Jun 1 22:24:06 2014 -0700
Committer: sean barclay <fudd1011@hotmail.com>
Committed: Sun Jun 1 23:06:12 2014 -0700

----------------------------------------------------------------------
 .../addons/documents/assets/less/documents.less | 30 +++++++++++++++++---
 .../documents/templates/design_doc_menu.html    |  2 ++
 2 files changed, 28 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/a929349a/src/fauxton/app/addons/documents/assets/less/documents.less
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/assets/less/documents.less b/src/fauxton/app/addons/documents/assets/less/documents.less
index fc27293..cdcb3ed 100644
--- a/src/fauxton/app/addons/documents/assets/less/documents.less
+++ b/src/fauxton/app/addons/documents/assets/less/documents.less
@@ -191,6 +191,9 @@ button.beautify {
       }
       color: #eee;
       margin-left: 0;
+      li.active > a{
+        background-color: rgba(0, 0, 0, 0.05);
+      }
       li a{
         padding-left: 55px;
         font-size: 14px;
@@ -201,6 +204,12 @@ button.beautify {
         }
       }
     }
+    .fonticon-play{
+        color: @subListGray;
+        position: absolute;
+        display: block;
+        vertical-align: bottom;
+      }
     > .js-collapse-toggle{
       position: relative;
       display: block;
@@ -225,10 +234,6 @@ button.beautify {
         color: @linkRed;
       }
       .fonticon-play{
-        color: @subListGray;
-        position: absolute;
-        display: block;
-        vertical-align: bottom;
         font-size: 12px;
         top: 12px;
         left: 12px; 
@@ -243,7 +248,24 @@ button.beautify {
         color: @linkRed
       }
     }
+    > ul.accordion-body{
+      > li {
+        a{
+          padding-left: 36px;
+        }
+        .fonticon-play{
+          font-size: 8px;
+          top: 11px;
+          left: 15px;
+        }
+        .fonticon:before{
+          margin-right: 6px;
+          font-size: 20px;
+        }
+      }
+    }
   }
+  
 }
 
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/a929349a/src/fauxton/app/addons/documents/templates/design_doc_menu.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/templates/design_doc_menu.html b/src/fauxton/app/addons/documents/templates/design_doc_menu.html
index 3a1f1f1..beb0c85 100644
--- a/src/fauxton/app/addons/documents/templates/design_doc_menu.html
+++ b/src/fauxton/app/addons/documents/templates/design_doc_menu.html
@@ -23,6 +23,8 @@ the License.
 	<ul class="accordion-body collapse" id="<%= ddoc_clean %>">
 		<li>
 			<a id="<%= ddoc_clean %>_metadata" href="#/database/<%- database_encoded %>/_design/<%-
ddoc_encoded %>/metadata" class="toggle-view">
+			<div class="fonticon-play"></div>
+			<span class="cloudant-sidenav-info fonticon"></span>
 			  Design Doc Metadata
 			</a>
 		</li>


Mime
View raw message