2 * Copyright (c) 2018, The Tor Project, Inc.
3 * See LICENSE for licensing information.
5 * vim: set sw=2 sts=2 ts=8 et syntax=css:
19 font-family: "Liberation Sans", Arial
, Helvetica
, sans-serif
;
22 background-color: #FFFFFF;
23 background-attachment: fixed
;
24 background-size: 100% 100%;
28 background-image: linear-gradient
(to bottom
, #ffffff, #ffffff 10%, #dddddd 50%, #dddddd);
32 background-image: linear-gradient
(to bottom
, #ffffff, #ffffff 10%, #d5ffd5 50%, #d5ffd5);
35 /* Hide the entire document by default to avoid showing the incorrect
36 * Tor on / off status (that info must be retrieved from the chrome
37 * process, which involves IPC when multiprocess mode is enabled). An
38 * initialized attribute will be added as soon as the status is known.
40 body:not
([initialized
]) {
44 .torcontent-container {
47 flex-direction: column
;
57 white-space: pre-wrap
;
61 body
[toron
] #torstatus-image
{
62 background-image: url
('chrome://torbutton/skin/tor-on.png');
71 background-image: url
('chrome://torbutton/skin/tor-off.png');
72 background-repeat: no-repeat
;
73 background-position: center
;
83 #toolbarIconArrowHead {
87 background-image: url
('chrome://torbutton/skin/onionArrow-short.png');
90 #toolbarIconArrowVertExtension, #toolbarIconArrowHorzExtension
{
93 background-image: url
('chrome://torbutton/skin/onionArrow-extension.png');
96 #toolbarIconArrowBend {
99 background-image: url
('chrome://torbutton/skin/onionArrow-leftBend.png');
102 #toolbarIconArrowBend[pos
="right"] {
103 background-image: url
('chrome://torbutton/skin/onionArrow-rightBend.png');
108 text-decoration: none
;
113 text-decoration: underline
;
118 text-decoration: underline
;
123 position: relative
; /* needed for torstatus-image positioning */
125 justify-content: center
;
133 .torstatus-container {
137 body
[toron
][torNeedsUpdate
] .hideIfTBBNeedsUpdate
,
138 body:not
([torNeedsUpdate
]) .hideIfTorIsUpToDate
{
142 body
[toron
] .hideIfTorOn
,
143 body:not
([toron
]) .hideIfTorOff
{
147 body
[toron
] .top h1
{
151 body:not
([showmanual
]) .showForManual
{
155 div
.hideIfTorIsUpToDate
{
157 flex-direction: column
;
160 div
.hideIfTorIsUpToDate
,
161 body
.top div
.hideIfTorIsUpToDate h1
{
166 /* Use inline-block for text-oriented elements whose widths need to measured. */
167 .torstatus-container
*,
168 .top div.hideIfTorIsUpToDate h3 {
169 display: inline-block
;
173 .top div.hideIfTorOff h1 {
199 justify-content: space-evenly
;
207 background-color: #FFFFFF;
221 padding: 5px 0 0 22px;
224 #middle ul:dir
(rtl
) {
225 padding: 5px 22px 0 0;
233 padding-bottom: 40px;
244 text-decoration: underline
;
249 text-decoration: none
;
270 margin: 35px auto
1px auto
;
291 background: url
('chrome://torbutton/skin/search.png') no-repeat top left
;
295 /* #sxw is the container div for the search field and button */
300 /* #sx is the search input (text) field */
302 border-color: lightgray
;
304 border-width: 1px 0px 1px 1px;
307 padding: 4px 6px 5px 6px;
314 @media only screen and
(min-width : 820px) {
315 .torcontent-container {
327 margin: 10px 125px 0px 125px;
331 @media only screen and
(max-width : 436px) {
337 width: calc
(100% - 46px);