2015-05-26 08:55:39 +00:00
|
|
|
//
|
|
|
|
|
// Dependencies
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
2015-05-27 10:57:02 +00:00
|
|
|
@import "global.less";
|
2015-05-26 08:55:39 +00:00
|
|
|
@import "icon.less";
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Breadcrumb
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
2016-02-20 06:12:41 +00:00
|
|
|
@color-breadcrumb-text-active: #555555;
|
2016-02-23 05:52:23 +00:00
|
|
|
@color-breadcrumb-text: #9B9B9B;
|
2016-02-20 06:12:41 +00:00
|
|
|
@color-breadcrumb-background: #D3D9DA;
|
2015-05-26 08:55:39 +00:00
|
|
|
|
|
|
|
|
.control-breadcrumb {
|
2016-02-20 06:12:41 +00:00
|
|
|
font-size: 15px;
|
|
|
|
|
padding: 12px 20px 13px 20px;
|
2016-02-23 05:52:23 +00:00
|
|
|
margin: -(@padding-standard) -(@padding-standard) @padding-standard -(@padding-standard);
|
2015-05-26 08:55:39 +00:00
|
|
|
background-color: @color-breadcrumb-background;
|
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
color: @color-breadcrumb-text-active;
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: @color-breadcrumb-text;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
&:hover { color: @color-breadcrumb-text; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-left: 6px;
|
|
|
|
|
margin-right: 2px;
|
|
|
|
|
vertical-align: baseline;
|
|
|
|
|
color: @color-breadcrumb-text-active;
|
|
|
|
|
.icon(@angle-right);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child:after {
|
|
|
|
|
content:'';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Breadcrumb to sit flush to the element below
|
|
|
|
|
body.breadcrumb-flush .control-breadcrumb,
|
|
|
|
|
.control-breadcrumb.breadcrumb-flush {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.slim-container {
|
|
|
|
|
.control-breadcrumb {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body.compact-container {
|
|
|
|
|
.control-breadcrumb {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|