Bug 1135915 - fix svg viewbox; r?Gijs draft
authorAndrew Krawchyk <akrawchyk@gmail.com>
Wed, 07 Dec 2016 11:54:05 -0500
changeset 447760 1ea6c327ef927e489dfdf34db580c9a5961aabb1
parent 447759 c2526f6786f074888d71c8e166a02aea3e19e75b
child 539112 a39820575fdc64a52f807c809693cb081b8e94cd
push id38150
push userbmo:akrawchyk@gmail.com
push dateWed, 07 Dec 2016 16:55:21 +0000
reviewersGijs
bugs1135915
milestone53.0a1
Bug 1135915 - fix svg viewbox; r?Gijs MozReview-Commit-ID: HCJrkqn4jTv
toolkit/themes/shared/aboutReaderControls.css
toolkit/themes/shared/reader/RM-Type-Controls-Arrow.svg
--- a/toolkit/themes/shared/aboutReaderControls.css
+++ b/toolkit/themes/shared/aboutReaderControls.css
@@ -129,17 +129,17 @@
   position: absolute;
   left: 48px; /* offset to account for toolbar width */
   z-index: 1000;
   background-color: #fbfbfb;
   visibility: hidden;
   border-radius: 4px;
   border: 1px solid #b5b5b5;
   border-bottom-width: 0;
-  box-shadow: 0 1px 12px #666;
+  box-shadow: 0 1px 3px #c1c1c1;
 }
 
 .keep-open .dropdown-popup {
   z-index: initial;
 }
 
 .dropdown-popup > hr {
   display: none;
@@ -148,17 +148,17 @@
 .open > .dropdown-popup {
   visibility: visible;
 }
 
 .dropdown-arrow {
   position: absolute;
   top: 30px; /* offset arrow from top of popup */
   left: -16px;
-  width: 24px;
+  width: 16px;
   height: 24px;
   background-image: url("chrome://global/skin/reader/RM-Type-Controls-Arrow.svg");
   display: block;
 }
 
 /*======= Font style popup =======*/
 
 #font-type-buttons,
--- a/toolkit/themes/shared/reader/RM-Type-Controls-Arrow.svg
+++ b/toolkit/themes/shared/reader/RM-Type-Controls-Arrow.svg
@@ -1,8 +1,8 @@
-<?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" viewBox="0 0 24 24">
-  <polygon opacity="0.15"  points="16.583,0.015 16.569,0 4.583,12 16.569,24 16.583,23.985"/>
-  <polygon fill="#fbfbfb" points="16.575,1.021 16.561,1.008 5.583,12 16.577,23.008 16.591,22.994 "/>
-</svg>
+<?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" viewBox="0 0 16 24">
+  <polygon points="16.58 0.01 16.57 0 4.58 12 16.57 24 16.58 23.98 16.58 0.01" fill="#b5b5b5"/>
+  <polyline points="16.63 1.51 6.08 12.01 16.63 22.5" fill="#fbfbfb"/>
+</svg>