couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/7] couchdb commit: updated refs/heads/Update-Sidebar-Ui to 1ec81fb
Date Tue, 03 Jun 2014 14:44:34 GMT
Repository: couchdb
Updated Branches:
  refs/heads/Update-Sidebar-Ui 1cccd0b40 -> 1ec81fb33


sidebar style updates for hover states on sub accordion menus


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

Branch: refs/heads/Update-Sidebar-Ui
Commit: f08965ceb0f0e2abd7526a655ab021643b650032
Parents: 1cccd0b
Author: sean barclay <fudd1011@hotmail.com>
Authored: Wed May 28 21:08:21 2014 -0700
Committer: sean barclay <fudd1011@hotmail.com>
Committed: Wed May 28 21:08:21 2014 -0700

----------------------------------------------------------------------
 .../app/addons/documents/assets/less/documents.less | 16 +++++++++++++++-
 .../addons/documents/templates/design_doc_menu.html |  7 ++++---
 2 files changed, 19 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/f08965ce/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 4e87dd6..008d84f 100644
--- a/src/fauxton/app/addons/documents/assets/less/documents.less
+++ b/src/fauxton/app/addons/documents/assets/less/documents.less
@@ -161,6 +161,11 @@ button.beautify {
   margin-bottom: 40px;
   li.nav-header {
     position: relative;
+    &:hover{
+      a.dropdown-toggle{
+        color: white;
+      }
+    }
     .accordion-body{
       &.in {
         border-bottom: 1px solid #d3d7db;
@@ -177,11 +182,20 @@ button.beautify {
         }
       }
     }
-    > span{
+    > div.js-collapse-toggle{
       display: block;
       padding: 10px 13px 10px 30px;
       color: #333333;
       border-bottom: 1px solid #d3d7db;
+      &:hover{
+        span:last-of-type{
+          color: white;
+        }
+      }
+      span:last-of-type{
+        transition: all 0.25s linear;
+        color: #767F89;
+      }
       &:before{
         vertical-align: bottom;
         font-size: 12px;

http://git-wip-us.apache.org/repos/asf/couchdb/blob/f08965ce/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 63d6016..3b887a2 100644
--- a/src/fauxton/app/addons/documents/templates/design_doc_menu.html
+++ b/src/fauxton/app/addons/documents/templates/design_doc_menu.html
@@ -13,9 +13,10 @@ the License.
 -->
 <li class="nav-header">
 	<div class="new-button add-dropdown"></div>
-	<span  class="fonticon-play js-collapse-toggle" data-toggle="collapse" data-target="#<%=
ddoc_clean %>">
-		<%= designDoc%>
-	</span>
+	<div  class="js-collapse-toggle" data-toggle="collapse" data-target="#<%= ddoc_clean
%>">
+		<span class="fonticon-play"></span>
+		<span><%= designDoc%></span>
+	</div>
 	<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">


Mime
View raw message