mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-30 09:47:50 +01:00
add brightness affect to active card element
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user