2015-03-30 10:16:55 +08:00
|
|
|
@admin-pane-width: 300px;
|
|
|
|
|
2015-07-29 19:28:22 +08:00
|
|
|
.App {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
.AdminLinkButton-description {
|
|
|
|
display: none;
|
2015-03-30 10:16:55 +08:00
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
.AdminContent {
|
2015-03-30 10:16:55 +08:00
|
|
|
padding: 20px 0;
|
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
.App-content .sideNavOffset {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-03-30 10:16:55 +08:00
|
|
|
@media @desktop, @desktop-hd {
|
2015-07-29 19:28:22 +08:00
|
|
|
.App-nav {
|
2015-12-03 12:32:07 +08:00
|
|
|
position: absolute;
|
2015-03-30 10:16:55 +08:00
|
|
|
top: @header-height;
|
2015-12-03 12:32:07 +08:00
|
|
|
height: ~"calc(100vh - @{header-height})";
|
2015-03-30 10:16:55 +08:00
|
|
|
width: @admin-pane-width;
|
2015-08-17 13:26:21 +08:00
|
|
|
.box-shadow(0 6px 6px @shadow-color);
|
2015-07-17 13:17:49 +08:00
|
|
|
background: @body-bg;
|
|
|
|
border-top: 1px solid @control-bg;
|
2015-07-29 19:28:22 +08:00
|
|
|
z-index: @zindex-pane;
|
|
|
|
overflow: auto;
|
2015-12-03 12:32:07 +08:00
|
|
|
|
|
|
|
.affix & {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
height: auto;
|
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
}
|
|
|
|
.App-content .sideNavOffset {
|
|
|
|
margin-left: @admin-pane-width;
|
|
|
|
}
|
|
|
|
.App-nav .AdminNav {
|
|
|
|
.Dropdown-menu > li {
|
|
|
|
> a {
|
2015-03-30 10:16:55 +08:00
|
|
|
padding: 15px 15px 15px 45px;
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
> a, > a:hover, &.active > a {
|
2015-07-17 13:17:49 +08:00
|
|
|
color: @muted-color;
|
2015-03-30 10:16:55 +08:00
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
> a:hover {
|
|
|
|
background: @control-bg;
|
|
|
|
}
|
2015-03-30 10:16:55 +08:00
|
|
|
&.active > a {
|
2015-07-17 13:17:49 +08:00
|
|
|
background: @control-bg;
|
2015-03-30 10:16:55 +08:00
|
|
|
font-weight: normal;
|
|
|
|
|
2015-07-29 19:28:22 +08:00
|
|
|
.Button-label, .Button-icon {
|
2015-07-17 13:17:49 +08:00
|
|
|
color: @text-color;
|
2015-03-30 10:16:55 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
.Button-icon {
|
2015-03-30 10:16:55 +08:00
|
|
|
float: left;
|
|
|
|
margin-left: -30px;
|
|
|
|
font-size: 14px;
|
2015-07-29 19:28:22 +08:00
|
|
|
margin-top: 4px !important;
|
2015-03-30 10:16:55 +08:00
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
.Button-label {
|
2015-03-30 10:16:55 +08:00
|
|
|
display: block;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
.AdminLinkButton-description {
|
2015-03-30 10:16:55 +08:00
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
2015-07-29 19:28:22 +08:00
|
|
|
margin: 0;
|
2015-03-30 10:16:55 +08:00
|
|
|
|
2015-07-31 18:46:47 +08:00
|
|
|
.App-content & {
|
|
|
|
padding: 0 30px;
|
|
|
|
}
|
2015-07-29 19:28:22 +08:00
|
|
|
.App-content > & {
|
2015-03-30 10:16:55 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|