BootstrapAdmin/Bootstrap.Admin/wwwroot/css/site-responsive.css

101 lines
1.6 KiB
CSS
Raw Normal View History

@media (min-width: 375px) {
.toolbar .dropdown-menu a {
padding: 0 20px;
}
.toolbar .dropdown-menu a:first-child {
border-left: none;
}
}
2018-06-07 00:45:47 +08:00
@media (min-width: 568px) {
.toolbar {
display: none;
}
.bs-bars {
display: inline-block;
}
.sidebar-toggle-box span {
display: inline;
2018-06-07 00:45:47 +08:00
}
.cache-item > :nth-child(2) {
flex: 0 0 auto;
}
.cache-item > :nth-child(3) {
flex: 1 1 auto;
display: block;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
2018-06-07 00:45:47 +08:00
}
@media (min-width: 576px) {
.btn-fill {
width: auto;
}
}
@media (min-width: 667px) {
.header .nav {
display: flex;
flex: 1 1 auto;
}
.sidebar-toggle-box {
flex: 0 1 auto;
}
}
@media (min-width: 768px) {
html {
-ms-overflow-style: none;
}
.sidebar-open aside {
transform: translate(0);
}
2018-06-07 00:45:47 +08:00
.header, .site-footer {
position: fixed;
}
.main-content {
position: fixed;
overflow: auto;
-ms-overflow-style: auto;
}
}
2018-06-07 00:45:47 +08:00
@media (min-width: 769px) {
.sidebar-open aside {
transform: translate(-100%);
2018-06-07 00:45:47 +08:00
}
2018-08-04 15:35:52 +08:00
.sidebar-open .site-footer {
display: flex;
}
aside {
transition: none;
transform: translate(0);
width: 210px;
overflow: hidden;
bottom: 40px;
}
.sidebar-open .main-content {
margin-left: 0;
display: block;
}
.main-content {
margin-left: 210px;
transition: none;
}
2018-06-07 00:45:47 +08:00
}