couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [5/7] couchdb commit: updated refs/heads/Update-Sidebar-Ui to 1ec81fb
Date Tue, 03 Jun 2014 14:44:38 GMT
refactoring hover and positioning


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

Branch: refs/heads/Update-Sidebar-Ui
Commit: e94171bb0c14e90067da33f50f8d58db19a4a877
Parents: b11e3a6
Author: sean barclay <fudd1011@hotmail.com>
Authored: Thu May 29 16:33:36 2014 -0700
Committer: sean barclay <fudd1011@hotmail.com>
Committed: Thu May 29 16:33:36 2014 -0700

----------------------------------------------------------------------
 src/fauxton/app/addons/documents/assets/less/documents.less | 9 +++++++--
 src/fauxton/app/addons/documents/templates/sidebar.html     | 6 +++---
 src/fauxton/assets/less/fauxton.less                        | 4 ++--
 3 files changed, 12 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/e94171bb/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 1ea8e4a..fc27293 100644
--- a/src/fauxton/app/addons/documents/assets/less/documents.less
+++ b/src/fauxton/app/addons/documents/assets/less/documents.less
@@ -171,6 +171,12 @@ button.beautify {
   .nav-list > .active > a:focus{
     color: white;
   }
+  .nav-list > li > a:hover + div.add-dropdown .dropdown-toggle{
+    color: white;
+  }
+  .dropdown-toggle:hover {
+    color: @linkRed
+  }
   li{
     position: relative;
     a{
@@ -207,10 +213,9 @@ button.beautify {
           background-color: @darkRed;
         }
       }
-      .accordion-list-item:hover ~ div.new-button .dropdown-toggle{
+      .accordion-list-item:hover + div.add-dropdown .dropdown-toggle{
         color: white;
       }
-
       .accordion-list-item p, .fonticon-play{
         .transition(all 0.25s linear); 
       }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/e94171bb/src/fauxton/app/addons/documents/templates/sidebar.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/templates/sidebar.html b/src/fauxton/app/addons/documents/templates/sidebar.html
index b90a7b6..8d2ea4c 100644
--- a/src/fauxton/app/addons/documents/templates/sidebar.html
+++ b/src/fauxton/app/addons/documents/templates/sidebar.html
@@ -18,13 +18,13 @@ the License.
   <% _.each(docLinks, function (link) { %>
   <li><a href="<%= database_url + '/' + link.url %>"><%= link.title
%></a></li>
   <% }); %>
-  <li class="active">
-      <div id="new-all-docs-button" class="add-dropdown"> </div> 
+  <li class="active"> 
       <a id="all-docs" href="#<%= database.url('index') %>" class="toggle-view">
All Documents</a> 
+      <div id="new-all-docs-button" class="add-dropdown"> </div>
    </li>
   <li>
-      <div id="new-design-docs-button" class="add-dropdown"> </div> 
       <a id="design-docs" href='#<%= database.url("index") %>?startkey="_design"&endkey="_e"'
 class="toggle-view"> All Design Docs</a>
+      <div id="new-design-docs-button" class="add-dropdown"> </div>
     </li>
 </ul>
 

http://git-wip-us.apache.org/repos/asf/couchdb/blob/e94171bb/src/fauxton/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/less/fauxton.less b/src/fauxton/assets/less/fauxton.less
index 8ce6329..73dded6 100644
--- a/src/fauxton/assets/less/fauxton.less
+++ b/src/fauxton/assets/less/fauxton.less
@@ -704,7 +704,7 @@ table.databases {
     }
     > li > a{
       color: @linkRed;
-      padding: 10px 13px 10px 30px;
+      padding: 10px 13px 10px 36px;
       border-bottom: 1px solid #d3d7db;
     }
     .dropdown-menu {
@@ -938,7 +938,7 @@ div.add-dropdown {
   top: 0px;
   right: 0px;
   .dropdown-menu{
-    left: -82px;
+    left: -90px;
     padding-bottom: 0;
     width: auto;
     min-width: 0;


Mime
View raw message