2015-07-17 13:17:49 +08:00
|
|
|
.Navigation-back {
|
|
|
|
z-index: 3 !important; // z-index of an active .btn-group .btn is 2
|
|
|
|
border-radius: @border-radius !important;
|
|
|
|
.transition(border-radius 0.2s);
|
2015-11-02 15:38:55 +08:00
|
|
|
max-width: 150px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-11-03 13:23:38 +08:00
|
|
|
padding-left: 8px;
|
2015-12-03 12:32:52 +08:00
|
|
|
padding-right: 8px;
|
2015-11-03 13:23:38 +08:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2015-07-17 13:17:49 +08:00
|
|
|
}
|
|
|
|
.Navigation-pin {
|
2015-11-03 13:23:38 +08:00
|
|
|
display: none;
|
2015-07-17 13:17:49 +08:00
|
|
|
opacity: 0;
|
|
|
|
margin-left: -5px !important;
|
|
|
|
border-radius: 0 @border-radius @border-radius 0;
|
|
|
|
.transition(~"opacity 0.2s, margin-left 0.2s");
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
.rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @desktop-hd {
|
2015-11-03 13:23:38 +08:00
|
|
|
.Navigation-pin {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-07-17 13:17:49 +08:00
|
|
|
.hasPane.panePinned, .hasPane.paneShowing {
|
|
|
|
.Navigation-back {
|
|
|
|
border-radius: @border-radius 0 0 @border-radius !important;
|
|
|
|
}
|
|
|
|
.Navigation-pin {
|
|
|
|
opacity: 1;
|
|
|
|
margin-left: 1px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.hasPane.panePinned .Navigation-pin .icon {
|
|
|
|
.rotate(0deg);
|
|
|
|
}
|
|
|
|
}
|
2015-07-28 16:11:36 +08:00
|
|
|
|
2015-09-29 07:27:41 +08:00
|
|
|
.Navigation-drawer.new {
|
2015-07-28 16:11:36 +08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2020-04-10 18:50:36 +08:00
|
|
|
background: @header-color;
|
2015-07-28 16:11:36 +08:00
|
|
|
top: 10px;
|
2018-11-22 04:54:01 +08:00
|
|
|
right: 3px;
|
2015-07-28 16:11:36 +08:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border-radius: 7px;
|
2020-04-10 18:50:36 +08:00
|
|
|
border: 2px solid @header-bg;
|
2015-07-28 16:11:36 +08:00
|
|
|
}
|
|
|
|
}
|