diff --git a/widget/assets/style.css b/widget/assets/style.css index e1c5c3c..a76d893 100644 --- a/widget/assets/style.css +++ b/widget/assets/style.css @@ -187,3 +187,78 @@ left: 0; top: 0; } + + +.wdg-btn { + width: 50%; + display: inline-flex; + min-height: 40px; + min-width: 4rem; + box-sizing: border-box; + border-radius: 4px; + cursor: pointer; + margin: 0; + padding: 6px 12px; + outline: 0; + position: relative; + align-items: center; + justify-content: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-tap-highlight-color: transparent; +} + +.wdgbtn-label { + font-size: 14px; + font-weight: 500; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + text-decoration: none; + margin: 0 !important +} + + +.wdg-btn:hover { + box-shadow: 0px 3px 1px -3px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12); + transition: box-shadow 20ms cubic-bezier(0.4, 0, 0.2, 1); +} + +.submitReview { + display: flex; + column-gap: 1rem; + padding: 0 0 0 1rem !important; + position: absolute !important; + bottom: 1.5rem; +} + +html[safe-area="true"] .submitReview { + bottom: calc(1.5rem + constant(safe-area-inset-bottom)) !important; + bottom: calc(1.5rem + env(safe-area-inset-bottom)) !important; + } + + +.btnCancelReview { + background-color: var(--bf-theme-background) !important; + color: var(--bf-theme-danger) !important; + border: 1px solid var(--bf-theme-danger) !important; +} + +.btnSubmitReview, .firstSubmission { + border: none; + background-color: var(--bf-theme-success) !important; + color: #fff !important; +} + +.white { + color: #fff !important; +} + + +.inline-block { + display: inline-block !important; +} diff --git a/widget/templates/submit.html b/widget/templates/submit.html index 8cf85be..9cc1cb1 100644 --- a/widget/templates/submit.html +++ b/widget/templates/submit.html @@ -30,9 +30,9 @@
{{WidgetWall.reviewButtonText}}