feat: Change specific styles for hr
Instead of repeating the element name to the class the declarations are now depended on the element itself.
This commit is contained in:
parent
e2902fa9cb
commit
0e6aa4bb02
1 changed files with 13 additions and 16 deletions
|
|
@ -68,6 +68,19 @@ hr {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: config.$color_border_basic;
|
border-color: config.$color_border_basic;
|
||||||
|
|
||||||
|
&.hidden {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.dotted {
|
||||||
|
border-style: dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.double {
|
||||||
|
height: 4px;
|
||||||
|
border-width: config.$width_border_basic 0;
|
||||||
|
}
|
||||||
|
|
||||||
&.vertical {
|
&.vertical {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: 0 config.$space_double;
|
margin: 0 config.$space_double;
|
||||||
|
|
@ -75,22 +88,6 @@ hr {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hr_hidden {
|
|
||||||
@extend hr;
|
|
||||||
border-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hr_dotted {
|
|
||||||
@extend hr;
|
|
||||||
border-style: dotted;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hr_double {
|
|
||||||
@extend hr;
|
|
||||||
height: 4px;
|
|
||||||
border-width: config.$width_border_basic 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Preformat
|
// Preformat
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
pre {
|
pre {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue