-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat-example.html
More file actions
127 lines (107 loc) · 4.73 KB
/
chat-example.html
File metadata and controls
127 lines (107 loc) · 4.73 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chat Example - Bloom</title>
<!-- LOCAL LINKS -->
<script src="vendor/jquery.js"></script>
<script src="js/bloom.js"></script>
<link rel="stylesheet" type="text/css" href="css/bloom.css">
<!-- LINKS ON GITHUB -->
<!--<script src="https://rawgit.com/mayrinck/bloom/master/vendor/jquery.js"></script>
<script src="https://rawgit.com/mayrinck/bloom/master/js/bloom.js"></script>
<link rel="stylesheet" type="text/css" href="https://rawgit.com/mayrinck/bloom/master/css/bloom.css">-->
</head>
<style>
/* Page related only, not needed for the framework */
* {
margin: 0px;
padding: 0px;
}
label {
display: inline-block;
width: 30%;
margin: 60px 0px;
margin-left: 2%;
}
.chat {
width: 100%;
margin-top: 10px;
height: 640px;
border: 3px solid #CCC;
}
</style>
</head>
<snack position="default"> <p>Chat Examples</p> </snack>
<body style="background-color: #FFF;">
<label>
<h2>Text with round and pointer</h2>
<div class="chat">
<!-- MESSAGE FROM THE USER TO SOMEONE, OR ALSO CALLED: EVEN -->
<div class="chat-bubble chat-even bubble-round">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sit, ad ab iure alias perspiciatis minus aperiam eveniet inventore impedit, optio expedita, sapiente distinctio harum iusto minima quaerat accusamus perferendis! Quos.
<!-- CHAT BUBBLE POINTER, IS HIDDEN UNLESS DEFINED BY A CLASS ON THE PARENT ELEMENT -->
<!-- <div class="bubble-down"></div>
<div class="bubble-up"></div>
<div class="bubble-left"></div> -->
<div class="bubble-right"></div>
</div>
<!-- MESSAGE FROM SOMEONE TO THE USER, OR ALSO CALLED: ODD -->
<div class="chat-bubble chat-odd bubble-round">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sit, ad ab iure alias perspiciatis minus aperiam eveniet inventore impedit, optio expedita, sapiente distinctio harum iusto minima quaerat accusamus perferendis! Quos.
<!-- CHAT BUBBLE POINTER, IS HIDDEN UNLESS DEFINED BY A CLASS ON THE PARENT ELEMENT -->
<!-- <div class="bubble-down"></div>
<div class="bubble-up"></div> -->
<div class="bubble-left"></div>
<!-- <div class="bubble-right"></div> -->
</div>
</div>
</label>
<label>
<h2>Text with no-round, and pointer</h2>
<div class="chat">
<!-- MESSAGE FROM THE USER TO SOMEONE, OR ALSO CALLED: EVEN -->
<div class="chat-bubble chat-even">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sit, ad ab iure alias perspiciatis minus aperiam eveniet inventore impedit, optio expedita, sapiente distinctio harum iusto minima quaerat accusamus perferendis! Quos.
<!-- CHAT BUBBLE POINTER, IS HIDDEN UNLESS DEFINED BY A CLASS ON THE PARENT ELEMENT -->
<!-- <div class="bubble-down"></div>
<div class="bubble-up"></div>
<div class="bubble-left"></div> -->
<div class="bubble-right"></div>
</div>
<!-- MESSAGE FROM SOMEONE TO THE USER, OR ALSO CALLED: ODD -->
<div class="chat-bubble chat-odd">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sit, ad ab iure alias perspiciatis minus aperiam eveniet inventore impedit, optio expedita, sapiente distinctio harum iusto minima quaerat accusamus perferendis! Quos.
<!-- CHAT BUBBLE POINTER, IS HIDDEN UNLESS DEFINED BY A CLASS ON THE PARENT ELEMENT -->
<!-- <div class="bubble-down"></div>
<div class="bubble-up"></div> -->
<div class="bubble-left"></div>
<!-- <div class="bubble-right"></div> -->
</div>
</div>
</label>
<label>
<h2>Text with round but no pointer</h2>
<div class="chat">
<!-- MESSAGE FROM THE USER TO SOMEONE, OR ALSO CALLED: EVEN -->
<div class="chat-bubble chat-even bubble-round">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sit, ad ab iure alias perspiciatis minus aperiam eveniet inventore impedit, optio expedita, sapiente distinctio harum iusto minima quaerat accusamus perferendis! Quos.
<!-- CHAT BUBBLE POINTER, IS HIDDEN UNLESS DEFINED BY A CLASS ON THE PARENT ELEMENT -->
<!-- <div class="bubble-down"></div>
<div class="bubble-up"></div>
<div class="bubble-left"></div>
<div class="bubble-right"></div> -->
</div>
<!-- MESSAGE FROM SOMEONE TO THE USER, OR ALSO CALLED: ODD -->
<div class="chat-bubble chat-odd bubble-round">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sit, ad ab iure alias perspiciatis minus aperiam eveniet inventore impedit, optio expedita, sapiente distinctio harum iusto minima quaerat accusamus perferendis! Quos.
<!-- CHAT BUBBLE POINTER, IS HIDDEN UNLESS DEFINED BY A CLASS ON THE PARENT ELEMENT -->
<!-- <div class="bubble-down"></div>
<div class="bubble-up"></div>
<div class="bubble-left"></div>
<div class="bubble-right"></div> -->
</div>
</div>
</label>
</body>
</html>