Warning, /plasma/breeze-gtk/src/gtk3/widgets/_lists.scss is written in an unsupported language. File is not indexed.

0001 @charset "UTF-8";
0002 
0003 /*********
0004  * Lists *
0005  *********/
0006 
0007 @mixin list-item-highlight {
0008         @if $new-highlight {
0009                 background-color: gtk("@theme_selected_bg_color");
0010                 color: gtk("@theme_button_foreground_active");
0011                 border-top: 1px
0012                         solid
0013                         gtk("@theme_button_decoration_focus");
0014                 border-bottom: 1px
0015                         solid
0016                         gtk("@theme_button_decoration_focus");
0017                 border-radius: 0px;
0018         } @else {
0019                 background-color: gtk("@theme_selected_bg_color");
0020         }
0021 }
0022 
0023 list {
0024         color: gtk("@theme_fg_color");
0025         background: gtk("@theme_base_color");
0026         border-radius: 3px;
0027         &.content {
0028                 border: 1px solid gtk("@borders");
0029         }
0030 
0031         row {
0032             background: gtk("@theme_base_color");
0033                 padding: 2px;
0034         }
0035 }
0036 
0037 row {
0038         &:hover {
0039         }
0040 
0041         &.activatable {
0042                 @if $new-highlight {
0043                         border: 1px solid transparent;
0044                 }
0045 
0046                 &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411
0047 
0048     &:hover {
0049                         @include list-item-highlight();
0050                 }
0051 
0052                 &:active {
0053                         box-shadow: none;
0054                         @include list-item-highlight();
0055                 }
0056 
0057                 &:selected {
0058                         &:active {
0059                                 box-shadow: none;
0060                                 @include list-item-highlight();
0061                         }
0062 
0063                         &.has-open-popup,
0064                         &:hover {
0065                                 @include list-item-highlight();
0066                         }
0067 
0068                         &:backdrop {
0069                                 background-color: gtk(
0070                                         "@theme_unfocused_selected_bg_color_alt"
0071                                 );
0072                         }
0073                 }
0074         }
0075 
0076         &:selected {
0077                 @extend %selected_items;
0078         }
0079 }