mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
added text outline
This commit is contained in:
parent
e2415a07aa
commit
95763bcb2e
3 changed files with 23 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 []
|
||||
|
|
BIN
modules/ewwbar/eww-config/images/dash_clock_bg.png
Executable file
BIN
modules/ewwbar/eww-config/images/dash_clock_bg.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Loading…
Reference in a new issue