From b22ab4e308b767b38a236801f28e227f97b592c9 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 17 Oct 2011 17:11:49 +0200 Subject: [PATCH] fix buttons in quattro --- view/theme/quattro/colors.less | 5 +++++ view/theme/quattro/quattro.less | 18 ++++++------------ view/theme/quattro/style.css | 18 ++++++++---------- 3 files changed, 19 insertions(+), 22 deletions(-) diff --git a/view/theme/quattro/colors.less b/view/theme/quattro/colors.less index 564cf6d243..a7a91114c2 100644 --- a/view/theme/quattro/colors.less +++ b/view/theme/quattro/colors.less @@ -38,6 +38,10 @@ @LinkHover: @Blue3; @LinkVisited: @Blue3; + +@ButtonColor: @Grey1; +@ButtonBackgroundColor: @Grey5; + @Banner: @Grey1; @NavbarBackground:@Metalic4; @@ -72,3 +76,4 @@ @CommentBoxEmptyBorderColor: @Grey3; @CommentBoxFullColor: @Grey5; @CommentBoxFullBorderColor: @Grey5; + diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 9f47cf099a..782e1b62b0 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -433,15 +433,11 @@ section { } /** buttons **/ input[type="submit"] { - border: 1px solid; - background-color: @BodyColor; - font: bold 85%; - color: @Grey1; - height: 20px; - padding: 10px 5px; - border-radius: 8px; - -moz-border-radius: 8px; - -webkit-border-radius: 8px; + border: 0px; + background-color: @ButtonBackgroundColor; + color: @ButtonColor; + padding: 0px 10px; + .rounded(5px); } @@ -473,10 +469,8 @@ input[type="submit"] { background-position: 7px 7px; background-repeat: no-repeat; padding: 7px 5px 0px 30px; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; color: #999999; + .rounded(5px); } #acl-showall.selected { color: #000000; diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css index 56c4bc9671..aa45528371 100644 --- a/view/theme/quattro/style.css +++ b/view/theme/quattro/style.css @@ -693,15 +693,13 @@ section { } /** buttons **/ input[type="submit"] { - border: 1px solid; + border: 0px; background-color: #2d2d2d; - font: bold 85%; color: #ffffff; - height: 20px; - padding: 10px 5px; - border-radius: 8px; - -moz-border-radius: 8px; - -webkit-border-radius: 8px; + padding: 0px 10px; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; } /** acl **/ #photo-edit-perms-select, #photos-upload-permissions-wrapper, #profile-jot-acl-wrapper { @@ -726,10 +724,10 @@ input[type="submit"] { background-position: 7px 7px; background-repeat: no-repeat; padding: 7px 5px 0px 30px; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; color: #999999; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; } #acl-showall.selected { color: #000000;