Adds unread message bubbles for widget (#943)
Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
committed by
GitHub
parent
6a7d810c95
commit
49db9c5d8a
@@ -60,6 +60,11 @@ $color-body: #3c4858;
|
||||
$color-heading: #1f2d3d;
|
||||
$color-error: #ff382d;
|
||||
|
||||
// Color-palettes
|
||||
|
||||
$color-primary-light: #c7e3ff;
|
||||
$color-primary-dark: darken($color-woot, 20%);
|
||||
|
||||
|
||||
// Thumbnail
|
||||
$thumbnail-radius: 4rem;
|
||||
@@ -110,3 +115,7 @@ $spinkit-size: 1.6rem !default;
|
||||
|
||||
// Break points
|
||||
$break-point-medium: 667px;
|
||||
|
||||
// Timing functions
|
||||
|
||||
$ease-in-cubic: cubic-bezier(.17, .67, .83, .67);
|
||||
|
||||
@@ -11,6 +11,18 @@ export const SDK_CSS = ` .woot-widget-holder {
|
||||
transition-duration: 0.5s, 0.5s;
|
||||
}
|
||||
|
||||
.woot-widget-holder.has-unread-view {
|
||||
box-shadow: none !important;
|
||||
-moz-box-shadow: none !important;
|
||||
-o-box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
-o-border-radius: 0 !important;
|
||||
-moz-border-radius: 0 !important;
|
||||
-webkit-border-radius: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
bottom: 94px;
|
||||
}
|
||||
|
||||
.woot-widget-holder iframe {
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
@@ -94,7 +106,7 @@ export const SDK_CSS = ` .woot-widget-holder {
|
||||
visibility: hidden !important;
|
||||
z-index: -1 !important;
|
||||
opacity: 0;
|
||||
bottom: 60px;
|
||||
bottom: -20000px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 667px) {
|
||||
|
||||
Reference in New Issue
Block a user