Refactor styles for improved theme management, enhance input components, and add scene styles

This commit is contained in:
2025-03-31 18:06:44 +05:30
parent 8fc4453cee
commit b125989ae7
18 changed files with 556 additions and 371 deletions

View File

@@ -1,6 +1,22 @@
@use "../abstracts/variables" as *;
@use "../abstracts/mixins" as *;
// global input style
input {
width: 100%;
padding: 2px 4px;
border-radius: #{$border-radius-small};
border: 1px solid var(--border-color);
outline: none;
background: transparent;
&:focus,
&:active {
border: 1px solid var(--accent-color);
}
}
.input-value {
color: var(--input-text-color);
font-size: var(--font-size-regular);
@@ -169,7 +185,6 @@
display: flex;
justify-content: space-between;
cursor: pointer;
border: 1px solid var(--primary-color);
border-radius: 6px;
background-color: var(--background-color);
}
@@ -214,8 +229,8 @@
position: relative;
.dropdown {
top: 3px;
right: 3px;
top: 2px;
right: 2px;
position: absolute;
background: var(--highlight-accent-color);
border-radius: #{$border-radius-small};
@@ -228,19 +243,6 @@
}
}
input {
width: 100%;
padding: 2px 4px;
border-radius: #{$border-radius-small};
border: 1px solid var(--border-color);
outline: none;
&:focus,
&:active {
border: 1px solid var(--accent-color);
}
}
.eye-dropper-input-container {
display: flex;
align-items: center;
@@ -607,6 +609,7 @@ input {
input {
border: none;
background: transparent;
&::placeholder {
color: var(--text-disabled);

View File

@@ -96,7 +96,10 @@
}
&:hover {
background-color: var(--highlight-accent-color);
color: var(--highlight-accent-color);
span,
.menu-item-right span {
color: var(--accent-color);
}
}
.menu-item-right {
@@ -138,7 +141,9 @@
color: var(--text-color);
&:hover {
background-color: var(--highlight-accent-color);
color: var(--highlight-accent-color);
span {
color: var(--accent-color);
}
}
.shortcut {
color: var(--text-color);
@@ -150,7 +155,9 @@
&:hover {
background-color: var(--highlight-accent-color);
color: var(--highlight-accent-color);
.menu-button {
color: var(--accent-color);
}
}
}
}