v0.2.0: Cursor-Fix + Text über Icons

main v0.2.0
Sebastian Serfling 2025-09-23 16:35:12 +02:00
parent 554fc9879d
commit 8b3193be65
5 changed files with 43 additions and 15 deletions

View File

@ -3,30 +3,34 @@
:x "50%" :x "50%"
:y "50%" :y "50%"
:anchor "top left" :anchor "top left"
:width "400px" :width "500px"
:height "120px") :height "150px")
:stacking "fg" ;; oder "bg", je nach Geschmack :stacking "fg"
(box (box
:orientation "h" :orientation "h"
:halign "center" :halign "center"
:spacing 40 :spacing 40
;; Remmina
(button (button
:class "icon-btn" :class "icon-btn"
:tooltip "Remmina"
:onclick "remmina" :onclick "remmina"
(image :path "~/.config/eww/icons/remmina.png" :width 64 :height 64)) (box :orientation "v" :halign "center" :valign "center" :spacing 0
(label :class "icon" :text "")
(label :class "icon-text" :text "Remote Desktop")))
;; Support
(button (button
:class "icon-btn" :class "icon-btn"
:tooltip "Support (coming soon)"
:onclick "notify-send 'Support kommt später...'" :onclick "notify-send 'Support kommt später...'"
(image :path "~/.config/eww/icons/help.png" :width 64 :height 64)) (box :orientation "v" :halign "center" :valign "center"
(label :class "icon" :text "")
(label :class "icon-text" :text "Stines Support")))
;; Reboot
(button (button
:class "icon-btn" :class "icon-btn"
:tooltip "Reboot"
:onclick "systemctl reboot" :onclick "systemctl reboot"
(image :path "~/.config/eww/icons/reboot.png" :width 64 :height 64)) (box :orientation "v" :halign "center" :valign "center" :spacing 0
) (label :class "icon" :text "")
) (label :class "icon-text" :text "Neustarten")))))

View File

@ -1,11 +1,35 @@
.icon-btn { .icon-btn {
background: transparent; background: transparent;
border: none; border: none;
padding: 10px; min-width: 80px;
transition: all 0.2s ease; min-height: 60px;
margin: 0px;
// display: flex;
// align-items: center;
// justify-content: center;
// transition: background 0.2s ease;
// padding: 5px;
// cursor: pointer;
} }
.icon-btn:hover { .icon-btn:hover {
background: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.15);
border-radius: 20px; }
.icon-btn:hover .icon-text {
text-decoration: underline;
}
.icon {
font-family: "Symbols Nerd Font Mono";
font-size: 60px;
margin-left: -1rem;
margin-bottom: -1rem;
color: #ffffff;
}
.icon-text {
font-family: "sans";
font-size: 14px;
color: #dddddd;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 973 B

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 32 KiB