зеркало из https://github.com/mozilla/pjs.git
editable menulists use wrong text size/font (96946). r/sr=ben
This commit is contained in:
Родитель
1b9fb879c3
Коммит
b4f22f1841
|
@ -244,11 +244,12 @@ menulist[editable="true"]
|
|||
|
||||
html|*.menulist-editable-text
|
||||
{
|
||||
|
||||
border : none !important;
|
||||
margin : 0px !important;
|
||||
|
||||
|
||||
border : none !important;
|
||||
margin : 0px;
|
||||
padding : 0px;
|
||||
font : inherit;
|
||||
background-color : inherit;
|
||||
color : inherit;
|
||||
}
|
||||
|
||||
menulist[editable="true"] > .menulist-internal-box
|
||||
|
@ -258,6 +259,7 @@ menulist[editable="true"] > .menulist-internal-box
|
|||
border-right : 1px inset #CCCCCC;
|
||||
border-bottom : 1px inset #CCCCCC;
|
||||
margin : 0px 2px 0px 0px;
|
||||
padding : 0px 0px 0px 2px;
|
||||
}
|
||||
|
||||
menulist[editable="true"] > .menulist-internal-box > .menulist-display-box
|
||||
|
|
|
@ -145,13 +145,18 @@
|
|||
|
||||
html|*.menulist-editable-text
|
||||
{
|
||||
border : none !important;
|
||||
margin : 0px !important;
|
||||
border : none !important;
|
||||
margin : 0px;
|
||||
padding : 0px;
|
||||
font : inherit;
|
||||
background-color : inherit;
|
||||
color : inherit;
|
||||
}
|
||||
|
||||
menulist[editable="true"] > .menulist-internal-box > .menulist-display-box
|
||||
{
|
||||
margin : 0px;
|
||||
padding : 1px 2px 1px 2px;
|
||||
}
|
||||
|
||||
menulist[editable="true"]:focus > .menulist-internal-box > .menulist-display-box
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
<content>
|
||||
<xul:hbox flex="1" class="menulist-editable-box" align="center">
|
||||
<xul:image class="menu-icon" inherits="src"/>
|
||||
<html:input type="text" flex="1" class="menulist-editable-text" allowevents="true"
|
||||
<html:input flex="1" class="menulist-editable-text" allowevents="true"
|
||||
inherits="value=label,disabled"/>
|
||||
<xul:image class="menu-dropmarker"/>
|
||||
</xul:hbox>
|
||||
|
|
Загрузка…
Ссылка в новой задаче