toolkit/content/customizeToolbar.css

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
     6 @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
     8 #palette-box {
     9   overflow: auto;
    10   display: block;
    11   min-height: 3em;
    12 }
    14 #palette-box > toolbarpaletteitem {
    15   width: 110px;
    16   height: 94px;
    17   overflow: hidden;
    18   display: inline-block;
    19 }
    21 .toolbarpaletteitem-box {
    22   -moz-box-pack: center;
    23   -moz-box-flex: 1;
    24   width: 110px;
    25   max-width: 110px;
    26 }
    28 toolbarpaletteitem > label {
    29   text-align: center;
    30 }
    32 #main-box > box {
    33   overflow: hidden; 
    34 }
    36 /* Hide the toolbarbutton label because we replicate it on the wrapper */
    37 .toolbarbutton-text {
    38   display: none;
    39 }

mercurial