style: update button styles and add bevel-box class for improved UI
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m8s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m8s
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 905 KiB After Width: | Height: | Size: 63 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 63 KiB |
@@ -4,6 +4,7 @@
|
|||||||
--accent: #cbd5e1;
|
--accent: #cbd5e1;
|
||||||
--header-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
--header-bg: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
||||||
--button-bg: #fff;
|
--button-bg: #fff;
|
||||||
|
--button-bg-inactive: #f3f3f3f3;
|
||||||
--button-active-bg: var(--secondary);
|
--button-active-bg: var(--secondary);
|
||||||
--button-hover-bg: #e6eaff;
|
--button-hover-bg: #e6eaff;
|
||||||
--button-text: var(--primary);
|
--button-text: var(--primary);
|
||||||
|
|||||||
@@ -260,11 +260,11 @@ onUnmounted(() => {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: var(--button-bg);
|
background: var(--button-bg-inactive, #f3f3f3);
|
||||||
color: var(--button-text);
|
color: var(--button-text);
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 8px 8px 0 0;
|
border-radius: 8px 8px 0 0;
|
||||||
padding: 0.6rem 1.2rem;
|
padding: 5px 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition:
|
transition:
|
||||||
@@ -276,13 +276,16 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.view-selector button.active {
|
.view-selector button.active {
|
||||||
background: var(--button-active-bg);
|
|
||||||
color: var(--button-active-text);
|
color: var(--button-active-text);
|
||||||
|
background: rgba(255, 255, 255, 1);
|
||||||
|
box-shadow:
|
||||||
|
inset 3px 3px 0 rgba(255, 255, 255, 0.8),
|
||||||
|
inset -3px -3px 0 rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-icon {
|
.nav-icon {
|
||||||
width: 24px;
|
width: 40px;
|
||||||
height: 24px;
|
height: 40px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
opacity: 0.55;
|
opacity: 0.55;
|
||||||
transition: opacity 0.18s;
|
transition: opacity 0.18s;
|
||||||
@@ -349,4 +352,11 @@ onUnmounted(() => {
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bevel-box {
|
||||||
|
background: #ccc;
|
||||||
|
box-shadow:
|
||||||
|
inset 2px 2px 0 rgba(255, 255, 255, 0.8),
|
||||||
|
inset -2px -2px 0 rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user