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 895EC1180C for ; Tue, 22 Jul 2014 15:25:59 +0000 (UTC) Received: (qmail 31027 invoked by uid 500); 22 Jul 2014 15:25:54 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 30887 invoked by uid 500); 22 Jul 2014 15:25:54 -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 29196 invoked by uid 99); 22 Jul 2014 15:25:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 15:25:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 137049AF60D; Tue, 22 Jul 2014 15:25:53 +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: Tue, 22 Jul 2014 15:26:18 -0000 Message-Id: <13de153dab364fc5a8f73c661db9790b@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [27/59] [abbrv] fauxton commit: updated refs/heads/master to 4e37185 Fauxton: Clean up css for new sidebar Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/23b8b0b3 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/23b8b0b3 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/23b8b0b3 Branch: refs/heads/master Commit: 23b8b0b39da957cabf64f0bd81cf439ab59da5df Parents: 19a557e Author: sean barclay Authored: Wed May 28 21:08:21 2014 -0700 Committer: Garren Smith Committed: Tue Jul 22 16:49:09 2014 +0200 ---------------------------------------------------------------------- app/addons/documents/assets/less/documents.less | 101 ++++++++++++++++--- .../documents/templates/design_doc_menu.html | 14 ++- app/addons/documents/templates/sidebar.html | 6 +- assets/less/fauxton.less | 19 ++-- assets/less/variables.less | 3 +- 5 files changed, 110 insertions(+), 33 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/23b8b0b3/app/addons/documents/assets/less/documents.less ---------------------------------------------------------------------- diff --git a/app/addons/documents/assets/less/documents.less b/app/addons/documents/assets/less/documents.less index 4e87dd6..cdcb3ed 100644 --- a/app/addons/documents/assets/less/documents.less +++ b/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 "../../../../../assets/less/variables.less"; + tr.all-docs-item { border: none; background: transparent; @@ -20,7 +24,7 @@ tr.all-docs-item { } } button.beautify { - margin-top: 20px; + margin-top: 20px; } .toggle-btns { @@ -159,6 +163,26 @@ button.beautify { .sidenav{ margin-bottom: 40px; + .nav-list > .active > a{ + text-shadow: none; + background-color: rgba(0, 0, 0, 0.05); + } + .nav-list > .active > a:hover, + .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{ + text-shadow: none; + } + } li.nav-header { position: relative; .accordion-body{ @@ -167,34 +191,83 @@ button.beautify { } color: #eee; margin-left: 0; + li.active > a{ + background-color: rgba(0, 0, 0, 0.05); + } li a{ padding-left: 55px; font-size: 14px; &:hover { - background-color: #af2d24; color: #fff; text-decoration: none; + background-color: @darkRed; } } } - > span{ + .fonticon-play{ + color: @subListGray; + position: absolute; + display: block; + vertical-align: bottom; + } + > .js-collapse-toggle{ + position: relative; display: block; - padding: 10px 13px 10px 30px; - color: #333333; border-bottom: 1px solid #d3d7db; - &:before{ - vertical-align: bottom; + .accordion-list-item:hover { + p, .fonticon-play{ + color: white; + } + p{ + background-color: @darkRed; + } + } + .accordion-list-item:hover + div.add-dropdown .dropdown-toggle{ + color: white; + } + .accordion-list-item p, .fonticon-play{ + .transition(all 0.25s linear); + } + .accordion-list-item p{ + margin: 0; + padding: 10px 13px 10px 36px; + color: @linkRed; + } + .fonticon-play{ font-size: 12px; - padding-right: 10px; - margin-bottom: 2px; + top: 12px; + left: 12px; + } + &.down .fonticon-play { + .rotate(90deg); + } + .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 + } + } + > ul.accordion-body{ + > li { + a{ + padding-left: 36px; + } + .fonticon-play{ + font-size: 8px; + top: 11px; + left: 15px; + } + .fonticon:before{ + margin-right: 6px; + font-size: 20px; + } } } } + } + + + http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/23b8b0b3/app/addons/documents/templates/design_doc_menu.html ---------------------------------------------------------------------- diff --git a/app/addons/documents/templates/design_doc_menu.html b/app/addons/documents/templates/design_doc_menu.html index 63d6016..beb0c85 100644 --- a/app/addons/documents/templates/design_doc_menu.html +++ b/app/addons/documents/templates/design_doc_menu.html @@ -12,13 +12,19 @@ License for the specific language governing permissions and limitations under the License. -->