2017-06-08 10:42:03 +00:00
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
/* we deliberately inline style here to avoid flash-of-CSS problems, and to avoid
|
|
|
|
* voodoo where we have to set display: none by default
|
|
|
|
*/
|
|
|
|
|
2019-02-01 18:07:51 +00:00
|
|
|
h1::after {
|
|
|
|
content: "!";
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Parent {
|
2019-02-08 10:22:07 +00:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-webkit-flex-direction: column;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
justify-content: center;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-webkit-align-items: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
2019-02-08 10:29:14 +00:00
|
|
|
padding: 25px 35px;
|
2019-02-08 11:17:36 +00:00
|
|
|
color: #2e2f32;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Logo {
|
|
|
|
height: 54px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonGroup {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonRow {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-justify-content: space-around;
|
|
|
|
-ms-flex-pack: distribute;
|
|
|
|
justify-content: space-around;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-webkit-align-items: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 12px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonRow > * {
|
|
|
|
margin: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonRow > *:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonRow > *:last-child {
|
|
|
|
margin-right: 0;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonParent {
|
2019-02-08 10:22:07 +00:00
|
|
|
display: -webkit-box;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
padding: 10px 20px;
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-webkit-flex-direction: row;
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
justify-content: center;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-webkit-align-items: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 150px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 10px center;
|
|
|
|
text-decoration: none;
|
|
|
|
color: #2e2f32 !important;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:31:48 +00:00
|
|
|
.mx_ButtonHeadline {
|
2019-02-08 10:22:07 +00:00
|
|
|
margin-bottom: 14px;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:31:48 +00:00
|
|
|
.mx_ButtonLabel {
|
2019-02-08 10:22:07 +00:00
|
|
|
margin-left: 20px;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:31:48 +00:00
|
|
|
.mx_ButtonWrapperText {
|
2019-02-08 10:22:07 +00:00
|
|
|
font-size: 13px;
|
|
|
|
margin-bottom: 10px;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-02-08 11:17:36 +00:00
|
|
|
.mx_Header_title {
|
|
|
|
font-size: 24px;
|
2019-02-08 10:22:07 +00:00
|
|
|
font-weight: 600;
|
2019-02-08 11:17:36 +00:00
|
|
|
margin: 20px 0 0;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
2019-02-08 11:17:36 +00:00
|
|
|
.mx_Header_subtitle {
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 8px 0 0;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonSignIn {
|
2019-02-08 10:22:07 +00:00
|
|
|
background-color: #368BD6;
|
|
|
|
color: white !important;
|
2019-02-01 18:07:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_ButtonCreateAccount {
|
2019-02-08 10:22:07 +00:00
|
|
|
background-color: #03B381;
|
|
|
|
color: white !important;
|
2017-06-08 10:42:03 +00:00
|
|
|
}
|
|
|
|
|
2019-02-08 10:31:48 +00:00
|
|
|
.mx_SecondaryButton {
|
2019-02-08 10:22:07 +00:00
|
|
|
background-color: #FFFFFF;
|
|
|
|
color: #2E2F32;
|
2017-06-08 11:06:45 +00:00
|
|
|
}
|
|
|
|
|
2019-02-01 18:58:30 +00:00
|
|
|
.mx_Button_iconSignIn {
|
2019-02-07 17:00:01 +00:00
|
|
|
background-image: url('welcome/images/icon-sign-in.svg');
|
2019-02-01 18:58:30 +00:00
|
|
|
}
|
|
|
|
.mx_Button_iconCreateAccount {
|
2019-02-07 17:00:01 +00:00
|
|
|
background-image: url('welcome/images/icon-create-account.svg');
|
2019-02-01 18:58:30 +00:00
|
|
|
}
|
|
|
|
.mx_Button_iconHelp {
|
2019-02-07 17:00:01 +00:00
|
|
|
background-image: url('welcome/images/icon-help.svg');
|
2019-02-01 18:58:30 +00:00
|
|
|
}
|
|
|
|
.mx_Button_iconRoomDirectory {
|
2019-02-07 17:00:01 +00:00
|
|
|
background-image: url('welcome/images/icon-room-directory.svg');
|
2019-02-01 18:58:30 +00:00
|
|
|
}
|
|
|
|
|
2017-06-08 10:42:03 +00:00
|
|
|
</style>
|
|
|
|
|
2019-02-01 18:07:51 +00:00
|
|
|
<div class="mx_Parent">
|
2019-02-01 20:48:19 +00:00
|
|
|
<a href="https://riot.im" target="_blank" rel="noopener">
|
2019-02-08 11:17:36 +00:00
|
|
|
<img src="welcome/images/logo.svg" alt="" class="mx_Logo"/>
|
2019-02-01 18:07:51 +00:00
|
|
|
</a>
|
2019-02-08 11:17:36 +00:00
|
|
|
<h1 class="mx_Header_title">_t("Welcome to Riot.im")</h1>
|
|
|
|
<h4 class="mx_Header_subtitle">_t("Decentralised, encrypted chat & collaboration powered by [matrix]")</h4>
|
|
|
|
<div class="mx_ButtonGroup">
|
|
|
|
<div class="mx_ButtonRow">
|
|
|
|
<a href="#/login" class="mx_ButtonParent mx_ButtonSignIn mx_Button_iconSignIn">
|
|
|
|
<div class="mx_ButtonLabel">_t("Sign In")</div>
|
2019-02-01 18:58:30 +00:00
|
|
|
</a>
|
2019-02-08 11:17:36 +00:00
|
|
|
<a href="#/register" class="mx_ButtonParent mx_ButtonCreateAccount mx_Button_iconCreateAccount">
|
|
|
|
<div class="mx_ButtonLabel">_t("Create Account")</div>
|
2019-02-08 10:29:14 +00:00
|
|
|
</a>
|
2017-05-30 02:58:45 +00:00
|
|
|
</div>
|
2019-02-14 15:40:58 +00:00
|
|
|
<!-- BEGIN Ansible: Remove these lines when guest access is disabled -->
|
2019-02-08 11:17:36 +00:00
|
|
|
<div class="mx_ButtonRow">
|
|
|
|
<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">
|
|
|
|
<div class="mx_ButtonLabel">_t("Room Directory")</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-14 15:40:58 +00:00
|
|
|
<!-- END Ansible: Remove these lines when guest access is disabled -->
|
2017-05-30 02:58:45 +00:00
|
|
|
</div>
|
2019-02-01 19:11:33 +00:00
|
|
|
</div>
|