Skip to content

Commit cb7e3a6

Browse files
committed
Update.
1 parent a954a18 commit cb7e3a6

File tree

4 files changed

+18
-25
lines changed

4 files changed

+18
-25
lines changed

resource/static/main.css

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
white-space: nowrap;
2828
position: relative;
2929
background-color: #fbfbfb26;
30-
border-radius: 50px;
31-
padding: 5px;
30+
border-radius: 22px;
31+
padding: 5px 3px;
3232
margin-bottom: 20px;
3333
box-shadow: 0 2px 4px rgba(0,0,0,0.10);
3434
-webkit-overflow-scrolling: touch;
@@ -46,29 +46,31 @@
4646

4747
.tabs-content-area {
4848
display: inline-flex;
49-
/*gap: 0.5em;*/
50-
/*padding: 0.2em 0;*/
49+
align-items: center;
5150
}
5251

5352
.custom-tab {
54-
padding: 8px 15px;
53+
padding: 6px 18px;
5554
margin: 0 3px;
5655
cursor: pointer;
5756
color: #777;
58-
font-weight: 500;
59-
border-radius: 50px;
60-
transition: color 0.3s ease;
57+
border-radius: 17px;
58+
transition: color 0.2s ease;
6159
font-size: 15px;
6260
position: relative;
6361
z-index: 2;
6462
background-color: transparent;
63+
font-weight: normal;
6564
display: inline-block;
65+
line-height: 1.5;
6666
-webkit-tap-highlight-color: transparent;
6767
}
6868

6969
.custom-tab.active {
70-
color: #000000;
70+
color: #333;
71+
font-weight: bold;
7172
}
73+
7274
.custom-tab:not(.active):hover {
7375
color: #333;
7476
}
@@ -79,7 +81,7 @@
7981
bottom: 5px;
8082
height: calc(100% - 10px);
8183
background-color: #fafafaa3;
82-
border-radius: 50px;
84+
border-radius: 17px;
8385
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
8486
z-index: 1;
8587
transition: left 0.3s ease, width 0.3s ease;
@@ -802,7 +804,7 @@ i.note.icon {
802804
}
803805

804806
#app .ui.fluid.accordion {
805-
border-radius: 20px;
807+
border-radius: 19px;
806808
margin-bottom: 1rem;
807809
background-color: #fbfbfb26;
808810
-webkit-transition: all .3s ease;

resource/template/common/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css?v20220423">
2121
<link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-logos/0.17/font-logos.min.css" rel="stylesheet">
2222
<link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/flag-icon-css/4.1.5/css/flag-icons.min.css" rel="stylesheet">
23-
<link rel="stylesheet" type="text/css" href="/static/main.css?v202505121">
23+
<link rel="stylesheet" type="text/css" href="/static/main.css?v20250521">
2424
<link rel="shortcut icon" type="image/png" href="/static/logo.svg?v20220602"/>
2525
</head>
2626
{{if ts .CustomCodeDashboard}} {{.CustomCodeDashboard|safe}} {{end}}

resource/template/theme-default/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<link rel="stylesheet" type="text/css" href="/static/fontawesome.min.css?v2025032723">
2222
<link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/font-logos/0.17/font-logos.min.css" rel="stylesheet">
2323
<link href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/flag-icon-css/4.1.5/css/flag-icons.min.css" rel="stylesheet">
24-
<link rel="stylesheet" type="text/css" href="/static/main.css?v202505121">
24+
<link rel="stylesheet" type="text/css" href="/static/main.css?v20250521">
2525
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
2626
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/semantic-ui/2.4.1/semantic.min.js"></script>
2727
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js"></script>

resource/template/theme-default/home.html

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,11 @@
55

66
<div class="nb-container">
77
<div class="ui container">
8-
<div style="display: flex; justify-content: center;">
8+
<div class="tabs-wrapper">
99
<div v-if="servers && servers.length > 0"
1010
class="custom-tabs-container"
11-
ref="tabsContainer"
12-
style="width: fit-content;
13-
max-width: 100%;
14-
overflow-x: auto;
15-
position: relative;
16-
white-space: nowrap;
17-
">
18-
<div style="display: inline-flex;
19-
gap: 0.5em;
20-
padding: 0.2em 0;
21-
">
11+
ref="tabsContainer">
12+
<div class="tabs-content-area">
2213
<div class="custom-tab"
2314
:class="{ active: activeTag === '' }"
2415
@click="handleTabClick('', $event)"

0 commit comments

Comments
 (0)