mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
feat: add tooltip
This commit is contained in:
parent
00e1cb1772
commit
91838d1b71
@ -62,7 +62,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html.dark {
|
html.dark {
|
||||||
--el-color-primary: rgb(64, 158, 255);
|
--el-color-primary: #409eff;
|
||||||
--theme-background: #212224;
|
--theme-background: #212224;
|
||||||
--font-color: #fafbfc;
|
--font-color: #fafbfc;
|
||||||
--disabled-color: #ccc;
|
--disabled-color: #ccc;
|
||||||
|
@ -25,9 +25,11 @@ limitations under the License. -->
|
|||||||
{{ dateFormat(data.timestamp) }}
|
{{ dateFormat(data.timestamp) }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="item.label === 'tags'" :class="level.toLowerCase()"> > </span>
|
<span v-else-if="item.label === 'tags'" :class="level.toLowerCase()"> > </span>
|
||||||
<span v-else-if="item.label === 'traceId'" :class="noLink ? '' : 'blue'">
|
<el-tooltip v-else-if="item.label === 'traceId'" content="Trace Link">
|
||||||
<Icon v-if="!noLink" iconName="merge" />
|
<span :class="noLink ? '' : 'blue'">
|
||||||
</span>
|
<Icon v-if="!noLink" iconName="merge" />
|
||||||
|
</span>
|
||||||
|
</el-tooltip>
|
||||||
<span v-else>{{ data[item.label] }}</span>
|
<span v-else>{{ data[item.label] }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -89,6 +91,7 @@ limitations under the License. -->
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -96,7 +99,7 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
|
|
||||||
.blue {
|
.blue {
|
||||||
color: #448dfe;
|
color: var(--el-color-primary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,7 +107,7 @@ limitations under the License. -->
|
|||||||
width: 15px;
|
width: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: var(--sw-green);
|
color: var(--sw-green);
|
||||||
font-weight: 600;
|
font-weight: 400;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,7 +287,6 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
|
|
||||||
.profiled {
|
.profiled {
|
||||||
// background-color: #eee;
|
|
||||||
background-color: var(--sw-table-header);
|
background-color: var(--sw-table-header);
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -329,7 +328,6 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
|
|
||||||
.trace-item {
|
.trace-item {
|
||||||
// display: flex;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
Loading…
Reference in New Issue
Block a user