_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 { 9background-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; 68} 69 70progressbar { 71progress { 72background-color: primary($on-panel); 73} 74 75trough { 76background-color: disabled-stroke($on-panel); 77} 78} 79} 80 81// Workspace switcher provided by libwnck 82wnck-pager { 83&:hover { 84background-color: overlay("hover", $on-panel); 85} 86 87&:active { 88background-color: overlay("pressed", $on-panel); 89} 90 91&:selected { 92background-color: $primary; 93} 94} 95 96XfdesktopIconView.view { 97border-radius: $corner-radius; 98background-color: transparent; 99color: $on-dark; 100text-shadow: $text-shadow; 101 102// XfdesktopIconView uses :active instead of :selected for selection 103&:active { 104box-shadow: none; 105background-color: $overlay-selected; 106} 107 108.label { 109// text-shadow: $text-shadow; 110} 111 112.rubberband { 113@extend %rubberband; 114 115border-radius: 0; 116} 117} 118 119#XfceNotifyWindow { 120border-radius: $corner-radius; 121box-shadow: $shadow-z4, inset 0 1px highlight($surface); 122background-color: $surface; 123color: $on-surface; 124 125buttonbox button:not(:disabled) { 126color: $primary; 127@include ink-color($primary); 128} 129 130label#summary { 131font-weight: bold; 132 133+ label { 134color: hint($on-surface); 135} 136} 137 138progressbar { 139progress { 140} 141 142trough { 143} 144} 145} 146 147// Xfwm4's alt-tab dialog, aka "tabwin" 148#xfwm-tabwin { 149padding: 12px; 150border-radius: $corner-radius; 151 152// Set the application icon- and preview-size to 64px 153-XfwmTabwinWidget-icon-size: 64px; 154-XfwmTabwinWidget-preview-size: 64px; 155 156button { 157} 158} 159 160/** 161* Thunar 162*/ 163 164.thunar { 165#location-toolbar { 166border-bottom: 1px solid divider($on-surface); 167 168// FIXME: This has no .image-button style class :( 169> toolitem > button { 170min-width: 24px; 171padding: ($medium-size - 24px) / 2; 172border-radius: $circular-radius; 173} 174} 175 176.shortcuts-pane.frame, 177.standard-view.frame { 178border-width: 0; 179} 180 181.sidebar .view:not(:selected) { 182background-color: transparent; 183} 184 185statusbar { 186margin: 0 -10px; 187padding: 0 4px; 188border-top: 1px solid divider($on-surface); 189} 190} 191