mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-12-21 15:00:28 +08:00
Compare commits
1 Commits
main
...
perf/Theme
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e21bc268b |
@@ -345,8 +345,8 @@ onUnmounted(() => removeMatchMedia);
|
|||||||
@click="setLayoutThemeColor(item.themeColor)"
|
@click="setLayoutThemeColor(item.themeColor)"
|
||||||
>
|
>
|
||||||
<el-icon
|
<el-icon
|
||||||
style="margin: 0.1em 0.1em 0 0"
|
class="mt-px"
|
||||||
:size="17"
|
:size="20"
|
||||||
:color="getThemeColor(item.themeColor)"
|
:color="getThemeColor(item.themeColor)"
|
||||||
>
|
>
|
||||||
<IconifyIconOffline :icon="Check" />
|
<IconifyIconOffline :icon="Check" />
|
||||||
@@ -538,17 +538,24 @@ onUnmounted(() => removeMatchMedia);
|
|||||||
}
|
}
|
||||||
|
|
||||||
.theme-color {
|
.theme-color {
|
||||||
height: 20px;
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
margin-top: 8px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
float: left;
|
position: relative;
|
||||||
height: 20px;
|
width: 21px;
|
||||||
margin-right: 8px;
|
height: 21px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
box-shadow: rgb(0 0 0 / 15%) 0 0 0 1px inset;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
&:nth-child(1) {
|
&:hover {
|
||||||
border: 1px solid #ddd;
|
box-shadow:
|
||||||
|
rgb(0 0 0 / 25%) 0 0 0 1px inset,
|
||||||
|
0 2px 4px rgb(0 0 0 / 15%);
|
||||||
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user