michael@0: %if 0 michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: %endif michael@0: michael@0: /* UI Tour */ michael@0: michael@0: #UITourHighlightContainer { michael@0: -moz-appearance: none; michael@0: border: none; michael@0: background-color: transparent; michael@0: /* This is a buffer to compensate for the movement in the "wobble" effect */ michael@0: padding: 4px; michael@0: } michael@0: michael@0: #UITourHighlight { michael@0: background-image: radial-gradient(50% 100%, rgba(0,149,220,0.4) 50%, rgba(0,149,220,0.6) 100%); michael@0: border-radius: 40px; michael@0: border: 1px solid white; michael@0: /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity michael@0: on Linux without an X compositor where opacity is either 0 or 1. */ michael@0: box-shadow: 0 0 3px 0 rgba(0,0,0,0.49); michael@0: min-height: 32px; michael@0: min-width: 32px; michael@0: } michael@0: michael@0: #UITourTooltipBody { michael@0: -moz-margin-end: 14px; michael@0: } michael@0: michael@0: #UITourTooltipBody > vbox { michael@0: padding-top: 4px; michael@0: } michael@0: michael@0: #UITourTooltipIconContainer { michael@0: -moz-margin-start: -16px; michael@0: } michael@0: michael@0: #UITourTooltipIcon { michael@0: width: 48px; michael@0: height: 48px; michael@0: -moz-margin-start: 28px; michael@0: -moz-margin-end: 28px; michael@0: } michael@0: michael@0: #UITourTooltipTitle, michael@0: #UITourTooltipDescription { michael@0: max-width: 20rem; michael@0: } michael@0: michael@0: #UITourTooltipTitle { michael@0: font-size: 1.45rem; michael@0: font-weight: bold; michael@0: -moz-margin-start: 0; michael@0: -moz-margin-end: 0; michael@0: margin: 0 0 9px 0; michael@0: } michael@0: michael@0: #UITourTooltipDescription { michael@0: -moz-margin-start: 0; michael@0: -moz-margin-end: 0; michael@0: font-size: 1.15rem; michael@0: line-height: 1.8rem; michael@0: margin-bottom: 0; /* Override global.css */ michael@0: } michael@0: michael@0: #UITourTooltipClose { michael@0: -moz-appearance: none; michael@0: border: none; michael@0: background-color: transparent; michael@0: min-width: 0; michael@0: -moz-margin-start: 4px; michael@0: margin-top: -2px; michael@0: } michael@0: michael@0: #UITourTooltipClose > .toolbarbutton-text { michael@0: display: none; michael@0: } michael@0: michael@0: #UITourTooltipButtons { michael@0: -moz-box-pack: end; michael@0: background-color: hsla(210,4%,10%,.07); michael@0: border-top: 1px solid hsla(210,4%,10%,.14); michael@0: margin: 24px -16px -16px; michael@0: padding: 2em 15px; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button { michael@0: margin: 0 15px; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button:first-child { michael@0: -moz-margin-start: 0; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button[image] > .button-box > .button-icon { michael@0: width: 16px; michael@0: height: 16px; michael@0: -moz-margin-end: 5px; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button .button-text { michael@0: font-size: 1.15rem; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button:not(.button-link) { michael@0: -moz-appearance: none; michael@0: background-color: rgb(251,251,251); michael@0: border-radius: 3px; michael@0: border: 1px solid; michael@0: border-color: rgb(192,192,192); michael@0: color: rgb(71,71,71); michael@0: padding: 4px 30px; michael@0: transition-property: background-color, border-color; michael@0: transition-duration: 150ms; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button:not(.button-link):not(:active):hover { michael@0: background-color: hsla(210,4%,10%,.15); michael@0: border-color: hsla(210,4%,10%,.15); michael@0: box-shadow: 0 1px 0 0 hsla(210,4%,10%,.05) inset; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button.button-link { michael@0: -moz-appearance: none; michael@0: background: transparent; michael@0: border: none; michael@0: box-shadow: none; michael@0: color: rgba(0,0,0,0.35); michael@0: padding-left: 10px; michael@0: padding-right: 10px; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button.button-link:hover { michael@0: color: black; michael@0: } michael@0: michael@0: /* The primary button gets the same color as the customize button. */ michael@0: #UITourTooltipButtons > button.button-primary { michael@0: background-color: rgb(116,191,67); michael@0: color: white; michael@0: padding-left: 30px; michael@0: padding-right: 30px; michael@0: } michael@0: michael@0: #UITourTooltipButtons > button.button-primary:not(:active):hover { michael@0: background-color: rgb(105,173,61); michael@0: }