_extensions.scss
ASCII text
1/* Dash to Dock */ 2 3#dashtodockContainer #dash { 4background-color: $scrim; 5} 6 7#dashtodockContainer:overview #dash { 8background-color: fill($on-dark); 9} 10 11#dashtodockContainer.extended:overview #dash { 12background-color: transparent; 13} 14 15#dashtodockContainer.left #dash, 16#dashtodockContainer.right #dash { 17padding: 3px 0; 18} 19 20#dashtodockContainer.top #dash, 21#dashtodockContainer.bottom #dash { 22padding: 0 3px; 23} 24 25#dashtodockContainer.extended #dash { 26padding: 0; 27border-radius: 0; 28} 29 30#dashtodockContainer.left .dash-item-container > StWidget, 31#dashtodockContainer.right .dash-item-container > StWidget, 32#dashtodockContainer.extended.left .dash-item-container > StWidget, 33#dashtodockContainer.extended.right .dash-item-container > StWidget { 34padding: 3px 6px; 35} 36 37#dashtodockContainer.extended.left .dash-item-container:first-child > StWidget, 38#dashtodockContainer.extended.right .dash-item-container:first-child > StWidget { 39padding: 6px 6px 3px 6px; 40} 41 42#dashtodockContainer.extended.left .dash-item-container:last-child > StWidget, 43#dashtodockContainer.extended.right .dash-item-container:last-child > StWidget { 44padding: 3px 6px 6px 6px; 45} 46 47#dashtodockContainer.top .dash-item-container > StWidget, 48#dashtodockContainer.bottom .dash-item-container > StWidget, 49#dashtodockContainer.extended.top .dash-item-container > StWidget, 50#dashtodockContainer.extended.bottom .dash-item-container > StWidget { 51padding: 6px 3px; 52} 53 54#dashtodockContainer.extended.top .dash-item-container:first-child > StWidget, 55#dashtodockContainer.extended.bottom .dash-item-container:first-child > StWidget { 56padding: 6px 3px 6px 6px; 57} 58 59#dashtodockContainer.extended.top .dash-item-container:last-child > StWidget, 60#dashtodockContainer.extended.bottom .dash-item-container:last-child > StWidget { 61padding: 6px 6px 6px 3px; 62} 63 64// Running and focused application style 65 66#dashtodockContainer .focused .overview-icon { 67background-color: activated-overlay($on-dark); 68} 69 70// Remove background-color if the indicator style is default 71#dashtodockContainer .default.focused .overview-icon { 72background-color: transparent; 73} 74 75#dashtodockContainer .app-well-app-running-dot { 76background-color: transparent; 77} 78 79#dashtodockContainer .default { 80background-size: cover; 81} 82 83// Default running and focused application style 84@each $side in "left", "right", "top", "bottom" { 85@for $i from 1 through 4 { 86@each $class, $suffix in ("": "", ".focused": "-focused") { 87#dashtodockContainer.#{$side} .default.running#{$i}#{$class} { 88background-image: url("assets/dash/#{$side}-running#{$i}#{$suffix}.svg"); 89} 90} 91} 92} 93 94 95/* Simple Dock */ 96 97#dash:desktop { 98background-color: $scrim; 99} 100 101/* GPaste */ 102 103.popup-menu { 104.search-entry { 105color: $on-surface; 106selection-background-color: $selected-overlay; 107selected-color: $on-surface; 108@include entry(normal); 109 110&:hover { 111@include entry(hover); 112} 113 114&:focus { 115@include entry(focus); 116color: $on-surface; 117} 118 119.search-entry-icon { 120color: hint($on-surface); 121} 122 123&:hover, 124&:focus { 125.search-entry-icon { 126color: $on-surface; 127} 128} 129} 130} 131