Bug 416868 - "Size of native style toolkit arrow" (Skin changes) [p=frnchfrgg-mozbugs@altern.org (RIVAUD Julien [_FrnchFrgg_]) r=Ryan a1.9=damons]
authorreed@reedloden.com
Wed, 12 Mar 2008 06:59:14 -0700
changeset 12941 2bf8d7c55cc598874c75b916b13a92f03b57a25c
parent 12940 78173a4c4b01700fa94821d97ea926c1d374791e
child 12942 82e31e15bc4964964a0c8f14a494bf0f4da16b44
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersRyan
bugs416868
milestone1.9b5pre
Bug 416868 - "Size of native style toolkit arrow" (Skin changes) [p=frnchfrgg-mozbugs@altern.org (RIVAUD Julien [_FrnchFrgg_]) r=Ryan a1.9=damons]
toolkit/themes/gnomestripe/global/button.css
toolkit/themes/gnomestripe/global/dropmarker.css
toolkit/themes/gnomestripe/global/jar.mn
toolkit/themes/gnomestripe/global/toolbarbutton.css
--- a/toolkit/themes/gnomestripe/global/button.css
+++ b/toolkit/themes/gnomestripe/global/button.css
@@ -149,22 +149,17 @@ button[type="menu-button"] {
   -moz-box-align: center;
   -moz-box-pack: center;
   margin: 0;
   border: none;
 }
 
 .button-menu-dropmarker,
 .button-menubutton-dropmarker {
-  -moz-appearance: none !important;
-  margin: 1px;
-  background-color: transparent !important;
-  border: none !important;
-  min-width:11px;
-  min-height:11px;
+  -moz-appearance: toolbarbutton-dropdown !important;
 }
   
 .button-menubutton-dropmarker[open="true"] {
   margin-top: 2px;
   margin-bottom: 0px;
   -moz-margin-start: 2px;
   -moz-margin-end: 0px;
 }
new file mode 100644
--- /dev/null
+++ b/toolkit/themes/gnomestripe/global/dropmarker.css
@@ -0,0 +1,3 @@
+dropmarker {
+  -moz-appearance: menulist-button;
+}
--- a/toolkit/themes/gnomestripe/global/jar.mn
+++ b/toolkit/themes/gnomestripe/global/jar.mn
@@ -2,16 +2,17 @@ classic.jar:
 +  skin/classic/global/autocomplete.css
 +  skin/classic/global/popup.css
 +  skin/classic/global/menu.css
 +  skin/classic/global/menulist.css
 +  skin/classic/global/numberbox.css
 +  skin/classic/global/tabbox.css
 +  skin/classic/global/toolbar.css
 +  skin/classic/global/toolbarbutton.css
++  skin/classic/global/dropmarker.css
 +  skin/classic/global/button.css
 +  skin/classic/global/checkbox.css
 +  skin/classic/global/splitter.css
 +  skin/classic/global/radio.css
 +  skin/classic/global/global.css
 +  skin/classic/global/tree.css
 +  skin/classic/global/listbox.css
 +  skin/classic/global/groupbox.css
--- a/toolkit/themes/gnomestripe/global/toolbarbutton.css
+++ b/toolkit/themes/gnomestripe/global/toolbarbutton.css
@@ -111,22 +111,20 @@ toolbarbutton[checked="true"]:hover:acti
   background-color: -moz-buttonhoverface !important;
 }
 
 /* ::::: toolbarbutton menu ::::: */
 
 .toolbarbutton-menu-dropmarker {
   -moz-appearance: toolbarbutton-dropdown !important;
   list-style-image: none;
-  width: 13px;
-  height: 13px;
   border: none !important;
   background-color: transparent !important;
   padding: 0;
-  margin: 2px;
+  margin: 0;
 }
 
 .toolbarbutton-menu-dropmarker[disabled="true"] {
   padding: 0 !important;
 }
 
 /* ::::: toolbarbutton menu-button ::::: */
 
@@ -156,16 +154,9 @@ toolbarbutton[type="menu-button"][disabl
 /* .......... dropmarker .......... */
 
 .toolbarbutton-menubutton-dropmarker {
   border: none !important;
   background-color: transparent !important;
   padding: 3px;
   -moz-appearance: toolbarbutton-dropdown !important;
   list-style-image: none;
-  width: 12px;
-  height: 12px;
 }
-
-.toolbarbutton-menubutton-dropmarker[disabled="true"] {
-  padding: 3px !important;
-}
-