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;
|
2014-01-15 15:04:41 +04:00
|
|
|
border: none;
|
2013-12-11 11:35:20 +04:00
|
|
|
background-color: transparent;
|
|
|
|
/* This is a buffer to compensate for the movement in the "wobble" effect */
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
2013-12-11 11:35:31 +04:00
|
|
|
#UITourHighlight {
|
2013-12-05 10:12:57 +04:00
|
|
|
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;
|
2014-04-13 22:28:19 +04:00
|
|
|
/* 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);
|
2013-11-17 13:32:40 +04:00
|
|
|
min-height: 32px;
|
|
|
|
min-width: 32px;
|
|
|
|
}
|
|
|
|
|
2014-03-16 01:21:20 +04:00
|
|
|
#UITourTooltipBody {
|
|
|
|
-moz-margin-end: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipBody > vbox {
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipIconContainer {
|
|
|
|
-moz-margin-start: -16px;
|
|
|
|
}
|
|
|
|
|
2014-01-06 03:27:25 +04:00
|
|
|
#UITourTooltipIcon {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2014-03-16 01:21:20 +04:00
|
|
|
-moz-margin-start: 28px;
|
|
|
|
-moz-margin-end: 28px;
|
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;
|
2014-01-31 06:25:45 +04:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 0;
|
2014-03-16 01:21:20 +04:00
|
|
|
margin: 0 0 9px 0;
|
2013-11-17 13:32:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipDescription {
|
2014-01-31 06:25:45 +04:00
|
|
|
-moz-margin-start: 0;
|
|
|
|
-moz-margin-end: 0;
|
|
|
|
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 {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
min-width: 0;
|
|
|
|
-moz-margin-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;
|
|
|
|
background-color: hsla(210,4%,10%,.07);
|
|
|
|
border-top: 1px solid hsla(210,4%,10%,.14);
|
|
|
|
margin: 24px -16px -16px;
|
|
|
|
padding: 2em 15px;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
#UITourTooltipButtons > button:first-child {
|
|
|
|
-moz-margin-start: 0;
|
|
|
|
}
|
|
|
|
|
2014-01-06 03:27:25 +04:00
|
|
|
#UITourTooltipButtons > button[image] > .button-box > .button-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
-moz-margin-end: 5px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
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);
|
|
|
|
}
|
2014-11-21 02:27:10 +03:00
|
|
|
|
2015-01-28 10:58:21 +03:00
|
|
|
/* Notification overrides for Heartbeat UI */
|
|
|
|
|
|
|
|
notification.heartbeat {
|
|
|
|
background-color: #F1F1F1;
|
|
|
|
%ifdef XP_MACOSX
|
|
|
|
background-image: linear-gradient(-179deg, #FBFBFB 0%, #EBEBEB 100%);
|
|
|
|
%endif
|
|
|
|
box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.35);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pulse-onshow {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
|
|
|
25% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pulse-twice {
|
|
|
|
0% {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: scale(0.8);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageText.heartbeat {
|
|
|
|
color: #333333;
|
|
|
|
font-weight: normal;
|
|
|
|
font-family: "Lucida Grande", Segoe, Ubuntu;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 16px;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageImage.heartbeat {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
-moz-margin-end: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageImage.heartbeat.pulse-onshow {
|
|
|
|
animation-name: pulse-onshow;
|
|
|
|
animation-duration: 1.5s;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
animation-timing-function: cubic-bezier(.7,1.8,.9,1.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageImage.heartbeat.pulse-twice {
|
|
|
|
animation-name: pulse-twice;
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-iteration-count: 2;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Heartbeat UI Rating Star Classes */
|
|
|
|
.heartbeat > #star-rating-container {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heartbeat > #star-rating-container > #star5 {
|
|
|
|
-moz-box-ordinal-group: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heartbeat > #star-rating-container > #star4 {
|
|
|
|
-moz-box-ordinal-group: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heartbeat > #star-rating-container > #star3 {
|
|
|
|
-moz-box-ordinal-group: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heartbeat > #star-rating-container > #star2 {
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heartbeat > #star-rating-container > .star-x {
|
|
|
|
background: url("chrome://browser/skin/heartbeat-star-off.svg");
|
|
|
|
cursor: pointer;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heartbeat > #star-rating-container > .star-x:hover,
|
|
|
|
.heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
|
|
|
|
background: url("chrome://browser/skin/heartbeat-star-lit.svg");
|
|
|
|
cursor: pointer;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|