ironbar/examples/style.css

227 lines
3.4 KiB
CSS
Raw Normal View History

2023-05-03 01:08:49 +03: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-03 01:08:49 +03:00
border-radius: 0;
}
box, menubar, button {
2023-05-03 01:08:49 +03:00
background-color: @color_bg;
2023-05-07 18:25:49 +03:00
background-image: none;
box-shadow: none;
}
button, label {
2023-05-03 01:08:49 +03:00
color: @color_text;
}
2023-05-03 01:08:49 +03:00
button:hover {
background-color: @color_bg_dark;
}
scale trough {
min-width: 1px;
min-height: 2px;
}
2023-05-03 01:08:49 +03:00
#bar {
border-top: 1px solid @color_border;
}
2023-05-03 01:08:49 +03:00
.popup {
border: 1px solid @color_border;
padding: 1em;
}
2023-05-03 01:08:49 +03:00
/* -- clipboard -- */
.clipboard {
2023-05-03 01:08:49 +03:00
margin-left: 5px;
font-size: 1.1em;
}
.popup-clipboard .item {
2023-05-03 01:08:49 +03:00
padding-bottom: 0.3em;
border-bottom: 1px solid @color_border;
}
2023-05-03 01:08:49 +03:00
/* -- clock -- */
.clock {
font-weight: bold;
margin-left: 5px;
}
.popup-clock .calendar-clock {
2023-05-03 01:08:49 +03:00
color: @color_text;
font-size: 2.5em;
padding-bottom: 0.1em;
}
.popup-clock .calendar {
2023-05-03 01:08:49 +03:00
background-color: @color_bg;
color: @color_text;
}
.popup-clock .calendar .header {
2023-05-03 01:08:49 +03:00
padding-top: 1em;
border-top: 1px solid @color_border;
font-size: 1.5em;
}
.popup-clock .calendar:selected {
2023-05-03 01:08:49 +03:00
background-color: @color_border_active;
}
2023-05-03 01:08:49 +03:00
/* -- launcher -- */
.launcher .item {
2023-05-03 01:08:49 +03:00
margin-right: 4px;
}
.launcher .ifix examtem:not(.focused):hover {
2023-05-03 01:08:49 +03:00
background-color: @color_bg_dark;
}
.launcher .open {
border-bottom: 1px solid @color_text;
}
.launcher .focused {
border-bottom: 1px solid @color_border_active;
}
.launcher .urgent {
2023-05-03 01:08:49 +03:00
border-bottom-color: @color_urgent;
}
.popup-launcher {
2023-05-03 01:08:49 +03:00
padding: 0;
}
.popup-launcher .popup-item:not(:first-child) {
2023-05-03 01:08:49 +03:00
border-top: 1px solid @color_border;
}
2023-05-03 01:08:49 +03:00
/* -- music -- */
.music:hover * {
2023-05-03 01:08:49 +03:00
background-color: @color_bg_dark;
}
.popup-music .album-art {
margin-right: 1em;
}
2023-07-01 01:01:11 +03:00
.popup-music .icon-box {
margin-right: 0.4em;
}
.popup-music .title .icon, .popup-music .title .label {
font-size: 1.7em;
}
.popup-music .controls *:disabled {
2023-05-03 01:08:49 +03:00
color: @color_border;
}
2023-07-01 01:01:11 +03:00
.popup-music .volume .slider slider {
2023-05-03 01:08:49 +03:00
border-radius: 100%;
}
2023-07-01 01:01:11 +03:00
.popup-music .volume .icon {
margin-left: 4px;
}
2023-07-01 01:01:11 +03:00
.popup-music .progress .slider slider {
border-radius: 100%;
}
2023-05-03 01:08:49 +03:00
/* notifications */
.notifications .count {
font-size: 0.6rem;
background-color: @color_text;
color: @color_bg;
border-radius: 100%;
margin-right: 3px;
margin-top: 3px;
padding-left: 4px;
padding-right: 4px;
opacity: 0.7;
}
2023-05-03 01:08:49 +03:00
/* -- script -- */
.script {
2023-05-03 01:08:49 +03:00
padding-left: 10px;
}
2023-05-03 01:08:49 +03:00
/* -- sys_info -- */
.sysinfo {
margin-left: 10px;
}
.sysinfo .item {
2023-05-03 01:08:49 +03:00
margin-left: 5px;
}
2023-05-03 01:08:49 +03:00
/* -- tray -- */
.tray {
2023-05-03 01:08:49 +03:00
margin-left: 10px;
}
2023-04-01 15:07:47 +03:00
/* -- volume -- */
.popup-volume .device-box {
border-right: 1px solid @color_border;
}
2023-05-03 01:08:49 +03:00
/* -- workspaces -- */
.workspaces .item.focused {
2023-05-03 01:08:49 +03:00
box-shadow: inset 0 -3px;
background-color: @color_bg_dark;
}
2023-03-01 23:35:41 +03:00
.workspaces .item:hover {
2023-05-03 01:08:49 +03:00
box-shadow: inset 0 -3px;
2023-03-01 23:35:41 +03:00
}
2023-05-03 01:08:49 +03:00
/* -- custom: power menu -- */
2023-03-01 23:35:41 +03:00
2023-05-03 01:08:49 +03: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 23:35:41 +03:00
}
2023-05-03 01:08:49 +03:00
.popup-power-menu .power-btn {
border: 1px solid @color_border;
padding: 0.6em 1em;
2023-03-01 23:35:41 +03:00
}
2023-05-03 01:08:49 +03:00
.popup-power-menu #buttons > *:nth-child(1) .power-btn {
margin-right: 1em;
}