summaryrefslogtreecommitdiff
path: root/client/css/core-forms.styl
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-10-22 12:28:09 +0200
committerrr- <rr-@sakuya.pl>2016-10-22 14:03:34 +0200
commit9aa59a228e38a8cba10c8463fa10e1effcccfddb (patch)
tree1cf7049d93bed354fff1dbb9b50fec7cd5dfe7a8 /client/css/core-forms.styl
parente71718c50d771003715ff393ecfd32a07154cd5b (diff)
client/css: align radioboxes to first line
Diffstat (limited to 'client/css/core-forms.styl')
-rw-r--r--client/css/core-forms.styl11
1 files changed, 5 insertions, 6 deletions
diff --git a/client/css/core-forms.styl b/client/css/core-forms.styl
index 6e60c4c..5fe44e4 100644
--- a/client/css/core-forms.styl
+++ b/client/css/core-forms.styl
@@ -65,10 +65,9 @@ input[type=radio], input[type=checkbox]
.radio:before, .checkbox:before
transition: border-color 0.1s linear
position: absolute
- top: 50%
left: 0
+ top: 0.15em
display: block
- margin-top: -10px
width: 16px
height: 16px
background: $input-enabled-background-color
@@ -79,10 +78,10 @@ input[type=radio], input[type=checkbox]
background: $main-color
transition: opacity 0.1s linear
position: absolute
- top: 50%
left: 5px
+ top: 0.15em
+ margin-top: 5px
display: block
- margin-top: -5px
width: 10px
height: 10px
border-radius: 50%
@@ -92,10 +91,10 @@ input[type=radio], input[type=checkbox]
.checkbox:after
transition: opacity 0.1s linear
position: absolute
- top: 50%
+ top: 0.15em
left: 6px
display: block
- margin-top: -7px
+ margin-top: 3px
width: 5px
height: 9px
border-right: 3px solid $main-color