From 48956acc9ea82e210afeac8392c2e1a9aca9e99a Mon Sep 17 00:00:00 2001 From: Fine Date: Fri, 12 Jan 2024 11:52:38 +0800 Subject: [PATCH] style: update --- src/components/SelectSingle.vue | 10 +++++----- src/styles/theme.scss | 2 +- src/views/dashboard/panel/Tool.vue | 9 ++++----- .../dashboard/related/topology/components/Graph.vue | 13 +++++++++++-- 4 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/components/SelectSingle.vue b/src/components/SelectSingle.vue index 6f6cdd5f..796df39b 100644 --- a/src/components/SelectSingle.vue +++ b/src/components/SelectSingle.vue @@ -85,7 +85,7 @@ limitations under the License. --> .bar-select { position: relative; justify-content: space-between; - border: 1px solid #ddd; + border: 1px solid var(--el-border-color); background: $theme-background; border-radius: 3px; color: $font-color; @@ -97,8 +97,8 @@ limitations under the License. --> border-radius: 3px; margin: 3px; color: $active-color; - background-color: #fafafa; - border: 1px solid #e8e8e8; + background-color: var(--theme-background); + border: 1px solid var(--el-color-primary); text-align: center; } } @@ -139,7 +139,7 @@ limitations under the License. --> left: 0; background-color: $theme-background; box-shadow: 0 1px 6px rgb(99 99 99 / 20%); - border: 1px solid #ddd; + border: 1px solid var(--el-border-color); width: 100%; border-radius: 0 0 3px 3px; border-right-width: 1px !important; @@ -169,7 +169,7 @@ limitations under the License. --> } &:hover { - background-color: #f5f5f5; + background-color: var(--layout-background); } } diff --git a/src/styles/theme.scss b/src/styles/theme.scss index 98e5fa3d..c6296300 100644 --- a/src/styles/theme.scss +++ b/src/styles/theme.scss @@ -68,7 +68,7 @@ html { --sw-time-axis-text: #4d4d4d; --sw-drawer-header: #72767b; --sw-marketplace-border: #dedfe0; - --sw-grid-item-active: #79bbff; + --sw-grid-item-active: #d4d7de; } html.dark { diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index 2f986a4f..45a6139a 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -42,11 +42,11 @@ limitations under the License. --> :isRemote="['EndpointRelation', 'Endpoint'].includes(dashboardStore.entity)" /> - +
@@ -722,10 +722,9 @@ limitations under the License. --> .hierarchy-btn { display: inline-block; - width: 24px; - height: 24px; + padding: 0 2px 2px; border: 1px solid #666; - border-radius: 5px; + border-radius: 4px; text-align: center; color: #aaa; } diff --git a/src/views/dashboard/related/topology/components/Graph.vue b/src/views/dashboard/related/topology/components/Graph.vue index 7647d3b1..10b14a82 100644 --- a/src/views/dashboard/related/topology/components/Graph.vue +++ b/src/views/dashboard/related/topology/components/Graph.vue @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->