mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2026-06-16 15:59:39 +00:00
feat: add popper theme
This commit is contained in:
@@ -87,7 +87,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -80,7 +80,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ limitations under the License. -->
|
||||
<template>
|
||||
<div class="content-wrapper flex-v">
|
||||
<div class="title">Task Timeline</div>
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode" :effect="appStore.theme">
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode">
|
||||
<template #reference>
|
||||
<span class="operation cp">
|
||||
<Icon iconName="ellipsis_v" size="middle" />
|
||||
@@ -32,7 +32,6 @@ limitations under the License. -->
|
||||
import type { PropType } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useDashboardStore } from "@/store/modules/dashboard";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
import Content from "../related/task-timeline/Content.vue";
|
||||
|
||||
/*global defineProps */
|
||||
@@ -46,7 +45,6 @@ limitations under the License. -->
|
||||
});
|
||||
const { t } = useI18n();
|
||||
const dashboardStore = useDashboardStore();
|
||||
const appStore = useAppStoreWithOut();
|
||||
|
||||
function removeWidget() {
|
||||
dashboardStore.removeControls(props.data);
|
||||
@@ -81,7 +79,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,13 +15,7 @@ limitations under the License. -->
|
||||
<template>
|
||||
<div class="text">
|
||||
<div class="header">
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
trigger="click"
|
||||
:width="100"
|
||||
v-if="dashboardStore.editMode"
|
||||
:effect="appStore.theme"
|
||||
>
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode">
|
||||
<template #reference>
|
||||
<span>
|
||||
<Icon iconName="ellipsis_v" size="middle" class="operation" />
|
||||
@@ -61,7 +55,6 @@ limitations under the License. -->
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useDashboardStore } from "@/store/modules/dashboard";
|
||||
import { TextColors } from "@/views/dashboard/data";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
|
||||
/*global defineProps */
|
||||
const props = defineProps({
|
||||
@@ -74,7 +67,6 @@ limitations under the License. -->
|
||||
const { t } = useI18n();
|
||||
const graph = computed(() => props.data.graph || {});
|
||||
const dashboardStore = useDashboardStore();
|
||||
const appStore = useAppStoreWithOut();
|
||||
|
||||
function removeTopo() {
|
||||
dashboardStore.removeControls(props.data);
|
||||
@@ -120,7 +112,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -15,13 +15,7 @@ limitations under the License. -->
|
||||
<template>
|
||||
<div class="text">
|
||||
<div class="header">
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
trigger="click"
|
||||
:width="100"
|
||||
v-if="dashboardStore.editMode"
|
||||
:effect="appStore.theme"
|
||||
>
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode">
|
||||
<template #reference>
|
||||
<span>
|
||||
<Icon iconName="ellipsis_v" size="middle" class="operation" />
|
||||
@@ -53,7 +47,6 @@ limitations under the License. -->
|
||||
import type { PropType } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useDashboardStore } from "@/store/modules/dashboard";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
|
||||
/*global defineProps */
|
||||
const props = defineProps({
|
||||
@@ -65,7 +58,6 @@ limitations under the License. -->
|
||||
});
|
||||
const { t } = useI18n();
|
||||
const dashboardStore = useDashboardStore();
|
||||
const appStore = useAppStoreWithOut();
|
||||
const widget = computed(() => props.data.widget || {});
|
||||
|
||||
function removeTopo() {
|
||||
@@ -111,7 +103,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,13 +15,7 @@ limitations under the License. -->
|
||||
<template>
|
||||
<div class="time-range">
|
||||
<div class="header">
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
trigger="click"
|
||||
:width="100"
|
||||
v-if="dashboardStore.editMode"
|
||||
:effect="appStore.theme"
|
||||
>
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode">
|
||||
<template #reference>
|
||||
<span>
|
||||
<Icon iconName="ellipsis_v" size="middle" class="operation" />
|
||||
@@ -182,7 +176,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -15,13 +15,7 @@ limitations under the License. -->
|
||||
<template>
|
||||
<div class="topology flex-v">
|
||||
<div class="operation">
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
trigger="click"
|
||||
:width="100"
|
||||
v-if="dashboardStore.editMode"
|
||||
:effect="appStore.theme"
|
||||
>
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode">
|
||||
<template #reference>
|
||||
<span>
|
||||
<Icon iconName="ellipsis_v" size="middle" />
|
||||
@@ -43,7 +37,6 @@ limitations under the License. -->
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useDashboardStore } from "@/store/modules/dashboard";
|
||||
import Topology from "../related/topology/Index.vue";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
|
||||
/*global defineProps */
|
||||
const props = defineProps({
|
||||
@@ -55,7 +48,6 @@ limitations under the License. -->
|
||||
});
|
||||
const { t } = useI18n();
|
||||
const dashboardStore = useDashboardStore();
|
||||
const appStore = useAppStoreWithOut();
|
||||
|
||||
function removeTopo() {
|
||||
dashboardStore.removeControls(props.data);
|
||||
@@ -89,7 +81,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License. -->
|
||||
<template>
|
||||
<div class="trace-wrapper flex-v">
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode" :effect="appStore.theme">
|
||||
<el-popover placement="bottom" trigger="click" :width="100" v-if="dashboardStore.editMode">
|
||||
<template #reference>
|
||||
<span class="delete cp">
|
||||
<Icon iconName="ellipsis_v" size="middle" class="operation" />
|
||||
@@ -41,7 +41,6 @@ limitations under the License. -->
|
||||
import TraceDetail from "../related/trace/Detail.vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { useDashboardStore } from "@/store/modules/dashboard";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
|
||||
/*global defineProps */
|
||||
const props = defineProps({
|
||||
@@ -55,7 +54,6 @@ limitations under the License. -->
|
||||
provide("options", props.data);
|
||||
const { t } = useI18n();
|
||||
const dashboardStore = useDashboardStore();
|
||||
const appStore = useAppStoreWithOut();
|
||||
function removeWidget() {
|
||||
dashboardStore.removeControls(props.data);
|
||||
}
|
||||
@@ -91,7 +89,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ limitations under the License. -->
|
||||
<Icon iconName="info_outline" size="sm" class="operation" v-show="widget.tips" />
|
||||
</span>
|
||||
</el-tooltip>
|
||||
<el-popover placement="bottom" trigger="click" :width="100" :effect="appStore.theme">
|
||||
<el-popover placement="bottom" trigger="click" :width="100">
|
||||
<template #reference>
|
||||
<span>
|
||||
<Icon iconName="ellipsis_v" size="middle" class="operation" />
|
||||
@@ -294,7 +294,7 @@ limitations under the License. -->
|
||||
|
||||
&:hover {
|
||||
color: $active-color;
|
||||
background-color: #eee;
|
||||
background-color: $popper-hover-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user