2020-01-13 06:40:40 +00:00
|
|
|
export const SDK_CSS = ` .woot-widget-holder {
|
|
|
|
z-index: 2147483000 !important;
|
|
|
|
position: fixed !important;
|
|
|
|
-moz-box-shadow: 0 5px 40px rgba(0, 0, 0, .16) !important;
|
|
|
|
-o-box-shadow: 0 5px 40px rgba(0, 0, 0, .16) !important;
|
|
|
|
-webkit-box-shadow: 0 5px 40px rgba(0, 0, 0, .16) !important;
|
|
|
|
box-shadow: 0 5px 40px rgba(0, 0, 0, .16) !important;
|
|
|
|
overflow: hidden !important;
|
2019-11-12 04:16:30 +00:00
|
|
|
opacity: 1;
|
|
|
|
transition-property: opacity, bottom;
|
|
|
|
transition-duration: 0.5s, 0.5s;
|
2019-10-29 07:20:54 +00:00
|
|
|
}
|
|
|
|
|
2020-01-13 06:40:40 +00:00
|
|
|
.woot-widget-holder iframe {
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
border: 0;
|
|
|
|
}
|
2019-10-29 07:20:54 +00:00
|
|
|
|
|
|
|
.woot-widget-bubble {
|
2020-01-13 06:40:40 +00:00
|
|
|
z-index: 2147483000 !important;
|
|
|
|
-moz-box-shadow: 0 8px 24px rgba(0, 0, 0, .16) !important;
|
|
|
|
-o-box-shadow: 0 8px 24px rgba(0, 0, 0, .16) !important;
|
|
|
|
-webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, .16) !important;
|
|
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, .16) !important;
|
|
|
|
-o-border-radius: 100px !important;
|
|
|
|
-moz-border-radius: 100px !important;
|
|
|
|
-webkit-border-radius: 100px !important;
|
|
|
|
border-radius: 100px !important;
|
2019-10-29 07:20:54 +00:00
|
|
|
background: #1f93ff;
|
|
|
|
position: fixed;
|
|
|
|
cursor: pointer;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 20px;
|
2020-01-13 06:40:40 +00:00
|
|
|
width: 64px !important;
|
|
|
|
height: 64px !important;
|
2019-10-29 07:20:54 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 18:31:16 +00:00
|
|
|
.woot-widget-bubble:hover {
|
2019-10-29 07:20:54 +00:00
|
|
|
background: #1f93ff;
|
2020-01-13 06:40:40 +00:00
|
|
|
-moz-box-shadow: 0 8px 32px rgba(0, 0, 0, .4) !important;
|
|
|
|
-o-box-shadow: 0 8px 32px rgba(0, 0, 0, .4) !important;
|
|
|
|
-webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, .4) !important;
|
|
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, .4) !important;
|
2019-10-29 07:20:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woot-widget-bubble img {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
2020-01-13 06:40:40 +00:00
|
|
|
.woot--close:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.woot--close:before, .woot--close:after {
|
|
|
|
position: absolute;
|
2020-01-17 08:06:05 +00:00
|
|
|
left: 32px;
|
|
|
|
top: 20px;
|
2020-01-13 06:40:40 +00:00
|
|
|
content: ' ';
|
2020-01-17 08:06:05 +00:00
|
|
|
height: 24px;
|
2020-01-13 06:40:40 +00:00
|
|
|
width: 2px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
.woot--close:before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
.woot--close:after {
|
|
|
|
transform: rotate(-45deg);
|
2019-10-29 07:20:54 +00:00
|
|
|
}
|
|
|
|
|
2020-01-13 06:40:40 +00:00
|
|
|
|
2019-10-29 07:20:54 +00:00
|
|
|
.woot--hide {
|
2019-11-12 04:16:30 +00:00
|
|
|
visibility: hidden !important;
|
2020-01-13 06:40:40 +00:00
|
|
|
z-index: -1 !important;
|
2019-11-12 04:16:30 +00:00
|
|
|
opacity: 0;
|
|
|
|
bottom: 60px;
|
2019-10-29 07:20:54 +00:00
|
|
|
}
|
2019-11-12 04:16:30 +00:00
|
|
|
|
2019-11-19 18:31:16 +00:00
|
|
|
@media only screen and (max-width: 667px) {
|
|
|
|
.woot-widget-holder {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woot-widget-bubble.woot--close {
|
2020-01-17 08:06:05 +00:00
|
|
|
visibility: hidden !important;
|
|
|
|
z-index: -1 !important;
|
|
|
|
opacity: 0;
|
|
|
|
bottom: 60px;
|
2019-11-19 18:31:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 667px) {
|
|
|
|
.woot-widget-holder {
|
|
|
|
bottom: 104px;
|
|
|
|
right: 20px;
|
|
|
|
height: calc(85% - 64px - 20px);
|
2020-01-13 06:40:40 +00:00
|
|
|
width: 400px !important;
|
|
|
|
min-height: 250px !important;
|
|
|
|
max-height: 590px !important;
|
2020-02-16 10:16:26 +00:00
|
|
|
-o-border-radius: 16px !important;
|
|
|
|
-moz-border-radius: 16px !important;
|
|
|
|
-webkit-border-radius: 16px !important;
|
|
|
|
border-radius: 16px !important;
|
2019-11-19 18:31:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-30 05:13:11 +00:00
|
|
|
`;
|