fix: modify tree color

This commit is contained in:
Chen, Tai-Lin committed 2023-10-27 15:58:46 +08:00
1 parent ea81f2feb4
commit 9e12657def
5 files changed
+15 -20

No files matched your search

+6
View File
@@ -5,3 +5,9 @@
<router-view></router-view> <router-view></router-view>
</div> </div>
</template> </template>
<style>
::-webkit-scrollbar {
display: none;
}
</style>
+1 -1
View File
@@ -36,7 +36,7 @@ setTimeout(() => {
</div> </div>
</template> </template>
<style> <style scoped>
.modal { .modal {
display: block; display: block;
position: fixed; position: fixed;
+8 -8
View File
@@ -45,14 +45,14 @@ import sessionManager from '../utils/session.js'
position: absolute; position: absolute;
top: 0; top: 0;
right: 50%; right: 50%;
border-top: 1px solid #ccc; border-top: 1px solid #00ff00;
width: 50%; width: 50%;
height: 20px; height: 20px;
} }
.tree li::after { .tree li::after {
right: auto; right: auto;
left: 50%; left: 50%;
border-left: 1px solid #ccc; border-left: 1px solid #00ff00;
} }
.tree li:only-child::after, .tree li:only-child::after,
@@ -70,7 +70,7 @@ import sessionManager from '../utils/session.js'
} }
.tree li:last-child::before { .tree li:last-child::before {
border-right: 1px solid #ccc; border-right: 1px solid #00ff00;
border-radius: 0 5px 0 0; border-radius: 0 5px 0 0;
-webkit-border-radius: 0 5px 0 0; -webkit-border-radius: 0 5px 0 0;
-moz-border-radius: 0 5px 0 0; -moz-border-radius: 0 5px 0 0;
@@ -86,16 +86,16 @@ import sessionManager from '../utils/session.js'
position: absolute; position: absolute;
top: 0; top: 0;
left: 50%; left: 50%;
border-left: 1px solid #ccc; border-left: 1px solid #00ff00;
width: 0; width: 0;
height: 20px; height: 20px;
} }
.tree li a { .tree li a {
border: 1px solid #ccc; border: 1px solid #00ff00;
padding: 5px 10px; padding: 5px 10px;
text-decoration: none; text-decoration: none;
color: #666; color: #ffffff;
font-family: arial, verdana, tahoma; font-family: arial, verdana, tahoma;
font-size: 11px; font-size: 11px;
display: inline-block; display: inline-block;
@@ -110,7 +110,7 @@ import sessionManager from '../utils/session.js'
} }
a.discovered { a.discovered {
background: #c8e4f8; background: #526b4e;
color: #000; color: #000;
border: 1px solid #94a0b4; border: 1px solid #94a0b4;
} }
@@ -121,6 +121,6 @@ li.discovered {
} }
a.pwd { a.pwd {
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* 水平偏移、垂直偏移、模糊半徑、顏色 */ box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
} }
</style> </style>
-6
View File
@@ -55,9 +55,3 @@ onUnmounted(() => {
<TreeChart /> <TreeChart />
</div> </div>
</template> </template>
<style>
::-webkit-scrollbar {
display: none;
}
</style>
-5
View File
@@ -5899,11 +5899,6 @@ tsconfig-paths@^3.14.1:
minimist "^1.2.6" minimist "^1.2.6"
strip-bom "^3.0.0" strip-bom "^3.0.0"
tslib@2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e"
integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==
tslib@^2.1.0: tslib@^2.1.0:
version "2.6.2" version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"