stylesheets: rename *.css.scss -> *.scss.
Fixes "DEPRECATION WARNING: Extra .css in SCSS file is unnecessary."
This commit is contained in:
62
app/assets/stylesheets/common/simple_form.scss
Normal file
62
app/assets/stylesheets/common/simple_form.scss
Normal file
@@ -0,0 +1,62 @@
|
||||
form.simple_form {
|
||||
margin: 0 0 1em 0;
|
||||
|
||||
div.input.boolean {
|
||||
label {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
div.input {
|
||||
margin-bottom: 1em;
|
||||
|
||||
input[type=text], input[type=file], input[type=password], input[type=email] {
|
||||
width: 20em;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 70%;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: none;
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
label {
|
||||
font-weight: normal;
|
||||
width: auto;
|
||||
margin-right: 2em;
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
form.inline-form {
|
||||
display: table;
|
||||
|
||||
> div.input {
|
||||
display: table-row;
|
||||
line-height: 2em;
|
||||
|
||||
label {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
label, input {
|
||||
display: table-cell;
|
||||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user