improvement(breadcrumb): simplification du style
This commit is contained in:
parent
9a64b33133
commit
34bd1310f7
1 changed files with 13 additions and 36 deletions
|
@ -1,44 +1,21 @@
|
||||||
/* ------------------ BREADCRUMB ------------------- */
|
|
||||||
|
|
||||||
ul.breadcrumb, ol.breadcrumb, .breadcrumb {
|
ul.breadcrumb, ol.breadcrumb, .breadcrumb {
|
||||||
padding-top: 0em;
|
@include shape-style($button_large);
|
||||||
background-color:transparent;
|
background-color: $color-background-alt;
|
||||||
margin: 0;
|
&::before {
|
||||||
padding-bottom:$lineheight;
|
background-color: $color-background-alt;
|
||||||
|
}
|
||||||
|
padding: $button_large/2;
|
||||||
|
margin: 0 0 $lineheight;
|
||||||
@include li-flex();
|
@include li-flex();
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb li.breadcrumb-item {
|
.breadcrumb {
|
||||||
padding:0;
|
li:not(:first-child)::before {
|
||||||
margin:0;
|
content:"/";
|
||||||
&:not(:first-child) {
|
padding: 0.3rem;
|
||||||
margin: 0 0 0 1rem !important;
|
|
||||||
}
|
|
||||||
&:before {
|
|
||||||
display:none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a, & > span {
|
.active {
|
||||||
display:inline-block;
|
font-weight: 600;
|
||||||
@include button($button-large);
|
|
||||||
@include button-fullcontrol($color-background-alt, accentuate($color-background-alt), get-color("dark2"));
|
|
||||||
margin:0 $button-group-margin 0 $button-group-margin;
|
|
||||||
outline-color: accentuate($color-background-alt)!important;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&.active {
|
|
||||||
@include button-fullcontrol($color-secondary, $color-secondary, $color-font-light);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:first-child) a, &:not(:first-child) > span {
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-bottom-left-radius:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:last-child) a, &:not(:last-child) > span {
|
|
||||||
border-top-right-radius: 0;
|
|
||||||
border-bottom-right-radius:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue