-
Notifications
You must be signed in to change notification settings - Fork 1
/
Style.css
134 lines (124 loc) · 2.23 KB
/
Style.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
130
131
132
133
134
::-webkit-scrollbar {
width: 5px
}
::-webkit-scrollbar-thumb {
background-color: #ddeefb
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 3px white
}
body{
height: 100vh;
background: #fafafa;
position: relative;
}
body > div{
height: calc(100% - 20px);
background: #4dadf7;
}
body > div > div:first-child,
body > div > div:last-child{
height: 12%;
padding-top: 10px;
}
body > div > div:nth-child(2){
height: 76%;
}
input[type='text']:focus{
outline: none;
}
input[type='text']{
width: 100%;
position: relative;
font-size: 19px;
border-color: #fff;
border-radius: 17px;
background: white;
border-top: white;
border-left: white;
padding: 4px 15px;
}
#btnSendMsg:hover, #btnStartChat:hover{
box-shadow: 0px 0px 8px 3px #1673c1;
}
#btnSendMsg, #btnStartChat{
position: absolute;
right: 0px;
box-shadow: 0px 0px 8px 1px #1673c1;
background: white;
font-size: 15px;
color: #035fa7;
font-weight: bold;
top: 4px;
border-radius: 50%;
border: none;
width: 50px;
height: 50px;
}
#msgPanel{
overflow: auto;
}
#msgPanel > div{
padding: 3px 13px;
border-radius: 10px;
background: #ddeefb;
color: #555;
margin-bottom: 10px;
width: 90%;
clear: both;
font-weight: bold;
}
#msgPanel > div > .msg-body{
word-wrap: break-word;
}
#msgPanel > div > .msg-by{
text-align: right;
color: #777;
font-weight: lighter;
font-size: 13px;
}
#msgPanel > div > .fa{
font-weight: lighter;
font-size: 13px;
}
#msgPanel > div > .fa-clock-o{
color: #777;
}
#msgPanel > div > .fa-check{
color: #4dadf7;
}
#msgPanel .my-msg{
float: right;
background: white;
}
#divStartChat{
position: fixed;
height: 100vh;
background: #4dadf7;
width: 100vw;
left: 0px;
top: 0px;
text-align: center;
z-index: 2;
}
#userInput{
width: 30%;
top: 35%;
text-align: center;
}
#userName, #exitChat{
background: white;
position: relative;
padding: 12px 30px;
font-weight: bold;
border-radius: 20px;
box-shadow: 0px 0px 10px 6px #1493f5;
}
#userName{
left: 5%;
}
#exitChat{
left: 60%;
background: #ffc3c3;
cursor: pointer;
}