Files
dashboard/css/style.css
T
2025-06-06 11:48:32 +08:00

435 lines
7.2 KiB
CSS

/*:本代码只用作演示,不是源码。源码下载链接: https://www.bootstrapmb.com/item/15265(此说明不在下载的源码里,只用在演示页面里)*/
@charset "utf-8";
/* CSS Document 更多下载:https://www.bootstrapmb.com */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
*,
body {
padding: 0px;
margin: 0px;
font-family: "微软雅黑";
}
body {
color: #fff;
font-size: 16px;
}
#world {
background: #000e34;
}
html,
body {
height: 100%;
padding: 0px;
margin: 0px;
}
.cont {
color: white;
}
.title {
font-size: 32px;
font-weight: bold;
text-align: center;
background-image: url(../img/headBg.png);
background-size: 100% 100%;
background-repeat: no-repeat;
padding: 19px 0px 36px;
background-color: rgb(52 74 135 / 20%);
position: fixed;
top: 0px;
width: 100%;
}
.left {
float: left;
background: -webkit-radial-gradient(50% 10%, farthest-corner, rgb(42 79 169 / 70%) 0%, rgb(16 30 66 / 70%) 50%, rgb(9 13 27 / 70%), rgb(0 0 0 / 70%));
height: calc(99% - 100px);
position: fixed;
top: 97px;
left: 0px;
width: 370px;
}
.right {
float: right;
background: -webkit-radial-gradient(50% 10%, farthest-corner, rgb(42 79 169 / 70%) 0%, rgb(16 30 66 / 70%) 50%, rgb(9 13 27 / 70%), rgb(0 0 0 / 70%));
height: calc(99% - 100px);
position: fixed;
top: 97px;
right: 0px;
width: 370px;
}
.toggle2 {
font-size: 0.8rem;
display: inline-block;
vertical-align: top;
margin: 0 15px 0 0;
position: fixed;
top: 23px;
left: 20px;
z-index: 1111;
}
.toggle2-input {
display: none;
}
.toggle2-button {
border-radius: 3px;
position: relative;
display: inline-block;
line-height: 20px;
text-transform: uppercase;
background: white;
color: #aaa;
border: 1px solid #ccc;
padding: 5px 10px 5px 30px;
transition: all 0.3s ease;
cursor: pointer;
}
.toggle2-button::before {
position: absolute;
top: 10px;
left: 10px;
display: inline-block;
width: 10px;
height: 10px;
background: #ccc;
content: "";
transition: all 0.3s ease;
border-radius: 50%;
}
.activebtn {
background: #1885c8;
border-color: #1885c8;
color: white;
}
.times {
position: absolute;
/* opacity: 0; */
transition: all .5s;
color: rgba(255, 255, 255, .75);
display: flex;
align-items: center;
right: 20px;
top: 30px;
z-index: 10
}
.times p {
text-align: center;
line-height: 1.2
}
.times p:nth-child(1) span {
display: block;
font-size: 14px;
opacity: 0.5;
line-height: 1;
text-transform: uppercase;
}
.times p:nth-child(2) {
width: 138px;
text-align: center;
}
.times p:nth-child(2) span {
font-size: 25px;
letter-spacing: -2px;
position: relative;
color: rgba(255, 255, 255, .75);
font-weight: lighter;
/* font-family: electronicFont; */
}
.times p i {
font-size: 42px;
font-weight: lighter;
color: rgba(255, 255, 255, 1);
font-weight: bolder;
}
.times p:nth-child(3) span {
display: block;
font-size: 13px;
opacity: .5;
text-align: right
}
.load .delay02 {
animation-delay: .2s
}
.load .delay04 {
animation-delay: .4s
}
.load .delay06 {
animation-delay: .6s
}
.load .delay08 {
animation-delay: .8s
}
.load .delay1 {
animation-delay: 1s
}
.load .delay12 {
animation-delay: 1.2s
}
.load .delay14 {
animation-delay: 1.4s
}
.load .delay16 {
animation-delay: 1.6s
}
.load .delay18 {
animation-delay: 1.8s
}
.load .delay2 {
animation-delay: 2s
}
.tit {
font-size: 18px;
font-weight: 500;
color: #fff;
font-weight: bolder;
text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
background: url(../img/titbg.png) no-repeat left bottom;
display: flex;
padding-left: 40px;
line-height: 1;
padding-bottom: 8px;
background-size: 100% 31px;
position: relative;
}
.tit2 {
position: relative;
color: #00c3ff;
padding-bottom: 5px;
}
.tit2::before {
position: absolute;
width: 100%;
height: 2px;
content: "";
left: 0;
bottom: 0;
background: linear-gradient(to right, rgba(0, 149, 255, 0.2), transparent);
}
.tit::before {
position: absolute;
background: url(../img/dot.png);
width: 47px;
height: 31px;
content: "";
left: -5px;
top: -7px;
}
.tit a {
margin-left: auto;
}
.boxnav {
padding: 10px 10px;
height: calc(100% - 26px);
background: linear-gradient(180deg, rgba(20, 165, 255, .1), rgba(144, 255, 255, 0) 50%);
margin-top: -2px;
}
.all {
padding: 10px 0 10px 10px;
height: calc(100% - 26px);
background: linear-gradient(180deg, rgba(20, 165, 255, .1), rgba(144, 255, 255, 0) 50%);
margin-top: -2px;
display: flex;
align-items: center;
justify-content: center;
}
.all span {
font-size: 40px;
border-radius: 4px;
font-weight: bold;
color: #fff;
background: linear-gradient(to bottom, #4eb8ff, #133a6f, #4eb8ff);
padding: 3px 8px;
margin-right: 10px;
}
.citylist {
overflow-y: scroll;
margin-right: -10px;
padding-right: 10px;
display: none;
}
.citylist li {
padding: 10px 15px;
}
.citylist li p {
color: rgba(255, 255, 255, .8);
font-size: 15px;
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}
.citylist li span {
font-size: 12px;
opacity: .4;
}
.citylist li .status {
color: #00ff00;
opacity: .7;
}
.citylist li:nth-child(odd) {
background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(94, 182, 255, 0.05), rgba(255, 255, 255, 0));
}
.liactive {
background: linear-gradient(to bottom, #4eb8ff, #133a6f, #4eb8ff) !important;
}
/*Plugin CSS*/
.str_wrap {
overflow: hidden;
width: 100%;
position: relative;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
white-space: nowrap;
}
.str_move {
white-space: nowrap;
position: absolute;
top: 0;
left: 0;
cursor: move;
}
.str_move_clone {
display: inline-block;
vertical-align: top;
position: absolute;
left: 100%;
top: 0;
}
.str_vertical .str_move_clone {
left: 0;
top: 100%;
}
.str_down .str_move_clone {
left: 0;
bottom: 100%;
}
.str_vertical .str_move,
.str_down .str_move {
white-space: normal;
width: 100%;
}
.str_static .str_move,
.no_drag .str_move,
.noStop .str_move {
cursor: inherit;
}
.str_wrap img {
max-width: none !important;
}
.custom-select{
min-width: 100px;
}
.select-selected {
background-color: #0f4f8b;
border: 1px solid #0f4f8b;
border-radius: 4px;
padding: 8px 16px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.select-selected:after {
content: "▼";
font-size: 12px;
color: #6c757d;
}
.select-selected.select-arrow-active:after {
content: "▲";
}
.select-items {
position: absolute;
background-color: #0f4f8b;
top: 100%;
left: 0;
right: 0;
z-index: 99;
border: 1px solid #0f4f8b;
border-top: none;
border-radius: 0 0 4px 4px;
max-height: 200px;
overflow-y: auto;
display: none;
}
.select-items div {
padding: 8px 16px;
cursor: pointer;
}
.select-items div:hover {
background-color: #007bff;
}
.same-as-selected {
background-color: #007bff;
color: white;
}
.same-as-selected:hover {
background-color: #0069d9 !important;
}