forked from olcxjas-softworks/LarpixClient
More animations
This commit is contained in:
parent
7ca3832286
commit
d29c5eea74
12 changed files with 388 additions and 78 deletions
|
|
@ -5,6 +5,7 @@
|
|||
:root {
|
||||
--main-bg-color: rgb(20, 20, 20);
|
||||
--text-color: rgb(240, 240, 245);
|
||||
--darker-text-color: rgb(210, 210, 215);
|
||||
--icon-button-size: 2rem;
|
||||
--press-scale: scale(0.92);
|
||||
--light-border-color: rgba(255, 255, 255, 0.08);
|
||||
|
|
@ -393,10 +394,53 @@ sidebarelement:has(.icon-button:active) indicator:not(.active) {
|
|||
transform: translateY(calc( ( var(--icon-button-height) + (var(--button-margin) * 2) ) / 2 - 0.6rem));
|
||||
}
|
||||
|
||||
blah {
|
||||
blah, inherit, .inherit {
|
||||
all: inherit;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: inline;
|
||||
opacity: 1;
|
||||
}
|
||||
space{
|
||||
margin-left: 0.4rem;
|
||||
}
|
||||
|
||||
.context-menu {
|
||||
position: fixed;
|
||||
background: var(--main-bg-color);
|
||||
border: var(--border-width) solid var(--light-border-color);
|
||||
border-radius: 0.8rem;
|
||||
padding: 0.4rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.2rem;
|
||||
z-index: 2000;
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
|
||||
|
||||
opacity: 0;
|
||||
transform: scale(0.95);
|
||||
transform-origin: center left;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.context-menu.show {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.context-menu button {
|
||||
margin: 0;
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
background: transparent;
|
||||
width: 100%;
|
||||
min-width: 10rem;
|
||||
justify-content: flex-start;
|
||||
gap: 0.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.context-menu button:hover {
|
||||
background-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue