Bug 1457303 - Fix autocomplete thick border styling in SeaMonkey Modern theme. r=frg a=IanN
authorMatt A. Tobin <email@mattatobin.com>
Tue, 24 Apr 2018 13:24:59 -0400
changeset 31453 b8787c5bf8ff
parent 31452 3cffe81b8841
child 31454 6d62aa47036e
push id383
push userclokep@gmail.com
push date2018-05-07 21:52 +0000
reviewersfrg, IanN
bugs1457303
Bug 1457303 - Fix autocomplete thick border styling in SeaMonkey Modern theme. r=frg a=IanN
suite/themes/modern/global/autocomplete.css
--- a/suite/themes/modern/global/autocomplete.css
+++ b/suite/themes/modern/global/autocomplete.css
@@ -34,30 +34,32 @@ textbox[nomatch="true"][highlightnonmatc
 
 .autocomplete-history-dropmarker[open="true"] {
   margin-top: 3px;
   margin-bottom: 1px;
   margin-inline-start: 3px;
   margin-inline-end: 1px;
 }
 
-/* ::::: popups ::::: */
+/* ::::: autocomplete popups ::::: */
 
-.autocomplete-history-popup,
-panel[type="autocomplete"] {
+panel[type="autocomplete"],
+panel[type="autocomplete-richlistbox"],
+.autocomplete-history-popup {
+  -moz-appearance: none;
   border: 1px solid;
   -moz-border-top-colors: #6B747E;
   -moz-border-right-colors: #6B747E;
   -moz-border-bottom-colors: #6B747E;
   -moz-border-left-colors: #6B747E;
   background-color: #FFFFFF;
 }
 
 .autocomplete-history-popup {
-  max-height: 25em;
+  max-height: 180px;
 }
 
 /* ::::: tree ::::: */
 
 .autocomplete-tree {
   border: none;
   background-color: transparent !important;
 }
@@ -80,8 +82,27 @@ panel[type="autocomplete"] {
 .autocomplete-treebody::-moz-tree-cell-text(selected) {
   color: #FFFFFF !important;
 }
 
 .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
   max-width: 16px;
   height: 16px;
 }
+
+/* ::::: richlistbox autocomplete ::::: */
+
+.autocomplete-richlistbox {
+  -moz-appearance: none;
+  margin: 0px !important;
+  border: none !important;
+  padding: 0px !important;
+}
+
+/* ::::: textboxes inside toolbarpaletteitems ::::: */
+
+toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
+  visibility: hidden;
+}
+
+toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {
+  visibility: hidden;
+}