mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
121 lines
1.9 KiB
CSS
121 lines
1.9 KiB
CSS
body {padding-top: 50px;}
|
|
.color-white{color:#ffffff!important}
|
|
.color-blue {color:#ffff00!important}
|
|
|
|
.container-animated{
|
|
-webkit-animation-duration: .3s;
|
|
animation-duration: .3s;
|
|
}
|
|
|
|
.list-sort-input{width:50px;text-align:center;font-size:12px;line-height:14px;padding:2px;}
|
|
.list-sort-btn{width:50px;text-align:center;font-size:12px}
|
|
.error-input-right{
|
|
width: auto;
|
|
height: 24px;
|
|
padding:2px 5px;
|
|
line-height: 20px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
color: white!important;
|
|
background: rgba(255,0,0,.5)!important;
|
|
font-size: 12px;
|
|
margin-right: 5px;
|
|
top:32px;
|
|
}
|
|
|
|
|
|
/*
|
|
* Global add-ons
|
|
*/
|
|
.sub-header {
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
/*
|
|
* Top navigation
|
|
* Hide default border to remove 1px line.
|
|
*/
|
|
.navbar-fixed-top {
|
|
border: 0;
|
|
}
|
|
|
|
/*
|
|
* Sidebar
|
|
*/
|
|
|
|
/* Hide for mobile, show later */
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 51px;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: block;
|
|
padding: 20px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
/*background-color: #f5f5f5;*/
|
|
border-right: 1px solid #eee;
|
|
}
|
|
}
|
|
|
|
/* Sidebar navigation */
|
|
.nav-sidebar {
|
|
margin-right: -21px; /* 20px padding + 1px border */
|
|
margin-bottom: 20px;
|
|
margin-left: -20px;
|
|
}
|
|
.nav-sidebar > li > a {
|
|
padding-right: 20px;
|
|
padding-left: 20px;
|
|
}
|
|
.nav-sidebar > .active > a,
|
|
.nav-sidebar > .active > a:hover,
|
|
.nav-sidebar > .active > a:focus {
|
|
color: #fff;
|
|
background-color: #428bca;
|
|
}
|
|
|
|
|
|
/*
|
|
* Main content
|
|
*/
|
|
|
|
.main {
|
|
padding: 20px;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.main {
|
|
padding-right: 40px;
|
|
padding-left: 40px;
|
|
}
|
|
}
|
|
.main .page-header {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
/*
|
|
* Placeholder dashboard ideas
|
|
*/
|
|
|
|
.placeholders {
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
.placeholders h4 {
|
|
margin-bottom: 0;
|
|
}
|
|
.placeholder {
|
|
margin-bottom: 20px;
|
|
}
|
|
.placeholder img {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
}
|