Buttons, Riddles, RiddleStyles
This commit is contained in:
1 parent
54f4e991a3
commit
690eb07eb0
10 files changed
+95
-57
No files matched your search
@@ -4,8 +4,8 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.5rem 0px;
|
||||
min-width: 250px;
|
||||
height: 2.75rem;
|
||||
min-width: 220px;
|
||||
height: 3.5rem;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
outline: none;
|
||||
@@ -13,17 +13,18 @@
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
color: #FFF;
|
||||
transition: box-shadow 120ms ease, transform 120ms ease;
|
||||
transition: box-shadow 120ms ease, transform 120ms ease, 150ms ease-out filter, 150ms ease-out color;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
/*filter: drop-shadow(0px 0px 8px black);*/
|
||||
--shadow: drop-shadow(0px 0px 4px #000a);
|
||||
filter: var(--shadow);
|
||||
}
|
||||
|
||||
.charged-button.button-disabled {
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.6;
|
||||
filter: grayscale(0.75) var(--shadow);
|
||||
cursor: not-allowed;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.charged-button:active:not(.button-disabled) {
|
||||
@@ -49,6 +50,7 @@
|
||||
|
||||
.charged-button-fill {
|
||||
z-index: 1;
|
||||
filter: brightness(2);
|
||||
will-change: clip-path;
|
||||
}
|
||||
|
||||
@@ -56,5 +58,6 @@
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);
|
||||
font-size: 1.1rem;
|
||||
/*text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);*/
|
||||
}
|
||||
Reference in new issue
Block a user