* Adds options for windowtitle to toggle: custom title, icon and truncation * Implements window title toggles: showIcon and showCustomTitle; Adds a new default title function and truncates it if specified * incorporate new show label option into window title * fix window title spacing to work with new styles * allows truncation for custom window titles * allows custom window title icon with default window title * add option to show the window class name or title; refactor for consistency and easier readability * remove redundant custom window title check
31 lines
922 B
SCSS
31 lines
922 B
SCSS
.bar-button-icon.windowtitle {
|
|
color: if($bar-buttons-monochrome, $bar-buttons-text, $bar-buttons-windowtitle-icon);
|
|
}
|
|
|
|
.bar-button-label.windowtitle {
|
|
color: if($bar-buttons-monochrome, $bar-buttons-text, $bar-buttons-windowtitle-text);
|
|
margin-left: $bar-buttons-windowtitle-spacing;
|
|
|
|
&.no-icon {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
.style2 {
|
|
.bar-button-icon.windowtitle {
|
|
border-top-left-radius: $bar-buttons-radius;
|
|
border-bottom-left-radius: $bar-buttons-radius;
|
|
background: if($bar-buttons-monochrome, $bar-buttons-icon, $bar-buttons-windowtitle-icon_background);
|
|
padding: $bar-buttons-padding_y 0em;
|
|
padding-left: $bar-buttons-padding_x;
|
|
padding-right: $bar-buttons-windowtitle-spacing;
|
|
}
|
|
|
|
.bar-button-label.windowtitle {
|
|
padding: $bar-buttons-padding_y 0em;
|
|
padding-right: $bar-buttons-padding_x;
|
|
padding-left: $bar-buttons-windowtitle-spacing;
|
|
margin-left: 0em;
|
|
}
|
|
}
|