rename input.scss to forms.scss and add form styling from general to renamed forms.scss file
This commit is contained in:
parent
fc297fe362
commit
4a114e1965
3 changed files with 13 additions and 14 deletions
|
@ -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;
|
|
@ -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;
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue