@capillarytech/creatives-library 3.9.20 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +7 -7
- package/components/TemplatePreview/_templatePreview.scss +20 -287
- package/components/TemplatePreview/index.js +31 -203
- package/components/TemplatePreview/messages.js +0 -21
- package/containers/Assets/Gallery/index.js +59 -53
- package/index.js +0 -6
- package/package.json +1 -1
- package/routes.js +0 -5
- package/services/getSchema.js +1 -4
- package/translations/en.json +1 -29
- package/translations/zh.json +1 -29
- package/v2Components/FormBuilder/index.js +37 -188
- package/v2Components/FormBuilder/messages.js +0 -16
- package/v2Components/MobilePushPreviewV2/index.js +32 -40
- package/v2Components/MobilePushPreviewV2/messages.js +8 -0
- package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/_wechatRichmediaTemplatePrev.scss +0 -64
- package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/index.js +18 -100
- package/v2Components/TemplatePreview/WechatRichmediaTemplatePreview/messages.js +0 -12
- package/v2Components/TemplatePreview/_templatePreview.scss +4 -24
- package/v2Components/TemplatePreview/index.js +23 -159
- package/v2Components/TemplatePreview/messages.js +0 -8
- package/v2Containers/Assets/Gallery/index.js +29 -41
- package/v2Containers/CreativesContainer/SlideBoxContent.js +4 -87
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +1 -1
- package/v2Containers/CreativesContainer/index.js +2 -58
- package/v2Containers/CreativesContainer/messages.js +2 -2
- package/v2Containers/Email/_email.scss +1 -7
- package/v2Containers/Email/index.js +14 -40
- package/v2Containers/Email/messages.js +0 -4
- package/v2Containers/EmailWrapper/index.js +5 -7
- package/v2Containers/Line/Create/_lineCreate.scss +19 -40
- package/v2Containers/Line/Create/actions.js +9 -13
- package/v2Containers/Line/Create/index.js +237 -498
- package/v2Containers/Line/Create/messages.js +2 -42
- package/v2Containers/Line/Create/sagas.js +4 -10
- package/v2Containers/Line/Create/selectors.js +9 -3
- package/v2Containers/MobilePush/Create/index.js +0 -5
- package/v2Containers/MobilePush/Edit/index.js +0 -5
- package/v2Containers/MobilepushWrapper/index.js +1 -4
- package/v2Containers/Sms/Create/index.js +1 -2
- package/v2Containers/Sms/Edit/index.js +0 -2
- package/v2Containers/Templates/_templates.scss +1 -24
- package/v2Containers/Templates/actions.js +0 -7
- package/v2Containers/Templates/constants.js +0 -2
- package/v2Containers/Templates/index.js +15 -118
- package/v2Containers/Templates/messages.js +0 -8
- package/v2Containers/Templates/reducer.js +0 -2
- package/v2Containers/TemplatesV2/index.js +4 -5
- package/v2Containers/TemplatesV2/messages.js +0 -4
- package/assets/IPad.js +0 -23
- package/assets/index.js +0 -1
- package/assets/lineImageTemplate.png +0 -0
- package/components/TemplatePreview/assets/images/HomeScreenAndroid.js +0 -53
- package/components/TemplatePreview/assets/images/SmsMobileAndroid.js +0 -52
- package/components/TemplatePreview/assets/images/SmsMobileIos.js +0 -71
- package/components/TemplatePreview/assets/images/UserIcon.js +0 -24
- package/components/TemplatePreview/assets/images/WechatMobileAndroid.js +0 -53
- package/components/TemplatePreview/assets/images/home-screen-android.svg +0 -21
- package/components/TemplatePreview/assets/images/home-screen-ios.svg +0 -16
- package/components/TemplatePreview/assets/images/sms_mobile_android.svg +0 -22
- package/components/TemplatePreview/assets/images/sms_mobile_ios.svg +0 -16
- package/components/TemplatePreview/assets/images/wechat_mobile_android.svg +0 -20
- package/v2Components/TemplatePreview/assets/images/HomeScreenAndroid.js +0 -53
- package/v2Components/TemplatePreview/assets/images/SmsMobileAndroid.js +0 -52
- package/v2Components/TemplatePreview/assets/images/UserIcon.js +0 -24
- package/v2Components/TemplatePreview/assets/images/WechatHomeScreenAndroid.js +0 -74
- package/v2Components/TemplatePreview/assets/images/WechatMobileAndroid.js +0 -53
- package/v2Components/TemplatePreview/assets/images/home-screen-android.svg +0 -21
- package/v2Components/TemplatePreview/assets/images/home-screen-ios.svg +0 -16
- package/v2Components/TemplatePreview/assets/images/sms_mobile_android.svg +0 -22
- package/v2Components/TemplatePreview/assets/images/wechat-home-screen-android.svg +0 -21
- package/v2Components/TemplatePreview/assets/images/wechat_mobile_android.svg +0 -20
- package/v2Containers/Assets/images/CalltaskIllustration.js +0 -71
- package/v2Containers/Assets/images/EmailIllustration.js +0 -87
- package/v2Containers/Assets/images/ImageGalleryIllustration.js +0 -60
- package/v2Containers/Assets/images/PushIllustration.js +0 -60
- package/v2Containers/Assets/images/SmsIllustration.js +0 -191
- package/v2Containers/Assets/images/WechatIllustration.js +0 -90
- package/v2Containers/Assets/images/index.js +0 -6
- package/v2Containers/Line/Create/initialSchema.js +0 -378
- package/v2Containers/Line/CreateWrapper/constants.js +0 -2
- package/v2Containers/Line/CreateWrapper/index.js +0 -117
- package/v2Containers/Line/CreateWrapper/messages.js +0 -55
|
@@ -8,13 +8,13 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { CapRow, CapColumn, CapButton } from '@capillarytech/cap-react-ui-library/';
|
|
11
|
-
import { CapImage } from '@capillarytech/cap-ui-library/';
|
|
12
11
|
import { FormattedMessage } from 'react-intl';
|
|
13
12
|
import _ from 'lodash';
|
|
14
13
|
import SlideBox from '../../SlideBox';
|
|
15
14
|
import './_wechatRichmediaTemplatePrev.scss';
|
|
16
15
|
import messages from './messages';
|
|
17
|
-
|
|
16
|
+
|
|
17
|
+
const wechatBody = require('./../assets/images/WECHAT_5x.png');
|
|
18
18
|
|
|
19
19
|
class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-disable-line react/prefer-stateless-function
|
|
20
20
|
preparePreviewData = (mediaList) => {
|
|
@@ -25,7 +25,7 @@ class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-dis
|
|
|
25
25
|
returnObj.push(
|
|
26
26
|
<div style={{ width: "100%", height: 116, position: "relative" }}>
|
|
27
27
|
<CapRow>
|
|
28
|
-
<
|
|
28
|
+
<img alt="default" width="100%" height="110px" src={contentData.image_url} />
|
|
29
29
|
<div className="preview-overflow-wrap-fields" style={{ position: "absolute", bottom: "5%", left: "5%" }}>{contentData.title ? contentData.title : ""}</div>
|
|
30
30
|
</CapRow>
|
|
31
31
|
{Object.keys(mediaList).length === 1 ?
|
|
@@ -44,7 +44,7 @@ class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-dis
|
|
|
44
44
|
{contentData.title}
|
|
45
45
|
</CapColumn>
|
|
46
46
|
<CapColumn style={{ float: "right" }}>
|
|
47
|
-
<
|
|
47
|
+
<img alt="default" width="60px" height="60px" src={contentData.image_url} style={{ "padding-right": "10%", "float": "left" }}/>
|
|
48
48
|
</CapColumn>
|
|
49
49
|
</CapRow>
|
|
50
50
|
);
|
|
@@ -60,7 +60,7 @@ class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-dis
|
|
|
60
60
|
returnObj.push(
|
|
61
61
|
<div style={{ width: "100%", height: 116, position: "relative" }}>
|
|
62
62
|
<CapRow>
|
|
63
|
-
<
|
|
63
|
+
<img alt="default" width="100%" height="110px" src={contentData.image_url} />
|
|
64
64
|
<div className="preview-overflow-wrap-fields" style={{ position: "absolute", bottom: "5%", left: "10%", width: "auto" }}>{contentData.title ? contentData.title : ""}</div>
|
|
65
65
|
</CapRow>
|
|
66
66
|
{Object.keys(mediaList).length === 1 ?
|
|
@@ -79,7 +79,7 @@ class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-dis
|
|
|
79
79
|
{contentData.title}
|
|
80
80
|
</CapColumn>
|
|
81
81
|
<CapColumn style={{ float: "right" }}>
|
|
82
|
-
<
|
|
82
|
+
<img alt="default" width="60px" height="60px" src={contentData.image_url}/>
|
|
83
83
|
</CapColumn>
|
|
84
84
|
</CapRow>
|
|
85
85
|
);
|
|
@@ -101,7 +101,7 @@ class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-dis
|
|
|
101
101
|
content={
|
|
102
102
|
<div className={`preview-container ${this.props.type === 'embedded' ? 'embedded-preview' : ''}`}>
|
|
103
103
|
<div className="shell align-center" id="sms-preview">
|
|
104
|
-
<
|
|
104
|
+
<img className="preview-image" src={wechatBody} alt="Preview is being generated"/>
|
|
105
105
|
<div className={this.props.type === 'embedded' ? "wechatMsgContainerOutbound" : "wechatMsgContainer"}>
|
|
106
106
|
<div className={this.props.type === 'embedded' ? "overflow-handle-preview-outbound" : "overflow-handle-preview"}>{this.preparePreviewData(this.props.content)}
|
|
107
107
|
</div>
|
|
@@ -1,262 +1,3 @@
|
|
|
1
|
-
@import '~@capillarytech/cap-ui-library/styles/_variables.scss';
|
|
2
|
-
|
|
3
|
-
.shell-lock-screen-ios{
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-wrap: nowrap;
|
|
6
|
-
.lock-screen-preview{
|
|
7
|
-
margin: 0 20px 0 auto;
|
|
8
|
-
.action-text-reply{
|
|
9
|
-
position: absolute;
|
|
10
|
-
left: 34%;
|
|
11
|
-
top: 59%;
|
|
12
|
-
color: #3861ca;
|
|
13
|
-
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
14
|
-
}
|
|
15
|
-
.action-text-cancel{
|
|
16
|
-
position: absolute;
|
|
17
|
-
left: 33.5%;
|
|
18
|
-
top: 66%;
|
|
19
|
-
color: #3861ca;
|
|
20
|
-
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.main-screen-preview{
|
|
24
|
-
margin: 0 auto 0 20px;
|
|
25
|
-
}
|
|
26
|
-
.lock-screen-preview .lock-msgContainer{
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: 40%;
|
|
29
|
-
left: 25.9%;
|
|
30
|
-
width: 21.5%;
|
|
31
|
-
height: 60px;
|
|
32
|
-
display: -webkit-box;
|
|
33
|
-
display: -ms-flexbox;
|
|
34
|
-
display: flex;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
&.wechat{
|
|
37
|
-
width: 20.5%;
|
|
38
|
-
left: 25.5%;
|
|
39
|
-
}
|
|
40
|
-
.sender-id-text{
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 16%;
|
|
43
|
-
font-size: $FONT_SIZE_VS;
|
|
44
|
-
left: 11%;
|
|
45
|
-
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
46
|
-
}
|
|
47
|
-
.message-text-container{
|
|
48
|
-
width: 176px;
|
|
49
|
-
left: 11%;
|
|
50
|
-
top: 50%;
|
|
51
|
-
position: absolute;
|
|
52
|
-
text-align: left;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.main-screen-preview .msgContainer{
|
|
57
|
-
position: absolute;
|
|
58
|
-
top: 30%;
|
|
59
|
-
left: 53%;
|
|
60
|
-
width: 42%;
|
|
61
|
-
height: 336px;
|
|
62
|
-
display: -webkit-box;
|
|
63
|
-
display: -ms-flexbox;
|
|
64
|
-
display: flex;
|
|
65
|
-
|
|
66
|
-
.sms-icon{
|
|
67
|
-
top: 0;
|
|
68
|
-
left: 2px;
|
|
69
|
-
width: 25px;
|
|
70
|
-
position: absolute;
|
|
71
|
-
}
|
|
72
|
-
&.sms{
|
|
73
|
-
height: 290px;
|
|
74
|
-
width: 21%;
|
|
75
|
-
.sms-icon{
|
|
76
|
-
width: 20px;
|
|
77
|
-
left: 14px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.message-pop{
|
|
82
|
-
.unicode-disabled{
|
|
83
|
-
font-size: $FONT_SIZE_L;
|
|
84
|
-
}
|
|
85
|
-
&.sms {
|
|
86
|
-
max-height: 100%;
|
|
87
|
-
position: absolute;
|
|
88
|
-
// width: initial;
|
|
89
|
-
overflow: auto;
|
|
90
|
-
top: 0;
|
|
91
|
-
white-space: pre-wrap;
|
|
92
|
-
word-break: break-word;
|
|
93
|
-
line-height: 14px;
|
|
94
|
-
padding: 0 8px 8px 8px;
|
|
95
|
-
font-size: $FONT_SIZE_VS;
|
|
96
|
-
width: 100%;
|
|
97
|
-
font-family: 'open-sans';
|
|
98
|
-
.message-pop-item{
|
|
99
|
-
padding: 4px;
|
|
100
|
-
background: #3F51B5;
|
|
101
|
-
color: $CAP_WHITE;
|
|
102
|
-
margin-top: 8px;
|
|
103
|
-
border-radius: 4px;
|
|
104
|
-
min-height: 26px;
|
|
105
|
-
&:first-child{
|
|
106
|
-
margin-top: 0;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
&.wechat{
|
|
111
|
-
padding: 4px;
|
|
112
|
-
background: #3F51B5;
|
|
113
|
-
position: absolute;
|
|
114
|
-
// width: initial;
|
|
115
|
-
overflow: auto;
|
|
116
|
-
top: 0;
|
|
117
|
-
left: 2%;
|
|
118
|
-
white-space: pre-wrap;
|
|
119
|
-
word-break: break-word;
|
|
120
|
-
border-radius: 4px;
|
|
121
|
-
max-height: 100%;
|
|
122
|
-
color: #FFFFFF;
|
|
123
|
-
width: 45%;
|
|
124
|
-
min-height: 26px;
|
|
125
|
-
line-height: 14px;
|
|
126
|
-
padding: 8px;
|
|
127
|
-
font-size: $FONT_SIZE_VS;
|
|
128
|
-
font-family: 'open-sans';
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.shell-lock-screen-android{
|
|
135
|
-
display: flex;
|
|
136
|
-
flex-wrap: nowrap;
|
|
137
|
-
.lock-screen-preview{
|
|
138
|
-
margin: 0 20px 0 auto;
|
|
139
|
-
.action-text{
|
|
140
|
-
position: absolute;
|
|
141
|
-
left: 27.5%;
|
|
142
|
-
top: 54%;
|
|
143
|
-
font-size: $FONT_SIZE_VS;
|
|
144
|
-
color: #3861ca;
|
|
145
|
-
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
.main-screen-preview{
|
|
149
|
-
margin: 0 auto 0 20px;
|
|
150
|
-
}
|
|
151
|
-
.lock-screen-preview .lock-msgContainer{
|
|
152
|
-
position: absolute;
|
|
153
|
-
top: 43%;
|
|
154
|
-
left: 25.9%;
|
|
155
|
-
width: 21.5%;
|
|
156
|
-
height: 52px;
|
|
157
|
-
display: -webkit-box;
|
|
158
|
-
display: -ms-flexbox;
|
|
159
|
-
display: flex;
|
|
160
|
-
overflow: hidden;
|
|
161
|
-
&.wechat{
|
|
162
|
-
width: 20.5%;
|
|
163
|
-
left: 25.5%;
|
|
164
|
-
}
|
|
165
|
-
.sender-id-text{
|
|
166
|
-
position: absolute;
|
|
167
|
-
top: 14%;
|
|
168
|
-
font-size: 10px;
|
|
169
|
-
left: 9%;
|
|
170
|
-
font-weight: $FONT_WEIGHT_MEDIUM;
|
|
171
|
-
}
|
|
172
|
-
.message-text-container{
|
|
173
|
-
width: 176px;
|
|
174
|
-
left: 9%;
|
|
175
|
-
top: 43%;
|
|
176
|
-
position: absolute;
|
|
177
|
-
text-align: left;
|
|
178
|
-
text-overflow: ellipsis;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.main-screen-preview .msgContainer{
|
|
183
|
-
position: absolute;
|
|
184
|
-
top: 30%;
|
|
185
|
-
left: 53%;
|
|
186
|
-
width: 42%;
|
|
187
|
-
height: 336px;
|
|
188
|
-
display: -webkit-box;
|
|
189
|
-
display: -ms-flexbox;
|
|
190
|
-
display: flex;
|
|
191
|
-
|
|
192
|
-
.sms-icon{
|
|
193
|
-
top: 0;
|
|
194
|
-
left: 2px;
|
|
195
|
-
width: 25px;
|
|
196
|
-
position: absolute;
|
|
197
|
-
}
|
|
198
|
-
&.sms{
|
|
199
|
-
height: 290px;
|
|
200
|
-
width: 21%;
|
|
201
|
-
.sms-icon{
|
|
202
|
-
width: 20px;
|
|
203
|
-
left: 14px;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.message-pop{
|
|
208
|
-
.unicode-disabled{
|
|
209
|
-
font-size: $FONT_SIZE_L;
|
|
210
|
-
}
|
|
211
|
-
&.sms {
|
|
212
|
-
max-height: 100%;
|
|
213
|
-
position: absolute;
|
|
214
|
-
// width: initial;
|
|
215
|
-
overflow: auto;
|
|
216
|
-
top: 0;
|
|
217
|
-
white-space: pre-wrap;
|
|
218
|
-
word-break: break-word;
|
|
219
|
-
line-height: 14px;
|
|
220
|
-
padding: 0 8px 8px 8px;
|
|
221
|
-
font-size: $FONT_SIZE_VS;
|
|
222
|
-
width: 100%;
|
|
223
|
-
font-family: 'open-sans';
|
|
224
|
-
.message-pop-item{
|
|
225
|
-
padding: 4px;
|
|
226
|
-
background: #3F51B5;
|
|
227
|
-
color: $CAP_WHITE;
|
|
228
|
-
margin-top: 8px;
|
|
229
|
-
border-radius: 4px;
|
|
230
|
-
min-height: 26px;
|
|
231
|
-
&:first-child{
|
|
232
|
-
margin-top: 0;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
&:not(.sms){
|
|
237
|
-
padding: 4px;
|
|
238
|
-
background: #3F51B5;
|
|
239
|
-
position: absolute;
|
|
240
|
-
// width: initial;
|
|
241
|
-
overflow: auto;
|
|
242
|
-
top: 14px;
|
|
243
|
-
left: 2%;
|
|
244
|
-
white-space: pre-wrap;
|
|
245
|
-
word-break: break-word;
|
|
246
|
-
border-radius: 4px;
|
|
247
|
-
max-height: 100%;
|
|
248
|
-
color: $CAP_WHITE;
|
|
249
|
-
width: 45%;
|
|
250
|
-
min-height: 26px;
|
|
251
|
-
line-height: 14px;
|
|
252
|
-
padding: 8px;
|
|
253
|
-
font-size: $FONT_SIZE_VS;
|
|
254
|
-
font-family: 'open-sans';
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
1
|
.shell {
|
|
261
2
|
position: relative;
|
|
262
3
|
-webkit-transform: translate(-50%);
|
|
@@ -272,14 +13,6 @@
|
|
|
272
13
|
}
|
|
273
14
|
}
|
|
274
15
|
|
|
275
|
-
.cap-carousel-v2 {
|
|
276
|
-
.line-preview {
|
|
277
|
-
.message-pop {
|
|
278
|
-
margin-top: -6px;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
16
|
.msgContainer {
|
|
284
17
|
position: absolute;
|
|
285
18
|
top: 18%;
|
|
@@ -307,26 +40,26 @@
|
|
|
307
40
|
|
|
308
41
|
.message-pop{
|
|
309
42
|
.unicode-disabled{
|
|
310
|
-
font-size:
|
|
43
|
+
font-size: 16px;
|
|
311
44
|
}
|
|
312
45
|
&.sms {
|
|
313
46
|
max-height: 100%;
|
|
314
47
|
position: absolute;
|
|
315
48
|
// width: initial;
|
|
316
49
|
overflow: auto;
|
|
317
|
-
top:
|
|
318
|
-
left:
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 17%;
|
|
319
52
|
white-space: pre-wrap;
|
|
320
53
|
word-break: break-word;
|
|
321
54
|
line-height: 14px;
|
|
322
55
|
padding: 0 8px 8px 8px;
|
|
323
|
-
font-size:
|
|
324
|
-
width:
|
|
56
|
+
font-size: 10px;
|
|
57
|
+
width: 80%;
|
|
325
58
|
font-family: 'open-sans';
|
|
326
59
|
.message-pop-item{
|
|
327
60
|
padding: 4px;
|
|
328
61
|
background: #3F51B5;
|
|
329
|
-
color:
|
|
62
|
+
color: #FFFFFF;
|
|
330
63
|
margin-top: 8px;
|
|
331
64
|
border-radius: 4px;
|
|
332
65
|
min-height: 26px;
|
|
@@ -341,14 +74,14 @@
|
|
|
341
74
|
position: absolute;
|
|
342
75
|
// width: initial;
|
|
343
76
|
overflow: auto;
|
|
344
|
-
top:
|
|
345
|
-
left:
|
|
77
|
+
top: 0;
|
|
78
|
+
left: 17%;
|
|
346
79
|
white-space: pre-wrap;
|
|
347
80
|
word-break: break-word;
|
|
348
81
|
border-radius: 4px;
|
|
349
82
|
max-height: 100%;
|
|
350
83
|
color: #FFFFFF;
|
|
351
|
-
width:
|
|
84
|
+
width: 70%;
|
|
352
85
|
min-height: 26px;
|
|
353
86
|
line-height: 14px;
|
|
354
87
|
padding: 8px;
|
|
@@ -379,7 +112,7 @@
|
|
|
379
112
|
width: 100%;
|
|
380
113
|
min-height: 26px;
|
|
381
114
|
line-height: 15px;
|
|
382
|
-
font-size:
|
|
115
|
+
font-size: 10px;
|
|
383
116
|
.body-image{
|
|
384
117
|
img{
|
|
385
118
|
max-width: 100%;
|
|
@@ -392,7 +125,7 @@
|
|
|
392
125
|
}
|
|
393
126
|
.android-push-message-Container{
|
|
394
127
|
.title, .body-text, .body-image, .app-name{
|
|
395
|
-
background-color:
|
|
128
|
+
background-color: #FFFFFF;
|
|
396
129
|
color: #333333;
|
|
397
130
|
}
|
|
398
131
|
.app-name{
|
|
@@ -419,7 +152,7 @@
|
|
|
419
152
|
padding: 4px;
|
|
420
153
|
.action{
|
|
421
154
|
line-height: 24px;
|
|
422
|
-
font-size:
|
|
155
|
+
font-size: 10px;
|
|
423
156
|
font-weight: 600;
|
|
424
157
|
color: #1970DA;
|
|
425
158
|
height: 12px;
|
|
@@ -434,7 +167,7 @@
|
|
|
434
167
|
word-wrap: break-word;
|
|
435
168
|
}
|
|
436
169
|
.title, .body-text, .body-image, .app-name{
|
|
437
|
-
background-color:
|
|
170
|
+
background-color: #FFFFFF;
|
|
438
171
|
color: #333333;
|
|
439
172
|
}
|
|
440
173
|
.body-image{
|
|
@@ -450,7 +183,7 @@
|
|
|
450
183
|
color: #5D5D5D;
|
|
451
184
|
border-bottom: solid 1px #D6D6D6;
|
|
452
185
|
.material-icons{
|
|
453
|
-
font-size:
|
|
186
|
+
font-size: 12px;
|
|
454
187
|
float: right;
|
|
455
188
|
}
|
|
456
189
|
}
|
|
@@ -539,8 +272,8 @@
|
|
|
539
272
|
|
|
540
273
|
.msgContainer {
|
|
541
274
|
position: absolute;
|
|
542
|
-
top:
|
|
543
|
-
left:
|
|
275
|
+
top: 14%;
|
|
276
|
+
left: 29%;
|
|
544
277
|
width: 42%;
|
|
545
278
|
height: 275px;
|
|
546
279
|
display: -webkit-box;
|
|
@@ -570,17 +303,17 @@
|
|
|
570
303
|
overflow: auto;
|
|
571
304
|
top: 6%;
|
|
572
305
|
left: 17%;
|
|
573
|
-
width:
|
|
306
|
+
width: 80%;
|
|
574
307
|
white-space: pre-wrap;
|
|
575
308
|
word-break: break-word;
|
|
576
309
|
line-height: 14px;
|
|
577
310
|
padding: 0 8px 8px 8px;
|
|
578
|
-
font-size:
|
|
311
|
+
font-size: 10px;
|
|
579
312
|
font-family: 'open-sans';
|
|
580
313
|
.message-pop-item{
|
|
581
314
|
padding: 8px;
|
|
582
315
|
background: #3F51B5;
|
|
583
|
-
color:
|
|
316
|
+
color: #FFFFFF;
|
|
584
317
|
margin-top: 8px;
|
|
585
318
|
border-radius: 4px;
|
|
586
319
|
min-height: 26px;
|
|
@@ -603,7 +336,7 @@
|
|
|
603
336
|
color: #FFFFFF;
|
|
604
337
|
line-height: 14px;
|
|
605
338
|
font-family: "open-sans";
|
|
606
|
-
font-size:
|
|
339
|
+
font-size: 10px;
|
|
607
340
|
}
|
|
608
341
|
}
|
|
609
342
|
}
|