From 9cc82466a685c529906f68cb01f8c7f669bba598 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 22 八月 2022 14:36:15 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 2 +-
src/main/webapp/static/css/console.css | 31 ++++++++++++++++++++++++++++---
2 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/static/css/console.css b/src/main/webapp/static/css/console.css
index 460db04..16d25c8 100644
--- a/src/main/webapp/static/css/console.css
+++ b/src/main/webapp/static/css/console.css
@@ -9,13 +9,15 @@
width: 100%;
height: 100%;
background-color: rgb(108,167,168);
+ position: relative;
}
.header {
+ position: absolute;
height: 10%;
width: 20%;
- padding-top: 1%;
- padding-left: 1%;
+ top: 1%;
+ left: 1%;
color: #FFFFFF;
}
.header h1 {
@@ -28,6 +30,8 @@
.main {
overflow-y: scroll;
+ position: relative;
+ height: 100%;
}
@@ -37,6 +41,24 @@
position: absolute;
bottom: 2.5%;
}
+
+/*=============== SCROLL BAR ===============*/
+::-webkit-scrollbar {
+ width: .6rem;
+ border-radius: .5rem;
+ background-color: hsl(228, 8%, 76%);
+}
+
+::-webkit-scrollbar-thumb {
+ background-color: hsl(228, 8%, 64%);
+ border-radius: .5rem;
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background-color: hsl(228, 8%, 54%);
+}
+
+
/* 鎺у埗寮�鍏� */
.system-state {
display: inline-block;
@@ -332,11 +354,14 @@
border-top: 1px solid rgb(194,76,65);
border-bottom: 1px solid rgb(194,76,65);
border-left: 1px solid rgb(194,76,65);
- border-right: 1px solid rgb(194,76,65);
border-right: none;
cursor: inherit;
color: rgb(194,76,65);
}
+.stock-group .item:last-child {
+ border-right: 1px solid rgb(194,76,65);
+}
+
.stock-group .site {
width: 80px;
float: left;
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index e3d26f6..a83a31c 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -85,7 +85,7 @@
<!-- 璐ф灦 + 鍫嗗灈鏈� + 鍏ュ簱绔欑偣 -->
<div class="main-part">
<!-- 绗竴缁� -->
- <div class="lane" style="margin-bottom: 3000px">
+ <div class="lane" style="margin-bottom: 280px">
<!-- 璐ф灦 -->
<div class="stock-group">
<button class="item">1</button>
--
Gitblit v1.9.1