browser/metro/theme/flyoutpanel.css

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 %filter substitution
michael@0 6 %include defines.inc
michael@0 7
michael@0 8 flyoutpanel {
michael@0 9 height: 100%;
michael@0 10 background-color: #ffffff;
michael@0 11 visibility: collapse;
michael@0 12 position: fixed;
michael@0 13 transition: transform @metro_animation_duration@ @metro_animation_easing@;
michael@0 14 transform: translateX(100%);
michael@0 15 font-size: 11pt;
michael@0 16 right: 0;
michael@0 17 }
michael@0 18
michael@0 19 flyoutpanel:-moz-dir(rtl) {
michael@0 20 left: 0;
michael@0 21 right: auto;
michael@0 22 transform: translateX(-100%);
michael@0 23 }
michael@0 24
michael@0 25 .flyoutpanel-slide-in {
michael@0 26 transform: translateX(0);
michael@0 27 }
michael@0 28
michael@0 29 flyoutpanel[visible] {
michael@0 30 visibility: visible;
michael@0 31 }
michael@0 32
michael@0 33 /* XUL flexbox layout doesn't work in a position:fixed container, so we have
michael@0 34 * this normally-positioned inside for layout purposes. */
michael@0 35 .flyoutpanel-wrapper {
michael@0 36 height: 100%;
michael@0 37 width: 100%;
michael@0 38 }
michael@0 39
michael@0 40 .flyoutpanel-header {
michael@0 41 border-width: 1px;
michael@0 42 -moz-border-start-style: solid;
michael@0 43 border-color: #1b1b1b;
michael@0 44 background-color: #002147;
michael@0 45 height: 80px;
michael@0 46 width: 100%;
michael@0 47 color: #ffffff;
michael@0 48 font-weight: lighter;
michael@0 49 font-size: 20pt;
michael@0 50 }
michael@0 51
michael@0 52 .flyout-close-button {
michael@0 53 margin-top: 30px !important;
michael@0 54 -moz-margin-start: 40px !important;
michael@0 55 }
michael@0 56
michael@0 57 .flyout-header-label {
michael@0 58 margin-top: 30px !important;
michael@0 59 -moz-margin-start: 10px !important;
michael@0 60 }
michael@0 61
michael@0 62 .flyoutpanel-contents {
michael@0 63 border-width: 1px;
michael@0 64 -moz-border-start-style: solid;
michael@0 65 border-color: #c2c2c2;
michael@0 66 padding: @metro_spacing_large@;
michael@0 67 width: 100%;
michael@0 68 }
michael@0 69
michael@0 70 .flyoutpanel-contents[input="precise"] {
michael@0 71 overflow-y: scroll;
michael@0 72 overflow-x: hidden;
michael@0 73 }
michael@0 74
michael@0 75 .flyout-close-button {
michael@0 76 border: 0 none;
michael@0 77 -moz-appearance: none;
michael@0 78 list-style-image: url(chrome://browser/skin/images/flyout-back-button.png);
michael@0 79 -moz-image-region: rect(0 32px 32px 0);
michael@0 80 }
michael@0 81
michael@0 82 .flyout-close-button:-moz-locale-dir(rtl) {
michael@0 83 transform: scaleX(-1);
michael@0 84 }
michael@0 85
michael@0 86 .flyout-close-button:hover {
michael@0 87 -moz-image-region: rect(0 64px 32px 32px);
michael@0 88 }
michael@0 89
michael@0 90 .flyout-close-button:active {
michael@0 91 -moz-image-region: rect(0 96px 32px 64px);
michael@0 92 }

mercurial