1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace html url("http://www.w3.org/1999/xhtml");
/* UI Tour */
#UITourHighlightContainer {
appearance: none;
/* Resets the native styles in windows and macOS */
border: none;
background-color: transparent;
-moz-window-shadow: none;
--panel-border-color: transparent;
--panel-background: transparent;
/* This is a buffer to compensate for the movement in the "wobble" effect,
and for the box-shadow of #UITourHighlight. */
--panel-padding: 4px;
/* Compensate the displacement caused by padding. */
margin: -4px;
}
#UITourHighlight {
background-color: rgba(0, 200, 215, 0.3);
min-height: 24px;
min-width: 24px;
}
#UITourHighlight.rounded-highlight {
border-radius: 4px;
}
#UITourTooltipBody {
-moz-box-align: start;
}
#UITourTooltipTitleContainer {
-moz-box-align: start;
margin-bottom: 10px;
}
#UITourTooltipIcon {
width: 48px;
height: 48px;
margin-inline-end: 10px;
}
#UITourTooltipTitle,
#UITourTooltipDescription {
max-width: 20rem;
}
#UITourTooltipTitle {
font-size: 1.45rem;
font-weight: bold;
margin: 0;
}
#UITourTooltipDescription {
margin-inline: 0;
font-size: 1.15rem;
line-height: 1.8rem;
margin-bottom: 0; /* Override global.css */
}
#UITourTooltipClose {
position: relative;
appearance: none;
border: none;
background-color: transparent;
min-width: 0;
margin-inline-start: 4px;
margin-top: -2px;
}
#UITourTooltipClose > .toolbarbutton-text {
display: none;
}
#UITourTooltipButtons {
-moz-box-pack: end;
background-color: var(--arrowpanel-dimmed);
border-top: 1px solid var(--panel-separator-color);
margin: 10px -16px -16px;
padding: 16px;
}
#UITourTooltipButtons > label,
#UITourTooltipButtons > button {
margin: 0 15px;
}
#UITourTooltipButtons > label:first-child,
#UITourTooltipButtons > button:first-child {
margin-inline-start: 0;
}
#UITourTooltipButtons > label:last-child,
#UITourTooltipButtons > button:last-child {
margin-inline-end: 0;
}
#UITourTooltipButtons > button[image] > .button-box > .button-icon {
width: 16px;
height: 16px;
margin-inline-end: 5px;
}
#UITourTooltipButtons > label,
#UITourTooltipButtons > button .button-text {
font-size: 1.15rem;
}
#UITourTooltipButtons > button:not(.button-link) {
appearance: none;
background-color: rgb(251,251,251);
border-radius: 3px;
border: 1px solid;
border-color: rgb(192,192,192);
color: rgb(71,71,71);
padding: 4px 30px;
transition-property: background-color, border-color;
transition-duration: 150ms;
}
#UITourTooltipButtons > button:not(.button-link, :active):hover {
background-color: hsla(210,4%,10%,.15);
border-color: hsla(210,4%,10%,.15);
box-shadow: 0 1px 0 0 hsla(210,4%,10%,.05) inset;
}
#UITourTooltipButtons > label,
#UITourTooltipButtons > button.button-link:not(:hover) {
appearance: none;
background: transparent;
border: none;
box-shadow: none;
color: var(--panel-disabled-color);
padding-inline: 10px;
}
/* The primary button gets the same color as the customize button. */
#UITourTooltipButtons > button.button-primary {
background-color: rgb(116,191,67);
color: white;
padding-inline: 30px;
}
#UITourTooltipButtons > button.button-primary:not(:active):hover {
background-color: rgb(105,173,61);
}
|