Files
dashboard/css/style.css
T
2025-06-16 14:09:37 +08:00

1247 lines
23 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*:本代码只用作演示,不是源码。源码下载链接: 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: 1rem;
}
#world {
background: #000e34;
}
html,
body {
height: 100%;
padding: 0px;
margin: 0px;
}
.cont {
color: white;
}
.title {
font-size: 2rem;
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: 11;
}
.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: 0.875rem;
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: 1.5625rem;
letter-spacing: -2px;
position: relative;
color: rgba(255, 255, 255, .75);
font-weight: lighter;
/* font-family: electronicFont; */
}
.times p i {
font-size: 2.625rem;
font-weight: lighter;
color: rgba(255, 255, 255, 1);
font-weight: bolder;
}
.times p:nth-child(3) span {
display: block;
font-size: 0.8125rem;
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: 1.125rem;
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: 2.5rem;
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 {
font-size: 0.9375rem;
color: rgba(255, 255, 255, .8);
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}
.citylist li span {
font-size: 0.75rem;
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: 0.75rem;;
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;
}
@media (-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi) { /* 1.5×96=144 */
#root-container {
transform: scale(0.9);
transform-origin: 0 0; /* 左上角为缩放基点 */
width: calc(100% / 0.9); /* 补偿缩放后的宽度 */
height: calc(100vh / 0.9); /* 补偿缩放后的高度 */
overflow: hidden; /* 隐藏溢出内容 */
/* position: fixed; */
/* top: 0px; */
}
}
.topimg{
width: 100%;
height: 250px;
box-sizing: border-box;
border: 2px solid #142c64;
border-image: url(../img/border.png) 51 38 21 132;
border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
position: relative;
margin-bottom: 0.833rem;
}
.inner{
position: absolute;
top: -2.125rem;
right: -1.583rem;
bottom: -0.875rem;
left: -5.5rem;
padding: 1rem 1.5rem;
display: flex;
align-items: center;
}
.topimg img{
height: 100%;
margin: auto;
width: 100%;
object-fit: cover;
object-position: center;
}
.carmsg p{
font-size: 0.875rem;
line-height: 35px;
background: linear-gradient(to bottom, #fff, rgb(6 244 255));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.cartitle{
padding-top: 20px;
height:85px;
text-align: center;
font-size: 1.0625rem;
font-weight: bold;
background: linear-gradient(to bottom, #fff, rgb(6 244 255));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.toggle-btn {
font-size: 0.875rem;
display: inline-block;
margin-top: 10px;
padding: 8px 15px;
color: white;
cursor: pointer;
transition: all 0.3s;
display: flex;
justify-content: center;
}
.toggle-btn:hover {
color: #3367d6;
}
.toggle-btn .more-text {
display: inline;
}
.toggle-btn .less-text {
display: none;
}
.toggle-btn.expanded .more-text {
display: none;
}
.toggle-btn.expanded .less-text {
display: inline;
}
.carmsg {
overflow: hidden;
transition: all 0.4s ease;
}
.carmsg.collapsed {
max-height: 100px; /* 收起时显示的高度 */
-webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.carmsg.expanded {
max-height: 2000px; /* 足够大的值容纳所有内容 */
}
/* Status 按钮样式 */
.statusbtn {
display: flex;
justify-content: space-between;
gap: 5px;
padding: 10px 5px;
}
.statusbtn > div {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.75rem;
padding: 5px 5px;
background: linear-gradient(to bottom, #1487ea, #0a43bc);
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.statusbtn > div:hover {
background: linear-gradient(to bottom, #1a3a7d, #142c64);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.statusbtn > div.active {
background: linear-gradient(to bottom, #06f4ff, #00c6ff);
color: #142c64;
}
/* 弹出层样式 */
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
backdrop-filter: blur(5px);
}
.modal-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 74%;
min-width: 900px;
background-image: url(../img/alert2.png);
background-size: 100% 100%;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
z-index: 1001;
padding: 20px 4%;
color: #fff;
height: 82%;
font-size: clamp(12px, 1vw, 30px);
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 3px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title {
flex: 1;
text-align: center;
font-size: 1.25rem;
font-weight: bold;
/* background: linear-gradient(to bottom, #fff, rgb(6 244 255)); */
/* -webkit-background-clip: text; */
/* background-clip: text; */
/* color: transparent; */
}
.modal-tabs {
display: flex;
gap: 10px;
margin-bottom: 20px;
margin-top: 65px;
font-size: clamp(0.75rem, 1vw, 1.875rem);
}
.modal-tab {
font-size: 0.875rem;
padding: 8px 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
cursor: pointer;
transition: all 0.3s;
}
.modal-tab.active {
background: linear-gradient(to bottom, #06f4ff, #00c6ff);
color: #142c64;
}
.modal-content {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
padding: 15px;
height: 83%;
height: calc(100% - 130px);
padding-bottom: 45px;
}
.table-container {
position: relative;
height: 100%;
display: flex;
flex-direction: column;
}
.table-body-container {
/* flex: 1; */
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #06f4ff #142c64;
}
.table-body-container::-webkit-scrollbar {
width: 6px;
}
.table-body-container::-webkit-scrollbar-track {
background: #142c64;
border-radius: 3px;
}
.table-body-container::-webkit-scrollbar-thumb {
background: #06f4ff;
border-radius: 3px;
}
.table-body-container::-webkit-scrollbar-thumb:hover {
background: #00c6ff;
}
.modal-table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
.modal-table thead {
position: sticky;
top: 0;
z-index: 1;
background: rgba(20, 44, 100, 0.95);
}
.modal-table th,
.modal-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-table th {
background: rgba(255, 255, 255, 0.1);
font-weight: bold;
}
.modal-table tr:hover {
background: rgba(255, 255, 255, 0.05);
}
.vehicleTableBody {
display: table-row-group;
}
.tab-content {
display: none;
height: 100%;
width: 100%;
}
.tab-content.active {
display: block;
}
.ship-info {
display: grid;
/* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
gap: 20px;
padding: 10px;
}
.ship-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 15px;
transition: all 0.3s ease;
}
.ship-card:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.ship-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ship-header h3 {
margin: 0;
font-size: 1.125rem;
background: linear-gradient(to bottom, #fff, rgb(6 244 255));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.ship-status {
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
background: linear-gradient(to bottom, #06f4ff, #00c6ff);
color: #142c64;
}
.ship-details {
font-size: clamp(0.75rem, 1vw, 1.875rem);
display: grid;
gap: 10px;
}
.detail-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 0;
}
.detail-item .label {
font-size: 0.875rem;
color: rgba(255, 255, 255, 0.7);
}
.detail-item .value {
font-size: 0.875rem;
color: #fff;
font-weight: 500;
}
/* 路径轨迹样式 */
.route-timeline {
padding: 20px;
position: relative;
/* max-height: 500px; */
height: 100%;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #06f4ff #142c64;
}
.route-timeline::-webkit-scrollbar {
width: 6px;
}
.route-timeline::-webkit-scrollbar-track {
background: #142c64;
border-radius: 3px;
}
.route-timeline::-webkit-scrollbar-thumb {
background: #06f4ff;
border-radius: 3px;
}
.route-timeline::before {
content: '';
position: absolute;
left: 120px;
top: 0;
bottom: 0;
width: 2px;
background: linear-gradient(to bottom,
rgba(6, 244, 255, 0.8),
rgba(6, 244, 255, 0.4),
rgba(6, 244, 255, 0.2),
transparent
);
animation: timelineGlow 2s ease-in-out infinite;
}
@keyframes timelineGlow {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.route-item {
display: flex;
margin-bottom: 30px;
position: relative;
opacity: 0.7;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
transform-origin: left center;
}
.route-item:hover {
transform: translateX(5px) scale(1.02);
opacity: 1;
}
.route-item.active {
opacity: 1;
}
.route-time {
font-size: 0.875rem;
width: 120px;
padding-right: 20px;
text-align: right;
color: #06f4ff;
font-weight: 500;
text-shadow: 0 0 10px rgba(6, 244, 255, 0.3);
transition: all 0.3s ease;
}
.route-item:hover .route-time {
color: #fff;
text-shadow: 0 0 15px rgba(6, 244, 255, 0.5);
}
.route-content {
flex: 1;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 20px;
position: relative;
margin-left: 20px;
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.route-content::before {
content: '';
position: absolute;
left: -8px;
top: 20px;
width: 16px;
height: 16px;
background: #06f4ff;
border-radius: 50%;
box-shadow: 0 0 15px rgba(6, 244, 255, 0.5);
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(6, 244, 255, 0.4);
}
70% {
box-shadow: 0 0 0 10px rgba(6, 244, 255, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(6, 244, 255, 0);
}
}
.route-title {
font-size: 1.125rem;
font-weight: bold;
margin-bottom: 10px;
background: linear-gradient(to bottom, #fff, rgb(6 244 255));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
transition: all 0.3s ease;
}
.route-desc {
font-size: 0.875rem;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 12px;
line-height: 1.5;
}
.route-status {
font-size: 0.75rem;
display: inline-block;
padding: 6px 12px;
background: linear-gradient(45deg, #06f4ff, #00c6ff);
color: #142c64;
border-radius: 20px;
font-weight: 500;
box-shadow: 0 2px 8px rgba(6, 244, 255, 0.3);
transition: all 0.3s ease;
}
.route-item:hover .route-status {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(6, 244, 255, 0.4);
}
.route-item.active .route-content {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(6, 244, 255, 0.3);
}
.route-item.active .route-title {
font-size: 20px;
}
.route-item.active .route-status {
background: linear-gradient(45deg, #00c6ff, #06f4ff);
transform: scale(1.05);
}
/* 表格分页样式 */
.pagination {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
gap: 5px;
}
.page-btn {
padding: 6px 12px;
background: rgba(255, 255, 255, 0.1);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 2px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
}
.page-btn:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
}
.page-btn:disabled {
background: rgba(255, 255, 255, 0.05);
color: rgba(255, 255, 255, 0.3);
cursor: not-allowed;
border-color: rgba(255, 255, 255, 0.1);
}
.page-numbers {
display: flex;
gap: 5px;
align-items: center;
}
.page-number {
min-width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 2px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.875rem;
color: #fff;
padding: 0 8px;
}
.page-number:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
}
.page-number.active {
background: #06f4ff;
color: #142c64;
border-color: #06f4ff;
}
.page-ellipsis {
color: rgba(255, 255, 255, 0.5);
padding: 0 5px;
user-select: none;
}
.modal-containercar {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 65%;
max-width: 850px;
background-image: url(../img/alertm.png);
background-size: 100% 100%;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
z-index: 1001;
padding: 20px 50px;
color: #fff;
height: 58%;
font-size: clamp(0.75rem, 1vw, 1.875rem);
min-height: 510px;
max-height: 510px;
}
.modal-containercar .modal-content {
margin-top: 50px;
}
.modal-close{
position: relative;
display: flex;
align-items: center;
justify-content: center;
top: 0px;
right: 0px;
}
.modal-close div{
background-color: #00a6c9;
font-size: clamp(0.75rem, 1vw, 1.875rem);
padding: 8px 30px;
border-radius: 4px;
}
#modalOverlay .modal-close{
top: auto;
right: auto;
position: absolute;
bottom: 30px;
display: inline-block;
left: 45%;
}
.modal-content{
display: flex;
align-items: center;
justify-content: space-between;
/* margin-top: 50px; */
}
.carimg{
background-image: url(../img/alertm1.png);
background-size: 100% 100%;
background-repeat: no-repeat;
width: 40%;
height: 80%;
display: flex;
}
.carimg img{
height: 80%;
margin: auto;
width: 80%;
object-fit: cover;
object-position: center;
}
.carinfos p{
line-height: 30px;
/* font-size: 14px; */
}
.carinfos .cartitlet{
font-size: 1rem;
font-weight: bold;
background: linear-gradient(to bottom, #fff, rgb(6 244 255));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.errors,.errors1{
display: none;
text-align: center;
margin-top: 20px;
}
/* 表格对齐样式 */
.table-container {
width: 100%;
overflow-x: auto;
}
.modal-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.modal-table th,
.modal-table td {
padding:8px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.infotimes{
display: flex;
margin-top: 25px;
}
.infotimes div{
width: 49%;
}
.infotimes div span:first-child{
margin-right: 8px;
}
/* 设置每列的宽度 */
.modal-table th:nth-child(1),
.modal-table td:nth-child(1) {
width: 25%;
}
.modal-table th:nth-child(2),
.modal-table td:nth-child(2) {
width: 25%;
}
.modal-table th:nth-child(3),
.modal-table td:nth-child(3) {
width: 25%;
}
.modal-table th:nth-child(4),
.modal-table td:nth-child(4) {
width: 25%;
}
/* 确保表头和表体使用相同的宽度 */
.table-body-container {
width: 100%;
overflow-x: auto;
height: 70%;
}
.table-body-container .modal-table {
width: 100%;
}
/* Status 按钮样式 */
.statusbtn {
display: flex;
justify-content: space-between;
gap: 5px;
padding: 10px 5px;
}
.statusbtn > div {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.75rem;
padding: 5px 5px;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* 全部按钮样式 */
.statusbtn .statusall {
background: linear-gradient(to bottom, #1487ea, #0a43bc);
}
.statusbtn > div:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
opacity: 0.9;
}
.statusbtn > div.active {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
/* 激活状态下的颜色 */
.statusbtn .statusall.active {
background: linear-gradient(to bottom, #06f4ff, #00c6ff);
color: #fff;
}
.statusbtn .status1.active {
background: linear-gradient(to bottom, #6bff7f, #049624);
color: #fff;
}
.statusbtn .status2.active {
background: linear-gradient(to bottom, #00c5ff, #7cede5);
color: #fff;
}
.statusbtn .status3.active {
background: linear-gradient(to bottom, #a3ae0f, #edf006);
color: #fff;
}
.statusbtn .status4.active {
background: linear-gradient(to bottom, #ff9f43, #e6ac0e);
color: #fff;
}