dotfiles/rofi/fds-sidebar-common.rasi

102 lines
1.5 KiB
Plaintext
Raw Normal View History

/**
This is the actual styling of the 'foo-dogsquared Sidebar' theme.
Though, it needs to be imported from another Rofi theme file to color it.
See the 'fds-sidebar-dark` Rofi theme file for an example.
**/
2019-08-09 14:56:06 +00:00
* {
/* Theme settings */
highlight: bold italic;
scrollbar: true;
/* Style */
text-color: @foreground;
background-color: @background;
2019-08-21 12:34:56 +00:00
font: "Iosevka 14";
2019-08-09 14:56:06 +00:00
}
window {
background-color: transparent;
height: 100%;
width: 40%;
2019-08-09 14:56:06 +00:00
position: northwest;
location: northwest;
text-color: @foreground;
}
mainbox {
background-color: @background;
children: [ inputbar, listview, mode-switcher ];
padding: 0.5em;
2019-08-09 14:56:06 +00:00
}
inputbar,
listview {
margin: 0 0 0.5em 0;
2019-08-09 14:56:06 +00:00
}
inputbar {
orientation: vertical;
children: [ prompt, entry ];
}
prompt {
width: 100%;
text-style: underline;
}
entry {
background-color: @background-light;
margin: 0 1em 0 0;
2019-08-09 14:56:06 +00:00
}
element {
padding: 5;
2019-08-09 14:56:06 +00:00
background-color: @background-light;
}
element selected.normal {
background-color: @foreground;
text-color: @background;
2019-08-09 14:56:06 +00:00
}
scrollbar {
width: 10px;
background-color: @background-light;
handle-color: @scrollbar-handle;
handle-width: 15px;
2019-08-09 14:56:06 +00:00
height: 100%;
border-radius: 30%;
}
listview {
cyclic: true;
spacing: 0.6em;
}
element, button {
border-radius: 30%;
2019-08-09 14:56:06 +00:00
}
button,
inputbar,
case-indicator,
entry {
padding: 5;
}
sidebar {
padding: 5;
margin: 5;
}
button {
margin: 0.25em;
}
2019-08-09 14:56:06 +00:00
button.selected {
background-color: @background-light;
}