mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +08:00
feat: 修改部分样式
This commit is contained in:
parent
ccc01c3c3a
commit
4f15e49b2e
@ -1,9 +1,19 @@
|
|||||||
<template>
|
<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>
|
<template #reference>
|
||||||
<el-button :icon="Folder" @click="popoverVisible = true"></el-button>
|
<el-button :icon="Folder" @click="popoverVisible = true"></el-button>
|
||||||
</template>
|
</template>
|
||||||
<div>
|
<div>
|
||||||
|
<el-button class="close" link @click="popoverVisible = false">
|
||||||
|
<el-icon><Close /></el-icon>
|
||||||
|
</el-button>
|
||||||
<BreadCrumbs>
|
<BreadCrumbs>
|
||||||
<BreadCrumbItem @click="jump(-1)" :right="paths.length == 0">
|
<BreadCrumbItem @click="jump(-1)" :right="paths.length == 0">
|
||||||
<el-icon><HomeFilled /></el-icon>
|
<el-icon><HomeFilled /></el-icon>
|
||||||
@ -152,3 +162,14 @@ onUpdated(() => {
|
|||||||
search(req);
|
search(req);
|
||||||
});
|
});
|
||||||
</script>
|
</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-pagination-button-color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-popover {
|
||||||
|
--el-popover-title-text-color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
// * wangEditor
|
// * wangEditor
|
||||||
--w-e-textarea-bg-color: #1b1b1b;
|
--w-e-textarea-bg-color: #1b1b1b;
|
||||||
--w-e-textarea-color: #eeeeee;
|
--w-e-textarea-color: #eeeeee;
|
||||||
@ -218,4 +222,7 @@ html.dark {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.el-loading-mask {
|
||||||
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user