2013-11-17 13:32:40 +04:00
|
|
|
%if 0
|
|
|
|
/* 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/. */
|
|
|
|
%endif
|
|
|
|
|
|
|
|
/* UI Tour */
|
|
|
|
|
2013-12-11 11:35:20 +04:00
|
|
|
#UITourHighlightContainer {
|
|
|
|
-moz-appearance: none;
|
2016-08-03 01:03:31 +03:00
|
|
|
-moz-window-shadow: none;
|
2014-01-15 15:04:41 +04:00
|
|
|
border: none;
|
2013-12-11 11:35:20 +04:00
|
|
|
background-color: transparent;
|
2016-08-03 01:03:31 +03:00
|
|
|
/* This is a buffer to compensate for the movement in the "wobble" effect,
|
|
|
|
and for the box-shadow of #UITourHighlight. */
|
2013-12-11 11:35:20 +04:00
|
|
|
padding: 4px;
|
2017-07-27 09:35:22 +03:00
|
|
|
/* Compensate the displacement caused by padding. */
|
|
|
|
margin: -4px;
|
2013-12-11 11:35:20 +04:00
|
|
|
}
|
|
|
|
|
2013-12-11 11:35:31 +04:00
|
|
|
#UITourHighlight {
|
2017-08-01 06:56:28 +03:00
|
|
|
background-color: rgba(0, 200, 215, 0.3);
|
|
|
|
min-height: 24px;
|
|
|
|
min-width: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourHighlight.rounded-highlight {
|
|
|
|
border-radius: 4px;
|
2013-11-17 13:32:40 +04:00
|
|
|
}
|
|
|
|
|
2014-03-16 01:21:20 +04:00
|
|
|
#UITourTooltipBody {
|
2016-07-13 00:39:50 +03:00
|
|
|
-moz-box-align: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipTitleContainer {
|
|
|
|
-moz-box-align: start;
|
|
|
|
margin-bottom: 10px;
|
2014-03-16 01:21:20 +04:00
|
|
|
}
|
|
|
|
|
2014-01-06 03:27:25 +04:00
|
|
|
#UITourTooltipIcon {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2016-07-13 00:39:50 +03:00
|
|
|
margin-inline-end: 10px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipTitle,
|
|
|
|
#UITourTooltipDescription {
|
|
|
|
max-width: 20rem;
|
2013-11-17 13:32:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipTitle {
|
2014-03-16 01:21:20 +04:00
|
|
|
font-size: 1.45rem;
|
2013-11-17 13:32:40 +04:00
|
|
|
font-weight: bold;
|
2016-07-13 00:39:50 +03:00
|
|
|
margin: 0;
|
2013-11-17 13:32:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipDescription {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 0;
|
|
|
|
margin-inline-end: 0;
|
2014-01-31 06:25:45 +04:00
|
|
|
font-size: 1.15rem;
|
|
|
|
line-height: 1.8rem;
|
2014-03-16 01:21:20 +04:00
|
|
|
margin-bottom: 0; /* Override global.css */
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose {
|
2016-04-18 16:06:58 +03:00
|
|
|
position: relative;
|
2014-01-31 06:25:45 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
min-width: 0;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 4px;
|
2014-03-16 01:21:20 +04:00
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipClose > .toolbarbutton-text {
|
|
|
|
display: none;
|
2013-11-17 13:32:40 +04:00
|
|
|
}
|
2014-01-06 03:27:25 +04:00
|
|
|
|
|
|
|
#UITourTooltipButtons {
|
2014-03-16 01:21:20 +04:00
|
|
|
-moz-box-pack: end;
|
2018-07-20 17:45:57 +03:00
|
|
|
background-color: var(--arrowpanel-dimmed);
|
|
|
|
border-top: 1px solid var(--panel-separator-color);
|
2016-04-18 16:06:58 +03:00
|
|
|
margin: 10px -16px -16px;
|
2016-07-13 00:39:50 +03:00
|
|
|
padding: 16px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
2015-07-16 23:38:20 +03:00
|
|
|
#UITourTooltipButtons > label,
|
2014-01-31 06:25:45 +04:00
|
|
|
#UITourTooltipButtons > button {
|
2014-03-16 01:21:20 +04:00
|
|
|
margin: 0 15px;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
2015-07-16 23:38:20 +03:00
|
|
|
#UITourTooltipButtons > label:first-child,
|
2014-01-31 06:25:45 +04:00
|
|
|
#UITourTooltipButtons > button:first-child {
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-start: 0;
|
2014-01-31 06:25:45 +04:00
|
|
|
}
|
|
|
|
|
2016-07-13 00:39:50 +03:00
|
|
|
#UITourTooltipButtons > label:last-child,
|
|
|
|
#UITourTooltipButtons > button:last-child {
|
|
|
|
margin-inline-end: 0;
|
|
|
|
}
|
|
|
|
|
2014-01-06 03:27:25 +04:00
|
|
|
#UITourTooltipButtons > button[image] > .button-box > .button-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2016-05-13 08:19:58 +03:00
|
|
|
margin-inline-end: 5px;
|
2014-01-06 03:27:25 +04:00
|
|
|
}
|
2014-01-31 06:25:45 +04:00
|
|
|
|
2015-07-16 23:38:20 +03:00
|
|
|
#UITourTooltipButtons > label,
|
2014-01-31 06:25:45 +04:00
|
|
|
#UITourTooltipButtons > button .button-text {
|
|
|
|
font-size: 1.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipButtons > button:not(.button-link) {
|
|
|
|
-moz-appearance: none;
|
2014-03-16 01:21:20 +04:00
|
|
|
background-color: rgb(251,251,251);
|
|
|
|
border-radius: 3px;
|
2014-01-31 06:25:45 +04:00
|
|
|
border: 1px solid;
|
2014-03-16 01:21:20 +04:00
|
|
|
border-color: rgb(192,192,192);
|
|
|
|
color: rgb(71,71,71);
|
|
|
|
padding: 4px 30px;
|
2014-01-31 06:25:45 +04:00
|
|
|
transition-property: background-color, border-color;
|
|
|
|
transition-duration: 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipButtons > button:not(.button-link):not(: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;
|
|
|
|
}
|
|
|
|
|
2015-07-16 23:38:20 +03:00
|
|
|
#UITourTooltipButtons > label,
|
2018-07-20 17:45:57 +03:00
|
|
|
#UITourTooltipButtons > button.button-link:not(:hover) {
|
2014-01-31 06:25:45 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2018-07-20 17:45:57 +03:00
|
|
|
color: var(--panel-disabled-color);
|
2014-01-31 06:25:45 +04:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
2014-03-16 01:21:20 +04:00
|
|
|
/* The primary button gets the same color as the customize button. */
|
|
|
|
#UITourTooltipButtons > button.button-primary {
|
|
|
|
background-color: rgb(116,191,67);
|
|
|
|
color: white;
|
|
|
|
padding-left: 30px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipButtons > button.button-primary:not(:active):hover {
|
|
|
|
background-color: rgb(105,173,61);
|
|
|
|
}
|