added text outline

This commit is contained in:
Nickiel12 2023-11-11 10:07:02 -08:00
parent e2415a07aa
commit 95763bcb2e
3 changed files with 23 additions and 1 deletions

View file

@ -6,6 +6,8 @@
.dash_clock {
// background-image: linear-gradient(45deg, #7d7d7d, #262626 30%, #262626 60%, #10384a);
border-radius: 16px;
background-repeat: no-repeat;
background-size: 400px 150px;
}
.dash_clock_bg {
@ -15,10 +17,28 @@
.dash_clock_time {
font-size: 30px;
text-shadow:
-1px -1px 0 #000,
0 -1px 0 #000,
1px -1px 0 #000,
1px 0 0 #000,
1px 1px 0 #000,
0 1px 0 #000,
-1px 1px 0 #000,
-1px 0 0 #000;
}
.dash_clock_date {
font-size: 20px;
text-shadow:
-1px -1px 0 #000,
0 -1px 0 #000,
1px -1px 0 #000,
1px 0 0 #000,
1px 1px 0 #000,
0 1px 0 #000,
-1px 1px 0 #000,
-1px 0 0 #000;
}
.btn_logout, .btn_restart, .btn_shutdown, .btn_switch_windows {

View file

@ -23,11 +23,13 @@
(defwidget dash_clock_bg []
(box :class "dash_clock_bg"
;; :style "background-image: ${clock_gradient}"
:style "background-image: ${clock_gradient}"
))
(defwidget dash_clock []
(box :class "dash_clock"
:style "background-image: url('images/dash_clock_bg.png');"
:orientation "v"
:vexpand "false"
:hexpand "false"
@ -38,7 +40,7 @@
(label :class "dash_clock_date"
:halign "center"
:text {formattime(EWW_TIME, "%B, %d %Y")})
(box :vexpand "true")
;; (box :vexpand "true")
))
(defwidget logout []

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB