Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9042111544 for ; Mon, 21 Jul 2014 07:02:49 +0000 (UTC) Received: (qmail 96836 invoked by uid 500); 21 Jul 2014 07:02:47 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 96736 invoked by uid 500); 21 Jul 2014 07:02:47 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 94963 invoked by uid 99); 21 Jul 2014 07:02:46 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 07:02:46 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 428D89A68BF; Mon, 21 Jul 2014 07:02:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: garren@apache.org To: commits@couchdb.apache.org Date: Mon, 21 Jul 2014 07:03:17 -0000 Message-Id: <7f66aa171ade47e290264afb0fd7c0a9@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [33/44] Fauxton: Improve css and icons for new sidenav http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/595a2d34/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/595a2d34/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