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