-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
161 lines (137 loc) · 3.85 KB
/
style.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
:root {
/* Choose background colors, ordered from left to right */
/* Set --gaudi-bg-gaudidate to "none" to have date's background same as bar */
--gaudi-bg: #000000;
/* Choose foreground colors */
--gaudi-fg-gaudi-widget: #ffffff;
/* Opacity. Change --gaudi-opacity-center to 0 in order to hide date */
/* --gaudi-opacity affects --gaudi-border, so set it to 0 if you would like */
/* for every widget to appear independent. */
--gaudi-opacity: 0.0;
--gaudi-opacity-inner: 1;
--gaudi-opacity-center: 1;
/* Shadow. */
--gaudi-shadow: 0px 4px 10px 4px rgba(0,0,0,0.20);
--gaudi-shadow-inner: 0px 1px 1px 1px rgba(0,0,0,0.03);
/* Bar's total height including --gaudi-border and excluding padding */
--gaudi-height: 33px;
/* Entire bar's outer padding (use --gaudi-border for space between widgets) */
--gaudi-padding: 10px;
--gaudi-margin: 0 5px;
/* Border size. Also functions as space between widgets, */
/* so set --gaudi-opacity to 0 if you want widgets to appear independent */
--gaudi-border: 6px;
/* Rounded corner radius */
/* Inner radius is best suited for when widgets appear independent */
/* by setting --gaudi-opacity to 0 */
--gaudi-border-radius: 0px;
--gaudi-border-radius-inner: 0px;
/* Inner-horizontal padding. --gaudi-height determines inner-vertical padding */
--gaudi-text-padding: 3h;
/* Mono font recommended (alignment depends on character width) */
--gaudi-font: scientifica, SF Mono, Menlo;
--gaudi-font-size: 12px;
--gaudi-font-style: none;
--gaudi-icon-font: FontAwesome;
--gaudi-icon-size: 10px;
}
.widget {
width: 100vw;
height: 100vh;
}
.gaudi-flex {
display: flex;
align-items: center;
}
.gaudi-bar__top, .gaudi-bar__bottom {
height: var(--gaudi-height);
width: 100%;
position: absolute;
justify-content: space-between;
display: flex;
flex-wrap: wrap-reverse;
}
.gaudi-bar__top-middle, .gaudi-bar__bottom-middle {
position: fixed;
left: 50%;
transform: translate(-50%, -50%);
flex-direction: column !important;
z-index: -1;
}
@media screen and (max-width: 1080px) {
.gaudi-bar__top-middle, .gaudi-bar__bottom-middle {
display: none;
}
}
.gaudi-bar-section {
display: flex;
margin: 5px;
justify-content: space-between;
align-items: center;
flex-direction: row-reverse;
}
.gaudi-bar-section-widget-container {
margin: 0 5px;
background: var(--gaudi-bg);
}
.gaudi-bar-section-widget {
display: flex;
height: 20px;
align-items: center;
font: var(--gaudi-font-size) var(--gaudi-font);
font-style: var(--gaudi-font-style);
color: var(--gaudi-fg-gaudi-widget);
opacity: var(--gaudi-opacity-inner);
padding: 2px var(--gaudi-padding) 0;
border-radius: var(--gaudi-border-radius);
line-height: calc(var(--gaudi-height) - calc(var(--gaudi-border) * 2));
box-shadow: var(--gaudi-shadow-inner);
position: relative;
}
.gaudi-bar-section-widget-section, .gaudi-content__spaced {
margin: var(--gaudi-margin);
}
.gaudi-bar__top {
top: 10px;
}
.gaudi-bar__bottom {
bottom: 5px;
}
.gaudi-icon {
margin: 0 8px 0 0;
}
.gaudi-clickable:hover {
cursor: pointer;
opacity: .5;
}
.gaudi-icon-single {
margin: 0;
}
.gaudi-red {
background-color: #ee5f5b;
}
.gaudi-orange {
background-color: #f89406;
}
.gaudi-yellow {
background-color: #ecd211;
}
.gaudi_widget_details {
position: absolute;
top: 30px;
left: 0;
display: flex;
border: 1px solid;
width: max-content;
visibility: hidden;
border: none;
border-radius: 0px;
}
.gaudi_widget_detail {
display: table;
padding: 2px 6px;
font-size: 11px;
}
.gaudi-bar-section-widget:hover .gaudi_widget_details, .gaudi-bar-section-widget.hover .gaudi_widget_details{
visibility: visible;
}