-
Notifications
You must be signed in to change notification settings - Fork 3
/
matrix_demo.html
152 lines (120 loc) · 3.01 KB
/
matrix_demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html>
<head>
<meta charset="utf-8">
<title>matrix-react demo</title>
<style type="text/css">
ol {
list-style-type: none;
}
.mx_RoomHeader div {
display: inline-block;
}
.mx_NewRoomIntro {
border: 1px;
border-style: dashed;
}
.mx_BaseAvatar {
position: relative;
display: inline-block;
}
.mx_BaseAvatar_initial {
position: absolute;
text-align: center;
}
.mx_BaseAvatar_image {
border-radius: 125px;
}
.mx_MiniAvatarUploader_input {
display: none;
}
.mx_DateSeparator hr {
display: none;
}
.mx_EventTile {
clear: both;
position: relative;
padding-top: 18px;
}
.mx_EventTile_continuation {
padding-top: 0 !important;
}
.mx_EventTile_info .mx_EventTile_avatar {
top: 2px;
left: 64px;
}
.mx_EventTile_info .mx_EventTile_line {
padding-left: 82px;
}
.mx_EventTile_line {
padding-left: 64px;
padding-top: 2px;
padding-bottom: 2px;
}
.mx_EventTile_avatar {
position: absolute;
top: 14px;
}
.mx_EventTile_msgOption {
float: right;
}
.mx_SenderProfile {
display: inline-block;
margin-left: 64px;
}
.mx_MessageTimestamp {
display: block;
position: absolute;
left: 0px;
font-size: 80%;
padding-top: 4px;
}
.mx_MessageComposer button {
width: 16px;
height: 16px;
}
.mx_MessageComposer_wrapper {
padding-left: 84px;
border: 1px;
border-style: dashed;
}
.mx_MessageComposer_wrapper .mx_BaseAvatar {
position: absolute;
left: 48px;
}
.mx_BasicMessageComposer_input {
background-color: beige;
}
.mx_Username_color1 {
color: purple;
}
.mx_Username_color2 {
color: magenta;
}
.mx_Username_color3 {
color: lightgreen;
}
.mx_Username_color4 {
color: red;
}
.mx_Username_color5 {
color: orange;
}
.mx_Username_color6 {
color: teal;
}
.mx_Username_color7 {
color: darkblue;
}
.mx_Username_color8 {
color: green;
}
</style>
</head>
<body>
<script src="dist/main.js"></script>
</body>
</html>