Changed interactive elements
also tried to define global margin variable
This commit is contained in:
parent
f97f76ee3d
commit
615e5df2d9
5 changed files with 54 additions and 33 deletions
|
|
@ -6,7 +6,7 @@ form {
|
|||
}
|
||||
|
||||
fieldset {
|
||||
margin: $basic_space 0;
|
||||
margin: $high_margin;
|
||||
padding: $basic_space;
|
||||
border: $basic_border;
|
||||
}
|
||||
|
|
@ -26,28 +26,13 @@ label {
|
|||
& + input {
|
||||
margin-left: $basic_space;
|
||||
}
|
||||
|
||||
input + & {
|
||||
margin-left: $basic_space;
|
||||
}
|
||||
}
|
||||
|
||||
.input_default label {
|
||||
display: table;
|
||||
margin: $half_space 0;
|
||||
|
||||
input {
|
||||
display: table-cell;
|
||||
margin-left: $basic_space;
|
||||
padding: $half_space ($half_space + 1);
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
background-color: $basic_io_back_color;
|
||||
color: $basic_io_font_color;
|
||||
|
||||
&:hover {
|
||||
background-color: $darkest_color;
|
||||
color: $brightest_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -55,6 +40,35 @@ input {
|
|||
|
||||
}
|
||||
|
||||
.label__table {
|
||||
display: table;
|
||||
|
||||
input {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
|
||||
.input_default {
|
||||
|
||||
label {
|
||||
@extend .label__table;
|
||||
margin: $half_space 0;
|
||||
|
||||
input {
|
||||
padding: $half_space ($half_space + 1);
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
background-color: $basic_io_back_color;
|
||||
color: $basic_io_font_color;
|
||||
|
||||
&:hover {
|
||||
background-color: $darkest_color;
|
||||
color: $brightest_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// More
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue