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

568 lines
12 KiB
CSS
Raw Normal View History

/*Title*/
2018-06-07 00:45:47 +08:00
.header {
padding: 0 15px;
background: #fff;
border-bottom: 1px solid #ddd;
top: 0;
left: 0;
right: 0;
z-index: 10;
2018-06-07 00:45:47 +08:00
}
.header .bg {
background-color: #337ab7;
height: 3px;
2018-06-07 00:45:47 +08:00
margin: 0 -15px;
}
.header .nav {
display: none;
margin-left: 15px;
2018-06-07 00:45:47 +08:00
}
.header .nav .dropdown {
margin-right: 6px;
2018-06-07 00:45:47 +08:00
}
.header .badge {
position: absolute;
right: -6px;
top: -14px;
opacity: 0.8;
}
2018-06-07 00:45:47 +08:00
.nav [data-toggle="dropdown"] {
border-radius: 4px;
padding: 6px 12px;
transition: color .25s linear, border-color .25s linear;
}
.nav .dropdown-menu {
width: 235px;
border: none;
margin-left: -98px;
margin-top: 12px;
2018-06-07 00:45:47 +08:00
}
.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;
border: solid 1px #337ab7;
}
.userinfo .dropdown-item {
display: flex;
width: 270px;
padding: 0;
justify-content: space-around;
background-color: #fff;
}
.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;
2018-06-07 00:45:47 +08:00
}
.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;
}
2018-06-07 00:45:47 +08:00
/*end title*/
.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;
}
.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;
}
#nprogress .bar {
background: #673AB7;
height: 3px;
}
#nprogress .spinner {
top: 22px;
right: 17px;
}
.dd {
max-width: 100%;
}
.dd-item, .dd-empty, .dd-placeholder {
font-size: 0.875rem;
}
.dd-item button {
outline: none;
}
.dd3-content {
display: block;
height: 30px;
margin: 5px 0;
padding: 5px 10px 5px 40px;
color: #333;
text-decoration: none;
font-weight: bold;
border: 1px solid #ccc;
background: #F5F5F5;
background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
background: -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
background: linear-gradient(top, #fafafa 0%, #eee 100%);
box-sizing: border-box;
-moz-box-sizing: border-box;
border-radius: 3px;
cursor: pointer;
}
.dd3-content:hover {
color: #2ea8e5;
background: #d5d5d5;
}
.dd3-content label {
display: block;
cursor: pointer;
}
.dd3-content label span.active {
color: darkred;
}
.dd3-content label span i {
width: 22px;
display: inline-block;
text-align: center;
margin-right: 4px;
}
.dd3-content label input {
margin-right: 10px;
cursor: pointer;
margin-top: 4px;
}
.dd3-content span {
position: absolute;
top: 6px;
}
.dd3-content .menuOrder {
right: 15px;
}
.dd3-content .menuType {
right: 45px;
}
@media (max-width: 480px) {
.dd3-content .menuType {
display: none;
}
li[data-category="1"] .dd3-content .menuOrder {
color: green;
}
}
li[data-category="1"] .dd3-content .menuType {
color: green;
}
.dd-dragel > .dd3-item > .dd3-content {
margin: 0;
}
.dd3-item > button {
margin-left: 30px;
}
.dd3-handle {
position: absolute;
margin: 0;
left: 0;
top: 0;
cursor: pointer;
width: 30px;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
border: 1px solid #ccc;
background: #d5d5d5;
background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
background: -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
background: linear-gradient(top, #ddd 0%, #bbb 100%);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.dd3-handle:before {
content: '≡';
display: block;
position: absolute;
left: 0;
top: 3px;
width: 100%;
text-align: center;
text-indent: 0;
color: #fff;
font-size: 20px;
font-weight: normal;
}
.dd3-handle:hover {
/*background: #404040;*/
background: #5cb85c;
border: 1px solid #404040;
}