refactor: style

This commit is contained in:
Fine 2024-01-18 11:33:59 +08:00
parent 4f8cb9076a
commit 99aa6b5b05
4 changed files with 37 additions and 36 deletions

View File

@ -198,6 +198,7 @@ limitations under the License. -->
fill: var(--sw-topology-color);
font-size: 12px;
opacity: 0.9;
z-index: 1;
}
.hierarchy-services-svg {

View File

@ -171,22 +171,5 @@ limitations under the License. -->
}
</script>
<style lang="scss" scoped>
.hierarchy-services-topo {
position: absolute;
width: 100%;
}
.el-loading-spinner {
top: 30%;
}
#popover {
position: absolute;
visibility: hidden;
padding: 5px;
border: var(--sw-topology-border);
border-radius: 3px;
background-color: $theme-background;
z-index: 9999;
}
@import url("../style.scss");
</style>

View File

@ -180,22 +180,5 @@ limitations under the License. -->
}
</script>
<style lang="scss" scoped>
.hierarchy-services-topo {
position: absolute;
width: 100%;
}
.el-loading-spinner {
top: 30%;
}
#popover {
position: absolute;
visibility: hidden;
padding: 5px;
border: var(--sw-topology-border);
border-radius: 3px;
background-color: $theme-background;
z-index: 9999;
}
@import url("../style.scss");
</style>

View File

@ -0,0 +1,34 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* 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.
*/
.hierarchy-services-topo {
position: absolute;
width: 100%;
}
.el-loading-spinner {
top: 30%;
}
#popover {
position: absolute;
visibility: hidden;
padding: 5px;
border: var(--sw-topology-border);
border-radius: 3px;
background-color: var(--theme-background);
z-index: 9999;
}