mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59: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 {
|
.dash_clock {
|
||||||
// background-image: linear-gradient(45deg, #7d7d7d, #262626 30%, #262626 60%, #10384a);
|
// background-image: linear-gradient(45deg, #7d7d7d, #262626 30%, #262626 60%, #10384a);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 400px 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash_clock_bg {
|
.dash_clock_bg {
|
||||||
|
@ -15,10 +17,28 @@
|
||||||
|
|
||||||
.dash_clock_time {
|
.dash_clock_time {
|
||||||
font-size: 30px;
|
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 {
|
.dash_clock_date {
|
||||||
font-size: 20px;
|
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 {
|
.btn_logout, .btn_restart, .btn_shutdown, .btn_switch_windows {
|
||||||
|
|
|
@ -23,11 +23,13 @@
|
||||||
|
|
||||||
(defwidget dash_clock_bg []
|
(defwidget dash_clock_bg []
|
||||||
(box :class "dash_clock_bg"
|
(box :class "dash_clock_bg"
|
||||||
|
;; :style "background-image: ${clock_gradient}"
|
||||||
:style "background-image: ${clock_gradient}"
|
:style "background-image: ${clock_gradient}"
|
||||||
))
|
))
|
||||||
|
|
||||||
(defwidget dash_clock []
|
(defwidget dash_clock []
|
||||||
(box :class "dash_clock"
|
(box :class "dash_clock"
|
||||||
|
:style "background-image: url('images/dash_clock_bg.png');"
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
:vexpand "false"
|
:vexpand "false"
|
||||||
:hexpand "false"
|
:hexpand "false"
|
||||||
|
@ -38,7 +40,7 @@
|
||||||
(label :class "dash_clock_date"
|
(label :class "dash_clock_date"
|
||||||
:halign "center"
|
:halign "center"
|
||||||
:text {formattime(EWW_TIME, "%B, %d %Y")})
|
:text {formattime(EWW_TIME, "%B, %d %Y")})
|
||||||
(box :vexpand "true")
|
;; (box :vexpand "true")
|
||||||
))
|
))
|
||||||
|
|
||||||
(defwidget logout []
|
(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