toolkit/themes/osx/help/helpFileLayout.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 @import url('chrome://help/content/platformClasses.css');
     7 body,
     8 td,
     9 th,
    10 input {
    11   font-family: verdana, sans-serif;
    12   font-size: small;
    13 }
    15 body {
    16   margin: 2ex;
    17   max-width: 120ex;
    18 }
    20 :link:hover,
    21 :visited:hover {
    22   color: -moz-activehyperlinktext;
    23 }
    25 hr {
    26   height: 1px;
    27   background-color: #000;
    28   color: #000;
    29   margin: 2em 0;
    30 }
    32 a[href^="http://"]:after,
    33 a[href^="https://"]:after {
    34   content: url('chrome://help/skin/Weblink.png');
    35 }
    37 :link {
    38   color: #039;
    39 }
    40 :visited {
    41   color: #636;
    42 }
    43 :link:hover,
    44 :visited:hover {
    45   color: #333;
    46 }
    47 :link:active,
    48 :link:active {
    49   color: #000;
    50 }
    52 h1 {
    53   font-size: 160%;
    54   font-weight: normal;
    55 }
    56 h2 {
    57   font-size: 150%;
    58   font-weight: normal;
    59 }
    60 h3 {
    61   font-size: 120%;
    62 }
    63 h4 {
    64   font-size: 100%;
    65 }
    66 h5 {
    67   font-size: 90%;
    68 }
    69 h6 {
    70   font-size: 90%;
    71   border: 0;
    72 }
    74 h1,
    75 h2,
    76 h3,
    77 h4,
    78 h5,
    79 h6 {
    80   margin: 1em 0 .2em;
    81   border-bottom: 1px solid #ccc;
    82   font-family: arial, verdana, sans-serif;
    83 }
    85 li h1,
    86 li h2,
    87 li h3,
    88 li h4,
    89 li h5,
    90 li h6 {
    91   border: none;
    92 }
    95 dt {
    96   font-weight: bold;
    97 }
    99 sup {
   100   font-size: 70%;
   101 }
   103 :link img,
   104 :visited img {
   105   border: 0;
   106 }
   108 .contentsBox, 
   109 .contentsBox > ul,
   110 li {
   111   text-indent: 0;
   112 }
   114 .contentsBox > ul,
   115 .contentsBox ul > ul {
   116   margin: 0;
   117   list-style-type: none;
   118 }
   120 .contentsBox {
   121   margin-top: 12px;
   122   background-color: #eee;
   123   border: 1px solid #ccc;
   124   width: 300px;
   125   padding: 1em;
   126 }
   128 .menuPath {
   129   background: #c4d0f4; /* bluish color */
   130   color: inherit;
   131   padding-left:  1px; /* else bgcolor ends at last char - no space */
   132   padding-right: 1px;
   133 }
   135 table {
   136   border-collapse: collapse;
   137 }
   139 td,
   140 th {
   141   border: 1px solid #ddd;
   142   padding: 6px;
   143   vertical-align: top;
   144 }
   146 th {
   147   background-color: #eee;
   148   font-weight: bold;
   149   text-align: start;
   150 }
   152 .noTableBorder,
   153 .noTableBorder td,
   154 .noTableBorder th {
   155   background-color: transparent;
   156   border: none;
   157 }

mercurial