Summary Files Commits Branches @commit @diff @stats
path: root / src / forms.less
diff options
context:
space:
mode:
Commitfe73c2d01b5bd34bd231fe8444884fb3448c0b62 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 16:29:01 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 16:29:01 +0800
Filese58d11d6ed924e86ced76e408d69313807821d4e /src/forms.less
Spectre-Dark-Gruvbox-fe73c2d01b5bd34bd231fe8444884fb3448c0b62.tar
Spectre-Dark-Gruvbox-fe73c2d01b5bd34bd231fe8444884fb3448c0b62.tar.gz
Spectre-Dark-Gruvbox-fe73c2d01b5bd34bd231fe8444884fb3448c0b62.zip
Parent740c6b45de8fa8af3411b4df1040eee68da20b90 (diff)
update units to rem
1 files changed, 9 insertions, 12 deletions
-rw-r--r--src/forms.less21
diff --git a/src/forms.less b/src/forms.less
index ba0dbfc..110b747 100644
--- a/src/forms.less
+++ b/src/forms.less
@@ -12,7 +12,7 @@
background-color: #fff;
background-image: none;
border: .1rem solid @control-color;
- border-radius: 3px;
+ border-radius: .3rem;
color: @body-font-color;
font-size: 1.4rem;
line-height: 1.6rem;
@@ -33,7 +33,7 @@
// Input Small
&.input-sm {
height: 2.4rem;
- border-radius: 2px;
+ border-radius: .2rem;
font-size: 1.2rem;
line-height: 1.4rem;
padding: .4rem .6rem;
@@ -42,8 +42,8 @@
// Input Large
&.input-lg {
height: 4.2rem;
- border-radius: 4px;
- font-size: 1.8rem;
+ border-radius: .4rem;
+ font-size: 1.6rem;
line-height: 2rem;
padding: 1rem 1.2rem;
}
@@ -75,6 +75,7 @@
.form-label {
display: block;
margin-bottom: .5rem;
+ line-height: 1.6rem;
}
// Form element: Select
.form-select {
@@ -85,7 +86,7 @@
line-height: 1.6rem;
padding: .7rem .8rem;
border: .1rem solid @control-color;
- border-radius: 3px;
+ border-radius: .3rem;
outline: 0;
}
@@ -96,7 +97,7 @@
// Select Small
&.select-sm {
height: 2.4rem;
- border-radius: 2px;
+ border-radius: .2rem;
font-size: 1.2rem;
line-height: 1.4rem;
padding: .4rem .6rem;
@@ -184,7 +185,7 @@
position: relative;
input {
- line-height: 24px;
+ line-height: 2.4rem;
vertical-align: top;
border: .1rem solid @control-color;
background-color: @control-color;
@@ -213,10 +214,6 @@
transition: left .15s ease;
}
- &:hover {
-
- }
-
&:checked {
background-color: @core-color;
border-color: @core-color;
@@ -227,4 +224,4 @@
}
}
}
-} \ No newline at end of file
+}