content/xml/tests/toc/toc.css

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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 toc {
     6   position:fixed;
     7   top:0; 
     8   left:0; 
     9   width:12em; 
    10   height:100%;
    11   border-right: 1px solid black;
    12   background-color: #CCE6F3;
    13   font-family: Arial;
    14   overflow:auto;
    15   color: darkblue;
    16 }
    18 toc > title {
    19   display: block;
    20   font-size:12pt;
    21   font-weight: bold;
    22   background-color: black;
    23   color:white;
    24 }
    26 toclink:visited {
    27   color: purple;
    28 }
    30 toclink:active {
    31   color: red;
    32 }
    34 level1 {
    35    display: block;
    36    font-weight:bold;
    37    font-size:12pt;
    38    margin-left: 4px;
    39    margin-bottom: 2px;
    40 }
    42 level1 > toclink {
    43    list-style-position: inside;
    44    text-decoration: none;
    45    color: darkblue;
    46 }
    48 level2 {
    49    display: block;
    50    font-size:11pt;
    51    margin-left: 8px;
    52    margin-bottom: 2px;
    53 }
    55 level2 > toclink {
    56    list-style-position: inside;
    57    text-decoration: none;
    58    color: darkblue;
    59 }
    61 level3 {
    62    display: list-item;
    63    font-size: 8pt;
    64    margin-left: 12px;
    65    margin-bottom: 2px;
    66 }
    68 level3 > toclink {
    69    list-style-position: inside;
    70    text-decoration: none;
    71    color: darkblue;
    72 }
    74 toc img {
    75    margin-right: 1em;
    76 }

mercurial