Fix button focus for active and rm unused import

Signed-off-by: Paul W. <lambdapaul@protonmail.com>
This commit is contained in:
Paul W. 2023-10-31 18:26:52 -04:00
parent 8867754911
commit 1cc50c621e
No known key found for this signature in database
GPG Key ID: 0023B93C0FF1E1D4
2 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,5 @@
const fs = require('fs/promises'); const fs = require('fs/promises');
const { createReadStream, write } = require('fs'); const { createReadStream } = require('fs');
const path = require('path'); const path = require('path');
const readline = require('readline/promises'); const readline = require('readline/promises');
const { info } = require('console'); const { info } = require('console');

View File

@ -318,10 +318,6 @@ li {
box-shadow: 0 0 0 1px var(--secondary-green); box-shadow: 0 0 0 1px var(--secondary-green);
} }
.button:focus {
box-shadow: 0 0 0 2px #ffffff;
}
.button:active { .button:active {
text-decoration: none; text-decoration: none;
box-shadow: 0 0 0 1px var(--tertiary-green); box-shadow: 0 0 0 1px var(--tertiary-green);
@ -330,6 +326,10 @@ li {
background: var(--tertiary-green); background: var(--tertiary-green);
} }
.button:focus {
box-shadow: 0 0 0 2px #ffffff;
}
.button.blue { .button.blue {
background: var(--primary-blue); background: var(--primary-blue);
} }
@ -341,7 +341,11 @@ li {
.button.blue:active { .button.blue:active {
background: var(--tertiary-blue); background: var(--tertiary-blue);
box-shadow: none; box-shadow: 0 0 0 1px var(--tertiary-green);
}
.button.blue:focus {
box-shadow: 0 0 0 2px #ffffff;
} }
.text.center { .text.center {