大屏修改
This commit is contained in:
451
unpackage/cache/wgt/H52AA0236/css/index.css
vendored
Normal file
451
unpackage/cache/wgt/H52AA0236/css/index.css
vendored
Normal file
@@ -0,0 +1,451 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
transform: scale(0.8);
|
||||
background-image: url('../img/bj.png');
|
||||
background-size: 1920px 1080px;
|
||||
/* 背景图片覆盖整个元素 */
|
||||
background-repeat: no-repeat;
|
||||
/* 背景图片不重复 */
|
||||
}
|
||||
|
||||
.riqi {
|
||||
font-size: 20px;
|
||||
color: rgb(255, 255, 255);
|
||||
text-align: right;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.shijian {
|
||||
text-align: right;
|
||||
font-size: 45px;
|
||||
color: rgb(254, 254, 254);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.datetime-box {
|
||||
position: absolute;
|
||||
top: 1%;
|
||||
right: 1%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.zi {
|
||||
width: 100%;
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
font-size: 55px;
|
||||
font-weight: bold;
|
||||
background: linear-gradient(0deg, #fff, #00fff9, #fff);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
text-fill-color: transparent;
|
||||
|
||||
}
|
||||
|
||||
.zi::before {
|
||||
z-index: -1;
|
||||
content: '数 据 可 视 化 看 板';
|
||||
position: absolute;
|
||||
text-shadow: 1px 1px 10px #00ddcf;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
width: 96%;
|
||||
left: 2%;
|
||||
height: 88%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.lanes-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 60%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.lane-column {
|
||||
width: 32%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.lane-header {
|
||||
text-align: center;
|
||||
color: #00fff9;
|
||||
font-size: 30px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
background: rgba(0, 255, 255, 0.1);
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.lane-part {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
background-image: url('../img/kuang.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.lane-part .divHead {
|
||||
position: absolute;
|
||||
width: 84%;
|
||||
height: 1px;
|
||||
top: 6%; /* Changed from margin-top to top for height-relative positioning */
|
||||
left: 8%;
|
||||
margin-top: 0;
|
||||
margin-left: 0;
|
||||
background-image: url('../img/kuang_tou.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.alarm-section {
|
||||
height: 37%;
|
||||
width: 100%;
|
||||
background-image: url('../img/kuang.png');
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin-top: 1%;
|
||||
}
|
||||
|
||||
.alarm-section .divHead {
|
||||
position: absolute;
|
||||
width: 20%;
|
||||
height: 1px;
|
||||
top: 6%;
|
||||
left: 1%;
|
||||
margin-top: 0;
|
||||
margin-left: 0;
|
||||
background-image: url('../img/kuang_tou.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.divHead {
|
||||
/* Fallback/Original definition if needed, but overridden above */
|
||||
position: absolute;
|
||||
width: 84%;
|
||||
height: 1px;
|
||||
margin-top: 16%;
|
||||
margin-left: 8%;
|
||||
background-image: url('../img/kuang_tou.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.name {
|
||||
position: absolute;
|
||||
color: #0dede4;
|
||||
font-weight: bold;
|
||||
bottom: 5px;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.name1 {
|
||||
position: absolute;
|
||||
width: 35px;
|
||||
height: 15px;
|
||||
bottom: 10px;
|
||||
right: 2px;
|
||||
background-image: url('../img/kuang_you.png');
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.part-content {
|
||||
width: 100%;
|
||||
height: 80%;
|
||||
position: absolute;
|
||||
top: 15%;
|
||||
}
|
||||
|
||||
.alarm-list-container {
|
||||
position: absolute;
|
||||
top: 18%;
|
||||
width: 96%;
|
||||
left: 2%;
|
||||
height: 78%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.alarm-content-scroll {
|
||||
height: calc(100% - 44px);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.alarm-items {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.alarm-item {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #00ffff57;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.alarm-item p {
|
||||
margin: 0;
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
height: 44px;
|
||||
font-size: 28px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
/* Reuse existing list styles for alarm */
|
||||
.kuang {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.kuang>li {
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #00ffff57;
|
||||
}
|
||||
|
||||
|
||||
.kuang>li>p {
|
||||
margin: 0;
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
width: 25%; /* 4 columns for alarm list */
|
||||
text-align: center;
|
||||
word-break: break-all;
|
||||
height: 44px;
|
||||
font-size: 28px;
|
||||
}
|
||||
.kuang>li:first-child {
|
||||
color: #ffb742;
|
||||
text-align: center;
|
||||
height: 44px;
|
||||
background: #013132;
|
||||
/* font-weight: bold; */
|
||||
font-size: 30px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Lane list styles */
|
||||
.lane-list {
|
||||
width: 90%;
|
||||
margin-left: 5%;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.lane-item {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #00ffff57;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.lane-item p {
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.lane-item.header {
|
||||
background: #013132;
|
||||
color: #ffb742;
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
/* ===== 服务器设置按钮 ===== */
|
||||
.setting-btn-box {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 1%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.setting-btn {
|
||||
background: rgba(0, 255, 249, 0.08);
|
||||
border: 1px solid #00fff9;
|
||||
color: #00fff9;
|
||||
font-size: 20px;
|
||||
padding: 6px 18px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
letter-spacing: 2px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.setting-btn:hover {
|
||||
background: rgba(0, 255, 249, 0.2);
|
||||
}
|
||||
|
||||
/* ===== 弹窗遮罩 ===== */
|
||||
.setting-modal-mask {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0; left: 0;
|
||||
width: 100%; height: 100%;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* ===== 弹窗主体 ===== */
|
||||
.setting-modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 50%; left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 480px;
|
||||
background: #021e23;
|
||||
border: 1px solid #00fff9;
|
||||
border-radius: 12px;
|
||||
z-index: 1001;
|
||||
box-shadow: 0 0 40px rgba(0, 255, 249, 0.3);
|
||||
padding: 0 0 24px;
|
||||
}
|
||||
|
||||
.setting-modal-title {
|
||||
text-align: center;
|
||||
color: #00fff9;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
padding: 20px 0 14px;
|
||||
border-bottom: 1px solid rgba(0, 255, 249, 0.2);
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
|
||||
.setting-modal-body {
|
||||
padding: 24px 36px 8px;
|
||||
}
|
||||
|
||||
.setting-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.setting-label {
|
||||
color: #ffb742;
|
||||
font-size: 24px;
|
||||
width: 80px;
|
||||
flex-shrink: 0;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.setting-options {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.setting-option {
|
||||
padding: 8px 28px;
|
||||
border: 1px solid #00fff9;
|
||||
border-radius: 6px;
|
||||
color: #00fff9;
|
||||
font-size: 22px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.setting-option:hover {
|
||||
background: rgba(0, 255, 249, 0.15);
|
||||
}
|
||||
|
||||
.setting-option.active {
|
||||
background: #00fff9;
|
||||
color: #021e23;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.setting-preview {
|
||||
margin-top: 4px;
|
||||
padding: 10px 14px;
|
||||
background: rgba(0, 255, 249, 0.06);
|
||||
border-radius: 6px;
|
||||
color: #aafffd;
|
||||
font-size: 18px;
|
||||
line-height: 1.8;
|
||||
min-height: 56px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.setting-modal-footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 24px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.setting-save-btn {
|
||||
background: #00fff9;
|
||||
color: #021e23;
|
||||
border: none;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
padding: 8px 40px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
letter-spacing: 4px;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.setting-save-btn:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.setting-cancel-btn {
|
||||
background: transparent;
|
||||
color: #aaa;
|
||||
border: 1px solid #555;
|
||||
font-size: 22px;
|
||||
padding: 8px 40px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
letter-spacing: 4px;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.setting-cancel-btn:hover {
|
||||
border-color: #888;
|
||||
color: #ccc;
|
||||
}
|
||||
Reference in New Issue
Block a user