2020-11-30 06:49:16 -05:00
|
|
|
/*
|
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--app-background: #f4f4f4;
|
|
|
|
--background: #ffffff;
|
|
|
|
--foreground: #000000;
|
|
|
|
--font: #333333;
|
|
|
|
--grey: #666666;
|
|
|
|
--accent: #0098d4;
|
|
|
|
--error: #d6001c;
|
|
|
|
--link: #0098d4;
|
|
|
|
--borders: #f4f4f4;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: var(--app-background);
|
|
|
|
background-image: url('../images/background.svg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: auto;
|
|
|
|
background-position: center -50px;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 24px;
|
|
|
|
color: var(--font);
|
|
|
|
padding: 120px 0 0 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body,
|
|
|
|
button,
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RootView {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 480px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-11-30 07:14:13 -05:00
|
|
|
.card {
|
2020-11-30 06:49:16 -05:00
|
|
|
background-color: var(--background);
|
|
|
|
border-radius: 16px;
|
|
|
|
box-shadow: 0px 18px 24px rgba(0, 0, 0, 0.06);
|
2020-11-30 07:14:13 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.card, .footer {
|
2020-11-30 06:49:16 -05:00
|
|
|
padding: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.PreviewView .preview {
|
2020-12-01 13:01:15 -05:00
|
|
|
text-align: center;
|
2020-11-30 06:49:16 -05:00
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.PreviewView .avatar {
|
|
|
|
border-radius: 100%;
|
2020-11-30 06:49:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
2020-11-30 07:14:13 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
body {
|
|
|
|
background-image: none;
|
|
|
|
background-color: var(--background);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
border-radius: unset;
|
|
|
|
box-shadow: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer .links li:not(:first-child) {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer .links li:not(:first-child)::before {
|
|
|
|
content: "·";
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer .links li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer .links {
|
|
|
|
font-size: 0.8em;
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-12-01 06:04:11 -05:00
|
|
|
a, button.text {
|
2020-11-30 07:14:13 -05:00
|
|
|
color: var(--link);
|
2020-12-01 06:04:11 -05:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.text {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: inherit;
|
|
|
|
padding: 8px 0;
|
|
|
|
margin: -8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.text:hover {
|
|
|
|
cursor: pointer;
|
2020-11-30 15:05:26 -05:00
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.ClientListView .list {
|
|
|
|
padding: 16px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ClientView {
|
|
|
|
border: 1px solid #E6E6E6;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 16px 0;
|
|
|
|
padding: 16px;
|
2020-11-30 15:05:26 -05:00
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.ClientView .header {
|
2020-11-30 15:05:26 -05:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.ClientView .description {
|
2020-11-30 15:05:26 -05:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.ClientView h3 {
|
2020-11-30 15:05:26 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.ClientView .icon {
|
2020-11-30 15:05:26 -05:00
|
|
|
border-radius: 8px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.ClientView .icon.element-io {
|
2020-11-30 15:05:26 -05:00
|
|
|
background-image: url('../images/client-icons/element.svg');
|
2020-12-01 06:04:11 -05:00
|
|
|
}
|
|
|
|
|
2020-12-01 13:00:26 -05:00
|
|
|
.ClientView .icon.weechat {
|
|
|
|
background-image: url('../images/client-icons/weechat.svg');
|
|
|
|
}
|
2020-12-01 09:29:12 -05:00
|
|
|
|
|
|
|
button.primary, a.primary, button.secondary, a.secondary {
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
padding: 8px;
|
|
|
|
margin: 8px 0;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.secondary, a.secondary {
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--link);
|
|
|
|
}
|
|
|
|
|
2020-12-01 06:04:11 -05:00
|
|
|
button.primary, a.primary {
|
|
|
|
background: var(--link);
|
|
|
|
color: var(--background);
|
|
|
|
border-radius: 32px;
|
|
|
|
}
|
|
|
|
|
2020-12-01 09:29:12 -05:00
|
|
|
button.primary, button.secondary {
|
|
|
|
border: none;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2020-12-01 13:01:15 -05:00
|
|
|
.fullwidth {
|
2020-12-01 06:04:11 -05:00
|
|
|
display: block;
|
2020-12-01 13:01:15 -05:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2020-12-01 06:04:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.ClientView .actions a.badge {
|
2020-12-01 09:29:12 -05:00
|
|
|
display: inline-block;
|
2020-12-01 06:04:11 -05:00
|
|
|
height: 40px;
|
|
|
|
margin: 8px 16px 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ClientView .actions img {
|
|
|
|
height: 100%;
|
2020-11-30 06:49:16 -05:00
|
|
|
}
|