Merge pull request #13888 from vector-im/t3chguy/riotbot

Get rid of welcome.html's Chat with Riot Bot button to release
pull/13915/head
Michael Telatynski 2020-06-02 14:29:56 +01:00 committed by GitHub
commit e1f264c481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 21 deletions

View File

@ -96,19 +96,10 @@ h1::after {
color: #2e2f32 !important; color: #2e2f32 !important;
} }
.mx_ButtonHeadline {
margin-bottom: 14px;
}
.mx_ButtonLabel { .mx_ButtonLabel {
margin-left: 20px; margin-left: 20px;
} }
.mx_ButtonWrapperText {
font-size: 13px;
margin-bottom: 10px;
}
.mx_Header_title { .mx_Header_title {
font-size: 24px; font-size: 24px;
font-weight: 600; font-weight: 600;
@ -158,6 +149,13 @@ we don't have an account and should hide them. No account == no guest account ei
display: none; display: none;
} }
.mx_ButtonRow.mx_WelcomePage_guestFunctions {
margin-top: 20px;
}
.mx_ButtonRow.mx_WelcomePage_guestFunctions > div {
margin: 0 auto;
}
@media only screen and (max-width: 480px) { @media only screen and (max-width: 480px) {
.mx_ButtonRow { .mx_ButtonRow {
flex-direction: column; flex-direction: column;
@ -192,15 +190,8 @@ we don't have an account and should hide them. No account == no guest account ei
<!-- BEGIN Ansible: Remove these lines when guest access is disabled --> <!-- BEGIN Ansible: Remove these lines when guest access is disabled -->
<div class="mx_ButtonRow mx_WelcomePage_guestFunctions"> <div class="mx_ButtonRow mx_WelcomePage_guestFunctions">
<div> <div>
<div class="mx_ButtonWrapperText">_t("Need help?")</div>
<a href="#/user/@riot-bot:matrix.org?action=chat" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconHelp">
<div class="mx_ButtonLabel">_t("Chat with Riot Bot")</div>
</a>
</div>
<div>
<div class="mx_ButtonWrapperText">_t("Explore rooms")</div>
<a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory"> <a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory">
<div class="mx_ButtonLabel">_t("Room Directory")</div> <div class="mx_ButtonLabel">_t("Explore rooms")</div>
</a> </a>
</div> </div>
</div> </div>

View File

@ -31,8 +31,5 @@
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Decentralised, encrypted chat &amp; collaboration powered by [matrix]", "Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Decentralised, encrypted chat &amp; collaboration powered by [matrix]",
"Sign In": "Sign In", "Sign In": "Sign In",
"Create Account": "Create Account", "Create Account": "Create Account",
"Need help?": "Need help?", "Explore rooms": "Explore rooms"
"Chat with Riot Bot": "Chat with Riot Bot",
"Explore rooms": "Explore rooms",
"Room Directory": "Room Directory"
} }