_layout.css
2.86 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
.service-chat {
/* -------------------------------- *\
atom, util
\* -------------------------------- */
.table {
display: table;
width: 100%;
}
.table-cell {
display: table-cell;
vertical-align: middle;
&.cell-max {
width: 6666px;
}
}
.main-wrap {
position: static;
}
#chat-window,
#chat-footer {
max-width: 750px;
}
.chat-header {
color: #fff;
.title {
width: 400px;
margin: 0 auto;
font-size: 34px;
text-align: center;
}
.chat-status {
display: inline-block;
height: 12px;
width: 12px;
margin-right: 5px;
background: #fff;
border-radius: 50%;
vertical-align: middle;
}
.service-name {
vertical-align: middle;
}
.header-right {
position: absolute;
top: 0;
right: 30px;
font-size: 28px;
vertical-align: middle;
}
}
#chat-history-loader {
display: none;
text-align: center;
margin-bottom: 10px;
color: grey;
text-decoration: underline;
i {
display: none;
background: resolve('img/service/chat/loading.gif') no-repeat;
background-size: contain;
width: 20px;
height: 20px;
vertical-align: middle;
}
}
.chat-history-loading i {
display: inline-block !important;
}
#chat-window {
position: absolute;
top: 105px;
bottom: 100px;
width: 100%;
background-color: #f0f0f0;
padding: 40px 30px 0;
overflow: scroll;
-webkit-overflow-scrolling: touch;
&::-webkit-scrollbar {
display: none;
}
}
#chat-footer {
position: absolute;
bottom: 0;
width: 100%;
background-color: #f7f7f7;
}
.chat-page {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100;
background-color: #f0f0f0;
transition: .3s;
.main {
position: absolute;
width: 100%;
top: 105px;
bottom: 0;
overflow: auto;
}
.main::-webkit-scrollbar {
width: 0;
}
}
.chat-page-hide {
transform: translate3d(100%, 0, 0);
}
.chat-rating-trigger {
display: none;
}
/* 客服在线 */
.online {
.chat-status {
background-color: #4cd964 !important;
}
.menu-trigger {
display: block !important;
}
.chat-rating-trigger {
display: inline-block;
}
}
}