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

629 lines
13 KiB
CSS

html {
font-size: 16px;
-ms-overflow-style: auto;
}
body {
color: #797979;
background: #f1f2f7;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
}
.sidebar-open aside {
transform: translate(0);
}
.sidebar-open .site-footer {
display: none;
}
aside {
transition: transform .4s ease-in-out;
transform: translate(-100%);
position: absolute;
top: 96px;
bottom: 0;
left: 0;
right: 0;
z-index: 4;
background: #2a3542;
}
.sidebar {
padding: 20px 0;
background: inherit;
}
.sidebar .nav-item {
margin: 5px 10px;
}
.sidebar .nav-item .nav-link:hover, .sidebar .nav-item .nav-link:focus {
background: #35404d;
color: #fff;
}
.sidebar .nav-item.active > .nav-link {
color: #FF6C60;
}
.sidebar .nav-link {
color: #aeb2b7;
padding: 15px 10px;
transition: all .3s linear;
display: flex;
align-items: center;
}
.sidebar .nav-link .dcjq-icon {
height: 17px;
width: 17px;
background: url(../images/nav-expand.png) no-repeat;
margin-left: auto;
}
.sidebar .nav-link i {
width: 22px;
}
.sidebar .nav-link.active, .sidebar .nav-link.active + .sub,
.sidebar .sub .sub .nav-item .nav-link:hover, .sidebar .sub .sub .nav-item .nav-link:focus {
background: #35404D;
}
.sidebar .nav-link.active .dcjq-icon {
background-position: bottom;
}
.sidebar .sub .nav-item.dcjq-parent-li {
margin-left: 0;
margin-right: 0;
}
.sidebar .sub .nav-item.dcjq-parent-li .nav-link {
padding-left: 20px;
}
.sidebar .sub .dcjq-parent-li .nav-link.active, .sidebar .sub .dcjq-parent-li .nav-link.active + .sub,
.sidebar .sub .nav-item .nav-link:hover, .sidebar .sub .nav-item .nav-link:focus {
background: #3a4756;
}
a, a:hover, a:focus {
text-decoration: none;
outline: none;
}
/*Title*/
.sidebar-toggle-box {
display: block;
font-size: 1.25rem;
color: #777;
flex: 1 1 auto;
padding: 12px 0;
transition: color .3s linear;
}
.sidebar-toggle-box:hover {
color: #333;
}
.sidebar-toggle-box span {
display: none;
}
.header {
padding: 0 15px;
background: #fff;
border-bottom: 1px solid #ddd;
top: 0;
left: 0;
right: 0;
z-index: 10;
}
.header .bg {
background-color: #337ab7;
height: 3px;
margin: 0 -15px;
}
.header .nav {
display: none;
margin-left: 15px;
}
.header .nav .dropdown {
margin-right: 6px;
}
.header .badge {
position: absolute;
right: -6px;
top: -14px;
opacity: 0.8;
}
.dropdown-item.active, .dropdown-item:active {
color: rgba(0, 0, 0, 0.9);
background-color: rgba(0, 0, 0, 0.05);
}
.dropdown-item i + span {
margin-left: 6px;
}
.nav [data-toggle="dropdown"] {
border-radius: 4px;
padding: 6px 12px;
transition: all .25s linear;
}
.nav .dropdown-menu {
width: 235px;
border: none;
margin-left: -98px;
margin-top: 12px;
}
.nav .dropdown-arrow {
border-style: solid;
border-width: 0 9px 9px;
position: absolute;
left: 108px;
top: -9px;
}
.nav .dropdown-header {
color: #fff;
padding: 10px;
border-radius: 4px 4px 0 0;
}
.nav .dropdown-footer {
padding: 6px 0;
background-color: #f1f2f7;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.nav .dropdown-item {
display: flex;
border-bottom: 1px solid #EBEBEB;
padding: 10px 12px;
font-size: 0.75rem;
}
.nav .dropdown-item:nth-of-type(odd), .cache-item:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.05);
}
.nav .dropdown-item.active, .nav .dropdown-item:active {
color: #212529;
}
.nav .dropdown-item > :nth-child(2) {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
flex: 1 1 auto;
padding: 0 6px;
}
.nav .dropdown-item .small {
font-weight: bold;
}
.userinfo img {
height: 29px;
width: 29px;
}
.userinfo .dropdown-toggle {
display: block;
padding: 6px;
border-radius: 4px;
transition: all .25s linear;
}
.userinfo .dropdown-toggle, .nav [data-toggle="dropdown"] {
border: 1px solid #eee;
color: #777;
}
.userinfo .dropdown-toggle:after {
vertical-align: middle;
}
.userinfo .dropdown-toggle:hover, .userinfo.show .dropdown-toggle, .nav [data-toggle="dropdown"]:hover {
color: #333;
}
.userinfo .dropdown-item {
display: flex;
width: 270px;
padding: 0;
justify-content: space-around;
}
.userinfo .dropdown-item a {
text-align: center;
color: #777;
padding: 15px 10px;
flex: 1 1 33.333%;
}
.userinfo .dropdown-item a i {
font-size: 1.025rem;
display: block;
margin-bottom: 4px;
}
.userinfo .dropdown-item:first-child {
border-radius: 4px 4px 0 0;
}
.userinfo .dropdown-item:first-child a:hover {
color: #333;
}
.userinfo .dropdown-item:last-child {
border-radius: 0 0 4px 4px;
}
.userinfo .dropdown-item:last-child a {
color: #ca3a39;
border-radius: 0 0 0.15rem 0.15rem;
background: #a9d96c;
background-image: linear-gradient(to bottom, #a9d96c 0%, #799e51 100%);
}
.userinfo .dropdown-item:last-child a:hover {
color: #d40c0b;
}
.userinfo .username {
max-width: 90px;
vertical-align: middle;
}
.userinfo .badge {
left: 234px;
right: auto;
top: 6px;
}
/*end title*/
.site-footer {
background: #5b6e84;
color: #fff;
padding: 10px 4px;
height: 40px;
left: 0;
bottom: 0;
right: 0;
z-index: 100;
display: flex;
}
.site-footer > span {
flex: 1 1 auto;
text-align: center;
margin-left: 4px;
display: inline-block;
}
.go-top {
background: rgba(255,255,255,.5);
width: 20px;
height: 20px;
border-radius: 50%;
-webkit-border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 4px;
}
.go-top:hover {
background-color: white;
}
.go-top i {
color: #2A3542;
}
.breadcrumb {
border-top: solid 1px #ddd;
background-color: transparent;
border-radius: 0;
padding: 8px 10px;
margin-bottom: 0;
}
.breadcrumb i {
padding-right: 6px;
}
.bs-bars {
display: none;
}
.btn-fill {
width: 100%;
}
.toolbar {
position: relative;
margin-top: 10px;
margin-bottom: 10px;
line-height: 34px;
}
.toolbar .dropdown-menu a {
padding: 0 14px;
display: table-cell;
color: #504d4d;
}
.toolbar .dropdown-menu a:not(:first-child) {
border-left: solid 1px #aeb2b7;
}
.toolbar .dropdown-menu a:hover {
color: #235e90;
}
.welcome-bg {
background-image: url('../images/bg.jpg');
background-size: 100% 100%;
}
.card-cache {
margin-bottom: 15px;
}
.card-cache h6 {
font-weight: bold;
color: #0077de;
background-color: #b5f1b6;
padding: 12px 15px;
border-radius: 4px 4px 0 0;
margin-bottom: 0;
}
.cache-item {
display: flex;
align-items: center;
padding: 10px 4px;
border: 1px solid #eee;
border-width: 0 1px 1px 1px;
}
.cache-item > :nth-child(2) {
flex: 1 1 auto;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
margin-left: 10px;
}
.cache-item > :nth-child(4) {
display: none;
}
.cache-item > :nth-child(5) {
display: flex;
align-items: center;
}
.cache-item > :nth-child(5) span {
margin-left: 6px;
width: 28px;
text-align: right;
}
.cache-item .badge {
position: relative;
top: -8px;
height: 17px;
}
.cache-item .btn, td .btn:not(.btn-lg) {
margin-left: 5px;
font-size: 0.75rem;
padding: 1px 5px;
}
.card-img {
max-width: 258px;
}
.modal-body .dd {
margin-bottom: 15px;
}
.logTs, .logSql, .logDbExcep {
color: red;
font-weight: 600;
}
.logExcep {
color: #337ab7;
font-weight: 600;
}
.logMsg {
color: #ce2520;
font-weight: 600;
}
.sidebar-open .main-content {
display: none;
}
.main-content {
padding: 15px 15px 0 15px;
margin-left: 0;
left: 0;
bottom: 40px;
right: 0;
top: 96px;
}
.main-content > .panel:last-child .panel-body {
padding-bottom: 0;
}
.main-content > .panel > .panel-body > .modal-footer {
text-align: left;
}
.affix {
position: fixed;
bottom: 95px;
right: 50px;
}
.affix a {
font-size: 2rem;
margin-top: 16px;
}
/*Messages*/
.mail-box {
display: flex;
}
.mail-box .sm-side {
flex: 0.4;
background: #e5e8ef;
border-radius: 4px 0 0 4px;
}
.mail-box .sm-side .user-head {
background: #00a8b3;
border-radius: 4px 0 0 0;
padding: 10px;
color: #fff;
min-height: 80px;
}
.mail-box .sm-side .user-head .inbox-avatar {
width: 65px;
float: left;
}
.mail-box .sm-side .user-head .inbox-avatar img {
height: 65px;
border-radius: 4px;
border: 0;
vertical-align: middle;
}
.mail-box .sm-side .user-head .user-name {
display: inline-block;
margin: 0 0 0 10px;
}
.mail-box .sm-side .user-head .user-name h5 {
margin-top: 15px;
margin-bottom: 0;
font-weight: 300;
}
.mail-box .sm-side .user-head .user-name h5 a {
color: #fff;
}
.mail-box .sm-side .inbox-body, .mail-box .lg-side .inbox-body {
padding: 20px;
}
.mail-box .sm-side .inbox-body .btn-compose {
background: #ff6c60;
padding: 12px 0;
text-align: center;
width: 100%;
color: #fff;
}
.mail-box .sm-side .inbox-body .btn-compose:hover {
background: #f5675c;
color: #fff;
}
.mail-box .sm-side ul.inbox-nav {
display: inline-block;
width: 100%;
margin: 0;
padding: 0;
}
.mail-box .sm-side ul.inbox-nav li {
display: inline-block;
line-height: 45px;
width: 100%;
}
.mail-box .sm-side ul.inbox-nav li a {
color: #6a6a6a;
line-height: 45px;
width: 100%;
display: inline-block;
padding: 0 20px;
}
.mail-box .sm-side ul.inbox-nav li a:hover, .mail-box .sm-side ul.inbox-nav li.active a, .mail-box .sm-side ul.inbox-nav li a:focus {
color: #6a6a6a;
background: #d5d7de;
}
.mail-box .sm-side ul.inbox-nav li a .label {
margin-top: 13px;
padding: 0.5em 0.8em;
}
.mail-box .sm-side ul.inbox-nav li a i {
width: 18px;
}
.mail-box .lg-side {
flex: 0.6;
background: #fff;
border-radius: 0 4px 4px 0;
}
.mail-box .lg-side .inbox-head {
padding: 12px;
background: #41cac0;
color: #fff;
border-radius: 0 4px 0 0;
min-height: 80px;
}
.mail-box .lg-side .table-inbox {
border: 1px solid #d3d3d3;
margin-bottom: 0;
}
.mail-box .lg-side .table-inbox .unread td {
font-weight: 600;
background: #f7f7f7;
}
.mail-box .lg-side .table-inbox tr td {
padding: 12px;
}
.mail-box .lg-side .table-inbox tr td .fa-star.inbox-started, .mail-box .lg-side .table-inbox tr td .fa-star:hover {
color: #f78a09;
}
.mail-box .lg-side .table-inbox tr td:hover {
cursor: pointer;
}