add brightness affect to active card element

This commit is contained in:
AlecM33
2022-07-05 19:28:56 -04:00
parent 8e455f258a
commit 072c49c47a
4 changed files with 6 additions and 3 deletions

View File

@@ -2,7 +2,6 @@ import { DeckStateManager } from '../modules/DeckStateManager.js';
import { GameCreationStepManager } from '../modules/GameCreationStepManager.js';
import { injectNavbar } from '../modules/Navbar.js';
import createTemplate from '../view_templates/CreateTemplate.js';
import { toast } from '../modules/Toast';
const create = () => {
injectNavbar();

View File

@@ -271,6 +271,10 @@ h1 {
-moz-user-select: none;
}
#game-role:active, #game-role-back:active {
filter: brightness(0.85);
}
.game-role-good {
border: 5px solid #5469c5 !important;
}

View File

@@ -26,7 +26,7 @@ if (process.env.NODE_ENV.trim() === 'production') {
router.use(cors(globals.CORS));
router.use((req, res, next) => {
req.accepts()
req.accepts();
if (isAuthorized(req)) {
next();
} else {

View File

@@ -13,7 +13,7 @@ const globals = {
optionsSuccessStatus: 200
},
CONTENT_TYPE_VALIDATOR: (req, res, next) => {
req.accepts()
req.accepts();
if (req.is('application/json')) {
next();
} else {