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

501 lines
12 KiB
CSS
Raw Normal View History

2018-06-07 00:45:47 +08:00
html {
font-size: 16px;
2018-06-07 00:45:47 +08:00
}
body {
color: #797979;
background: #f1f2f7;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
}
ul li {
list-style: none;
}
a, a:hover, a:focus {
text-decoration: none;
outline: none;
}
.dropdown-menu {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.176);
padding: 0;
}
.dropdown-menu a {
transition: all .25s linear;
2018-06-07 00:45:47 +08:00
padding: 6px 20px;
2018-08-02 19:19:03 +08:00
display: block;
2018-06-07 00:45:47 +08:00
}
.dropdown-menu .divider {
margin: 1px 0;
}
.header {
padding: 0 15px;
height: 98px;
background: #fff;
border-bottom: 1px solid #ddd;
top: 0;
left: 0;
right: 0;
}
.header .bg {
background-color: #337ab7;
height: 4px;
margin: 0 -15px;
}
.header > .dropdown {
margin-top: 7px;
float: right;
}
.header > .dropdown > a {
border: 1px solid #eee;
border-radius: 4px;
padding: 6px;
background: none;
margin-right: 0;
display: block;
white-space: nowrap;
color: #777;
}
.header > .dropdown > a:hover, .header > .dropdown.show > a, .notify-row > li > a:hover {
border: 1px solid #337ab7;
color: #333;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
2018-06-07 00:45:47 +08:00
}
.header > .dropdown > a span {
display: inline-block;
min-width: 18px;
}
.header > .dropdown > a img {
height: 29px;
width: 29px;
}
.header > .dropdown .dropdown-menu {
width: 268px;
2018-08-02 19:19:03 +08:00
margin-top: 10px;
2018-06-07 00:45:47 +08:00
}
.header > .dropdown .dropdown-menu li {
text-align: center;
width: 33.3%;
float: left;
}
.header > .dropdown .dropdown-menu li:first-child {
border-color: transparent transparent #e8e8e8;
border-bottom-color: #e8e8e8;
border-top-color: #e8e8e8;
border-style: solid;
border-width: 0 7px 7px;
position: absolute;
right: 20px;
top: -8px;
width: 0;
}
.header > .dropdown .dropdown-menu li:last-child {
width: 100%;
}
.header > .dropdown .dropdown-menu li:last-child a {
color: #ca3a39;
border-radius: 0 0 0.15rem 0.15rem;
2018-06-07 00:45:47 +08:00
background: #a9d96c;
background-image: linear-gradient(to bottom, #a9d96c 0%, #799e51 100%);
}
.header > .dropdown .dropdown-menu li:last-child a:hover {
color: #d20100;
background: #6d9046;
background-image: linear-gradient(to bottom, #a9d96c 0%, #6d9046 100%);
}
.header > .dropdown .dropdown-menu li a {
color: #777;
padding: 15px 10px;
display: block;
2018-06-07 00:45:47 +08:00
}
.header > .dropdown .dropdown-menu li a:hover {
color: #333;
}
.header > .dropdown .dropdown-menu li a i {
font-size: 1.7rem;
display: block;
margin-bottom: 4px;
}
.header > .dropdown .dropdown-menu li a .badge {
position: absolute;
right: 20px;
top: 4px;
background: #5cb85c;
}
/*Title*/
.sidebar-toggle-box {
font-size: 1.25rem;
2018-06-07 00:45:47 +08:00
color: #333;
float: left;
margin-top: 15px;
}
.sidebar-toggle-box span, .notify-row {
display: none;
}
/*end title*/
.site-footer {
background: #5b6e84;
color: #fff;
padding: 10px 4px;
height: 40px;
left: 0;
bottom: 0;
right: 0;
white-space: nowrap;
}
.go-top {
background: rgba(255,255,255,.5);
width: 20px;
height: 20px;
border-radius: 50%;
-webkit-border-radius: 50%;
position: absolute;
right: 10px;
}
.go-top:hover {
background-color: white;
}
.go-top i {
color: #2A3542;
}
/*notify bar*/
.notify-row {
margin-top: 20px;
padding-left: 20px;
font-size: 1rem;
2018-06-07 00:45:47 +08:00
}
.notify-row .bg-success, .notify-row .dropdown-menu.tasks-bar li p {
background: #a9d86e;
}
.notify-row .bg-important, .notify-row .dropdown-menu.inbox li p {
background: #ff6c60;
}
.notify-row .bg-user, .notify-row .dropdown-menu.users li p {
background: #5cb85c;
}
.notify-row .bg-warning, .notify-row .dropdown-menu.notification li p {
background: #FCB322;
}
.notify-row .bg-db, .notify-row .dropdown-menu.dbs li p {
background: #d03633;
}
.notify-row > li {
float: left;
position: relative;
display: block;
}
.notify-row > li > a {
color: #666666;
border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #f0f0f8;
padding: 2px 6px;
margin-right: 15px;
}
2018-08-05 15:36:27 +08:00
.notify-row .badge {
position: absolute;
top: -14px;
left: 24px;
z-index: 1;
opacity: 0.8;
}
2018-06-07 00:45:47 +08:00
.notify-row .dropdown-menu {
width: 235px;
border: none;
margin-left: -74px;
margin-top: 12px;
2018-06-07 00:45:47 +08:00
}
.notify-row .dropdown-menu .notify-arrow {
border-style: solid;
border-width: 0 9px 9px;
height: 0;
margin-top: 0;
opacity: 0;
position: absolute;
left: 80px;
top: -18px;
transition: all 0.25s ease 0s;
width: 0;
z-index: 10;
margin-top: 10px;
opacity: 1;
}
.notify-row .dropdown-menu .notify-arrow.notify-arrow-green {
border-color: transparent transparent #a9d86e;
border-bottom-color: #a9d86e;
border-top-color: #a9d86e;
}
.notify-row .dropdown-menu .notify-arrow.notify-arrow-yellow {
border-color: transparent transparent #FCB322;
border-bottom-color: #FCB322;
border-top-color: #FCB322;
}
.notify-row .dropdown-menu .notify-arrow.notify-arrow-red {
border-color: transparent transparent #ff6c60;
border-bottom-color: #ff6c60;
border-top-color: #ff6c60;
}
.notify-row .dropdown-menu .notify-arrow.notify-arrow-db {
border-color: transparent transparent #d03633;
border-bottom-color: #d03633;
border-top-color: #d03633;
}
.notify-row .dropdown-menu .notify-arrow.notify-arrow-user {
border-color: transparent transparent #5cb85c;
border-bottom-color: #5cb85c;
border-top-color: #5cb85c;
}
.notify-row .dropdown-menu li:last-child a {
border-bottom: 0;
padding-left: 12px;
font-size: 0.875rem;
2018-06-07 00:45:47 +08:00
}
.notify-row .dropdown-menu li a {
border-bottom: 1px solid #EBEBEB;
2018-06-07 00:45:47 +08:00
list-style: none;
padding: 12px 6px;
display: block;
font-size: 0.75rem;
2018-06-07 00:45:47 +08:00
}
.notify-row .dropdown-menu li:not(:last-child) a:hover {
color: #fff;
background-color: #4b9fd0;
}
2018-06-07 00:45:47 +08:00
.notify-row .dropdown-menu p {
color: #fff;
margin: 0;
padding: 10px;
border-radius: 4px 4px 0 0;
2018-06-07 00:45:47 +08:00
}
.notify-row .dropdown-menu .content {
position: absolute;
left: 36px;
right: 44px;
2018-06-07 00:45:47 +08:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
}
.notify-row .dropdown-menu .label {
width: 20px;
padding: 5px;
2018-06-07 00:45:47 +08:00
}
.notify-row .dropdown-menu .small {
font-style: italic;
font-weight: bold;
float: right;
font-size: 0.75rem;
padding-right: 5px;
2018-06-07 00:45:47 +08:00
}
.notify-row .dropdown-menu.tasks-bar .desc {
font-size: 1.3rem;
font-weight: normal;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.notify-row .dropdown-menu.tasks-bar .percent {
display: inline-block;
float: right;
font-size: 1.3rem;
font-weight: 600;
}
.notify-row .dropdown-menu.tasks-bar .progress {
margin-top: 4px;
height: 10px;
margin-right: 34px;
margin-bottom: 0;
}
.notify-row .dropdown-menu.inbox .photo img {
border-radius: 2px 2px 2px 2px;
float: left;
height: 42px;
margin-right: 4px;
width: 42px;
border: solid 1px #EBEBEB;
border-radius: 3px;
}
.notify-row .dropdown-menu.inbox .subject {
display: block;
}
.notify-row .dropdown-menu.inbox .subject .from {
font-weight: 600;
}
.notify-row .dropdown-menu.inbox .subject .time {
font-size: 1.1rem;
font-style: italic;
font-weight: bold;
float: right;
}
.notify-row .dropdown-menu.inbox .message {
font-size: 1.1rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: absolute;
right: 6px;
left: 56px;
margin-top: 2px;
}
/*end*/
.breadcrumb {
position: absolute;
top: 60px;
left: 15px;
right: 15px;
border: solid 1px #ddd;
border-width: 1px 0 0 0;
background-color: transparent;
border-top-left-radius: 0;
border-top-right-radius: 0;
2018-08-02 16:05:07 +08:00
padding: 7.5px 10px;
2018-06-07 00:45:47 +08:00
}
2018-08-05 15:36:27 +08:00
.breadcrumb i {
padding-right: 6px;
}
2018-08-02 16:17:14 +08:00
2018-06-07 00:45:47 +08:00
.content-body {
position: fixed;
left: 0;
bottom: 40px;
right: 0;
top: 98px;
overflow: hidden;
}
.content-body iframe {
width: 100%;
height: 100%;
border: none;
}
.welcome-bg {
background-image: url('../images/bg.jpg');
background-size: 100% 100%;
}
/*bs v4.1.3*/
label.dropdown-item:first-child {
margin-top: 0.5rem;
}
2018-08-03 18:12:35 +08:00
.btn-xs {
padding: 1px 5px;
}
.cache-title {
font-weight: bold;
color: #0077de;
background-color: #b5f1b6;
padding: 10px 15px;
border-radius: 4px 4px 0 0;
}
.cache-item {
display: flex;
align-items: center;
padding: 4px 4px 10px 4px;
}
.cache-item:last-child {
margin-bottom: 5px;
}
.cache-item :not(:first-child) {
margin-left: 10px;
display: flex;
}
.cache-item :nth-child(2) {
flex: 1 1 auto;
}
.cache-item :nth-child(2) span:not(.badge) {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: inline-block;
width: 152px;
}
.cache-item :nth-child(3) {
flex: 1 1 auto;
display: none;
}
.cache-item .badge {
display: inline-block;
position: relative;
top: -12px;
margin-left: 4px;
line-height: normal;
}
.cache-item .btn {
margin-left: 5px;
font-size: 0.75rem;
}