Bug 464450 - Get rid of the padded class and clean up related styling. r=mak

MozReview-Commit-ID: 5uPRgLiSu0Q

--HG--
extra : rebase_source : 4a271f0eb515546586918412c062c3ea853c3844
This commit is contained in:
Dão Gottwald 2017-10-18 14:49:00 +02:00
Родитель 389d950c4c
Коммит 7ca44028ae
10 изменённых файлов: 11 добавлений и 86 удалений

Просмотреть файл

@ -121,7 +121,6 @@
<hbox flex="1" align="center">
<textbox id="editBMPanel_tagsField"
type="autocomplete"
class="padded"
flex="1"
autocompletesearch="places-tag-autocomplete"
completedefaultindex="true"

Просмотреть файл

@ -166,10 +166,6 @@ menuitem.bookmark-item {
border-color: Highlight;
}
.urlbar-textbox-container {
-moz-box-align: stretch;
}
/* ::::: URL Bar Zoom Reset Button ::::: */
@keyframes urlbar-zoom-reset-pulse {
0% {

Просмотреть файл

@ -29,6 +29,7 @@
padding: 0;
margin: 3px 5px;
min-height: 30px;
cursor: default;
overflow: -moz-hidden-unscrollable;
}
@ -72,11 +73,6 @@
-moz-box-align: center;
}
.urlbar-input-box,
.searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box {
margin: 0;
}
#urlbar-search-splitter {
/* The splitter width should equal the location and search bars' combined
neighboring margin and border width. */

Просмотреть файл

@ -529,10 +529,6 @@ html|*.urlbar-input:-moz-lwtheme::placeholder,
color: #777;
}
.urlbar-textbox-container {
-moz-box-align: stretch;
}
/* ::::: URL Bar Zoom Reset Button ::::: */
@keyframes urlbar-zoom-reset-pulse {
0% {

Просмотреть файл

@ -1,5 +1,6 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="autocomplete.css" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"

Просмотреть файл

@ -0,0 +1,3 @@
.textbox-input {
border-style: none;
}

Просмотреть файл

@ -1,29 +1,17 @@
@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
@namespace html url('http://www.w3.org/1999/xhtml');
html|input, html|textarea {
margin: 2px 4px;
padding: 2px 2px 3px;
padding-inline-start: 5px;
}
#mac html|input, #mac html|textarea {
margin: 4px;
padding: 0 1px;
}
#win html|input, #win html|textarea {
margin: 2px 4px;
padding: 2px 3px 3px;
padding-inline-start: 5px;
}
@media (-moz-windows-default-theme) {
#win html|input {
padding: 1px 2px 2px;
padding-inline-start: 4px;
}
}
#linux html|input, #linux html|textarea {
margin: 2px 4px;
padding: 2px 5px 3px;
}
textbox[multiline="true"], html|textarea {
border: none !important;
-moz-appearance: none !important;
@ -36,10 +24,6 @@ html|input, html|textarea {
font: inherit;
}
html|input.ac {
padding: 0 4px !important;
}
html|input.empty {
color: graytext;
}

Просмотреть файл

@ -11,28 +11,10 @@
/* ::::: autocomplete ::::: */
/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */
textbox:not(.padded) {
cursor: default;
padding: 0;
}
textbox[nomatch="true"][highlightnonmatches="true"] {
color: red;
}
.autocomplete-textbox-container {
-moz-box-align: center;
}
textbox:not(.padded) .textbox-input-box {
margin: 0 3px;
}
.textbox-input-box {
-moz-box-align: center;
}
/* ::::: autocomplete popups ::::: */
panel[type="autocomplete"],

Просмотреть файл

@ -5,24 +5,10 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */
textbox:not(.padded) {
cursor: default;
padding: 0;
}
textbox[nomatch="true"][highlightnonmatches="true"] {
color: red;
}
textbox:not(.padded) .textbox-input-box {
margin: 0 3px;
}
.textbox-input-box {
-moz-box-align: center;
}
/* ::::: autocomplete popups ::::: */
panel[type="autocomplete"],

Просмотреть файл

@ -11,28 +11,10 @@
/* ::::: autocomplete ::::: */
/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */
textbox:not(.padded) {
cursor: default;
padding: 0;
}
textbox[nomatch="true"][highlightnonmatches="true"] {
color: red;
}
.autocomplete-textbox-container {
-moz-box-align: center;
}
textbox:not(.padded) .textbox-input-box {
margin: 0 3px;
}
.textbox-input-box {
-moz-box-align: center;
}
/* ::::: autocomplete popups ::::: */
panel[type="autocomplete"],