2017-07-14 03:16:50 +02:00
|
|
|
/* icon */
|
|
|
|
.hotspot-icon {
|
|
|
|
position: fixed;
|
|
|
|
cursor: pointer;
|
2017-08-02 03:13:31 +02:00
|
|
|
z-index: 100;
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 14:28:31 +02:00
|
|
|
.dot {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
margin: -12.5px 0 0 -12.5px;
|
|
|
|
border-radius: 50%;
|
|
|
|
position: absolute;
|
|
|
|
background-color: hsla(196, 100%, 82%, 0.3);
|
|
|
|
border: 2px solid hsl(215, 47%, 50%);
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
}
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 14:28:31 +02:00
|
|
|
.pulse {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
margin: -11.5px 0 0 -11.5px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 1px solid hsl(205, 100%, 70%);
|
2020-02-19 03:07:04 +01:00
|
|
|
transform: scale(2.2);
|
|
|
|
opacity: 0;
|
|
|
|
animation: pulsate 5s ease-out 0.375s 5;
|
2019-06-05 14:28:31 +02:00
|
|
|
}
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 14:28:31 +02:00
|
|
|
.bounce {
|
2020-02-19 03:07:04 +01:00
|
|
|
animation: bounce 5s 5;
|
2018-02-28 23:22:02 +01:00
|
|
|
|
2019-06-05 14:28:31 +02:00
|
|
|
.bounce-icon {
|
|
|
|
position: absolute;
|
|
|
|
left: -5px;
|
|
|
|
bottom: 3px;
|
|
|
|
transform: rotate(7deg);
|
|
|
|
color: hsl(215, 47%, 50%);
|
|
|
|
font-size: 2.75em;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
2018-02-28 23:22:02 +01:00
|
|
|
}
|
|
|
|
|
2019-06-05 14:26:09 +02:00
|
|
|
@keyframes pulsate {
|
|
|
|
0% {
|
2020-02-19 03:07:04 +01:00
|
|
|
transform: scale(1);
|
2019-06-05 14:26:09 +02:00
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2020-02-19 03:07:04 +01:00
|
|
|
30%,
|
2019-06-05 14:26:09 +02:00
|
|
|
100% {
|
2020-02-19 03:07:04 +01:00
|
|
|
transform: scale(2.2);
|
|
|
|
opacity: 0;
|
2019-06-05 14:26:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-28 23:22:02 +01:00
|
|
|
@keyframes bounce {
|
2018-07-25 21:38:45 +02:00
|
|
|
0%,
|
2020-02-19 03:07:04 +01:00
|
|
|
15%,
|
2018-07-25 21:38:45 +02:00
|
|
|
100% {
|
2020-08-06 02:42:07 +02:00
|
|
|
transform: translateY(0);
|
2018-02-28 23:22:02 +01:00
|
|
|
}
|
|
|
|
|
2020-02-19 03:07:04 +01:00
|
|
|
7.5% {
|
2019-08-30 03:49:42 +02:00
|
|
|
transform: translateY(4px);
|
2018-02-28 23:22:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-14 03:16:50 +02:00
|
|
|
/* popover */
|
|
|
|
.hotspot.overlay {
|
|
|
|
z-index: 104;
|
2017-08-31 05:33:36 +02:00
|
|
|
background-color: hsla(191, 7%, 20%, 0.15);
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-popover {
|
|
|
|
position: fixed;
|
|
|
|
width: 250px;
|
|
|
|
text-align: left;
|
|
|
|
box-shadow: 0 5px 10px hsla(223, 4%, 54%, 0.2);
|
|
|
|
border: 1px solid hsl(0, 0%, 80%);
|
|
|
|
border-radius: 4px;
|
2019-06-05 19:13:39 +02:00
|
|
|
|
|
|
|
/* arrows */
|
|
|
|
&::after,
|
|
|
|
&::before {
|
|
|
|
border: solid transparent;
|
2020-08-04 23:58:56 +02:00
|
|
|
content: "";
|
2019-06-05 19:13:39 +02:00
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-width: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-width: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-top {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
bottom: 100%;
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-bottom-color: hsl(164, 44%, 47%);
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-bottom-color: hsl(0, 0%, 80%);
|
|
|
|
margin-right: -13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-left {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
right: 100%;
|
|
|
|
top: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-right-color: hsl(0, 0%, 100%);
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-right-color: hsl(0, 0%, 80%);
|
|
|
|
margin-top: -13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-bottom {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
top: 100%;
|
|
|
|
right: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-top-color: hsl(0, 0%, 100%);
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-top-color: hsl(0, 0%, 80%);
|
|
|
|
margin-right: -13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-right {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
left: 100%;
|
|
|
|
top: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-left-color: hsl(0, 0%, 100%);
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-left-color: hsl(0, 0%, 80%);
|
|
|
|
margin-top: -13px;
|
|
|
|
}
|
|
|
|
}
|
2019-06-05 18:27:23 +02:00
|
|
|
}
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-popover-top {
|
|
|
|
padding: 0 15px;
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
background-color: hsl(164, 44%, 47%);
|
|
|
|
}
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.15em;
|
|
|
|
font-weight: 600;
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
}
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-popover-content {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2017-08-02 02:25:52 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-popover-bottom {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
height: 90px;
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
2017-07-14 03:16:50 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-img {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 4px;
|
|
|
|
}
|
2017-08-02 02:25:52 +02:00
|
|
|
|
2019-06-05 18:27:23 +02:00
|
|
|
.hotspot-confirm {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 15px;
|
|
|
|
right: 15px;
|
|
|
|
}
|
2019-06-05 18:05:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hotspot-img {
|
|
|
|
height: 83px;
|
|
|
|
}
|
|
|
|
|
2018-05-24 21:40:47 +02:00
|
|
|
.hotspot-confirm {
|
2018-02-14 07:36:01 +01:00
|
|
|
max-width: 125px;
|
|
|
|
max-height: 70px;
|
2017-09-28 00:36:35 +02:00
|
|
|
border: none;
|
|
|
|
font-size: 1.15em;
|
|
|
|
font-weight: 600;
|
2018-09-27 21:57:07 +02:00
|
|
|
color: hsl(0, 0%, 100%);
|
2018-10-06 18:49:20 +02:00
|
|
|
background-color: hsl(164, 44%, 47%);
|
2017-09-28 00:36:35 +02:00
|
|
|
border-radius: 4px;
|
2018-02-14 07:36:01 +01:00
|
|
|
white-space: normal;
|
|
|
|
padding: 7px 20px;
|
2018-05-24 21:40:47 +02:00
|
|
|
outline: none;
|
|
|
|
|
2019-06-05 18:50:56 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: hsl(164, 44%, 56%);
|
|
|
|
}
|
2018-05-24 21:40:47 +02:00
|
|
|
}
|
|
|
|
|
2017-08-02 03:13:31 +02:00
|
|
|
/* individual icon z-indexing */
|
2017-08-30 02:19:55 +02:00
|
|
|
#hotspot_intro_streams_icon,
|
2019-02-05 19:28:56 +01:00
|
|
|
#hotspot_intro_topics_icon,
|
|
|
|
#hotspot_intro_gear_icon {
|
2017-08-02 03:13:31 +02:00
|
|
|
z-index: 103;
|
|
|
|
}
|