mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-05 18:20:44 -08:00
Fix: Decoration - Panel Arrow at bottom
This commit is contained in:
parent
73e1733a23
commit
012d38552d
4 changed files with 35 additions and 11 deletions
|
|
@ -2972,16 +2972,26 @@
|
|||
/*= Panel UI Arrow ===========================================================*/
|
||||
@supports -moz-bool-pref("userChrome.decoration.panel_arrow") {
|
||||
#appMenu-popup {
|
||||
margin-top: -8px !important;
|
||||
/* Original: -4px */
|
||||
padding-top: 4px;
|
||||
background-image: url("../icons/panelarrow-vertical.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: top right 10px;
|
||||
background-position-x: right 10px;
|
||||
background-position-y: top;
|
||||
-moz-context-properties: fill, stroke;
|
||||
fill: var(--panel-background);
|
||||
stroke: var(--panel-border-color);
|
||||
}
|
||||
#appMenu-popup[side="top"] {
|
||||
margin-top: -8px !important;
|
||||
/* Original: -4px */
|
||||
padding-top: 4px;
|
||||
}
|
||||
#appMenu-popup[side="bottom"] {
|
||||
background-image: url("../icons/panelarrow-vertical-reverse.svg");
|
||||
background-position-y: bottom;
|
||||
margin-bottom: -8px !important;
|
||||
/* Original: -4px */
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
/*= Field Border ===========================================================*/
|
||||
|
|
|
|||
4
icons/panelarrow-vertical-reverse.svg
Normal file
4
icons/panelarrow-vertical-reverse.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10">
|
||||
<path fill="context-stroke" d="m0 0 10 10L20 0Z"/>
|
||||
<path fill="context-fill" d="m1 0 9 9 9-9z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 172 B |
|
|
@ -2,6 +2,6 @@
|
|||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10">
|
||||
<path d="M 0,10 L 10,0 20,10 z" fill="context-stroke"/>
|
||||
<path d="M 1,10 L 10,1 19,10 z" fill="context-fill"/>
|
||||
</svg>
|
||||
<path fill="context-stroke" d="M 0,10 L 10,0 20,10 z"/>
|
||||
<path fill="context-fill" d="M 1,10 L 10,1 19,10 z"/>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 397 B |
|
|
@ -1,12 +1,22 @@
|
|||
#appMenu-popup {
|
||||
margin-top: -8px !important; /* Original: -4px */
|
||||
padding-top: 4px;
|
||||
|
||||
background-image: url("../icons/panelarrow-vertical.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: top right 10px;
|
||||
background-position-x: right 10px;
|
||||
background-position-y: top;
|
||||
|
||||
-moz-context-properties: fill, stroke;
|
||||
fill: var(--panel-background);
|
||||
stroke: var(--panel-border-color);
|
||||
|
||||
&[side="top"] {
|
||||
margin-top: -8px !important; /* Original: -4px */
|
||||
padding-top: 4px;
|
||||
}
|
||||
&[side="bottom"] {
|
||||
background-image: url("../icons/panelarrow-vertical-reverse.svg");
|
||||
background-position-y: bottom;
|
||||
|
||||
margin-bottom: -8px !important; /* Original: -4px */
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue