1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-20 11:54:23 +02:00
ironbar/examples/style.css

199 lines
2.9 KiB
CSS
Raw Normal View History

2023-05-02 23:08:49 +01:00
@define-color color_bg #2d2d2d;
@define-color color_bg_dark #1c1c1c;
@define-color color_border #424242;
@define-color color_border_active #6699cc;
@define-color color_text #ffffff;
@define-color color_urgent #8f0a0a;
/* -- base styles -- */
* {
font-family: Noto Sans Nerd Font, sans-serif;
font-size: 16px;
border: none;
2023-05-02 23:08:49 +01:00
border-radius: 0;
}
2023-05-02 23:08:49 +01:00
box, menubar {
background-color: @color_bg;
}
2023-05-02 23:08:49 +01:00
button {
color: @color_text;
background-color: @color_bg;
}
2023-05-02 23:08:49 +01:00
label {
color: @color_text;
}
2023-05-02 23:08:49 +01:00
button:hover {
background-color: @color_bg_dark;
}
2023-05-02 23:08:49 +01:00
#bar {
border-top: 1px solid @color_border;
}
2023-05-02 23:08:49 +01:00
.popup {
border: 1px solid @color_border;
padding: 1em;
}
2023-05-02 23:08:49 +01:00
/* -- clipboard -- */
2023-05-02 23:08:49 +01:00
#clipboard {
margin-left: 5px;
font-size: 1.1em;
}
2023-05-02 23:08:49 +01:00
#popup-clipboard .item {
padding-bottom: 0.3em;
border-bottom: 1px solid @color_border;
}
2023-05-02 23:08:49 +01:00
/* -- clock -- */
#clock {
font-weight: bold;
margin-left: 5px;
}
2023-05-02 23:08:49 +01:00
#calendar-clock {
color: @color_text;
font-size: 2.5em;
padding-bottom: 0.1em;
}
2023-05-02 23:08:49 +01:00
#popup-clock #calendar {
background-color: @color_bg;
color: @color_text;
}
2023-05-02 23:08:49 +01:00
#popup-clock #calendar .header {
padding-top: 1em;
border-top: 1px solid @color_border;
font-size: 1.5em;
}
2023-05-02 23:08:49 +01:00
#popup-clock #calendar:selected {
background-color: @color_border_active;
}
2023-05-02 23:08:49 +01:00
/* -- launcher -- */
2023-05-02 23:08:49 +01:00
#launcher .item {
margin-right: 4px;
}
2023-05-02 23:08:49 +01:00
#launcher .item:not(.focused):hover {
background-color: @color_bg_dark;
}
2023-05-02 23:08:49 +01:00
#launcher .open {
border-bottom: 2px solid @color_text;
}
2023-05-02 23:08:49 +01:00
#launcher .focused {
border-bottom-color: @color_border_active;
}
2023-05-02 23:08:49 +01:00
#launcher .urgent {
border-bottom-color: @color_urgent;
}
2023-05-02 23:08:49 +01:00
#popup-launcher {
padding: 0;
}
2023-05-02 23:08:49 +01:00
#popup-launcher .popup-item:not(:first-child) {
border-top: 1px solid @color_border;
}
2023-05-02 23:08:49 +01:00
/* -- music -- */
#music:hover * {
background-color: @color_bg_dark;
}
#popup-music #album-art {
margin-right: 1em;
}
#popup-music #title .icon *, #popup-music #title .label {
font-size: 1.7em;
}
2023-05-02 23:08:49 +01:00
#popup-music #controls *:disabled {
color: @color_border;
}
2023-05-02 23:08:49 +01:00
#popup-music #volume scale slider {
border-radius: 100%;
}
2023-05-02 23:08:49 +01:00
/* volume icon */
#popup-music #volume > box:last-child label {
margin-left: 6px;
}
2023-05-02 23:08:49 +01:00
/* -- script -- */
#script {
padding-left: 10px;
}
2023-05-02 23:08:49 +01:00
/* -- sys_info -- */
#sysinfo {
margin-left: 10px;
}
2023-05-02 23:08:49 +01:00
#sysinfo #item {
margin-left: 5px;
}
2023-05-02 23:08:49 +01:00
/* -- tray -- */
2023-05-02 23:08:49 +01:00
#tray {
margin-left: 10px;
}
2023-05-02 23:08:49 +01:00
/* -- workspaces -- */
2023-05-02 23:08:49 +01:00
#workspaces .item.focused {
box-shadow: inset 0 -3px;
background-color: @color_bg_dark;
}
2023-03-01 20:35:41 +00:00
2023-05-02 23:08:49 +01:00
#workspaces .item:hover {
box-shadow: inset 0 -3px;
2023-03-01 20:35:41 +00:00
}
2023-05-02 23:08:49 +01:00
/* -- custom: power menu -- */
2023-03-01 20:35:41 +00:00
2023-05-02 23:08:49 +01:00
.popup-power-menu #header {
font-size: 1.4em;
padding-bottom: 0.4em;
margin-bottom: 0.6em;
border-bottom: 1px solid @color_border
2023-03-01 20:35:41 +00:00
}
2023-05-02 23:08:49 +01:00
.popup-power-menu .power-btn {
border: 1px solid @color_border;
padding: 0.6em 1em;
2023-03-01 20:35:41 +00:00
}
2023-05-02 23:08:49 +01:00
.popup-power-menu #buttons > *:nth-child(1) .power-btn {
margin-right: 1em;
}