Warning, /plasma/breeze-gtk/src/gtk4/widgets/_menus.scss is written in an unsupported language. File is not indexed.
0001 @charset "UTF-8"; 0002 0003 /********* 0004 * Menus * 0005 *********/ 0006 0007 accelerator { 0008 opacity: 0.5; 0009 margin-left: 2.5mm; 0010 } 0011 0012 menubar, 0013 .menubar { 0014 padding: 0px; 0015 box-shadow: none; 0016 border-style: none; 0017 background-color: gtk("@theme_header_background"); 0018 0019 &:backdrop { 0020 background-color: gtk("@theme_header_background_backdrop"); 0021 } 0022 0023 > item { 0024 min-height: 4.5mm; 0025 padding: 1.25mm 2.5mm; 0026 @if $new-highlight { 0027 border-bottom: 3px solid transparent; 0028 } 0029 0030 &:hover { 0031 //Seems like it :hover even with keyboard focus 0032 @if $new-highlight { 0033 background-color: gtkalpha( 0034 gtk("@theme_button_decoration_focus"), 0035 0.3 0036 ); 0037 color: gtk("@theme_button_foreground_active"); 0038 border-bottom: 3px 0039 solid 0040 gtk("@theme_button_decoration_focus"); 0041 } @else { 0042 background-color: gtk( 0043 "@theme_button_decoration_focus" 0044 ); 0045 color: gtk("@theme_button_foreground_active"); 0046 } 0047 } 0048 0049 &:disabled { 0050 color: gtk("@insensitive_fg_color"); 0051 box-shadow: none; 0052 0053 &:backdrop { 0054 background-color: gtk("@theme_unfocused_bg_color"); 0055 color: gtk("@insensitive_unfocused_fg_color"); 0056 } 0057 } 0058 0059 &:backdrop { 0060 background-color: gtk("@theme_unfocused_bg_color"); 0061 color: gtk("@theme_unfocused_fg_color"); 0062 } 0063 } 0064 } 0065 0066 popover, popover.background { 0067 background-color: transparent; 0068 0069 contents, > arrow { 0070 padding: 4px; // Use px to avoid overflow when using fractional scaling 0071 background-color: gtkmix(gtk("@theme_bg_color"), gtk("@theme_base_color"), 0.3); 0072 border: 1px solid gtk("@borders"); 0073 border-radius: $r; 0074 } 0075 0076 // axes borders in a composited env 0077 separator { 0078 color: gtk("@borders"); 0079 margin: 0.75mm 0; 0080 } 0081 0082 modelbutton { 0083 text-shadow: none; 0084 min-height: 4.5mm; 0085 min-width: 10mm; 0086 padding: 0.75mm 2mm; 0087 border: 1px solid transparent; 0088 0089 @if $new-highlight { 0090 border: 1px solid transparent; 0091 margin: 1mm; 0092 } 0093 0094 accelerator { 0095 color: gtkalpha(currentColor, 0.55); 0096 } 0097 check, 0098 radio { 0099 &:dir(ltr) { 0100 margin-right: 1.5mm; 0101 } 0102 &:dir(rtl) { 0103 margin-left: 1.5mm; 0104 } 0105 } 0106 0107 arrow.left { 0108 -gtk-icon-source: -gtk-icontheme($arrow_left); 0109 } 0110 0111 arrow.right { 0112 -gtk-icon-source: -gtk-icontheme($arrow_right); 0113 } 0114 0115 &:hover { 0116 background-color: gtkalpha(gtk("@theme_selected_bg_color"), 0.3); 0117 border: 1px solid gtk("@theme_button_decoration_focus"); // Use px to avoid strange thickness when fractional scaling is used 0118 border-radius: $r; 0119 } 0120 0121 &:disabled { 0122 color: gtk("@insensitive_fg_color"); 0123 0124 &:backdrop { 0125 color: gtk("@insensitive_unfocused_fg_color"); 0126 } 0127 } 0128 0129 &:backdrop, 0130 &:backdrop:hover { 0131 color: gtk("@theme_unfocused_fg_color"); 0132 background-color: gtk("@theme_unfocused_bg_color"); 0133 } 0134 } 0135 } 0136 0137 GtkVolumeButton.button { 0138 padding: 1.25mm; 0139 }