Bug 765714 - Reduce the arrow panel arrow size. r=enndeakin
authorDão Gottwald <dao@mozilla.com>
Tue, 19 Jun 2012 16:08:11 +0200
changeset 97031 c26acecbad4de4582a38a38951f6741cfb69eac0
parent 97030 e983572af03f28f28847834f0832e33f63a76b87
child 97032 602cfef02b3d33cfe6a9f4de8c8062ba3eed3902
push id22957
push usermh@glandium.org
push dateWed, 20 Jun 2012 08:54:19 +0000
treeherdermozilla-central@c3190d715044 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersenndeakin
bugs765714
milestone16.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 765714 - Reduce the arrow panel arrow size. r=enndeakin
toolkit/themes/gnomestripe/global/icons/panelarrow-horizontal.svg
toolkit/themes/gnomestripe/global/icons/panelarrow-vertical.svg
toolkit/themes/gnomestripe/global/popup.css
--- a/toolkit/themes/gnomestripe/global/icons/panelarrow-horizontal.svg
+++ b/toolkit/themes/gnomestripe/global/icons/panelarrow-horizontal.svg
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <svg xmlns="http://www.w3.org/2000/svg"
-     width="17"
-     height="34">
-  <path d="M 17,0 L 0,17 17,34 z"
+     width="10"
+     height="20">
+  <path d="M 10,0 L 0,10 10,20 z"
         fill="-moz-Dialog"/>
 </svg>
--- a/toolkit/themes/gnomestripe/global/icons/panelarrow-vertical.svg
+++ b/toolkit/themes/gnomestripe/global/icons/panelarrow-vertical.svg
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <svg xmlns="http://www.w3.org/2000/svg"
-     width="34"
-     height="17">
-  <path d="M 0,17 L 17,0 34,17 z"
+     width="20"
+     height="10">
+  <path d="M 0,10 L 10,0 20,10 z"
         fill="-moz-Dialog"/>
 </svg>
--- a/toolkit/themes/gnomestripe/global/popup.css
+++ b/toolkit/themes/gnomestripe/global/popup.css
@@ -17,24 +17,24 @@ panel {
 
 panel[type="arrow"] {
   -moz-transition: opacity 300ms;
   -moz-appearance: none;
 }
 
 panel[type="arrow"][side="top"],
 panel[type="arrow"][side="bottom"] {
-  margin-left: -23px;
-  margin-right: -23px;
+  margin-left: -16px;
+  margin-right: -16px;
 }
 
 panel[type="arrow"][side="left"],
 panel[type="arrow"][side="right"] {
-  margin-top: -23px;
-  margin-bottom: -23px;
+  margin-top: -16px;
+  margin-bottom: -16px;
 }
 
 .panel-arrowcontent {
   padding: 10px;
   color: -moz-DialogText;
   background: -moz-Dialog;
   border: 1px solid ThreeDShadow;
 }