2022-08-02 23:19:31 +02:00
|
|
|
.set-blur-background(@color: @base-body-background, @opacity: 80%) {
|
2022-11-03 08:32:59 +01:00
|
|
|
&.uk-blur-background, .uk-blur-background {
|
|
|
|
background: fade(@color, 99%);
|
2022-07-17 15:05:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
|
2022-11-03 08:32:59 +01:00
|
|
|
&.uk-blur-background, .uk-blur-background {
|
2022-07-17 15:05:14 +02:00
|
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
|
|
background: fade(@color, @opacity);
|
|
|
|
}
|
|
|
|
}
|
2022-11-03 08:32:59 +01:00
|
|
|
|
|
|
|
/* for firefox */
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
&.uk-blur-background, .uk-blur-background {
|
|
|
|
background: fade(@color, 99%);
|
|
|
|
}
|
|
|
|
}
|
2022-07-17 15:05:14 +02:00
|
|
|
}
|