You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
1.3 KiB
102 lines
1.3 KiB
//sidebar toggle
|
|
.sidebar {
|
|
|
|
.sidebar-toggle {
|
|
border-style: solid;
|
|
border-width: 0 0 1px;
|
|
|
|
text-align: center;
|
|
padding: 3px 0;
|
|
|
|
position: relative;
|
|
|
|
> .@{icon} {
|
|
padding: 0 5px;
|
|
line-height: 18px;
|
|
|
|
cursor: pointer;
|
|
font-size: @font-size-sidebar-minimize-icon;
|
|
|
|
border-radius: 100%;
|
|
border: 1px solid;
|
|
|
|
position: relative;
|
|
}
|
|
|
|
&:before {
|
|
content: "";
|
|
display: block;
|
|
|
|
height: 0;
|
|
border-top: 1px solid;
|
|
border-color: inherit;
|
|
|
|
position: absolute;
|
|
left: 15px;
|
|
right: 15px;
|
|
top: 13px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//sidebar shortcuts icon
|
|
.sidebar-shortcuts {
|
|
text-align: center;
|
|
|
|
min-height: @breadcrumb-height - 1;
|
|
margin-bottom: 0;
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
border: 0 solid;
|
|
}
|
|
|
|
|
|
.sidebar-shortcuts-large {
|
|
line-height: @breadcrumb-height - 4;
|
|
|
|
> .btn {
|
|
text-align:center;
|
|
width: 41px;
|
|
line-height: 24px;
|
|
|
|
padding: 0;
|
|
border-width: 4px;
|
|
|
|
> .@{icon} {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar-shortcuts-mini {
|
|
display: none;
|
|
font-size: 0;
|
|
width: 42px;
|
|
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
|
|
|
|
> .btn {
|
|
border-width: 0 !important;
|
|
font-size: 0;
|
|
line-height: 0;
|
|
padding: 8px !important;
|
|
margin: 1px;
|
|
|
|
border-radius: 0 !important;
|
|
.opacity(0.85);
|
|
}
|
|
}
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
::safari-only, .sidebar-shortcuts-mini > .btn {
|
|
//safari only
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
}
|