-
Notifications
You must be signed in to change notification settings - Fork 0
/
MMM-Glassy.css
44 lines (38 loc) · 1020 Bytes
/
MMM-Glassy.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Module: MMM-Glassy
*/
/* default value for config failed back */
:root {
--Glassy-Padding: 5px;
--Glassy-Radius: 10px;
--Glassy-Background: rgba(0, 0, 0, 15%);
--Glassy-Blur: 5px;
--Glassy-Border-color: rgba(255, 255, 255, 10%);
--Glassy-Shadow: -5px -5px 8px black;
--gap-modules: 30px;
--gap-body-top: 60px;
--gap-body-right: 60px;
--gap-body-bottom: 60px;
--gap-body-left: 60px;
}
/* Glassy main css */
.module:not(.hidden) .Glassy > *:not(:empty) {
padding: var(--Glassy-Padding) !important;
border-radius: var(--Glassy-Radius) !important;
box-shadow: var(--Glassy-Shadow) !important;
background: var(--Glassy-Background) !important;
backdrop-filter: blur(var(--Glassy-Blur)) !important;
border: 1px solid var(--Glassy-Border-color) !important;
}
/* MMBackground */
#Background_MMM-Glassy {
width: 100%;
height: 100%;
opacity: 60%;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
#Background_MMM-Glassy.hidden {
display: none;
}