mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-30 07:29:08 +08:00
feat: 修改部分样式
This commit is contained in:
parent
ccc01c3c3a
commit
4f15e49b2e
@ -1,9 +1,19 @@
|
||||
<template>
|
||||
<el-popover placement="right" :width="400" trigger="click" :title="$t('file.list')" :visible="popoverVisible">
|
||||
<el-popover
|
||||
placement="right"
|
||||
:width="400"
|
||||
trigger="click"
|
||||
:title="$t('file.list')"
|
||||
:visible="popoverVisible"
|
||||
popper-class="file-list"
|
||||
>
|
||||
<template #reference>
|
||||
<el-button :icon="Folder" @click="popoverVisible = true"></el-button>
|
||||
</template>
|
||||
<div>
|
||||
<el-button class="close" link @click="popoverVisible = false">
|
||||
<el-icon><Close /></el-icon>
|
||||
</el-button>
|
||||
<BreadCrumbs>
|
||||
<BreadCrumbItem @click="jump(-1)" :right="paths.length == 0">
|
||||
<el-icon><HomeFilled /></el-icon>
|
||||
@ -152,3 +162,14 @@ onUpdated(() => {
|
||||
search(req);
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.file-list {
|
||||
position: relative;
|
||||
.close {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -63,6 +63,10 @@ html.dark {
|
||||
--el-pagination-button-color: #999999;
|
||||
}
|
||||
|
||||
.el-popover {
|
||||
--el-popover-title-text-color: #999999;
|
||||
}
|
||||
|
||||
// * wangEditor
|
||||
--w-e-textarea-bg-color: #1b1b1b;
|
||||
--w-e-textarea-color: #eeeeee;
|
||||
@ -218,4 +222,7 @@ html.dark {
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-loading-mask {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user