Warning, /plasma/breeze-gtk/src/gtk4/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         &.activatable {
0039                 @if $new-highlight {
0040                         border: 1px solid transparent;
0041                 }
0042 
0043                 &.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411
0044 
0045     &:hover {
0046                         @include list-item-highlight();
0047                 }
0048 
0049                 &:active {
0050                         box-shadow: none;
0051                         @include list-item-highlight();
0052                 }
0053 
0054                 &:selected {
0055                         &:active {
0056                                 box-shadow: none;
0057                                 @include list-item-highlight();
0058                         }
0059 
0060                         &.has-open-popup,
0061                         &:hover {
0062                                 @include list-item-highlight();
0063                         }
0064 
0065                         &:backdrop {
0066                                 background-color: gtk(
0067                                         "@theme_unfocused_selected_bg_color_alt"
0068                                 );
0069                         }
0070                 }
0071         }
0072 
0073         &:selected {
0074                 @extend %selected_items;
0075         }
0076 }