Skip to content

Commit

Permalink
chore(sso): cleanup welcome_sso html and css
Browse files Browse the repository at this point in the history
  • Loading branch information
marc.sirisak committed Oct 3, 2024
1 parent 2ba5643 commit 2556226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
2 changes: 1 addition & 1 deletion res/css/views/sso/TchapSSO.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

.tc_ButtonProconnect {
background-color: #000091;
background-color: var(--accent);
color: white !important;
}

Expand Down
43 changes: 1 addition & 42 deletions res/welcome_sso.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,22 +119,11 @@
font-size: 18px;
}

.mx_Header_subtitle {
font-size: 12px;
font-weight: normal;
margin: 8px 0 0;
}

.tc_paragraph {
margin-bottom: 40px;
margin-top: 40px;
}

.mx_ButtonSignIn {
background-color: #000091;
color: white !important;
}

.mx_ButtonCreateAccount {
background-color: #0dbd8b;
color: white !important;
Expand All @@ -147,21 +136,6 @@
margin-bottom: 40px;
}

.mx_Button_iconSignIn {
background-image: url("welcome/images/icon-sign-in.svg");
}

.mx_Button_iconCreateAccount {
background-image: url("welcome/images/icon-create-account.svg");
}

.mx_Button_iconHelp {
background-image: url("welcome/images/icon-help.svg");
}

.mx_Button_iconRoomDirectory {
background-image: url("welcome/images/icon-room-directory.svg");
}

footer.mx_AuthFooter {
background: rgba(255, 255, 255, 1) !important;
Expand Down Expand Up @@ -233,7 +207,7 @@
-ms-flex-align: center;
align-items: center;
border-radius: 4px;
width: 175px;
width: 200px;
background-repeat: no-repeat;
background-position: 10px center;
text-decoration: none;
Expand Down Expand Up @@ -273,11 +247,6 @@
</style>

<div class="mx_Parent">
<!-- :TCHAP: remove element logo, use tchap logo instead
<a href="https://element.io" target="_blank" rel="noopener">
<img src="$logoUrl" alt="" class="mx_Logo" />
</a>
-->
<a href="https://tchap.beta.gouv.fr?mtm_camapaign=TchapWebConnectLogo" target="_blank" rel="noopener">
<img src="$logoUrl" alt="Logo Tchap" class="mx_Logo" />
</a>
Expand All @@ -292,15 +261,6 @@ <h1 class="mx_Header_title">_t("Welcome to Tchap")<br />
</a>
</div>
<div class="mx_ButtonGroup">
<!-- :TCHAP: sso-agentconnect-flow -->
<!-- <div class="mx_ButtonRow">
<a href="#/login" class="mx_ButtonParent mx_ButtonSignIn mx_Button_iconSignIn">
<div class="mx_ButtonLabel">_t("action|sign_in")</div>
</a>
<a href="#/register" class="mx_ButtonParent mx_ButtonCreateAccount mx_Button_iconCreateAccount">
<div class="mx_ButtonLabel">_t("action|create_account")</div>
</a>
</div> -->
<div class="tc_ButtonCol">
<a href="#/email-precheck-sso" class="tc_ButtonParent tc_ButtonProconnect tc_Button_iconPC">
<div class="mx_ButtonLabel">_t("auth|sso|email_title")</div>
Expand All @@ -315,7 +275,6 @@ <h1 class="mx_Header_title">_t("Welcome to Tchap")<br />
<div>_t("action|create_account")</div>
</a>
</div>
<!-- end :TCHAP: -->
<div class="mx_ButtonRow mx_WelcomePage_guestFunctions">
<div>
<a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory">
Expand Down

0 comments on commit 2556226

Please sign in to comment.