@agilemotion/oui-react-js 1.8.36 → 1.8.38
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/dist/assets/jss/components/authNavbarStyle.jsx +195 -0
- package/dist/assets/jss/components/buttonStyle.jsx +647 -0
- package/dist/assets/jss/components/cardAvatarStyle.jsx +56 -0
- package/dist/assets/jss/components/cardBodyStyle.jsx +56 -0
- package/dist/assets/jss/components/cardFooterStyle.jsx +56 -0
- package/dist/assets/jss/components/cardHeaderStyle.jsx +169 -0
- package/dist/assets/jss/components/cardIconStyle.jsx +30 -0
- package/dist/assets/jss/components/cardStyle.jsx +179 -0
- package/dist/assets/jss/components/cardTextStyle.jsx +29 -0
- package/dist/assets/jss/components/customDropdownStyle.jsx +232 -0
- package/dist/assets/jss/components/customInputStyle.jsx +95 -0
- package/dist/assets/jss/components/dropdownStyle.jsx +124 -0
- package/dist/assets/jss/components/footerStyle.jsx +64 -0
- package/dist/assets/jss/components/headerLinksStyle.jsx +113 -0
- package/dist/assets/jss/components/headerStyle.jsx +82 -0
- package/dist/assets/jss/components/navbarLinksStyle.jsx +155 -0
- package/dist/assets/jss/components/navbarStyle.jsx +94 -0
- package/dist/assets/jss/components/sidebarStyle.jsx +528 -0
- package/dist/assets/jss/components/typographyStyle.jsx +59 -0
- package/dist/assets/jss/rootStyle.jsx +392 -0
- package/dist/assets/jss/views/layoutStyle.jsx +54 -0
- package/dist/assets/jss/views/loginBasicStyle.jsx +67 -0
- package/dist/assets/jss/views/loginBusinessPortalStyle.jsx +69 -0
- package/dist/assets/jss/views/loginStyle.jsx +107 -0
- package/dist/assets/models/_base.js +3 -0
- package/dist/components/facialRecognition/FaceRecognitionComponent.js +28 -3
- package/dist/models/_base.js +3 -0
- package/package.json +6 -9
- package/dist/assets/css/skins.css +0 -129
- package/dist/assets/demo/demo.css +0 -139
- package/dist/assets/img/absa.png +0 -0
- package/dist/assets/img/agilityLogo.jpeg +0 -0
- package/dist/assets/img/anime3.png +0 -0
- package/dist/assets/img/anime6.png +0 -0
- package/dist/assets/img/apple-icon.png +0 -0
- package/dist/assets/img/bg5.jpg +0 -0
- package/dist/assets/img/default-avatar.png +0 -0
- package/dist/assets/img/e-proc.png +0 -0
- package/dist/assets/img/emilyz.jpg +0 -0
- package/dist/assets/img/favicon.png +0 -0
- package/dist/assets/img/flogo.png +0 -0
- package/dist/assets/img/header.jpg +0 -0
- package/dist/assets/img/img_3115.jpg +0 -0
- package/dist/assets/img/james.jpg +0 -0
- package/dist/assets/img/react-logo.png +0 -0
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
import {
|
|
2
|
+
drawerWidth,
|
|
3
|
+
drawerMiniWidth,
|
|
4
|
+
transition,
|
|
5
|
+
boxShadow,
|
|
6
|
+
defaultFont,
|
|
7
|
+
primaryColor,
|
|
8
|
+
primaryBoxShadow,
|
|
9
|
+
infoColor,
|
|
10
|
+
successColor,
|
|
11
|
+
warningColor,
|
|
12
|
+
dangerColor,
|
|
13
|
+
roseColor,
|
|
14
|
+
whiteColor,
|
|
15
|
+
blackColor,
|
|
16
|
+
grayColor,
|
|
17
|
+
hexToRgb
|
|
18
|
+
} from "../rootStyle";
|
|
19
|
+
|
|
20
|
+
const sidebarStyle = theme => ({
|
|
21
|
+
drawerPaperRTL: {
|
|
22
|
+
[theme.breakpoints.up("md")]: {
|
|
23
|
+
left: "auto !important",
|
|
24
|
+
right: "0 !important"
|
|
25
|
+
},
|
|
26
|
+
[theme.breakpoints.down("sm")]: {
|
|
27
|
+
left: "0 !important",
|
|
28
|
+
right: "auto !important"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
drawerPaper: {
|
|
32
|
+
border: "none",
|
|
33
|
+
position: "fixed",
|
|
34
|
+
top: "0",
|
|
35
|
+
bottom: "0",
|
|
36
|
+
left: "0",
|
|
37
|
+
zIndex: "1032",
|
|
38
|
+
transitionProperty: "top, bottom, width",
|
|
39
|
+
transitionDuration: ".2s, .2s, .35s",
|
|
40
|
+
transitionTimingFunction: "linear, linear, ease",
|
|
41
|
+
// overflow: 'auto',
|
|
42
|
+
...boxShadow,
|
|
43
|
+
width: drawerWidth,
|
|
44
|
+
[theme.breakpoints.up("md")]: {
|
|
45
|
+
width: drawerWidth,
|
|
46
|
+
position: "fixed",
|
|
47
|
+
height: "100%"
|
|
48
|
+
},
|
|
49
|
+
[theme.breakpoints.down("sm")]: {
|
|
50
|
+
width: drawerWidth,
|
|
51
|
+
...boxShadow,
|
|
52
|
+
position: "fixed",
|
|
53
|
+
display: "block",
|
|
54
|
+
top: "0",
|
|
55
|
+
height: "100vh",
|
|
56
|
+
right: "0",
|
|
57
|
+
left: "auto",
|
|
58
|
+
zIndex: "1032",
|
|
59
|
+
visibility: "visible",
|
|
60
|
+
overflowY: "visible",
|
|
61
|
+
borderTop: "none",
|
|
62
|
+
textAlign: "left",
|
|
63
|
+
paddingRight: "0px",
|
|
64
|
+
paddingLeft: "0",
|
|
65
|
+
transform: `translate3d(${drawerWidth}px, 0, 0)`,
|
|
66
|
+
...transition
|
|
67
|
+
},
|
|
68
|
+
"&:before,&:after": {
|
|
69
|
+
position: "absolute",
|
|
70
|
+
zIndex: "3",
|
|
71
|
+
width: "100%",
|
|
72
|
+
height: "100%",
|
|
73
|
+
content: '""',
|
|
74
|
+
display: "block",
|
|
75
|
+
top: "0"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
blackBackground: {
|
|
79
|
+
color: whiteColor,
|
|
80
|
+
"&:after": {
|
|
81
|
+
background: blackColor,
|
|
82
|
+
opacity: ".8"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
blueBackground: {
|
|
86
|
+
color: whiteColor,
|
|
87
|
+
"&:after": {
|
|
88
|
+
background: infoColor[0],
|
|
89
|
+
opacity: ".93"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
whiteBackground: {
|
|
93
|
+
color: grayColor[2],
|
|
94
|
+
"&:after": {
|
|
95
|
+
background: whiteColor,
|
|
96
|
+
opacity: ".93"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
whiteAfter: {
|
|
100
|
+
"&:after": {
|
|
101
|
+
backgroundColor: "hsla(0,0%,71%,.3) !important"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
drawerPaperMini: {
|
|
105
|
+
width: drawerMiniWidth + "px!important"
|
|
106
|
+
},
|
|
107
|
+
logo: {
|
|
108
|
+
padding: "15px 0px",
|
|
109
|
+
margin: "0",
|
|
110
|
+
display: "block",
|
|
111
|
+
position: "relative",
|
|
112
|
+
zIndex: "4",
|
|
113
|
+
"&:after": {
|
|
114
|
+
content: '""',
|
|
115
|
+
position: "absolute",
|
|
116
|
+
bottom: "0",
|
|
117
|
+
height: "1px",
|
|
118
|
+
right: "15px",
|
|
119
|
+
width: "calc(100% - 30px)",
|
|
120
|
+
backgroundColor: "hsla(0,0%,100%,.3)"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
logoMini: {
|
|
124
|
+
transition: "all 300ms linear",
|
|
125
|
+
opacity: 1,
|
|
126
|
+
float: "left",
|
|
127
|
+
textAlign: "center",
|
|
128
|
+
width: "30px",
|
|
129
|
+
display: "inline-block",
|
|
130
|
+
maxHeight: "30px",
|
|
131
|
+
marginLeft: "22px",
|
|
132
|
+
marginRight: "18px",
|
|
133
|
+
marginTop: "7px",
|
|
134
|
+
color: "inherit"
|
|
135
|
+
},
|
|
136
|
+
logoMiniRTL: {
|
|
137
|
+
float: "right",
|
|
138
|
+
marginRight: "30px",
|
|
139
|
+
marginLeft: "26px"
|
|
140
|
+
},
|
|
141
|
+
logoNormal: {
|
|
142
|
+
...defaultFont,
|
|
143
|
+
transition: "all 300ms linear",
|
|
144
|
+
display: "block",
|
|
145
|
+
opacity: "1",
|
|
146
|
+
transform: "translate3d(0px, 0, 0)",
|
|
147
|
+
textTransform: "uppercase",
|
|
148
|
+
padding: "5px 0px",
|
|
149
|
+
fontSize: "18px",
|
|
150
|
+
whiteSpace: "nowrap",
|
|
151
|
+
fontWeight: "400",
|
|
152
|
+
lineHeight: "30px",
|
|
153
|
+
overflow: "hidden",
|
|
154
|
+
"&,&:hover,&:focus": {
|
|
155
|
+
color: "inherit"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
logoNormalRTL: {
|
|
159
|
+
textAlign: "right"
|
|
160
|
+
},
|
|
161
|
+
logoNormalSidebarMini: {
|
|
162
|
+
opacity: "0",
|
|
163
|
+
transform: "translate3d(-25px, 0, 0)"
|
|
164
|
+
},
|
|
165
|
+
logoNormalSidebarMiniRTL: {
|
|
166
|
+
transform: "translate3d(25px, 0, 0)"
|
|
167
|
+
},
|
|
168
|
+
img: {
|
|
169
|
+
width: "35px",
|
|
170
|
+
verticalAlign: "middle",
|
|
171
|
+
border: "0"
|
|
172
|
+
},
|
|
173
|
+
background: {
|
|
174
|
+
position: "absolute",
|
|
175
|
+
zIndex: "1",
|
|
176
|
+
height: "100%",
|
|
177
|
+
width: "100%",
|
|
178
|
+
display: "block",
|
|
179
|
+
top: "0",
|
|
180
|
+
left: "0",
|
|
181
|
+
backgroundSize: "cover",
|
|
182
|
+
backgroundPosition: "center center",
|
|
183
|
+
transition: "all 300ms linear"
|
|
184
|
+
},
|
|
185
|
+
list: {
|
|
186
|
+
marginTop: "15px",
|
|
187
|
+
paddingLeft: "0",
|
|
188
|
+
paddingTop: "0",
|
|
189
|
+
paddingBottom: "0",
|
|
190
|
+
marginBottom: "0",
|
|
191
|
+
listStyle: "none",
|
|
192
|
+
color: "inherit",
|
|
193
|
+
"&:before,&:after": {
|
|
194
|
+
display: "table",
|
|
195
|
+
content: '" "'
|
|
196
|
+
},
|
|
197
|
+
"&:after": {
|
|
198
|
+
clear: "both"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
item: {
|
|
202
|
+
color: "inherit",
|
|
203
|
+
position: "relative",
|
|
204
|
+
display: "block",
|
|
205
|
+
textDecoration: "none",
|
|
206
|
+
margin: "0",
|
|
207
|
+
padding: "0"
|
|
208
|
+
},
|
|
209
|
+
userItem: {
|
|
210
|
+
"&:last-child": {
|
|
211
|
+
paddingBottom: "0px"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
itemLink: {
|
|
215
|
+
paddingLeft: "10px",
|
|
216
|
+
paddingRight: "10px",
|
|
217
|
+
transition: "all 300ms linear",
|
|
218
|
+
margin: "10px 15px 0",
|
|
219
|
+
borderRadius: "3px",
|
|
220
|
+
position: "relative",
|
|
221
|
+
display: "block",
|
|
222
|
+
padding: "10px 15px",
|
|
223
|
+
backgroundColor: "transparent",
|
|
224
|
+
...defaultFont,
|
|
225
|
+
width: "auto",
|
|
226
|
+
"&:hover": {
|
|
227
|
+
outline: "none",
|
|
228
|
+
backgroundColor: "rgba(" + hexToRgb(grayColor[17]) + ", 0.2)",
|
|
229
|
+
boxShadow: "none"
|
|
230
|
+
},
|
|
231
|
+
"&,&:hover,&:focus": {
|
|
232
|
+
color: "inherit"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
itemIcon: {
|
|
236
|
+
color: "inherit",
|
|
237
|
+
width: "30px",
|
|
238
|
+
height: "24px",
|
|
239
|
+
float: "left",
|
|
240
|
+
position: "inherit",
|
|
241
|
+
top: "3px",
|
|
242
|
+
marginRight: "15px",
|
|
243
|
+
textAlign: "center",
|
|
244
|
+
verticalAlign: "middle",
|
|
245
|
+
opacity: "0.8"
|
|
246
|
+
},
|
|
247
|
+
itemIconRTL: {
|
|
248
|
+
float: "right",
|
|
249
|
+
marginLeft: "15px",
|
|
250
|
+
marginRight: "1px"
|
|
251
|
+
},
|
|
252
|
+
itemText: {
|
|
253
|
+
color: "inherit",
|
|
254
|
+
...defaultFont,
|
|
255
|
+
margin: "0",
|
|
256
|
+
lineHeight: "30px",
|
|
257
|
+
fontSize: "14px",
|
|
258
|
+
transform: "translate3d(0px, 0, 0)",
|
|
259
|
+
opacity: "1",
|
|
260
|
+
transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
|
|
261
|
+
position: "relative",
|
|
262
|
+
display: "block",
|
|
263
|
+
height: "auto",
|
|
264
|
+
whiteSpace: "nowrap",
|
|
265
|
+
padding: "0 16px !important"
|
|
266
|
+
},
|
|
267
|
+
userItemText: {
|
|
268
|
+
lineHeight: "22px"
|
|
269
|
+
},
|
|
270
|
+
itemTextRTL: {
|
|
271
|
+
marginRight: "45px",
|
|
272
|
+
textAlign: "right"
|
|
273
|
+
},
|
|
274
|
+
itemTextMini: {
|
|
275
|
+
transform: "translate3d(-25px, 0, 0)",
|
|
276
|
+
opacity: "0"
|
|
277
|
+
},
|
|
278
|
+
itemTextMiniRTL: {
|
|
279
|
+
transform: "translate3d(25px, 0, 0) !important"
|
|
280
|
+
},
|
|
281
|
+
collapseList: {
|
|
282
|
+
marginTop: "0",
|
|
283
|
+
"& $caret": {
|
|
284
|
+
marginTop: "8px"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
collapseItem: {
|
|
288
|
+
position: "relative",
|
|
289
|
+
display: "block",
|
|
290
|
+
textDecoration: "none",
|
|
291
|
+
margin: "10px 0 0 0",
|
|
292
|
+
padding: "0"
|
|
293
|
+
},
|
|
294
|
+
collapseActive: {
|
|
295
|
+
outline: "none",
|
|
296
|
+
backgroundColor: "rgba(" + hexToRgb(grayColor[17]) + ", 0.2)",
|
|
297
|
+
boxShadow: "none"
|
|
298
|
+
},
|
|
299
|
+
collapseItemLink: {
|
|
300
|
+
transition: "all 300ms linear",
|
|
301
|
+
margin: "0 15px",
|
|
302
|
+
borderRadius: "3px",
|
|
303
|
+
position: "relative",
|
|
304
|
+
display: "block",
|
|
305
|
+
padding: "10px",
|
|
306
|
+
backgroundColor: "transparent",
|
|
307
|
+
...defaultFont,
|
|
308
|
+
width: "auto",
|
|
309
|
+
"&:hover": {
|
|
310
|
+
outline: "none",
|
|
311
|
+
backgroundColor: "rgba(" + hexToRgb(grayColor[17]) + ", 0.2)",
|
|
312
|
+
boxShadow: "none"
|
|
313
|
+
},
|
|
314
|
+
"&,&:hover,&:focus": {
|
|
315
|
+
color: "inherit"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
collapseItemMini: {
|
|
319
|
+
color: "inherit",
|
|
320
|
+
...defaultFont,
|
|
321
|
+
textTransform: "uppercase",
|
|
322
|
+
width: "30px",
|
|
323
|
+
marginRight: "15px",
|
|
324
|
+
textAlign: "center",
|
|
325
|
+
letterSpacing: "1px",
|
|
326
|
+
position: "relative",
|
|
327
|
+
float: "left",
|
|
328
|
+
display: "inherit",
|
|
329
|
+
transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
|
|
330
|
+
fontSize: "14px"
|
|
331
|
+
},
|
|
332
|
+
collapseItemMiniRTL: {
|
|
333
|
+
float: "right",
|
|
334
|
+
marginLeft: "30px",
|
|
335
|
+
marginRight: "1px"
|
|
336
|
+
},
|
|
337
|
+
collapseItemText: {
|
|
338
|
+
color: "inherit",
|
|
339
|
+
...defaultFont,
|
|
340
|
+
margin: "0",
|
|
341
|
+
position: "relative",
|
|
342
|
+
transform: "translateX(0px)",
|
|
343
|
+
opacity: "1",
|
|
344
|
+
whiteSpace: "nowrap",
|
|
345
|
+
display: "block",
|
|
346
|
+
transition: "transform 300ms ease 0s, opacity 300ms ease 0s",
|
|
347
|
+
fontSize: "14px"
|
|
348
|
+
},
|
|
349
|
+
collapseItemTextRTL: {
|
|
350
|
+
textAlign: "right"
|
|
351
|
+
},
|
|
352
|
+
collapseItemTextMiniRTL: {
|
|
353
|
+
transform: "translate3d(25px, 0, 0) !important"
|
|
354
|
+
},
|
|
355
|
+
collapseItemTextMini: {
|
|
356
|
+
transform: "translate3d(-25px, 0, 0)",
|
|
357
|
+
opacity: "0"
|
|
358
|
+
},
|
|
359
|
+
caret: {
|
|
360
|
+
marginTop: "13px",
|
|
361
|
+
position: "absolute",
|
|
362
|
+
right: "18px",
|
|
363
|
+
transition: "all 150ms ease-in",
|
|
364
|
+
display: "inline-block",
|
|
365
|
+
width: "0",
|
|
366
|
+
height: "0",
|
|
367
|
+
marginLeft: "2px",
|
|
368
|
+
verticalAlign: "middle",
|
|
369
|
+
borderTop: "4px solid",
|
|
370
|
+
borderRight: "4px solid transparent",
|
|
371
|
+
borderLeft: "4px solid transparent"
|
|
372
|
+
},
|
|
373
|
+
userCaret: {
|
|
374
|
+
marginTop: "10px"
|
|
375
|
+
},
|
|
376
|
+
caretRTL: {
|
|
377
|
+
left: "11px",
|
|
378
|
+
right: "auto"
|
|
379
|
+
},
|
|
380
|
+
caretActive: {
|
|
381
|
+
transform: "rotate(-360deg)"
|
|
382
|
+
},
|
|
383
|
+
purple: {
|
|
384
|
+
"&,&:hover,&:focus": {
|
|
385
|
+
color: whiteColor,
|
|
386
|
+
backgroundColor: primaryColor[0],
|
|
387
|
+
...primaryBoxShadow
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
blue: {
|
|
391
|
+
"&,&:hover,&:focus": {
|
|
392
|
+
color: whiteColor,
|
|
393
|
+
backgroundColor: infoColor[0],
|
|
394
|
+
boxShadow: "0 12px 20px -10px rgba(" +
|
|
395
|
+
hexToRgb(infoColor[0]) +
|
|
396
|
+
",.28), 0 4px 20px 0 rgba(" +
|
|
397
|
+
hexToRgb(blackColor) +
|
|
398
|
+
",.12), 0 7px 8px -5px rgba(" +
|
|
399
|
+
hexToRgb(infoColor[0]) +
|
|
400
|
+
",.2)"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
green: {
|
|
404
|
+
"&,&:hover,&:focus": {
|
|
405
|
+
color: whiteColor,
|
|
406
|
+
backgroundColor: successColor[0],
|
|
407
|
+
boxShadow: "0 12px 20px -10px rgba(" +
|
|
408
|
+
hexToRgb(successColor[0]) +
|
|
409
|
+
",.28), 0 4px 20px 0 rgba(" +
|
|
410
|
+
hexToRgb(blackColor) +
|
|
411
|
+
",.12), 0 7px 8px -5px rgba(" +
|
|
412
|
+
hexToRgb(successColor[0]) +
|
|
413
|
+
",.2)"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
orange: {
|
|
417
|
+
"&,&:hover,&:focus": {
|
|
418
|
+
color: whiteColor,
|
|
419
|
+
backgroundColor: warningColor[0],
|
|
420
|
+
boxShadow: "0 12px 20px -10px rgba(" +
|
|
421
|
+
hexToRgb(warningColor[0]) +
|
|
422
|
+
",.28), 0 4px 20px 0 rgba(" +
|
|
423
|
+
hexToRgb(blackColor) +
|
|
424
|
+
",.12), 0 7px 8px -5px rgba(" +
|
|
425
|
+
hexToRgb(warningColor[0]) +
|
|
426
|
+
",.2)"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
red: {
|
|
430
|
+
"&,&:hover,&:focus": {
|
|
431
|
+
color: whiteColor,
|
|
432
|
+
backgroundColor: dangerColor[0],
|
|
433
|
+
boxShadow: "0 12px 20px -10px rgba(" +
|
|
434
|
+
hexToRgb(dangerColor[0]) +
|
|
435
|
+
",.28), 0 4px 20px 0 rgba(" +
|
|
436
|
+
hexToRgb(blackColor) +
|
|
437
|
+
",.12), 0 7px 8px -5px rgba(" +
|
|
438
|
+
hexToRgb(dangerColor[0]) +
|
|
439
|
+
",.2)"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
white: {
|
|
443
|
+
"&,&:hover,&:focus": {
|
|
444
|
+
color: grayColor[2],
|
|
445
|
+
backgroundColor: whiteColor,
|
|
446
|
+
boxShadow: "0 4px 20px 0 rgba(" +
|
|
447
|
+
hexToRgb(blackColor) +
|
|
448
|
+
",.14), 0 7px 10px -5px rgba(" +
|
|
449
|
+
hexToRgb(grayColor[2]) +
|
|
450
|
+
",.4)"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
rose: {
|
|
454
|
+
"&,&:hover,&:focus": {
|
|
455
|
+
color: whiteColor,
|
|
456
|
+
backgroundColor: roseColor[0],
|
|
457
|
+
boxShadow: "0 4px 20px 0 rgba(" +
|
|
458
|
+
hexToRgb(blackColor) +
|
|
459
|
+
",.14), 0 7px 10px -5px rgba(" +
|
|
460
|
+
hexToRgb(roseColor[0]) +
|
|
461
|
+
",.4)"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
sidebarWrapper: {
|
|
465
|
+
position: "relative",
|
|
466
|
+
height: "calc(100vh - 75px)",
|
|
467
|
+
overflow: "auto",
|
|
468
|
+
width: "260px",
|
|
469
|
+
zIndex: "4",
|
|
470
|
+
overflowScrolling: "touch",
|
|
471
|
+
transitionProperty: "top, bottom, width",
|
|
472
|
+
transitionDuration: ".2s, .2s, .35s",
|
|
473
|
+
transitionTimingFunction: "linear, linear, ease",
|
|
474
|
+
color: "inherit",
|
|
475
|
+
paddingBottom: "30px"
|
|
476
|
+
},
|
|
477
|
+
sidebarWrapperWithPerfectScrollbar: {
|
|
478
|
+
overflow: "hidden !important"
|
|
479
|
+
},
|
|
480
|
+
user: {
|
|
481
|
+
paddingBottom: "20px",
|
|
482
|
+
margin: "20px auto 0",
|
|
483
|
+
position: "relative",
|
|
484
|
+
"&:after": {
|
|
485
|
+
content: '""',
|
|
486
|
+
position: "absolute",
|
|
487
|
+
bottom: "0",
|
|
488
|
+
right: "15px",
|
|
489
|
+
height: "1px",
|
|
490
|
+
width: "calc(100% - 30px)",
|
|
491
|
+
backgroundColor: "hsla(0,0%,100%,.3)"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
photo: {
|
|
495
|
+
transition: "all 300ms linear",
|
|
496
|
+
width: "34px",
|
|
497
|
+
height: "34px",
|
|
498
|
+
overflow: "hidden",
|
|
499
|
+
float: "left",
|
|
500
|
+
zIndex: "5",
|
|
501
|
+
marginRight: "11px",
|
|
502
|
+
borderRadius: "50%",
|
|
503
|
+
marginLeft: "23px",
|
|
504
|
+
...boxShadow
|
|
505
|
+
},
|
|
506
|
+
photoRTL: {
|
|
507
|
+
float: "right",
|
|
508
|
+
marginLeft: "12px",
|
|
509
|
+
marginRight: "24px"
|
|
510
|
+
},
|
|
511
|
+
avatarImg: {
|
|
512
|
+
width: "100%",
|
|
513
|
+
verticalAlign: "middle",
|
|
514
|
+
border: "0"
|
|
515
|
+
},
|
|
516
|
+
userCollapseButton: {
|
|
517
|
+
margin: "0",
|
|
518
|
+
padding: "6px 15px",
|
|
519
|
+
"&:hover": {
|
|
520
|
+
background: "none"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
userCollapseLinks: {
|
|
524
|
+
marginTop: "-4px"
|
|
525
|
+
}
|
|
526
|
+
});
|
|
527
|
+
|
|
528
|
+
export default sidebarStyle;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultFont,
|
|
3
|
+
primaryColor,
|
|
4
|
+
infoColor,
|
|
5
|
+
successColor,
|
|
6
|
+
warningColor,
|
|
7
|
+
dangerColor,
|
|
8
|
+
grayColor, roseColor
|
|
9
|
+
} from "../rootStyle";
|
|
10
|
+
|
|
11
|
+
const typographyStyle = {
|
|
12
|
+
defaultFontStyle: {
|
|
13
|
+
...defaultFont,
|
|
14
|
+
fontSize: "14px"
|
|
15
|
+
},
|
|
16
|
+
defaultHeaderMargins: {
|
|
17
|
+
marginTop: "20px",
|
|
18
|
+
marginBottom: "10px"
|
|
19
|
+
},
|
|
20
|
+
quote: {
|
|
21
|
+
padding: "10px 20px",
|
|
22
|
+
margin: "0 0 20px",
|
|
23
|
+
fontSize: "17.5px",
|
|
24
|
+
borderLeft: "5px solid" + grayColor[8]
|
|
25
|
+
},
|
|
26
|
+
quoteText: {
|
|
27
|
+
margin: "0 0 10px",
|
|
28
|
+
fontStyle: "italic"
|
|
29
|
+
},
|
|
30
|
+
quoteAuthor: {
|
|
31
|
+
display: "block",
|
|
32
|
+
fontSize: "80%",
|
|
33
|
+
lineHeight: "1.42857143",
|
|
34
|
+
color: grayColor[1]
|
|
35
|
+
},
|
|
36
|
+
mutedText: {
|
|
37
|
+
color: grayColor[1]
|
|
38
|
+
},
|
|
39
|
+
primaryText: {
|
|
40
|
+
color: primaryColor[0]
|
|
41
|
+
},
|
|
42
|
+
infoText: {
|
|
43
|
+
color: roseColor[4]
|
|
44
|
+
},
|
|
45
|
+
linkText: {
|
|
46
|
+
color: infoColor[0]
|
|
47
|
+
},
|
|
48
|
+
successText: {
|
|
49
|
+
color: successColor[0]
|
|
50
|
+
},
|
|
51
|
+
warningText: {
|
|
52
|
+
color: warningColor[0]
|
|
53
|
+
},
|
|
54
|
+
dangerText: {
|
|
55
|
+
color: dangerColor[0]
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export default typographyStyle;
|