update icons creation page

This commit is contained in:
daria 2025-08-21 16:06:45 +03:00
parent a1eb6be546
commit b697c5c058
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
2 changed files with 18 additions and 6 deletions

View File

@ -122,10 +122,13 @@
position: relative;
a {
position: absolute;
top: 7px;
margin-left: 30px;
margin-left: 1em;
font-size: 16px;
color: inherit;
svg {
margin: 0;
}
}
a:focus-visible {
border-radius: 50%;
@ -196,6 +199,9 @@
&:hover {
text-decoration: none;
}
svg {
margin: 0;
}
}
.cp-creation-slider {
display: none;
@ -343,7 +349,6 @@
flex-wrap: nowrap;
justify-content: space-between;
.cp-creation-template-more {
font-size: 30px;
margin: 0 5px;
text-align: center;
background-color: transparent;
@ -366,6 +371,11 @@
outline: @variables_focus_style;
border-radius: @variables_radius;
}
svg {
margin: 0;
height: 1.5rem;
width: 1.5rem;
}
}
}
.cp-creation-template-container {
@ -399,7 +409,7 @@
&.cp-creation-template-selected, &:hover {
background-color: @creation-bg-color-light;
background-color: var(--creation-bg-color-light);
.fa, .cptools {
svg {
color: @creation-color;
color: var(--creation-color);
}
@ -430,11 +440,12 @@
line-height: 25px;
max-width: 100%;
}
.fa, .cptools {
svg {
color: @creation-bg-color;
color: var(--creation-bg-color);
cursor: pointer;
font-size: 30px;
height: 1.8rem;
width: 1.8rem;
text-align: center;
margin-right: 10px;
}

View File

@ -2961,6 +2961,7 @@ define([
icon: UI.getFileIcon({type: type})
});
var redraw = function (index) {
setTimeout( ()=> Lucide.createIcons());
if (index < 0) { i = 0; }
else if (index > allData.length - 1) { return; }
else { i = index; }