-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMMM-TelegramBot.css
120 lines (103 loc) · 2.02 KB
/
MMM-TelegramBot.css
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
/* stylelint-disable selector-id-pattern, selector-class-pattern */
#TELBOT {
position: relative;
text-align: left;
--font-size: 18px;
--overflow-max-height: 500px;
--profile-width: 40px;
--photo-height: 200px;
--bubble-after-top: 20px;
}
#TELBOT_ANCHOR {
width: 100%;
height: 1px;
}
#TELBOT .container {
width: var(--container-width);
font-size: var(--font-size);
color: #fff;
position: relative;
}
#TELBOT .container.telecastHideOverflow {
position: relative;
max-height: var(--overflow-max-height);
overflow-y: scroll;
}
#TELBOT .chat {
display: flex;
flex-direction: row;
margin-bottom: 5px;
min-height: 50px;
}
#TELBOT .from {
width: var(--profile-width);
height: var(--profile-width);
}
#TELBOT .profile {
width: var(--profile-width);
height: var(--profile-width);
border-radius: 50%;
margin: 0 auto;
line-height: 200%;
text-align: center;
font-weight: bold;
}
#TELBOT .profileImage {
width: 100%;
height: 100%;
border-radius: 50%;
}
#TELBOT .video,
#TELBOT .photo {
max-width: 100%;
min-height: 20px;
border-radius: 10px;
overflow: hidden;
position: relative;
}
#TELBOT .photo .background {
position: absolute;
inset: 0;
filter: grayscale(80%) blur(20px);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
#TELBOT .imageContainer {
position: relative;
inset: 0;
}
#TELBOT .photoImage {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
max-height: var(--photo-height);
/* vertical-align: middle; */
}
#TELBOT .message {
font-size: var(--font-size);
line-height: 125%;
margin-left: 25px;
width: 100%;
}
#TELBOT .bubble {
position: relative;
background: #08c;
border-radius: 10px;
padding: 10px;
}
#TELBOT .bubble::after {
content: "";
position: absolute;
left: 1px;
top: var(--bubble-after-top);
width: 0;
height: 0;
border: 20px solid transparent;
border-right-color: #08c;
border-left: 0;
border-top: 0;
margin-top: -10px;
margin-left: -20px;
}