-
Notifications
You must be signed in to change notification settings - Fork 0
/
EXT-TelegramBot.css
129 lines (112 loc) · 2.11 KB
/
EXT-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
121
122
123
124
125
126
127
128
129
#EXT-TELBOT {
position:relative;
--font-size: 18px;
--overflow-max-height: 500px;
--profile-width: 40px;
--photo-height: 200px;
--bubble-after-top: 20px;
text-align: left;
display: inline-block;
}
#EXT-TELBOT.inactive {
display:none;
}
#EXT-TELBOT_ANCHOR {
width:100%;
height:1px;
}
#EXT-TELBOT .container {
width: var(--container-width);
font-size: var(--font-size);
color:#FFF;
position:relative;
}
#EXT-TELBOT .container.telecastHideOverflow {
position:relative;
max-height: var(--overflow-max-height);
overflow-y: scroll;
}
#EXT-TELBOT .chat {
display: flex;
flex-direction: row;
margin-bottom: 5px;
min-height:50px;
}
#EXT-TELBOT .from {
width: var(--profile-width);
height: var(--profile-width);
}
#EXT-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;
}
#EXT-TELBOT .profileImage {
width:100%;
height:100%;
border-radius: 50%;
}
#EXT-TELBOT .video,
#EXT-TELBOT .photo {
max-width: 100%;
min-height:20px;
border-radius: 10px;
overflow: hidden;
position:relative;
}
#EXT-TELBOT .photo .background {
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
filter: grayscale(80%) blur(20px);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
#EXT-TELBOT .imageContainer {
position: relative;
top:0;
left:0;
right:0;
bottom:0;
}
#EXT-TELBOT .photoImage {
display: block;
margin-left: auto;
margin-right: auto;
max-width:100%;
max-height:var(--photo-height);
vertical-align: middle;
}
#EXT-TELBOT .message {
font-size: var(--font-size);
line-height: 125%;
margin-left: 25px;
width:100%;
}
#EXT-TELBOT .bubble {
position: relative;
background: #0088cc;
border-radius: 10px;
padding: 10px;
}
#EXT-TELBOT .bubble:after {
content: '';
position: absolute;
left: 1px;
top: var(--bubble-after-top);
width: 0;
height: 0;
border: 20px solid transparent;
border-right-color: #0088cc;
border-left: 0;
border-top: 0;
margin-top: -10px;
margin-left: -20px;
}