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