Loads of Riddle Stuff
This commit is contained in:
1 parent
69b730ad92
commit
eaa5cc0065
18 files changed
+393
-87
No files matched your search
@@ -3,48 +3,58 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.5rem 1.25rem;
|
||||
min-width: 8rem;
|
||||
padding: 0.5rem 0px;
|
||||
min-width: 250px;
|
||||
height: 2.75rem;
|
||||
border: 2px solid white;
|
||||
border-radius: 0.625rem;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
outline: none;
|
||||
isolation: isolate;
|
||||
cursor: pointer;
|
||||
background: #000;
|
||||
background: transparent;
|
||||
color: #FFF;
|
||||
box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.15);
|
||||
transition: box-shadow 120ms ease, transform 120ms ease;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
&.button-disabled {
|
||||
color: lightslategray;
|
||||
border-color: lightslategray;
|
||||
}
|
||||
/*filter: drop-shadow(0px 0px 8px black);*/
|
||||
}
|
||||
|
||||
.charged-button:hover {
|
||||
box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.45);
|
||||
.charged-button.button-disabled {
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.charged-button:active {
|
||||
.charged-button:active:not(.button-disabled) {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
.charged-button-frame,
|
||||
.charged-button-fill {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: 100% 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.charged-button-frame {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.charged-button-fill {
|
||||
z-index: 1;
|
||||
will-change: clip-path;
|
||||
}
|
||||
|
||||
.charged-button-label {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.charged-button-fill {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 0px;
|
||||
opacity: 0.7;
|
||||
background: linear-gradient(120deg, #1ea, #2af, #e1f);
|
||||
transition: opacity 120ms ease;
|
||||
text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
Reference in new issue
Block a user