aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-07-01 12:54:17 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-07-01 12:54:17 +0200
commit2bdca998c65c91347f7435d9b26041915043e08e (patch)
tree094b1e780dd31678c58a97d92453593416b00224 /server/sonar-web
parent7aa69eb1de0a994a92a24162de5200f2a3e1e7e8 (diff)
downloadsonarqube-2bdca998c65c91347f7435d9b26041915043e08e.tar.gz
sonarqube-2bdca998c65c91347f7435d9b26041915043e08e.zip
update style of toggles
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/less/init/forms.less18
1 files changed, 6 insertions, 12 deletions
diff --git a/server/sonar-web/src/main/less/init/forms.less b/server/sonar-web/src/main/less/init/forms.less
index c08d01fea35..1eba5126fe0 100644
--- a/server/sonar-web/src/main/less/init/forms.less
+++ b/server/sonar-web/src/main/less/init/forms.less
@@ -230,15 +230,13 @@ label[for] {
font-size: @smallFontSize;
&:first-child > label {
- padding-left: 16px;
- border-top-left-radius: @formControlHeight;
- border-bottom-left-radius: @formControlHeight;
+ border-top-left-radius: 2px;
+ border-bottom-left-radius: 2px;
}
&:last-child > label {
- padding-right: 16px;
- border-top-right-radius: @formControlHeight;
- border-bottom-right-radius: @formControlHeight;
+ border-top-right-radius: 2px;
+ border-bottom-right-radius: 2px;
}
}
@@ -249,11 +247,8 @@ label[for] {
display: inline-block;
padding: (@padding-top - 1px) 12px (@padding-top + 1px);
margin: 0;
- border: 1px solid @barBorderColor;
-
- &:hover {
- background-color: @barBackgroundColor;
- }
+ border: 1px solid @darkBlue;
+ color: @darkBlue;
}
input[type="radio"] {
@@ -261,7 +256,6 @@ label[for] {
}
input[type="radio"]:checked + label {
- border-color: @darkBlue;
background-color: @darkBlue;
color: #fff;
font-weight: 500;