2018-04-12 01:23:35 +02:00
|
|
|
/*
|
|
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
Copyright 2017 Vector Creations Ltd
|
2019-02-07 12:12:28 +01:00
|
|
|
Copyright 2019 New Vector Ltd
|
2018-04-12 01:23:35 +02:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_HomePage {
|
|
|
|
max-width: 960px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-04-07 11:48:56 +02:00
|
|
|
|
|
|
|
.mx_HomePage_default {
|
|
|
|
text-align: center;
|
2020-11-12 12:09:08 +01:00
|
|
|
display: flex;
|
2020-04-07 11:48:56 +02:00
|
|
|
|
|
|
|
.mx_HomePage_default_wrapper {
|
2020-11-12 12:09:08 +01:00
|
|
|
margin: auto;
|
2020-04-07 11:48:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2020-04-07 14:34:10 +02:00
|
|
|
height: 48px;
|
2020-04-07 11:48:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: $font-32px;
|
|
|
|
line-height: $font-44px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 4px;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: $font-18px;
|
|
|
|
line-height: $font-25px;
|
|
|
|
color: $muted-fg-color;
|
|
|
|
}
|
|
|
|
|
2020-11-05 16:42:45 +01:00
|
|
|
.mx_MiniAvatarUploader {
|
2020-11-02 18:24:47 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2020-04-07 11:48:56 +02:00
|
|
|
.mx_HomePage_default_buttons {
|
2020-11-12 12:09:08 +01:00
|
|
|
margin: 60px auto 0;
|
2020-04-07 11:48:56 +02:00
|
|
|
width: fit-content;
|
|
|
|
|
|
|
|
.mx_AccessibleButton {
|
|
|
|
padding: 73px 8px 15px; // top: 20px top padding + 40px icon + 13px margin
|
|
|
|
|
2020-11-02 18:24:47 +01:00
|
|
|
width: 160px;
|
|
|
|
height: 132px;
|
2020-11-12 12:09:08 +01:00
|
|
|
margin: 20px;
|
2020-04-07 11:48:56 +02:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 8px;
|
2020-04-07 14:34:10 +02:00
|
|
|
vertical-align: top;
|
2020-04-07 14:40:25 +02:00
|
|
|
word-break: break-word;
|
2020-11-02 18:24:47 +01:00
|
|
|
box-sizing: border-box;
|
2020-04-07 11:48:56 +02:00
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-20px;
|
2020-11-02 18:24:47 +01:00
|
|
|
color: #fff; // on all themes
|
|
|
|
background-color: $accent-color;
|
2020-04-07 11:48:56 +02:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
top: 20px;
|
2020-11-02 18:24:47 +01:00
|
|
|
left: 60px; // (160px-40px)/2
|
2020-04-07 11:48:56 +02:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2020-11-02 18:24:47 +01:00
|
|
|
background-color: #fff; // on all themes
|
2020-04-07 11:48:56 +02:00
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mx_HomePage_button_sendDm::before {
|
2020-11-02 18:24:47 +01:00
|
|
|
mask-image: url('$(res)/img/element-icons/feedback.svg');
|
2020-04-07 11:48:56 +02:00
|
|
|
}
|
|
|
|
&.mx_HomePage_button_explore::before {
|
2020-11-02 18:24:47 +01:00
|
|
|
mask-image: url('$(res)/img/element-icons/roomlist/explore.svg');
|
2020-04-07 11:48:56 +02:00
|
|
|
}
|
|
|
|
&.mx_HomePage_button_createGroup::before {
|
2020-11-02 18:24:47 +01:00
|
|
|
mask-image: url('$(res)/img/element-icons/community-members.svg');
|
2020-04-07 11:48:56 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|