_xfce.scss
ASCII text
1// based css: 2// https://github.com/shimmerproject/Greybird/blob/master/gtk-3.0/_xfce.scss 3 4@use "../../../theme"; 5@use "../../../theme-color"; 6@use "../common"; 7@use "../drawing"; 8 9/** 10* Xfce4 Apps 11*/ 12 13.XfceHeading { 14// background-color: $surface-z1; 15} 16 17/** 18* xfce4-panel 19*/ 20 21.xfce4-panel.background { 22border: none; // Sadly the border is hard-coded 23background-color: theme-color.$panel; 24color: theme-color.hint(theme-color.$on-panel); 25font-weight: 500; 26 27button { 28min-height: 16px; 29min-width: 16px; 30padding: 0; 31border-radius: 0; 32color: theme-color.hint(theme-color.$on-panel); 33@include drawing.ink-color(theme-color.$on-panel, $button-style: "flat"); 34 35&:disabled { 36background-color: transparent; 37color: theme-color.disabled-hint(theme-color.$on-panel); 38} 39 40&:checked { 41$background-color: theme-color.activated-overlay(theme-color.$on-panel); 42color: theme-color.$on-panel; 43@include drawing.ink-color(theme-color.$on-panel, $button-style: "flat", $on: $background-color); 44 45&:disabled { 46background-color: theme-color.activated-overlay(theme-color.$on-panel); 47color: theme-color.disabled(theme-color.$on-panel); 48} 49} 50} 51 52.tasklist button { 53border-image: image(transparent) 0 0 2 / 0 0 2px; 54 55&:checked { 56border-image: image(currentcolor) 0 0 2 / 0 0 2px; 57} 58 59image { 60padding: 4px; 61} 62} 63 64&.horizontal .tasklist button { 65// margin: 0 1px; 66} 67 68&.vertical .tasklist button { 69// margin: 1px 0; 70} 71 72frame > border { 73border-style: none; 74background-color: transparent; 75} 76 77progressbar { 78progress { 79background-color: theme-color.primary(theme-color.$on-panel); 80} 81 82trough { 83background-color: theme-color.disabled-stroke(theme-color.$on-panel); 84} 85} 86} 87 88// Workspace switcher provided by libwnck 89wnck-pager { 90&:hover { 91background-color: theme-color.hover-overlay(theme-color.$on-panel); 92} 93 94&:active { 95background-color: theme-color.pressed-overlay(theme-color.$on-panel); 96} 97 98&:selected { 99background-color: theme-color.$primary; 100} 101} 102 103XfdesktopIconView.view { 104border-radius: theme.$corner-radius; 105// background-color: transparent; 106color: theme-color.$on-dark; 107text-shadow: theme.$text-shadow; 108 109// XfdesktopIconView uses :active instead of :selected for selection 110&:active { 111box-shadow: none; 112background-color: theme-color.$selected-overlay; 113} 114 115.label { 116// text-shadow: $text-shadow; 117} 118 119.rubberband { 120@extend %rubberband; 121 122border-radius: 0; 123} 124} 125 126#XfceNotifyWindow { 127border-radius: theme.$corner-radius; 128box-shadow: theme.$shadow-z4, inset 0 1px theme-color.highlight(theme-color.$surface-z8); 129background-color: theme-color.$surface-z8; 130color: theme-color.$on-surface; 131 132buttonbox button:not(:disabled) { 133color: theme-color.$primary; 134@include drawing.ink-color(theme-color.$primary, $button-style: "flat"); 135} 136 137label#summary { 138font-weight: bold; 139 140+ label { 141color: theme-color.hint(theme-color.$on-surface); 142} 143} 144 145progressbar { 146progress { 147} 148 149trough { 150} 151} 152} 153 154// Xfwm4's alt-tab dialog, aka "tabwin" 155#xfwm-tabwin { 156padding: 12px; 157border-radius: theme.$corner-radius; 158 159// Set the application icon- and preview-size to 64px 160-XfwmTabwinWidget-icon-size: 64px; 161-XfwmTabwinWidget-preview-size: 64px; 162 163button { 164} 165} 166 167/** 168* Thunar 169*/ 170 171.thunar { 172#location-toolbar { 173border-bottom: 1px solid theme-color.divider(theme-color.$on-surface); 174 175// FIXME: This has no .image-button style class :( 176> toolitem > button { 177min-width: 24px; 178padding: (theme.$medium-size - 24px) / 2; 179border-radius: theme.$circular-radius; 180} 181} 182 183.shortcuts-pane.frame, 184.standard-view.frame { 185border-width: 0; 186background-color: transparent; 187} 188 189.sidebar .view:not(:selected) { 190// background-color: transparent; 191} 192 193statusbar { 194margin: 0 -10px; 195padding: 0 4px; 196border-top: 1px solid theme-color.divider(theme-color.$on-surface); 197} 198} 199