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