diff --git a/src/components/DateCalendar.vue b/src/components/DateCalendar.vue index f5d9bc4e..822ac88d 100755 --- a/src/components/DateCalendar.vue +++ b/src/components/DateCalendar.vue @@ -443,11 +443,11 @@ limitations under the License. --> }); - diff --git a/src/views/Event.vue b/src/views/Event.vue index c26b90a3..5fcd39df 100644 --- a/src/views/Event.vue +++ b/src/views/Event.vue @@ -31,6 +31,6 @@ limitations under the License. --> .event { flex-grow: 1; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; } diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 0ff46106..00beb5e1 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -146,7 +146,7 @@ limitations under the License. --> .auto-select { border-radius: 3px; - background-color: #fff; + background-color: $theme-background; padding: 1px; input { @@ -169,7 +169,7 @@ limitations under the License. --> outline: 0; width: 50px; border-radius: 3px; - border: 1px solid #ccc; + border: 1px solid $disabled-color; text-align: center; height: 25px; } diff --git a/src/views/alarm/Content.vue b/src/views/alarm/Content.vue index a107a399..90bf50ee 100644 --- a/src/views/alarm/Content.vue +++ b/src/views/alarm/Content.vue @@ -142,12 +142,12 @@ limitations under the License. --> } diff --git a/src/views/alarm/Header.vue b/src/views/alarm/Header.vue index 8c006914..8704c876 100644 --- a/src/views/alarm/Header.vue +++ b/src/views/alarm/Header.vue @@ -98,7 +98,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/configuration/Text.vue b/src/views/dashboard/configuration/Text.vue index 35ea7c11..f70cc1be 100644 --- a/src/views/dashboard/configuration/Text.vue +++ b/src/views/dashboard/configuration/Text.vue @@ -155,6 +155,6 @@ limitations under the License. --> padding: 10px; text-align: right; width: 100%; - background-color: #fff; + background-color: $theme-background; } diff --git a/src/views/dashboard/configuration/ThirdPartyApp.vue b/src/views/dashboard/configuration/ThirdPartyApp.vue index da700dc2..cbfe9314 100644 --- a/src/views/dashboard/configuration/ThirdPartyApp.vue +++ b/src/views/dashboard/configuration/ThirdPartyApp.vue @@ -84,6 +84,6 @@ limitations under the License. --> padding: 10px; text-align: right; width: 100%; - background-color: #fff; + background-color: $theme-background; } diff --git a/src/views/dashboard/configuration/TimeRange.vue b/src/views/dashboard/configuration/TimeRange.vue index 07a595a8..d1eed12a 100644 --- a/src/views/dashboard/configuration/TimeRange.vue +++ b/src/views/dashboard/configuration/TimeRange.vue @@ -151,6 +151,6 @@ limitations under the License. --> padding: 10px; text-align: right; width: 100%; - background-color: #fff; + background-color: $theme-background; } diff --git a/src/views/dashboard/configuration/Topology.vue b/src/views/dashboard/configuration/Topology.vue index 663f7b86..374e5938 100644 --- a/src/views/dashboard/configuration/Topology.vue +++ b/src/views/dashboard/configuration/Topology.vue @@ -67,7 +67,7 @@ limitations under the License. --> padding: 10px; text-align: right; width: 100%; - background-color: #fff; + background-color: $theme-background; } .label { diff --git a/src/views/dashboard/configuration/Widget.vue b/src/views/dashboard/configuration/Widget.vue index 63c3f4f3..0c9dc4c5 100644 --- a/src/views/dashboard/configuration/Widget.vue +++ b/src/views/dashboard/configuration/Widget.vue @@ -202,7 +202,7 @@ limitations under the License. --> position: relative; min-width: 1280px; border: 1px solid #eee; - background-color: #fff; + background-color: $theme-background; } .header { @@ -210,7 +210,7 @@ limitations under the License. --> line-height: 25px; text-align: center; background-color: aliceblue; - font-size: 12px; + font-size: $font-size-smaller; position: relative; } @@ -240,7 +240,7 @@ limitations under the License. --> } .no-data { - font-size: 14px; + font-size: $font-size-normal; text-align: center; line-height: 400px; } @@ -253,7 +253,7 @@ limitations under the License. --> padding: 10px; text-align: right; width: 100%; - background-color: #fff; + background-color: $theme-background; } .collapse { diff --git a/src/views/dashboard/configuration/widget/graph-styles/components/Legend.vue b/src/views/dashboard/configuration/widget/graph-styles/components/Legend.vue index 9ff2dc6f..4c340eb9 100644 --- a/src/views/dashboard/configuration/widget/graph-styles/components/Legend.vue +++ b/src/views/dashboard/configuration/widget/graph-styles/components/Legend.vue @@ -125,7 +125,7 @@ limitations under the License. --> } .title { - font-size: 12px; + font-size: $font-size-smaller; display: inline-flex; height: 32px; line-height: 34px; diff --git a/src/views/dashboard/configuration/widget/metric/Index.vue b/src/views/dashboard/configuration/widget/metric/Index.vue index d7c34533..5882f67e 100644 --- a/src/views/dashboard/configuration/widget/metric/Index.vue +++ b/src/views/dashboard/configuration/widget/metric/Index.vue @@ -611,20 +611,20 @@ limitations under the License. --> span { display: inline-block; padding: 2px 10px; - border: 1px solid #ccc; - background-color: #fff; + border: 1px solid $disabled-color; + background-color: $theme-background; border-right: 0; cursor: pointer; } span:nth-last-child(1) { - border-right: 1px solid #ccc; + border-right: 1px solid $disabled-color; } } span.active { - background-color: #409eff; - color: #fff; + background-color: $active-color; + color: $theme-background; } .expression-param { @@ -640,7 +640,7 @@ limitations under the License. --> min-height: 26px; &:focus { - border-color: #409eff; + border-color: $active-color; } } @@ -651,6 +651,6 @@ limitations under the License. --> .link { cursor: pointer; - color: #409eff; + color: $active-color; } diff --git a/src/views/dashboard/configuration/widget/metric/Standard.vue b/src/views/dashboard/configuration/widget/metric/Standard.vue index 4e7ad7ec..5b88699b 100644 --- a/src/views/dashboard/configuration/widget/metric/Standard.vue +++ b/src/views/dashboard/configuration/widget/metric/Standard.vue @@ -187,7 +187,7 @@ limitations under the License. --> .label { width: 150px; display: inline-block; - font-size: 12px; + font-size: $font-size-smaller; } .close { diff --git a/src/views/dashboard/controls/ContinuousProfiling.vue b/src/views/dashboard/controls/ContinuousProfiling.vue index ee1c1650..a6e4e752 100644 --- a/src/views/dashboard/controls/ContinuousProfiling.vue +++ b/src/views/dashboard/controls/ContinuousProfiling.vue @@ -62,7 +62,7 @@ limitations under the License. --> .profile-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; } @@ -74,7 +74,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; } @@ -86,7 +86,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/DemandLog.vue b/src/views/dashboard/controls/DemandLog.vue index 57c5262b..b6d30aec 100644 --- a/src/views/dashboard/controls/DemandLog.vue +++ b/src/views/dashboard/controls/DemandLog.vue @@ -55,7 +55,7 @@ limitations under the License. --> .log-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; overflow: auto; } @@ -68,7 +68,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; min-width: 1024px; } @@ -81,7 +81,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/Ebpf.vue b/src/views/dashboard/controls/Ebpf.vue index d9a0b45c..69398329 100644 --- a/src/views/dashboard/controls/Ebpf.vue +++ b/src/views/dashboard/controls/Ebpf.vue @@ -55,7 +55,7 @@ limitations under the License. --> .profile-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; } @@ -67,7 +67,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; } @@ -79,7 +79,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/Event.vue b/src/views/dashboard/controls/Event.vue index cf05e916..4cec0cde 100644 --- a/src/views/dashboard/controls/Event.vue +++ b/src/views/dashboard/controls/Event.vue @@ -65,7 +65,7 @@ limitations under the License. --> .event-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; overflow: auto; } @@ -79,7 +79,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; min-width: 1024px; } @@ -92,7 +92,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/Log.vue b/src/views/dashboard/controls/Log.vue index 74498bf3..0f966c2e 100644 --- a/src/views/dashboard/controls/Log.vue +++ b/src/views/dashboard/controls/Log.vue @@ -62,7 +62,7 @@ limitations under the License. --> .log-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; overflow: auto; } @@ -76,7 +76,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; min-width: 1024px; } @@ -89,7 +89,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/NetworkProfiling.vue b/src/views/dashboard/controls/NetworkProfiling.vue index 6461d7d9..c144f8ac 100644 --- a/src/views/dashboard/controls/NetworkProfiling.vue +++ b/src/views/dashboard/controls/NetworkProfiling.vue @@ -54,7 +54,7 @@ limitations under the License. --> .profile-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; } @@ -66,7 +66,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; } @@ -78,7 +78,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/Profile.vue b/src/views/dashboard/controls/Profile.vue index 5b376ff3..50871f5c 100644 --- a/src/views/dashboard/controls/Profile.vue +++ b/src/views/dashboard/controls/Profile.vue @@ -55,7 +55,7 @@ limitations under the License. --> .profile-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; } @@ -67,7 +67,7 @@ limitations under the License. --> .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; } @@ -79,7 +79,7 @@ limitations under the License. --> text-align: center; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/controls/Tab.vue b/src/views/dashboard/controls/Tab.vue index 94148e07..5574cd94 100644 --- a/src/views/dashboard/controls/Tab.vue +++ b/src/views/dashboard/controls/Tab.vue @@ -282,7 +282,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/graphs/ServiceList.vue b/src/views/dashboard/graphs/ServiceList.vue index 787602f0..5917f1aa 100644 --- a/src/views/dashboard/graphs/ServiceList.vue +++ b/src/views/dashboard/graphs/ServiceList.vue @@ -335,4 +335,8 @@ limitations under the License. --> diff --git a/src/views/dashboard/graphs/Table.vue b/src/views/dashboard/graphs/Table.vue index 78f9f2ab..a03827a5 100644 --- a/src/views/dashboard/graphs/Table.vue +++ b/src/views/dashboard/graphs/Table.vue @@ -76,14 +76,14 @@ limitations under the License. --> } .row { - border-left: 1px solid #ccc; + border-left: 1px solid $disabled-color; height: 20px; width: 100%; div { overflow: hidden; text-overflow: ellipsis; - border-right: 1px solid #ccc; + border-right: 1px solid $disabled-color; text-align: center; height: 20px; line-height: 20px; @@ -91,11 +91,11 @@ limitations under the License. --> } div:last-child { - border-bottom: 1px solid #ccc; + border-bottom: 1px solid $disabled-color; } div:nth-last-child(2) { - border-bottom: 1px solid #ccc; + border-bottom: 1px solid $disabled-color; } } @@ -105,7 +105,7 @@ limitations under the License. --> .row:first-child { div { - border-top: 1px solid #ccc; + border-top: 1px solid $disabled-color; background: #eee; } } diff --git a/src/views/dashboard/graphs/TopList.vue b/src/views/dashboard/graphs/TopList.vue index f8b05109..336c0892 100644 --- a/src/views/dashboard/graphs/TopList.vue +++ b/src/views/dashboard/graphs/TopList.vue @@ -140,7 +140,7 @@ limitations under the License. --> } .progress-bar { - font-size: 12px; + font-size: $font-size-smaller; color: #333; } @@ -159,7 +159,7 @@ limitations under the License. --> } .calls { - font-size: 12px; + font-size: $font-size-smaller; padding: 0 5px; display: inline-block; background-color: #40454e; @@ -172,7 +172,7 @@ limitations under the License. --> border-radius: 4px; border: 1px solid #ddd; color: #333; - background-color: #fff; + background-color: $theme-background; will-change: opacity, background-color; transition: opacity 0.3s, background-color 0.3s; } @@ -197,10 +197,10 @@ limitations under the License. --> cursor: pointer; position: relative; text-align: center; - font-size: 12px; + font-size: $font-size-smaller; &:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } diff --git a/src/views/dashboard/graphs/components/ColumnGraph.vue b/src/views/dashboard/graphs/components/ColumnGraph.vue index 4eae8c89..0e57216e 100644 --- a/src/views/dashboard/graphs/components/ColumnGraph.vue +++ b/src/views/dashboard/graphs/components/ColumnGraph.vue @@ -42,7 +42,7 @@ limitations under the License. -->
@@ -159,6 +159,7 @@ limitations under the License. --> display: inline-block; height: 100%; cursor: pointer; + color: $active-color; } .value { diff --git a/src/views/dashboard/graphs/components/Legend.vue b/src/views/dashboard/graphs/components/Legend.vue index 65903bcf..268c1b28 100644 --- a/src/views/dashboard/graphs/components/Legend.vue +++ b/src/views/dashboard/graphs/components/Legend.vue @@ -118,7 +118,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/related/continuous-profiling/components/Policy.vue b/src/views/dashboard/related/continuous-profiling/components/Policy.vue index 09ecc35d..386989cb 100644 --- a/src/views/dashboard/related/continuous-profiling/components/Policy.vue +++ b/src/views/dashboard/related/continuous-profiling/components/Policy.vue @@ -221,12 +221,12 @@ limitations under the License. --> height: 100px; &:focus { - border-color: #409eff; + border-color: $active-color; } } .item-title { margin-bottom: 5px; - font-size: 14px; + font-size: $font-size-normal; } diff --git a/src/views/dashboard/related/demand-log/Header.vue b/src/views/dashboard/related/demand-log/Header.vue index f2c9a5eb..5a2c6f48 100644 --- a/src/views/dashboard/related/demand-log/Header.vue +++ b/src/views/dashboard/related/demand-log/Header.vue @@ -353,7 +353,7 @@ limitations under the License. --> width: 30%; border-style: unset; outline: 0; - border: 1px solid #ccc; + border: 1px solid $disabled-color; height: 30px; padding: 0 5px; } @@ -371,9 +371,9 @@ limitations under the License. --> padding: 0 3px; border-radius: 3px; overflow: hidden; - color: #3d444f; + color: $font-color; border: 1px dashed #aaa; - font-size: 12px; + font-size: $font-size-smaller; margin: 0 2px; } diff --git a/src/views/dashboard/related/ebpf/Content.vue b/src/views/dashboard/related/ebpf/Content.vue index 9834b9e4..3678db0b 100644 --- a/src/views/dashboard/related/ebpf/Content.vue +++ b/src/views/dashboard/related/ebpf/Content.vue @@ -52,7 +52,7 @@ limitations under the License. --> .schedules { height: 90px; - border-bottom: 1px solid #ccc; + border-bottom: 1px solid $disabled-color; padding-right: 10px; } diff --git a/src/views/dashboard/related/ebpf/Header.vue b/src/views/dashboard/related/ebpf/Header.vue index 989feb7f..289d1c89 100644 --- a/src/views/dashboard/related/ebpf/Header.vue +++ b/src/views/dashboard/related/ebpf/Header.vue @@ -89,7 +89,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/related/event/Header.vue b/src/views/dashboard/related/event/Header.vue index d571baea..702fb1ec 100644 --- a/src/views/dashboard/related/event/Header.vue +++ b/src/views/dashboard/related/event/Header.vue @@ -226,9 +226,9 @@ limitations under the License. --> padding: 0 3px; border-radius: 3px; overflow: hidden; - color: #3d444f; + color: $font-color; border: 1px dashed #aaa; - font-size: 12px; + font-size: $font-size-smaller; margin: 0 2px; } diff --git a/src/views/dashboard/related/log/Header.vue b/src/views/dashboard/related/log/Header.vue index 3520802d..8afc0a1b 100644 --- a/src/views/dashboard/related/log/Header.vue +++ b/src/views/dashboard/related/log/Header.vue @@ -397,7 +397,7 @@ limitations under the License. --> width: 30%; border-style: unset; outline: 0; - border: 1px solid #ccc; + border: 1px solid $disabled-color; height: 30px; padding: 0 5px; } @@ -415,9 +415,9 @@ limitations under the License. --> padding: 0 3px; border-radius: 3px; overflow: hidden; - color: #3d444f; + color: $font-color; border: 1px dashed #aaa; - font-size: 12px; + font-size: $font-size-smaller; margin: 0 2px; } diff --git a/src/views/dashboard/related/log/LogTable/Index.vue b/src/views/dashboard/related/log/LogTable/Index.vue index 144c2eef..266b119e 100644 --- a/src/views/dashboard/related/log/LogTable/Index.vue +++ b/src/views/dashboard/related/log/LogTable/Index.vue @@ -72,7 +72,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/related/network-profiling/components/NewConditions.vue b/src/views/dashboard/related/network-profiling/components/NewConditions.vue index 9c9b71b4..d4b08e75 100644 --- a/src/views/dashboard/related/network-profiling/components/NewConditions.vue +++ b/src/views/dashboard/related/network-profiling/components/NewConditions.vue @@ -66,12 +66,12 @@ limitations under the License. --> diff --git a/src/views/dashboard/related/network-profiling/components/Settings.vue b/src/views/dashboard/related/network-profiling/components/Settings.vue index fcfa56cd..a16a3f81 100644 --- a/src/views/dashboard/related/network-profiling/components/Settings.vue +++ b/src/views/dashboard/related/network-profiling/components/Settings.vue @@ -66,7 +66,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/related/profile/components/Stack/Container.vue b/src/views/dashboard/related/profile/components/Stack/Container.vue index f03f123c..e510eddd 100644 --- a/src/views/dashboard/related/profile/components/Stack/Container.vue +++ b/src/views/dashboard/related/profile/components/Stack/Container.vue @@ -75,19 +75,19 @@ limitations under the License. --> } diff --git a/src/views/dashboard/related/task-timeline/components/ProfilingPanel.vue b/src/views/dashboard/related/task-timeline/components/ProfilingPanel.vue index 1c1af5e4..1fbf78a4 100644 --- a/src/views/dashboard/related/task-timeline/components/ProfilingPanel.vue +++ b/src/views/dashboard/related/task-timeline/components/ProfilingPanel.vue @@ -77,7 +77,7 @@ limitations under the License. --> .schedules { height: 90px; - border-bottom: 1px solid #ccc; + border-bottom: 1px solid $disabled-color; padding-right: 10px; } diff --git a/src/views/dashboard/related/topology/components/Graph.vue b/src/views/dashboard/related/topology/components/Graph.vue index 3382af85..22fc4078 100644 --- a/src/views/dashboard/related/topology/components/Graph.vue +++ b/src/views/dashboard/related/topology/components/Graph.vue @@ -20,7 +20,7 @@ limitations under the License. --> element-loading-background="rgba(0, 0, 0, 0)" :style="`height: ${height}px`" > - + .svg-topology { cursor: move; + background-color: $theme-background; } .legend { @@ -665,9 +666,9 @@ limitations under the License. --> overflow: auto; padding: 0 15px; border-radius: 3px; - color: #ccc; - border: 1px solid #ccc; - background-color: #fff; + color: $disabled-color; + border: 1px solid $disabled-color; + background-color: $theme-background; box-shadow: #eee 1px 2px 10px; transition: all 0.5ms linear; @@ -686,7 +687,7 @@ limitations under the License. --> position: absolute; color: #333; cursor: pointer; - background-color: #fff; + background-color: $theme-background; border-radius: 5px; padding: 10px 0; border: 1px solid #999; @@ -701,7 +702,7 @@ limitations under the License. --> } span:hover { - color: #409eff; + color: $active-color; background-color: #eee; } } @@ -715,8 +716,8 @@ limitations under the License. --> .switch-icon { cursor: pointer; transition: all 0.5ms linear; - background: rgba(0, 0, 0, 0.3); - color: #fff; + background: rgb(0 0 0 / 30%); + color: $text-color; display: inline-block; padding: 2px 4px; border-radius: 3px; @@ -736,7 +737,7 @@ limitations under the License. --> } .topo-text { - font-family: "Lato", "Source Han Sans CN", "Microsoft YaHei", sans-serif; + font-family: Lato, "Source Han Sans CN", "Microsoft YaHei", sans-serif; fill: #ddd; font-size: 11px; opacity: 0.8; @@ -762,6 +763,6 @@ limitations under the License. --> padding: 5px; border: 1px solid #000; border-radius: 3px; - background-color: #fff; + background-color: $theme-background; } diff --git a/src/views/dashboard/related/topology/components/Metrics.vue b/src/views/dashboard/related/topology/components/Metrics.vue index a1775057..3296e13e 100644 --- a/src/views/dashboard/related/topology/components/Metrics.vue +++ b/src/views/dashboard/related/topology/components/Metrics.vue @@ -149,7 +149,7 @@ limitations under the License. --> .label { width: 150px; display: inline-block; - font-size: 12px; + font-size: $font-size-smaller; } .close { diff --git a/src/views/dashboard/related/topology/components/PodTopology.vue b/src/views/dashboard/related/topology/components/PodTopology.vue index cc63d346..114570c4 100644 --- a/src/views/dashboard/related/topology/components/PodTopology.vue +++ b/src/views/dashboard/related/topology/components/PodTopology.vue @@ -279,7 +279,7 @@ limitations under the License. --> overflow: auto; padding: 10px 15px; border-radius: 3px; - color: #ccc; + color: $disabled-color; transition: all 0.5ms linear; z-index: 99; text-align: left; @@ -306,7 +306,7 @@ limitations under the License. --> } .label { - color: #ccc; + color: $disabled-color; display: inline-block; margin-right: 5px; } @@ -316,7 +316,7 @@ limitations under the License. --> padding: 10px 0; color: #333; cursor: pointer; - background-color: #fff; + background-color: $theme-background; border-radius: 3px; span { @@ -329,7 +329,7 @@ limitations under the License. --> } span:hover { - color: #409eff; + color: $active-color; background-color: #eee; } diff --git a/src/views/dashboard/related/topology/components/Settings.vue b/src/views/dashboard/related/topology/components/Settings.vue index e0c9d4c1..95d47668 100644 --- a/src/views/dashboard/related/topology/components/Settings.vue +++ b/src/views/dashboard/related/topology/components/Settings.vue @@ -458,7 +458,7 @@ limitations under the License. --> } .label { - font-size: 12px; + font-size: $font-size-smaller; margin-top: 10px; } diff --git a/src/views/dashboard/related/trace/Detail.vue b/src/views/dashboard/related/trace/Detail.vue index cdaf111c..d85b5b40 100644 --- a/src/views/dashboard/related/trace/Detail.vue +++ b/src/views/dashboard/related/trace/Detail.vue @@ -171,20 +171,20 @@ limitations under the License. --> } .trace-detail-wrapper { - font-size: 12px; + font-size: $font-size-smaller; padding: 5px 10px; border-bottom: 1px solid #eee; width: 100%; height: 95px; .grey { - color: #fff; + color: $text-color; background-color: #448dfe; } .ghost { cursor: pointer; - background: rgba(0, 0, 0, 0.3); + background: rgb(0 0 0 / 30%); } } @@ -193,7 +193,7 @@ limitations under the License. --> } .trace-detail-ids { - background-color: rgba(0, 0, 0, 0); + background-color: rgb(0 0 0 / 0%); outline: 0; border-style: unset; color: inherit; @@ -209,7 +209,7 @@ limitations under the License. --> .tag { display: inline-block; border-radius: 4px; - padding: 0px 7px; + padding: 0 7px; background-color: #40454e; color: #eee; } diff --git a/src/views/dashboard/related/trace/Index.vue b/src/views/dashboard/related/trace/Index.vue index 0d2e31c2..8f211f9b 100644 --- a/src/views/dashboard/related/trace/Index.vue +++ b/src/views/dashboard/related/trace/Index.vue @@ -43,14 +43,14 @@ limitations under the License. --> .trace-wrapper { width: 100%; height: 100%; - font-size: 12px; + font-size: $font-size-smaller; position: relative; overflow: auto; } .header { padding: 10px; - font-size: 12px; + font-size: $font-size-smaller; border-bottom: 1px solid #dcdfe6; min-width: 1200px; } diff --git a/src/views/dashboard/related/trace/components/D3Graph/SpanDetail.vue b/src/views/dashboard/related/trace/components/D3Graph/SpanDetail.vue index 83bce1bf..5de26a5d 100644 --- a/src/views/dashboard/related/trace/components/D3Graph/SpanDetail.vue +++ b/src/views/dashboard/related/trace/components/D3Graph/SpanDetail.vue @@ -245,7 +245,7 @@ limitations under the License. --> } .popup-btn { - color: #fff; + color: $text-color; margin-top: 40px; width: 100%; text-align: center; diff --git a/src/views/dashboard/related/trace/components/Table/TableContainer.vue b/src/views/dashboard/related/trace/components/Table/TableContainer.vue index b3688a3f..b396de92 100644 --- a/src/views/dashboard/related/trace/components/Table/TableContainer.vue +++ b/src/views/dashboard/related/trace/components/Table/TableContainer.vue @@ -147,10 +147,10 @@ limitations under the License. --> }