style api bar button on fixed header
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/2a259756 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/2a259756 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/2a259756 Branch: refs/heads/secondary-indexes Commit: 2a2597562c013f665e8cc7b9c33b6d91b5985ab0 Parents: 84e6f9e Author: Jenn Schiffer <[email protected]> Authored: Wed Aug 13 16:24:25 2014 -0400 Committer: deathbearbrown <[email protected]> Committed: Wed Aug 13 16:30:20 2014 -0400 ---------------------------------------------------------------------- assets/less/headers.less | 84 ++++++++++++++++++++++++------------------- 1 file changed, 47 insertions(+), 37 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/2a259756/assets/less/headers.less ---------------------------------------------------------------------- diff --git a/assets/less/headers.less b/assets/less/headers.less index ff790e5..a110714 100644 --- a/assets/less/headers.less +++ b/assets/less/headers.less @@ -118,6 +118,10 @@ } } +.fixed-header { + +} + .header-left{ position: relative; #header-dropdown-menu { @@ -142,29 +146,17 @@ } } -.header-right { - .tray { - display: none; - .border-radius(5px); - position: absolute; - right: 5px; - top: 55px; - z-index: 11; - background-color: #333; - color: #fff; - margin: 0; - } - .tray:before { - content: ''; - position: absolute; - top: -25px; - border-color: transparent transparent #333 transparent; - border-style: solid; - border-width: 15px; - width: 0; - height: 0; - } - .add-on { +.tray { + display: none; + .border-radius(5px); + position: absolute; + right: 5px; + top: 55px; + z-index: 11; + background-color: #333; + color: #fff; + margin: 0; + .add-on { font-size: 16px; background: none; padding: 0px; @@ -177,6 +169,35 @@ height: auto; line-height: 1em; } +} +.tray:before { + content: ''; + position: absolute; + top: -25px; + border-color: transparent transparent #333 transparent; + border-style: solid; + border-width: 15px; + width: 0; + height: 0; +} + +.fixed-header, +.header-right { + > .btn { + padding: 0; + margin: 0; + } + > .button, + > .button a, + .api-url-btn > button, + .btn-primary { + color: #666; + font-size: 13px; + line-height: 3em; + } +} + +.header-right { .well { padding: 0; margin: 0; @@ -200,20 +221,6 @@ color: #999; } } - > .btn { - padding: 0; - margin: 0; - } - > .button, - > .button a, - .api-url-btn > button { - color: #666; - font-size: 13px; - line-height: 3em; - } - .api-navbar:before { - right: 25px; - } > div { float: right; height: 60px; @@ -226,4 +233,7 @@ border-left: none; } } +.api-navbar:before { + right: 25px; +}
