Changeset View
Changeset View
Standalone View
Standalone View
src/gtk3/widgets/_treeview.scss
| 1 | @charset "UTF-8"; | 1 | @charset "UTF-8"; | ||
|---|---|---|---|---|---|
| 2 | 2 | | |||
| 3 | @mixin item-hover-middle { | 3 | @mixin item-hover-middle { | ||
| 4 | @if $new-highlight { | 4 | @if $new-highlight { | ||
| 5 | background-color: gtk("@theme_selected_bg_color"); | 5 | background-color: gtk("@theme_selected_bg_color"); | ||
| 6 | border-left-color: gtk("@theme_selected_fg_color"); | 6 | border-left-color: gtk("@theme_selected_fg_color"); | ||
| 7 | border-top-color: gtk("@theme_selected_fg_color"); | 7 | border-top-color: gtk("@theme_selected_fg_color"); | ||
| 8 | } @else { | 8 | } @else { | ||
| 9 | background-color: gtkalpha("@theme_selected_bg_color", 0.3); | 9 | background-color: gtkalpha(gtk("@theme_selected_bg_color"), 0.3); | ||
| 10 | border-left-color: gtk("@theme_fg_color"); | 10 | border-left-color: gtk("@theme_fg_color"); | ||
| 11 | border-top-color: gtk("@theme_fg_color"); | 11 | border-top-color: gtk("@theme_fg_color"); | ||
| 12 | } | 12 | } | ||
| 13 | } | 13 | } | ||
| 14 | 14 | | |||
| 15 | @mixin item-selected-middle { | 15 | @mixin item-selected-middle { | ||
| 16 | @if $new-highlight { | 16 | @if $new-highlight { | ||
| 17 | background-color: gtkalpha(gtk("@theme_button_decoration_focus"), 0.3); | 17 | background-color: gtkalpha(gtk("@theme_button_decoration_focus"), 0.3); | ||
| ▲ Show 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 117 | button { | |||
| 118 | @extend %column_header_button; | 118 | @extend %column_header_button; | ||
| 119 | color: gtk("@theme_button_foreground_normal"); | 119 | color: gtk("@theme_button_foreground_normal"); | ||
| 120 | background-color: gtk("@theme_button_background_normal"); | 120 | background-color: gtk("@theme_button_background_normal"); | ||
| 121 | text-shadow: none; | 121 | text-shadow: none; | ||
| 122 | box-shadow: none; | 122 | box-shadow: none; | ||
| 123 | &:hover { | 123 | &:hover { | ||
| 124 | @extend %column_header_button; | 124 | @extend %column_header_button; | ||
| 125 | color: gtk("@theme_button_foreground_normal"); | 125 | color: gtk("@theme_button_foreground_normal"); | ||
| 126 | background-color: gtkalpha("@theme_button_decoration_hover", 0.5); | 126 | background-color: gtkalpha(gtk("@theme_button_decoration_hover"), 0.5); | ||
| 127 | box-shadow: none; | 127 | box-shadow: none; | ||
| 128 | transition: none; //I shouldn't need this | 128 | transition: none; //I shouldn't need this | ||
| 129 | } | 129 | } | ||
| 130 | &:active { | 130 | &:active { | ||
| 131 | @extend %column_header_button; | 131 | @extend %column_header_button; | ||
| 132 | color: gtk("@theme_button_foreground_normal"); | 132 | color: gtk("@theme_button_foreground_normal"); | ||
| 133 | background-color: gtkalpha("@theme_button_decoration_hover", 0.5); | 133 | background-color: gtkalpha(gtk("@theme_button_decoration_hover"), 0.5); | ||
| 134 | transition: none; //I shouldn't need this | 134 | transition: none; //I shouldn't need this | ||
| 135 | } | 135 | } | ||
| 136 | } | 136 | } | ||
| 137 | button:last-child { &:backdrop, & { border-right-style: none; }} | 137 | button:last-child { &:backdrop, & { border-right-style: none; }} | ||
| 138 | } | 138 | } | ||
| 139 | button.dnd, | 139 | button.dnd, | ||
| 140 | header.button.dnd { // for treeview-like derive widgets | 140 | header.button.dnd { // for treeview-like derive widgets | ||
| 141 | &:active, &:selected, &:hover, & { | 141 | &:active, &:selected, &:hover, & { | ||
| Show All 40 Lines | |||||