mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +01:00
39 lines
862 B
SCSS
39 lines
862 B
SCSS
@mixin separator-type($type) {
|
|
.separator--#{$type} {
|
|
border-color: var(--#{$type}-border-color);
|
|
|
|
&.separator--vertical {
|
|
background: var(--#{$type}-border-color);
|
|
}
|
|
}
|
|
|
|
.button__group--standalone .separator--#{$type},
|
|
.button__group .separator--#{$type} {
|
|
&.separator--vertical {
|
|
background: var(--#{$type}-color) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.separator {
|
|
margin: var(--padding-normal) 0;
|
|
}
|
|
|
|
.separator--thin {
|
|
margin: var(--padding-small) 0;
|
|
}
|
|
|
|
.separator--vertical {
|
|
width: 1px;
|
|
height: inherit;
|
|
margin: 0 var(--padding-small);
|
|
background: var(--primary-border-color);
|
|
}
|
|
|
|
@include separator-type(primary);
|
|
@include separator-type(secondary);
|
|
@include separator-type(success);
|
|
@include separator-type(warning);
|
|
@include separator-type(danger);
|
|
@include separator-type(information);
|
|
@include separator-type(special);
|