2 This CSS file is for styling the tor circuit display, which consists of a title,
3 a domain, and a bulleted list.
5 Each bullet in the circuit node list is supposed to represent a Tor circuit node,
6 and lines drawn between them to represent Tor network inter-relay connections.
9 #circuit-display-container {
16 #circuit-display-container > toolbarseparator
{
19 width: calc
(100% + 6px);
22 #circuit-display-headline {
23 margin-inline-start: 8px;
26 #circuit-display-header {
27 background-image: url
(chrome://torbutton
/skin
/torbutton
.svg
);
28 background-repeat: no-repeat
;
29 background-position: 4px 50%;
30 background-size: 16px auto
;
32 -moz-context-properties: fill
, fill-opacity
;
37 #circuit-display-header:-moz-locale-dir
(rtl
) {
38 background-position-x: right
;
41 #circuit-display-header > hbox
{
42 margin-inline-start: 16px;
45 #circuit-display-content {
49 #circuit-display-content > * {
51 margin-inline-start: 16px;
56 #circuit-display-content > hbox:not
([hidden
]) {
60 #circuit-reload-button-container {
62 justify-content: flex-end
;
65 #circuit-reload-content {
70 /* Format the domain text. */
71 #circuit-display-domain {
77 margin-inline-start: 6px;
80 /* Format the circuit node list. */
81 ul#circuit-display-nodes
{
83 padding-inline-start: 8px;
86 /* Hide default bullets, and draw our own bullets */
87 ul#circuit-display-nodes li
{
88 background-image: url
(chrome://torbutton
/skin
/tor-circuit-line
.svg
);
89 background-position: left center
;
90 background-repeat: no-repeat
;
92 /* tor circuit svg are 16px wide */
93 padding-inline-start: calc
(16px + 0.5em);
96 -moz-context-properties: stroke
, stroke-opacity
;
101 ul#circuit-display-nodes
li:dir
(rtl
) {
102 background-position: right center
;
105 ul#circuit-display-nodes
li:first-child
{
106 background-image: url
(chrome://torbutton
/skin
/tor-circuit-line-first
.svg
);
109 ul#circuit-display-nodes
li:last-child
{
110 background-image: url
(chrome://torbutton
/skin
/tor-circuit-line-last
.svg
);
113 .circuit-ip-address {
116 padding-inline-start: 3px;
119 .circuit-guard-info {
121 color: var
(--button-primary-bgcolor
);
123 padding-inline-start: 3px;
126 #circuit-reload-button {
127 background-color: var
(--button-primary-bgcolor
);
130 color: var
(--button-primary-color
);
135 #circuit-reload-button:hover
{
136 background-color: var
(--button-primary-hover-bgcolor
);
139 #circuit-reload-button:active
{
140 background-color: var
(--button-primary-active-bgcolor
);
143 #circuit-guard-note-container div
{
144 margin-inline-start: 8px;
147 .circuit-guard-name {
153 color: var
(--urlbar-popup-url-color
);
156 .circuit-link:hover {
157 text-decoration: underline
;
164 .circuit-onion:hover::after {
168 .circuit-onion::after {
169 background-color: var
(--button-bgcolor
);;
171 color: var
(--button-color
);
172 content: attr
(data-text-clicktocopy
);
178 transition: opacity
0.3s cubic-bezier
(0.07, 0.95, 0, 1);
181 .circuit-onion:hover::after {
182 background-color: var
(--button-hover-bgcolor
);
185 .circuit-onion:active::after {
186 background-color: var
(--button-active-bgcolor
);
190 .circuit-onion-copied::after {
191 content: attr
(data-text-copied
);