[PATCH] BZ 790827 re-aligned sub-header buttons
Tzu-Mainn Chen
tzumainn at redhat.com
Mon Feb 20 16:38:11 UTC 2012
Ah, thanks, that actually makes a lot more sense. New patch coming soon.
Mainn
----- Original Message -----
From: "Jirka Tomasek" <jtomasek at redhat.com>
To: aeolus-devel at lists.fedorahosted.org
Sent: Monday, February 20, 2012 11:23:10 AM
Subject: Re: [PATCH] BZ 790827 re-aligned sub-header buttons
On 02/20/2012 04:06 PM, Tzu-Mainn Chen wrote:
---
src/app/stylesheets/layout.scss | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/app/stylesheets/layout.scss b/src/app/stylesheets/layout.scss
index c65621c..f562b8b 100644
--- a/src/app/stylesheets/layout.scss
+++ b/src/app/stylesheets/layout.scss
@@ -717,7 +717,7 @@ http://github.com/necolas/css3-github-buttons .button-container .button,
.button-container .button-group {
- vertical-align: top;
+ vertical-align: middle;
}
/* --------------------------------------------------------- CUSTOM BUTTONS */
@@ -1361,6 +1361,7 @@ header.admin-page-header{
padding: 3px 6px;
-webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px;
border: none;
+ vertical-align: middle;
}
ul#provider_select{ This doesn't fix the problem for me. I think it should be solved in
header.admin-page-header .rounded-link and its also necessary to put all the "return to" texts in app into span.return_to, to style it:
header.admin-page-header
...
.rounded-link{ @include display_inline_block;
margin: 2px 0px 3px 0px;
background: #cccccc;
color: black; text-decoration: none; font-weight: bold;
padding: 3px 6px; -webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px; border: none; }
span.return_to{
@include display_inline_block;
line-height: 15px;
padding: 5px 0px;
}
Jirka
More information about the aeolus-devel
mailing list