mirror of
https://github.com/Codennnn/vue-color-avatar.git
synced 2024-12-22 12:02:38 +00:00
Change aside style
This commit is contained in:
parent
b6fc6eef52
commit
7e865e8bd4
@ -291,7 +291,6 @@ function handleAction(actionType: ActionType) {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
@mixin gradient-style($color) {
|
||||
position: absolute;
|
||||
|
@ -212,8 +212,11 @@ function setWidgetColor(widgetType: WidgetType, fillColor: string) {
|
||||
.configurator-scroll {
|
||||
width: var.$layout-sider-width;
|
||||
height: 100%;
|
||||
|
||||
@media screen and (max-width: var.$screen-lg) {
|
||||
background-color: var.$color-configurator;
|
||||
}
|
||||
}
|
||||
|
||||
.configurator {
|
||||
width: 100%;
|
||||
@ -360,7 +363,7 @@ function setWidgetColor(widgetType: WidgetType, fillColor: string) {
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: darken(var.$color-configurator, 3);
|
||||
background-color: lighten(var.$color-configurator, 0);
|
||||
}
|
||||
|
||||
& > :deep(svg) {
|
||||
|
@ -26,11 +26,9 @@ const { isCollapsed, openSider, closeSider } = useSider()
|
||||
height: 100%;
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
& {
|
||||
transition: transform 0.2s;
|
||||
will-change: transform;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-right {
|
||||
transition: transform 0.2s;
|
||||
|
Loading…
Reference in New Issue
Block a user