style: file format: global.ts, standard.scss

This commit is contained in:
Jérémy Munsch 2024-05-23 14:38:18 +02:00
parent b9672a1dbe
commit 175a0d748b
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
2 changed files with 6 additions and 13 deletions

View file

@ -66,8 +66,7 @@ $breakpoint-mobile: 535px;
&:hover,
&:focus {
background-color: color.adjust($color: $cn-button-bg-color,
$lightness: -10%);
background-color: color.adjust($color: $cn-button-bg-color, $lightness: -10%);
/* prettier-ignore */
color: text(color.adjust($color: $cn-button-bg-color, $lightness: -10%));
@ -146,8 +145,7 @@ $breakpoint-mobile: 535px;
}
&:focus {
outline-color: color.adjust($color: $ck-secondary-color,
$lightness: -10%);
outline-color: color.adjust($color: $ck-secondary-color, $lightness: -10%);
outline-offset: 0.1rem;
outline-width: 0.2rem;
}
@ -290,7 +288,6 @@ $breakpoint-mobile: 535px;
// 2nd Page MODAL
.cn-modal-container {
.cn-modal-wrapper {
position: relative;
display: flex;
@ -398,11 +395,9 @@ $breakpoint-mobile: 535px;
}
.accept {
label:hover,
label:focus {
background-color: color.adjust($color: $ck-color-accept-hover,
$lightness: -10%);
background-color: color.adjust($color: $ck-color-accept-hover, $lightness: -10%);
}
.active {
@ -411,11 +406,9 @@ $breakpoint-mobile: 535px;
}
.deny {
label:hover,
label:focus {
background-color: color.adjust($color: $ck-color-deny-hover,
$lightness: -10%);
background-color: color.adjust($color: $ck-color-deny-hover, $lightness: -10%);
}
.active {
@ -516,4 +509,4 @@ $breakpoint-mobile: 535px;
transition: $cn-cookie-button-transition-hide;
}
}
}
}

View file

@ -1,5 +1,5 @@
import CookieNotice from "./../index";
import "./../../scss/themes/standard.scss";
import CookieNotice from "./../index";
declare global {
interface Window {