-
+
@@ -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/style.scss b/src/views/dashboard/graphs/style.scss
index 656da757..e117b5e4 100644
--- a/src/views/dashboard/graphs/style.scss
+++ b/src/views/dashboard/graphs/style.scss
@@ -35,7 +35,6 @@
.link {
cursor: pointer;
- color: #409eff;
display: inline-block;
width: 100%;
text-decoration: underline;
diff --git a/src/views/dashboard/panel/Layout.vue b/src/views/dashboard/panel/Layout.vue
index bc9fb710..d9358669 100644
--- a/src/views/dashboard/panel/Layout.vue
+++ b/src/views/dashboard/panel/Layout.vue
@@ -86,12 +86,12 @@ limitations under the License. -->
.vue-grid-item:not(.vue-grid-placeholder) {
background: #fff;
- box-shadow: 0px 1px 4px 0px #00000029;
+ box-shadow: 0 1px 4px 0 #00000029;
border-radius: 3px;
}
.vue-grid-item.active {
- border: 1px solid #409eff;
+ border: 1px solid $active-color;
}
.no-data-tips {
diff --git a/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue b/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue
index bb8d641f..b6dc90b7 100644
--- a/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue
+++ b/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue
@@ -163,7 +163,7 @@ limitations under the License. -->
.link {
cursor: pointer;
- color: #409eff;
+ color: $active-color;
text-decoration: underline;
}
diff --git a/src/views/dashboard/related/continuous-profiling/components/Policy.vue b/src/views/dashboard/related/continuous-profiling/components/Policy.vue
index 09ecc35d..a6eb275f 100644
--- a/src/views/dashboard/related/continuous-profiling/components/Policy.vue
+++ b/src/views/dashboard/related/continuous-profiling/components/Policy.vue
@@ -221,7 +221,7 @@ limitations under the License. -->
height: 100px;
&:focus {
- border-color: #409eff;
+ border-color: $active-color;
}
}
diff --git a/src/views/dashboard/related/demand-log/Header.vue b/src/views/dashboard/related/demand-log/Header.vue
index f2c9a5eb..0c32fa41 100644
--- a/src/views/dashboard/related/demand-log/Header.vue
+++ b/src/views/dashboard/related/demand-log/Header.vue
@@ -371,7 +371,7 @@ limitations under the License. -->
padding: 0 3px;
border-radius: 3px;
overflow: hidden;
- color: #3d444f;
+ color: $font-color;
border: 1px dashed #aaa;
font-size: 12px;
margin: 0 2px;
diff --git a/src/views/dashboard/related/ebpf/components/TaskList.vue b/src/views/dashboard/related/ebpf/components/TaskList.vue
index e9dc4ee7..096a7236 100644
--- a/src/views/dashboard/related/ebpf/components/TaskList.vue
+++ b/src/views/dashboard/related/ebpf/components/TaskList.vue
@@ -80,7 +80,7 @@ limitations under the License. -->
width: 300px;
height: calc(100% - 10px);
overflow: auto;
- border-right: 1px solid rgba(0, 0, 0, 0.1);
+ border-right: 1px solid rgb(0 0 0 / 10%);
}
.item span {
@@ -89,7 +89,7 @@ limitations under the License. -->
.profile-td {
padding: 5px 10px;
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ border-bottom: 1px solid rgb(0 0 0 / 7%);
&.selected {
background-color: #ededed;
@@ -117,20 +117,20 @@ limitations under the License. -->
.profile-tr {
&:hover {
- background-color: rgba(0, 0, 0, 0.04);
+ background-color: rgb(0 0 0 / 4%);
}
}
.profile-t-tool {
padding: 5px 10px;
font-weight: bold;
- border-right: 1px solid rgba(0, 0, 0, 0.07);
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ border-right: 1px solid rgb(0 0 0 / 7%);
+ border-bottom: 1px solid rgb(0 0 0 / 7%);
background: #f3f4f9;
}
.profile-btn {
- color: #3d444f;
+ color: $font-color;
padding: 1px 3px;
border-radius: 2px;
font-size: 12px;
diff --git a/src/views/dashboard/related/event/Header.vue b/src/views/dashboard/related/event/Header.vue
index d571baea..80e82c53 100644
--- a/src/views/dashboard/related/event/Header.vue
+++ b/src/views/dashboard/related/event/Header.vue
@@ -226,7 +226,7 @@ limitations under the License. -->
padding: 0 3px;
border-radius: 3px;
overflow: hidden;
- color: #3d444f;
+ color: $font-color;
border: 1px dashed #aaa;
font-size: 12px;
margin: 0 2px;
diff --git a/src/views/dashboard/related/log/Header.vue b/src/views/dashboard/related/log/Header.vue
index 3520802d..801fbd06 100644
--- a/src/views/dashboard/related/log/Header.vue
+++ b/src/views/dashboard/related/log/Header.vue
@@ -415,7 +415,7 @@ limitations under the License. -->
padding: 0 3px;
border-radius: 3px;
overflow: hidden;
- color: #3d444f;
+ color: $font-color;
border: 1px dashed #aaa;
font-size: 12px;
margin: 0 2px;
diff --git a/src/views/dashboard/related/log/LogTable/LogDetail.vue b/src/views/dashboard/related/log/LogTable/LogDetail.vue
index 6d4cc704..b8c8a758 100644
--- a/src/views/dashboard/related/log/LogTable/LogDetail.vue
+++ b/src/views/dashboard/related/log/LogTable/LogDetail.vue
@@ -72,7 +72,7 @@ limitations under the License. -->
min-height: 500px;
border: none;
outline: none;
- color: #3d444f;
+ color: $font-color;
overflow: auto;
}
diff --git a/src/views/dashboard/related/profile/components/SegmentList.vue b/src/views/dashboard/related/profile/components/SegmentList.vue
index 23be2152..2aae1a8c 100644
--- a/src/views/dashboard/related/profile/components/SegmentList.vue
+++ b/src/views/dashboard/related/profile/components/SegmentList.vue
@@ -82,7 +82,7 @@ limitations under the License. -->
.profile-t-wrapper {
overflow: auto;
flex-grow: 1;
- border-right: 1px solid rgba(0, 0, 0, 0.1);
+ border-right: 1px solid rgb(0 0 0 / 10%);
}
.profile-t-loading {
@@ -110,13 +110,13 @@ limitations under the License. -->
.profile-tr {
&:hover {
- background-color: rgba(0, 0, 0, 0.04);
+ background-color: rgb(0 0 0 / 4%);
}
}
.profile-td {
padding: 5px 10px;
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ border-bottom: 1px solid rgb(0 0 0 / 7%);
&.selected {
background-color: #ededed;
@@ -126,8 +126,8 @@ limitations under the License. -->
.profile-t-tool {
padding: 5px 10px;
font-weight: bold;
- border-right: 1px solid rgba(0, 0, 0, 0.07);
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ border-right: 1px solid rgb(0 0 0 / 7%);
+ border-bottom: 1px solid rgb(0 0 0 / 7%);
background: #f3f4f9;
}
@@ -136,7 +136,7 @@ limitations under the License. -->
}
.profile-btn {
- color: #3d444f;
+ color: $font-color;
padding: 1px 3px;
border-radius: 2px;
font-size: 12px;
@@ -144,6 +144,6 @@ limitations under the License. -->
}
.profile-segment {
- border-top: 1px solid rgba(0, 0, 0, 0.07);
+ border-top: 1px solid rgb(0 0 0 / 7%);
}
diff --git a/src/views/dashboard/related/profile/components/TaskList.vue b/src/views/dashboard/related/profile/components/TaskList.vue
index a3854227..ae857b17 100644
--- a/src/views/dashboard/related/profile/components/TaskList.vue
+++ b/src/views/dashboard/related/profile/components/TaskList.vue
@@ -168,7 +168,7 @@ limitations under the License. -->
.profile-td {
padding: 5px 10px;
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ border-bottom: 1px solid rgb(0 0 0 / 7%);
&.selected {
background-color: #ededed;
@@ -183,7 +183,7 @@ limitations under the License. -->
.profile-t-wrapper {
overflow: auto;
flex-grow: 1;
- border-right: 1px solid rgba(0, 0, 0, 0.1);
+ border-right: 1px solid rgb(0 0 0 / 10%);
}
.profile-t {
@@ -196,19 +196,19 @@ limitations under the License. -->
.profile-tr {
&:hover {
- background-color: rgba(0, 0, 0, 0.04);
+ background-color: rgb(0 0 0 / 4%);
}
}
.profile-segment {
- border-top: 1px solid rgba(0, 0, 0, 0.07);
+ border-top: 1px solid rgb(0 0 0 / 7%);
}
.profile-t-tool {
padding: 5px 10px;
font-weight: bold;
- border-right: 1px solid rgba(0, 0, 0, 0.07);
- border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ border-right: 1px solid rgb(0 0 0 / 7%);
+ border-bottom: 1px solid rgb(0 0 0 / 7%);
background: #f3f4f9;
}
@@ -217,7 +217,7 @@ limitations under the License. -->
}
.profile-btn {
- color: #3d444f;
+ color: $font-color;
padding: 1px 3px;
border-radius: 2px;
font-size: 12px;
diff --git a/src/views/dashboard/related/topology/components/Graph.vue b/src/views/dashboard/related/topology/components/Graph.vue
index 3382af85..689ac204 100644
--- a/src/views/dashboard/related/topology/components/Graph.vue
+++ b/src/views/dashboard/related/topology/components/Graph.vue
@@ -701,7 +701,7 @@ limitations under the License. -->
}
span:hover {
- color: #409eff;
+ color: $active-color;
background-color: #eee;
}
}
@@ -715,7 +715,7 @@ limitations under the License. -->
.switch-icon {
cursor: pointer;
transition: all 0.5ms linear;
- background: rgba(0, 0, 0, 0.3);
+ background: rgb(0 0 0 / 30%);
color: #fff;
display: inline-block;
padding: 2px 4px;
@@ -736,7 +736,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;
diff --git a/src/views/dashboard/related/topology/components/PodTopology.vue b/src/views/dashboard/related/topology/components/PodTopology.vue
index cc63d346..59e4b2fb 100644
--- a/src/views/dashboard/related/topology/components/PodTopology.vue
+++ b/src/views/dashboard/related/topology/components/PodTopology.vue
@@ -329,7 +329,7 @@ limitations under the License. -->
}
span:hover {
- color: #409eff;
+ color: $active-color;
background-color: #eee;
}