style: file format: global.ts, standard.scss
This commit is contained in:
parent
b9672a1dbe
commit
175a0d748b
2 changed files with 6 additions and 13 deletions
17
src/scss/themes/standard.scss
vendored
17
src/scss/themes/standard.scss
vendored
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import CookieNotice from "./../index";
|
||||
import "./../../scss/themes/standard.scss";
|
||||
import CookieNotice from "./../index";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue