diff --git a/iframe/css/style.scss b/iframe/css/style.scss
index 183853f..62d430d 100644
--- a/iframe/css/style.scss
+++ b/iframe/css/style.scss
@@ -31,7 +31,7 @@ p {
margin: 0;
}
-p {
+p, span {
font-family: 'JetBrains';
}
@@ -55,32 +55,31 @@ button {
.card {
width: 420px;
- // height: 565px;
border: 1px solid $borderColor;
border-radius: $radius;
display: flex;
flex-direction: column;
justify-content: space-between;
- align-items: center;
background-color: white;
+ box-shadow: 0px 4px 10px 1px #00000025;
+ margin-top: 10px;
+ margin-left: 10px;
}
.cardMobile {
- width: 100vw !important;
+ width: 85vw !important;
height: 100vh !important;
- border: none !important;
justify-content: flex-start !important;
+ margin-top: 0px !important;
+ margin-left: 0px !important;
}
.content {
width: 100%;
- padding-top: 20px;
+ padding-top: 5px;
}
.contentMobile {
- width: 100% !important;
- height: 80% !important;
- padding-top: 125px !important;
display: flex !important;
flex-direction: column !important;
justify-content: space-between !important;
@@ -89,7 +88,7 @@ button {
.controls {
width: 100%;
height: 52px;
- border-bottom: 1px solid $borderColor;
+ // border-bottom: 1px solid $borderColor;
display: flex;
justify-content: space-between;
align-items: center;
@@ -119,6 +118,13 @@ button {
opacity: 1;
}
}
+
+ span {
+ margin-left: 15px;
+ font-weight: 400;
+ color: #b9bbbc;
+ font-size: 13px;
+ }
}
.close {
@@ -451,8 +457,7 @@ button {
}
.primaryButton {
- background-color: $threeBoxBlue;
- color: white;
+ color: $threeIdOrange;
}
.secondaryButton {
diff --git a/iframe/css/variables.scss b/iframe/css/variables.scss
index 324d5c0..99ca1b6 100644
--- a/iframe/css/variables.scss
+++ b/iframe/css/variables.scss
@@ -7,6 +7,8 @@ $inputPadding: 12px 14px;
$threeBoxBlue: #1168df;
$threeBoxBlueHover: #0950b0;
+$threeIdOrange: orange;
+
$symbolGrey: #D8D8D8;
$indexModalPreviewImageHeight: 100px;
@@ -88,4 +90,4 @@ $dropShadow: 0px 4px 10px 4px #00000025,
// $commentPictureDimension: 40px;
-// $commentPictureDimension-mobile: 50px;
\ No newline at end of file
+// $commentPictureDimension-mobile: 50px;
diff --git a/iframe/html/template.js b/iframe/html/template.js
index eff0ea4..5408753 100644
--- a/iframe/html/template.js
+++ b/iframe/html/template.js
@@ -7,14 +7,17 @@ const spaceString = (spaces) => spaces.join(', ')
const template = (data,isMobile) => `
-
- ${assets.Logo}
-
+
@@ -24,25 +27,10 @@ const template = (data,isMobile) => `
-
`
export default template
diff --git a/iframe/index.js b/iframe/index.js
index 2099354..fd4bd35 100644
--- a/iframe/index.js
+++ b/iframe/index.js
@@ -24,7 +24,6 @@ const render = async (request) => {
request
}
if (errorMessage) data.error = errorMessage
- if (request.type === 'authenticate' && request.spaces.length === 0) data.request.spaces = ['3Box']
root.innerHTML = template(data, checkIsMobile())
}
@@ -45,9 +44,6 @@ const getConsent = async (req) => {
document.getElementById("accept").style.opacity = .5;
resolve(true)
})
- decline.addEventListener('click', () => {
- resolve(false)
- })
})
return result
diff --git a/public/index.html b/public/index.html
index 055ab4e..9c3eeab 100644
--- a/public/index.html
+++ b/public/index.html
@@ -10,10 +10,8 @@
@@ -24,4 +22,4 @@