add some i18n support

add text border for chart
This commit is contained in:
杨黄林
2023-09-10 23:15:12 +08:00
parent c95ef224d8
commit 92f3e6fe23
11 changed files with 271 additions and 86 deletions

View File

@@ -25,6 +25,10 @@ section {
.layui-side-scroll {
width: 245px !important;
position: absolute !important;
top: 0 !important;
bottom: 24px !important;
height: auto !important;
}
.layui-logo {
@@ -37,7 +41,6 @@ section {
right: 0;
top: 0;
height: 100%;
color: #fff;
padding: 0 15px;
box-sizing: border-box;
}
@@ -112,7 +115,7 @@ section.server-info .chart-info {
flex: 1;
}
section.server-info .text-info{
section.server-info .text-info {
padding: 0 20px;
}
@@ -126,10 +129,6 @@ section.server-info .text-row .text-col {
flex: 1;
}
section.server-info .text-row .text-col:first-child {
color: #99a9bf;
}
section.server-info .chart-info {
display: flex;
flex-direction: column;
@@ -151,12 +150,12 @@ section.server-info .chart-info #countPieChart {
height: 250px;
}
.toggle-proxy-info-arrow{
.toggle-proxy-info-arrow {
display: inline-block;
transition-duration: 0.2s;
}
.toggle-proxy-info-arrow.open{
.toggle-proxy-info-arrow.open {
transform: rotate(90deg);
}
@@ -165,10 +164,20 @@ section.server-info .chart-info #countPieChart {
padding: 10px;
}
.proxy-info .layui-col-xs6 .layui-row{
.proxy-info .layui-col-xs6 .layui-row {
padding: 0;
}
#trafficBarChart{
#trafficBarChart {
height: 100%;
}
.version {
height: 24px;
line-height: 24px;
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
font-size: 12px;
}