You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/07/22 09:32:08 UTC

[09/51] [abbrv] Fauxton: Improve css and icons for new sidenav

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4fe7160a/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/assets/less/fauxton.less b/assets/less/fauxton.less
index a579c19..26f6e39 100644
--- a/assets/less/fauxton.less
+++ b/assets/less/fauxton.less
@@ -690,6 +690,7 @@ table.databases {
   padding: 0;
   header {
     width: @sidebarWidth;
+    border-bottom: 1px solid #d3d7db;
   }
   .nav-list{
     .divider {
@@ -705,12 +706,13 @@ table.databases {
     }
     > li > a{
       color: @linkRed;
-      padding: 10px 13px 10px 36px;
+      padding: 10px 13px 10px 24px;
       border-bottom: 1px solid #d3d7db;
-    }
-    .dropdown-menu {
-      a {
-        color: #d9d9d9;
+      span{
+        margin-right: 8px;
+        width: 14px;
+        display: inline-block;
+        text-align: center;
       }
     }
     a{
@@ -930,18 +932,32 @@ div.spinner {
 
 div.add-dropdown {
   position: absolute;
-  top: 0px;
+  top: 2px;
   right: 0px;
   .dropdown-menu{
-    left: -90px;
+    left: -110px;
     padding-bottom: 0;
-    width: auto;
+    width: 148px;
     min-width: 0;
+    top: 38px;
+    .box-shadow(@boxShadow);
+      &.arrow:before{
+        right: 4px;
+      }
+      a {
+        background-color: #202326;
+        color: rgba(255, 255, 255, 0.8);
+        &:hover{
+          background-color: @red;
+          color: white;
+        }
+      }
     li a {
       padding: 10px 15px 10px 12px;
     }
   }
   .dropdown-toggle{
+    border-top: none !important;
     text-decoration: none;
   }
   > a {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4fe7160a/assets/less/icons.less
----------------------------------------------------------------------
diff --git a/assets/less/icons.less b/assets/less/icons.less
index 5ef53b0..2a1166c 100644
--- a/assets/less/icons.less
+++ b/assets/less/icons.less
@@ -55,13 +55,7 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-cancel:before,
 .fonticon-cancel-circled:before,
 .fonticon-cancel-circled2:before,
-.fonticon-carrot:before,
-.fonticon-check:before,
-.fonticon-circle-check:before,
 .fonticon-circle-empty:before,
-.fonticon-circle-minus:before,
-.fonticon-circle-plus:before,
-.fonticon-circle-x:before,
 .fonticon-clipboard:before,
 .fonticon-clock:before,
 .fonticon-cog:before,
@@ -94,12 +88,12 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-link:before,
 .fonticon-list-alt:before,
 .fonticon-lock:before,
-.fonticon-log:before,
 .fonticon-mail:before,
 .fonticon-mail-alt:before,
 .fonticon-megaphone:before,
 .fonticon-minus:before,
 .fonticon-minus-circled:before,
+.fonticon-minus-circled2:before,
 .fonticon-minus-squared:before,
 .fonticon-minus-squared-alt:before,
 .fonticon-mixer:before,
@@ -113,6 +107,7 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-play:before,
 .fonticon-plus:before,
 .fonticon-plus-circled:before,
+.fonticon-plus-circled2:before,
 .fonticon-plus-squared:before,
 .fonticon-plus-squared-alt:before,
 .fonticon-popin:before,
@@ -152,8 +147,7 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-up-open:before,
 .fonticon-user:before,
 .fonticon-users:before,
-.fonticon-wrench:before,
-.fonticon-x:before {
+.fonticon-wrench:before {
   display: inline-block;
   font-family: "fauxtonicon";
   font-style: normal;
@@ -184,13 +178,7 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-cancel:before { content: "\f10d"; }
 .fonticon-cancel-circled:before { content: "\f10e"; }
 .fonticon-cancel-circled2:before { content: "\f10f"; }
-.fonticon-carrot:before { content: "\f110"; }
-.fonticon-check:before { content: "\f111"; }
-.fonticon-circle-check:before { content: "\f112"; }
-.fonticon-circle-empty:before { content: "\f113"; }
-.fonticon-circle-minus:before { content: "\f114"; }
-.fonticon-circle-plus:before { content: "\f115"; }
-.fonticon-circle-x:before { content: "\f116"; }
+.fonticon-circle-empty:before { content: "\f174"; }
 .fonticon-clipboard:before { content: "\f117"; }
 .fonticon-clock:before { content: "\f118"; }
 .fonticon-cog:before { content: "\f119"; }
@@ -223,12 +211,12 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-link:before { content: "\f134"; }
 .fonticon-list-alt:before { content: "\f135"; }
 .fonticon-lock:before { content: "\f136"; }
-.fonticon-log:before { content: "\f137"; }
 .fonticon-mail:before { content: "\f138"; }
 .fonticon-mail-alt:before { content: "\f139"; }
 .fonticon-megaphone:before { content: "\f13a"; }
 .fonticon-minus:before { content: "\f13b"; }
 .fonticon-minus-circled:before { content: "\f13c"; }
+.fonticon-minus-circled2:before { content: "\f175"; }
 .fonticon-minus-squared:before { content: "\f13d"; }
 .fonticon-minus-squared-alt:before { content: "\f13e"; }
 .fonticon-mixer:before { content: "\f13f"; }
@@ -242,6 +230,7 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-play:before { content: "\f147"; }
 .fonticon-plus:before { content: "\f148"; }
 .fonticon-plus-circled:before { content: "\f149"; }
+.fonticon-plus-circled2:before { content: "\f176"; }
 .fonticon-plus-squared:before { content: "\f14a"; }
 .fonticon-plus-squared-alt:before { content: "\f14b"; }
 .fonticon-popin:before { content: "\f14c"; }
@@ -281,5 +270,4 @@ https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9
 .fonticon-up-open:before { content: "\f16e"; }
 .fonticon-user:before { content: "\f16f"; }
 .fonticon-users:before { content: "\f170"; }
-.fonticon-wrench:before { content: "\f171"; }
-.fonticon-x:before { content: "\f172"; }
\ No newline at end of file
+.fonticon-wrench:before { content: "\f171"; }
\ No newline at end of file