couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [2/7] couchdb commit: updated refs/heads/Update-Sidebar-Ui to 1ec81fb
Date Tue, 03 Jun 2014 14:44:35 GMT
further rejiggering of sidenav and cleanup


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

Branch: refs/heads/Update-Sidebar-Ui
Commit: 40e27f6d2923f40cbb44f0719f89dff9e781152f
Parents: f08965c
Author: sean barclay <fudd1011@hotmail.com>
Authored: Wed May 28 23:08:23 2014 -0700
Committer: sean barclay <fudd1011@hotmail.com>
Committed: Wed May 28 23:08:23 2014 -0700

----------------------------------------------------------------------
 .../addons/documents/assets/less/documents.less | 39 ++++++++++++++------
 .../documents/templates/design_doc_menu.html    |  3 +-
 src/fauxton/assets/less/fauxton.less            |  8 ++--
 3 files changed, 34 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/40e27f6d/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 008d84f..4b0ea9d 100644
--- a/src/fauxton/app/addons/documents/assets/less/documents.less
+++ b/src/fauxton/app/addons/documents/assets/less/documents.less
@@ -10,6 +10,10 @@
 // License for the specific language governing permissions and limitations under
 // the License.
 /*ALL DOCS TABLE*/
+
+@import "../../../style/assets/less/mixins.less";
+@import "../../../style/assets/less/variables.less";
+
 tr.all-docs-item {
   border: none;
   background: transparent;
@@ -159,13 +163,19 @@ button.beautify {
 
 .sidenav{
   margin-bottom: 40px;
-  li.nav-header {
+  li{
     position: relative;
     &:hover{
       a.dropdown-toggle{
         color: white;
       }
     }
+    a{
+      text-shadow: none;
+    }
+  }
+  li.nav-header {
+    position: relative;
     .accordion-body{
       &.in {
         border-bottom: 1px solid #d3d7db;
@@ -183,30 +193,37 @@ button.beautify {
       }
     }
     > div.js-collapse-toggle{
+      position: relative;
       display: block;
       padding: 10px 13px 10px 30px;
       color: #333333;
       border-bottom: 1px solid #d3d7db;
       &:hover{
-        span:last-of-type{
+        span, span:before{
           color: white;
         }
       }
       span:last-of-type{
-        transition: all 0.25s linear;
+        margin-left: 4px;
+      }
+      span, span:before{
+        .transition(all 0.25s linear); 
         color: #767F89;
       }
-      &:before{
+      span:before{
         vertical-align: bottom;
         font-size: 12px;
-        padding-right: 10px;
-        margin-bottom: 2px;
+        padding-right: 0px;
+        margin-bottom: 2px;   
+      }
+      &.down span:before {
+        .rotate(90deg);
+      }
+      div.add-dropdown{
+        right: 15px;
       }
-      &.down:before {
-        margin-bottom: -2px;
-        transform:rotate(90deg);
-        -ms-transform:rotate(90deg); /* IE 9 */
-        -webkit-transform:rotate(90deg); /* Opera, Chrome, and Safari */
+      .dropdown-toggle:hover{
+        color: @linkRed
       }
     }
   }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/40e27f6d/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 3b887a2..634030b 100644
--- a/src/fauxton/app/addons/documents/templates/design_doc_menu.html
+++ b/src/fauxton/app/addons/documents/templates/design_doc_menu.html
@@ -12,10 +12,11 @@ License for the specific language governing permissions and limitations
under
 the License.
 -->
 <li class="nav-header">
-	<div class="new-button add-dropdown"></div>
+	
 	<div  class="js-collapse-toggle" data-toggle="collapse" data-target="#<%= ddoc_clean
%>">
 		<span class="fonticon-play"></span>
 		<span><%= designDoc%></span>
+		<div class="new-button add-dropdown"></div>
 	</div>
 	<ul class="accordion-body collapse" id="<%= ddoc_clean %>">
 		<li>

http://git-wip-us.apache.org/repos/asf/couchdb/blob/40e27f6d/src/fauxton/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/less/fauxton.less b/src/fauxton/assets/less/fauxton.less
index bc10479..e242e9b 100644
--- a/src/fauxton/assets/less/fauxton.less
+++ b/src/fauxton/assets/less/fauxton.less
@@ -936,10 +936,10 @@ div.spinner {
   }
 }
 
-div.add-dropdown { 
-
- position: absolute;
-  right: 15px;
+div.add-dropdown {
+  position: absolute;
+  top: 0px;
+  right: 0px;
   .dropdown-menu{
     left: -82px;
     padding-bottom: 0;


Mime
View raw message