|
6 | 6 | :root{ |
7 | 7 | --y_padding_before_label: 36px; |
8 | 8 | --y_padding_before_label_cn_no_icon: 0px !important; /* for context_bfrsb_labels_without_icons.css */ |
9 | | - --y_padding_before_label_bm: calc(var(--y_padding_before_label) - 4px ); |
10 | | - --y_padding_before_label_am: calc(var(--y_padding_before_label) - 4px ); |
| 9 | + --y_padding_before_label_bm: calc(var(--y_padding_before_label) - 12px ); |
| 10 | + --y_padding_before_label_am: calc(var(--y_padding_before_label) - 12px ); |
| 11 | + --y_padding_before_label_sep: calc(var(--y_padding_before_label) - 22px ); |
11 | 12 | } |
12 | 13 |
|
13 | 14 | :is(popup,menupopup)[type=arrow] :is(menu,menuitem):not(:is([checked],.menu-iconic,.menuitem-iconic)) { |
|
20 | 21 | margin-inline-start: var(--y_padding_before_label) !important; |
21 | 22 | } |
22 | 23 |
|
23 | | -:is(popup,menupopup)[type=arrow] menuitem[checked="false"] { |
24 | | - padding-inline-start: var(--y_padding_before_label) !important; |
25 | | -} |
26 | | - |
27 | 24 | .PanelUI-subView .subviewbutton:not(#appMenu-fxa-status2):not(.menuitem-iconic):not(.menu-iconic):not(.subviewbutton-iconic) { |
28 | 25 | padding-inline-start: var(--y_padding_before_label_bm) !important; |
29 | 26 | } |
|
35 | 32 | } |
36 | 33 |
|
37 | 34 | @media (-moz-platform: windows) { |
38 | | - :is(popup,menupopup) :is(menu,menuitem):not(:is([checked],.menu-iconic,.menuitem-iconic)) { |
| 35 | + :is(popup,menupopup) :is(menu,menuitem):not(:is([checked]),.bookmark-item,.menu-iconic,.menuitem-iconic) { |
39 | 36 | padding-inline-start: var(--y_padding_before_label) !important; |
40 | 37 | } |
41 | 38 |
|
| 39 | + :is(popup,menupopup) :is(menu,menuitem):not([data-usercontextid]):not(.bookmark-item,.menu-iconic,.menuitem-iconic) .menu-icon:not([src]) { |
| 40 | + display: none !important; |
| 41 | + } |
| 42 | + |
| 43 | + :is(popup,menupopup) :is(menu,menuitem):not([data-usercontextid])[checked]:not(.bookmark-item,.menu-iconic,.menuitem-iconic) .menu-icon:not([src]) { |
| 44 | + display: block !important; |
| 45 | + } |
| 46 | + |
42 | 47 | :is(popup,menupopup) :is(menuseparator,.bookmarks-actions-menuseparator) { |
43 | 48 | appearance: none; |
44 | 49 | margin: 2px !important; |
45 | | - margin-inline-start: var(--y_padding_before_label) !important; |
| 50 | + margin-inline-start: var(--y_padding_before_label_bm) !important; |
46 | 51 | } |
47 | | - |
48 | | - :is(popup,menupopup) menuitem[checked="false"] { |
49 | | - padding-inline-start: var(--y_padding_before_label) !important; |
| 52 | + :is(popup,menupopup) menuseparator#context-sep-navigation { |
| 53 | + appearance: none; |
| 54 | + margin: 2px !important; |
| 55 | + margin-inline-start: var(--y_padding_before_label) !important; |
| 56 | + margin-inline-end: var(--y_padding_before_label_sep) !important; |
50 | 57 | } |
51 | 58 | } |
0 commit comments