зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1106239 - Fix up the styling for about:home's and about:newtab's search panel and about:newtab's customize panel. r=felipe
This commit is contained in:
Родитель
c04576c23c
Коммит
fd58036eac
|
@ -1221,27 +1221,18 @@ toolbarpaletteitem[place="palette"][hidden] {
|
|||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
#abouthome-search-panel .panel-arrowcontent {
|
||||
-moz-padding-start: 0;
|
||||
-moz-padding-end: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
background: rgb(248, 250, 251);
|
||||
#abouthome-search-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
||||
padding: 0;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
.abouthome-search-panel-item {
|
||||
-moz-box-align: center;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
-moz-padding-start: 24px;
|
||||
-moz-padding-end: 24px;
|
||||
#abouthome-search-panel-manage {
|
||||
padding: 4px 24px;
|
||||
}
|
||||
|
||||
.abouthome-search-panel-item > label {
|
||||
-moz-padding-start: 0;
|
||||
-moz-margin-start: 0;
|
||||
color: rgb(130, 132, 133);
|
||||
#abouthome-search-panel-manage > label {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Combined context-menu items */
|
||||
|
|
|
@ -278,7 +278,7 @@
|
|||
|
||||
<panel id="abouthome-search-panel" orient="vertical" type="arrow" hidden="true"
|
||||
onclick="this.hidePopup()">
|
||||
<hbox id="abouthome-search-panel-manage" class="abouthome-search-panel-item"
|
||||
<hbox id="abouthome-search-panel-manage"
|
||||
onclick="openPreferences('paneSearch')">
|
||||
<label>&changeSearchSettings.button;</label>
|
||||
</hbox>
|
||||
|
|
|
@ -454,27 +454,20 @@ input[type=button] {
|
|||
transition-duration: 0ms;
|
||||
}
|
||||
|
||||
#newtab-customize-panel .panel-arrowcontent,
|
||||
#newtab-search-panel .panel-arrowcontent {
|
||||
-moz-padding-start: 0;
|
||||
-moz-padding-end: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
background: rgb(248, 250, 251);
|
||||
#newtab-customize-panel > .panel-arrowcontainer > .panel-arrowcontent,
|
||||
#newtab-search-panel > .panel-arrowcontainer > .panel-arrowcontent {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.newtab-customize-panel-item,
|
||||
.newtab-search-panel-engine {
|
||||
-moz-box-align: center;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
-moz-padding-start: 24px;
|
||||
-moz-padding-end: 24px;
|
||||
.newtab-search-panel-engine,
|
||||
#newtab-search-manage {
|
||||
padding: 4px 24px;
|
||||
}
|
||||
|
||||
.newtab-customize-panel-item:not(:last-child),
|
||||
.newtab-search-panel-engine:not(:last-child) {
|
||||
border-bottom: 1px solid #ccc;
|
||||
.newtab-search-panel-engine {
|
||||
border-bottom: 1px solid threedshadow;
|
||||
}
|
||||
|
||||
.newtab-search-panel-engine > image {
|
||||
|
@ -485,10 +478,10 @@ input[type=button] {
|
|||
}
|
||||
|
||||
.newtab-customize-panel-item > label,
|
||||
.newtab-search-panel-engine > label {
|
||||
-moz-padding-start: 0;
|
||||
-moz-margin-start: 0;
|
||||
color: rgb(130, 132, 133);
|
||||
.newtab-search-panel-engine > label,
|
||||
#newtab-search-manage > label {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.newtab-customize-panel-item[selected],
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<xul:panel id="newtab-search-panel" orient="vertical" type="arrow"
|
||||
noautohide="true" hidden="true">
|
||||
<xul:hbox id="newtab-search-manage" class="newtab-search-panel-engine">
|
||||
<xul:hbox id="newtab-search-manage">
|
||||
<xul:label>&changeSearchSettings.button;</xul:label>
|
||||
</xul:hbox>
|
||||
</xul:panel>
|
||||
|
|
Загрузка…
Ссылка в новой задаче