add: taken slug check
This commit is contained in:
parent
a33ee961fe
commit
d80368e6c2
5 changed files with 85 additions and 7 deletions
|
@ -158,7 +158,7 @@ video {
|
|||
|
||||
/* button */
|
||||
.button {
|
||||
--h: 35.2px;
|
||||
--h: 36px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -171,11 +171,11 @@ video {
|
|||
border: none;
|
||||
width: max-content;
|
||||
height: var(--h);
|
||||
min-height: var(--h);
|
||||
max-height: var(--h);
|
||||
line-height: var(--h);
|
||||
transition: background 0.15s;
|
||||
text-decoration: none !important;
|
||||
user-select: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
|
@ -193,17 +193,19 @@ video {
|
|||
|
||||
/* input */
|
||||
input {
|
||||
--h: 35.2px;
|
||||
--h: 36px;
|
||||
padding: var(--pad-2) var(--pad-4);
|
||||
background: var(--color-raised);
|
||||
color: var(--color-text);
|
||||
outline: none;
|
||||
border: none;
|
||||
width: max-content;
|
||||
transition: background 0.15s;
|
||||
transition:
|
||||
background 0.15s,
|
||||
border 0.15s;
|
||||
height: var(--h);
|
||||
min-height: var(--h);
|
||||
max-height: var(--h);
|
||||
line-height: var(--h);
|
||||
border-left: solid 0px transparent;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
|
@ -212,6 +214,11 @@ input:focus {
|
|||
background: var(--color-super-raised);
|
||||
}
|
||||
|
||||
input:user-invalid,
|
||||
input[data-invalid] {
|
||||
border-left: inset 5px var(--color-red);
|
||||
}
|
||||
|
||||
/* typo */
|
||||
p {
|
||||
margin-bottom: var(--pad-4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue