rename input.scss to forms.scss and add form styling from general to renamed forms.scss file

This commit is contained in:
Scott O'Hara 2014-08-03 16:53:47 -04:00
parent fc297fe362
commit 4a114e1965
3 changed files with 13 additions and 14 deletions

View file

@ -1,8 +1,17 @@
@if $import-inputs == true {
@if $import-forms == true {
//-------------------------------------------------------------------
// Inputs
// Form Elements
//-------------------------------------------------------------------
form > * {
display: block;
margin-bottom: 10px;
}
label > * {
display: inline;
}
input, textarea {
@extend %shared-font-size;
border: 1px solid $c-grey;

View file

@ -14,16 +14,6 @@ textarea, input {
outline: 0;
}
label > * {
display: inline;
}
form > * {
display: block;
margin-bottom: 10px;
}
// apply a smooth transition effect to an element's state change
.smooth {
transition: all .2s;

View file

@ -17,7 +17,7 @@ $import-headings: true!default;
$import-buttons: true!default;
$import-inputs: true!default;
$import-forms: true!default;
$import-navbar: true!default;
@ -40,7 +40,7 @@ $import-ie-hacks: false!default;
'grid',
'headings',
'icons',
'inputs',
'forms',
'navbar',
'table',
'iehacks';