gecko-dev/browser/themes/shared/UITour.inc.css

150 lines
3.3 KiB
CSS

%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 */
#UITourHighlightContainer {
-moz-appearance: none;
border: none;
background-color: transparent;
/* This is a buffer to compensate for the movement in the "wobble" effect */
padding: 4px;
}
#UITourHighlight {
background-image: radial-gradient(50% 100%, rgba(0,149,220,0.4) 50%, rgba(0,149,220,0.6) 100%);
border-radius: 40px;
border: 1px solid white;
/* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
on Linux without an X compositor where opacity is either 0 or 1. */
box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
min-height: 32px;
min-width: 32px;
}
#UITourTooltipBody {
-moz-margin-end: 14px;
}
#UITourTooltipBody > vbox {
padding-top: 4px;
}
#UITourTooltipIconContainer {
-moz-margin-start: -16px;
}
#UITourTooltipIcon {
width: 48px;
height: 48px;
-moz-margin-start: 28px;
-moz-margin-end: 28px;
}
#UITourTooltipTitle,
#UITourTooltipDescription {
max-width: 20rem;
}
#UITourTooltipTitle {
font-size: 1.45rem;
font-weight: bold;
-moz-margin-start: 0;
-moz-margin-end: 0;
margin: 0 0 9px 0;
}
#UITourTooltipDescription {
-moz-margin-start: 0;
-moz-margin-end: 0;
font-size: 1.15rem;
line-height: 1.8rem;
margin-bottom: 0; /* Override global.css */
}
#UITourTooltipClose {
-moz-appearance: none;
border: none;
background-color: transparent;
min-width: 0;
-moz-margin-start: 4px;
margin-top: -2px;
}
#UITourTooltipClose > .toolbarbutton-text {
display: none;
}
#UITourTooltipButtons {
-moz-box-pack: end;
background-color: hsla(210,4%,10%,.07);
border-top: 1px solid hsla(210,4%,10%,.14);
margin: 24px -16px -16px;
padding: 2em 15px;
}
#UITourTooltipButtons > button {
margin: 0 15px;
}
#UITourTooltipButtons > button:first-child {
-moz-margin-start: 0;
}
#UITourTooltipButtons > button[image] > .button-box > .button-icon {
width: 16px;
height: 16px;
-moz-margin-end: 5px;
}
#UITourTooltipButtons > button .button-text {
font-size: 1.15rem;
}
#UITourTooltipButtons > button:not(.button-link) {
-moz-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):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;
}
#UITourTooltipButtons > button.button-link {
-moz-appearance: none;
background: transparent;
border: none;
box-shadow: none;
color: rgba(0,0,0,0.35);
padding-left: 10px;
padding-right: 10px;
}
#UITourTooltipButtons > button.button-link:hover {
color: black;
}
/* 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);
}