@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,232 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultFont,
|
|
3
|
+
primaryColor,
|
|
4
|
+
primaryBoxShadow,
|
|
5
|
+
infoColor,
|
|
6
|
+
infoBoxShadow,
|
|
7
|
+
successColor,
|
|
8
|
+
successBoxShadow,
|
|
9
|
+
warningColor,
|
|
10
|
+
warningBoxShadow,
|
|
11
|
+
dangerColor,
|
|
12
|
+
dangerBoxShadow,
|
|
13
|
+
roseColor,
|
|
14
|
+
roseBoxShadow,
|
|
15
|
+
whiteColor,
|
|
16
|
+
blackColor,
|
|
17
|
+
grayColor,
|
|
18
|
+
hexToRgb
|
|
19
|
+
} from "../rootStyle";
|
|
20
|
+
|
|
21
|
+
const customDropdownStyle = theme => ({
|
|
22
|
+
popperClose: {
|
|
23
|
+
pointerEvents: "none",
|
|
24
|
+
display: "none !important"
|
|
25
|
+
},
|
|
26
|
+
popperNav: {
|
|
27
|
+
[theme.breakpoints.down("sm")]: {
|
|
28
|
+
position: "static !important",
|
|
29
|
+
left: "unset !important",
|
|
30
|
+
top: "unset !important",
|
|
31
|
+
transform: "none !important",
|
|
32
|
+
willChange: "unset !important",
|
|
33
|
+
"& > div": {
|
|
34
|
+
boxShadow: "none !important",
|
|
35
|
+
marginLeft: "0rem",
|
|
36
|
+
marginRight: "0rem",
|
|
37
|
+
transition: "none !important",
|
|
38
|
+
marginTop: "0px !important",
|
|
39
|
+
marginBottom: "0px !important",
|
|
40
|
+
padding: "0px !important",
|
|
41
|
+
backgroundColor: "transparent !important",
|
|
42
|
+
"& ul li": {
|
|
43
|
+
color: whiteColor + " !important",
|
|
44
|
+
margin: "10px 15px 0!important",
|
|
45
|
+
padding: "10px 15px !important",
|
|
46
|
+
"&:hover": {
|
|
47
|
+
backgroundColor: "hsla(0,0%,78%,.2)",
|
|
48
|
+
boxShadow: "none"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
manager: {
|
|
55
|
+
"& > div > button:first-child > span:first-child, & > div > a:first-child > span:first-child": {
|
|
56
|
+
width: "100%"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
innerManager: {
|
|
60
|
+
"& > div > button,& > div > a": {
|
|
61
|
+
margin: "0px !important",
|
|
62
|
+
color: "inherit !important",
|
|
63
|
+
padding: "10px 20px !important",
|
|
64
|
+
"& > span:first-child": {
|
|
65
|
+
width: "100%",
|
|
66
|
+
justifyContent: "flex-start"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
target: {
|
|
71
|
+
"& > button:first-child > span:first-child, & > a:first-child > span:first-child": {
|
|
72
|
+
display: "inline-block"
|
|
73
|
+
},
|
|
74
|
+
"& $caret": {
|
|
75
|
+
marginLeft: "0px"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
dropdown: {
|
|
79
|
+
borderRadius: "3px",
|
|
80
|
+
border: "0",
|
|
81
|
+
boxShadow: "0 2px 5px 0 rgba(" + hexToRgb(blackColor) + ", 0.26)",
|
|
82
|
+
top: "100%",
|
|
83
|
+
zIndex: "1000",
|
|
84
|
+
minWidth: "160px",
|
|
85
|
+
padding: "5px 0",
|
|
86
|
+
margin: "2px 0 0",
|
|
87
|
+
fontSize: "14px",
|
|
88
|
+
textAlign: "left",
|
|
89
|
+
listStyle: "none",
|
|
90
|
+
backgroundColor: whiteColor,
|
|
91
|
+
backgroundClip: "padding-box"
|
|
92
|
+
},
|
|
93
|
+
menuList: {
|
|
94
|
+
padding: "0"
|
|
95
|
+
},
|
|
96
|
+
popperResponsive: {
|
|
97
|
+
zIndex: "1200",
|
|
98
|
+
[theme.breakpoints.down("sm")]: {
|
|
99
|
+
zIndex: "1640",
|
|
100
|
+
position: "static",
|
|
101
|
+
float: "none",
|
|
102
|
+
width: "auto",
|
|
103
|
+
marginTop: "0",
|
|
104
|
+
backgroundColor: "transparent",
|
|
105
|
+
border: "0",
|
|
106
|
+
boxShadow: "none",
|
|
107
|
+
color: "black"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
dropdownItem: {
|
|
111
|
+
...defaultFont,
|
|
112
|
+
fontSize: "13px",
|
|
113
|
+
padding: "10px 20px",
|
|
114
|
+
margin: "0 5px",
|
|
115
|
+
borderRadius: "2px",
|
|
116
|
+
position: "relative",
|
|
117
|
+
transition: "all 150ms linear",
|
|
118
|
+
display: "block",
|
|
119
|
+
clear: "both",
|
|
120
|
+
fontWeight: "400",
|
|
121
|
+
height: "100%",
|
|
122
|
+
color: grayColor[7],
|
|
123
|
+
whiteSpace: "nowrap",
|
|
124
|
+
minHeight: "unset"
|
|
125
|
+
},
|
|
126
|
+
darkHover: {
|
|
127
|
+
"&:hover": {
|
|
128
|
+
boxShadow: "0 4px 20px 0px rgba(" +
|
|
129
|
+
hexToRgb(blackColor) +
|
|
130
|
+
", 0.14), 0 7px 10px -5px rgba(" +
|
|
131
|
+
hexToRgb(grayColor[16]) +
|
|
132
|
+
", 0.4)",
|
|
133
|
+
backgroundColor: grayColor[16],
|
|
134
|
+
color: whiteColor
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
primaryHover: {
|
|
138
|
+
"&:hover": {
|
|
139
|
+
backgroundColor: primaryColor[0],
|
|
140
|
+
color: whiteColor,
|
|
141
|
+
...primaryBoxShadow
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
infoHover: {
|
|
145
|
+
"&:hover": {
|
|
146
|
+
backgroundColor: infoColor[0],
|
|
147
|
+
color: whiteColor,
|
|
148
|
+
...infoBoxShadow
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
successHover: {
|
|
152
|
+
"&:hover": {
|
|
153
|
+
backgroundColor: successColor[0],
|
|
154
|
+
color: whiteColor,
|
|
155
|
+
...successBoxShadow
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
warningHover: {
|
|
159
|
+
"&:hover": {
|
|
160
|
+
backgroundColor: warningColor[0],
|
|
161
|
+
color: whiteColor,
|
|
162
|
+
...warningBoxShadow
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
dangerHover: {
|
|
166
|
+
"&:hover": {
|
|
167
|
+
backgroundColor: dangerColor[0],
|
|
168
|
+
color: whiteColor,
|
|
169
|
+
...dangerBoxShadow
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
roseHover: {
|
|
173
|
+
"&:hover": {
|
|
174
|
+
backgroundColor: roseColor[0],
|
|
175
|
+
color: whiteColor,
|
|
176
|
+
...roseBoxShadow
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
dropdownItemRTL: {
|
|
180
|
+
textAlign: "right"
|
|
181
|
+
},
|
|
182
|
+
dropdownDividerItem: {
|
|
183
|
+
margin: "5px 0",
|
|
184
|
+
backgroundColor: "rgba(" + hexToRgb(blackColor) + ", 0.12)",
|
|
185
|
+
height: "1px",
|
|
186
|
+
overflow: "hidden"
|
|
187
|
+
},
|
|
188
|
+
buttonIcon: {
|
|
189
|
+
width: "20px",
|
|
190
|
+
height: "20px"
|
|
191
|
+
},
|
|
192
|
+
caret: {
|
|
193
|
+
transition: "all 150ms ease-in",
|
|
194
|
+
display: "inline-block",
|
|
195
|
+
width: "0",
|
|
196
|
+
height: "0",
|
|
197
|
+
marginLeft: "4px",
|
|
198
|
+
verticalAlign: "middle",
|
|
199
|
+
borderTop: "4px solid",
|
|
200
|
+
borderRight: "4px solid transparent",
|
|
201
|
+
borderLeft: "4px solid transparent"
|
|
202
|
+
},
|
|
203
|
+
caretActive: {
|
|
204
|
+
transform: "rotate(-360deg)"
|
|
205
|
+
},
|
|
206
|
+
caretDropup: {
|
|
207
|
+
transform: "rotate(-360deg)"
|
|
208
|
+
},
|
|
209
|
+
caretRTL: {
|
|
210
|
+
marginRight: "4px"
|
|
211
|
+
},
|
|
212
|
+
dropdownHeader: {
|
|
213
|
+
display: "block",
|
|
214
|
+
padding: "0.1875rem 1.25rem",
|
|
215
|
+
fontSize: "0.75rem",
|
|
216
|
+
lineHeight: "1.428571",
|
|
217
|
+
color: grayColor[1],
|
|
218
|
+
whiteSpace: "nowrap",
|
|
219
|
+
fontWeight: "inherit",
|
|
220
|
+
marginTop: "10px",
|
|
221
|
+
minHeight: "unset",
|
|
222
|
+
"&:hover,&:focus": {
|
|
223
|
+
backgroundColor: "transparent",
|
|
224
|
+
cursor: "auto"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
noLiPadding: {
|
|
228
|
+
padding: "0"
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
export default customDropdownStyle;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import {
|
|
2
|
+
primaryColor,
|
|
3
|
+
dangerColor,
|
|
4
|
+
successColor,
|
|
5
|
+
defaultFont,
|
|
6
|
+
whiteColor,
|
|
7
|
+
grayColor
|
|
8
|
+
} from "../rootStyle";
|
|
9
|
+
|
|
10
|
+
const customInputStyle = {
|
|
11
|
+
disabled: {
|
|
12
|
+
"&:before": {
|
|
13
|
+
borderColor: "transparent !important"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
underline: {
|
|
17
|
+
"&:hover:not($disabled):before,&:before": {
|
|
18
|
+
borderColor: grayColor[4] + "!important",
|
|
19
|
+
borderWidth: "1px !important"
|
|
20
|
+
},
|
|
21
|
+
"&:after": {
|
|
22
|
+
borderColor: primaryColor[0]
|
|
23
|
+
},
|
|
24
|
+
"& + p": {
|
|
25
|
+
fontWeight: "300"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
underlineError: {
|
|
29
|
+
"&:after": {
|
|
30
|
+
borderColor: dangerColor[0]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
underlineSuccess: {
|
|
34
|
+
"&:after": {
|
|
35
|
+
borderColor: successColor[0]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
labelRoot: {
|
|
39
|
+
...defaultFont,
|
|
40
|
+
color: grayColor[3] + " !important",
|
|
41
|
+
fontWeight: "400",
|
|
42
|
+
fontSize: "14px",
|
|
43
|
+
lineHeight: "1.42857",
|
|
44
|
+
top: "10px",
|
|
45
|
+
letterSpacing: "unset",
|
|
46
|
+
"& + $underline": {
|
|
47
|
+
marginTop: "0px"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
labelRootError: {
|
|
51
|
+
color: dangerColor[0] + " !important"
|
|
52
|
+
},
|
|
53
|
+
labelRootSuccess: {
|
|
54
|
+
color: successColor[0] + " !important"
|
|
55
|
+
},
|
|
56
|
+
formControl: {
|
|
57
|
+
margin: "0 0 17px 0",
|
|
58
|
+
paddingTop: "27px",
|
|
59
|
+
position: "relative",
|
|
60
|
+
verticalAlign: "unset",
|
|
61
|
+
"& svg,& .fab,& .far,& .fal,& .fas,& .material-icons": {
|
|
62
|
+
color: grayColor[14]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
whiteUnderline: {
|
|
66
|
+
"&:hover:not($disabled):before,&:before": {
|
|
67
|
+
backgroundColor: whiteColor
|
|
68
|
+
},
|
|
69
|
+
"&:after": {
|
|
70
|
+
backgroundColor: whiteColor
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
input: {
|
|
74
|
+
color: grayColor[14],
|
|
75
|
+
height: "unset",
|
|
76
|
+
"&,&::placeholder": {
|
|
77
|
+
fontSize: "14px",
|
|
78
|
+
fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
|
|
79
|
+
fontWeight: "400",
|
|
80
|
+
lineHeight: "1.42857",
|
|
81
|
+
opacity: "1"
|
|
82
|
+
},
|
|
83
|
+
"&::placeholder": {
|
|
84
|
+
color: grayColor[3]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
whiteInput: {
|
|
88
|
+
"&,&::placeholder": {
|
|
89
|
+
color: whiteColor,
|
|
90
|
+
opacity: "1"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export default customInputStyle;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import {
|
|
2
|
+
primaryColor,
|
|
3
|
+
whiteColor,
|
|
4
|
+
primaryBoxShadow,
|
|
5
|
+
defaultFont,
|
|
6
|
+
blackColor,
|
|
7
|
+
grayColor,
|
|
8
|
+
hexToRgb
|
|
9
|
+
} from "../rootStyle";
|
|
10
|
+
|
|
11
|
+
const dropdownStyle = theme => ({
|
|
12
|
+
buttonLink: {
|
|
13
|
+
[theme.breakpoints.down("md")]: {
|
|
14
|
+
display: "flex",
|
|
15
|
+
marginLeft: "30px",
|
|
16
|
+
width: "auto"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
links: {
|
|
20
|
+
width: "20px",
|
|
21
|
+
height: "20px",
|
|
22
|
+
zIndex: "4",
|
|
23
|
+
[theme.breakpoints.down("md")]: {
|
|
24
|
+
display: "block",
|
|
25
|
+
width: "30px",
|
|
26
|
+
height: "30px",
|
|
27
|
+
color: grayColor[9],
|
|
28
|
+
marginRight: "15px"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
linkText: {
|
|
32
|
+
zIndex: "4",
|
|
33
|
+
...defaultFont,
|
|
34
|
+
fontSize: "14px"
|
|
35
|
+
},
|
|
36
|
+
popperClose: {
|
|
37
|
+
pointerEvents: "none"
|
|
38
|
+
},
|
|
39
|
+
popperResponsive: {
|
|
40
|
+
[theme.breakpoints.down("md")]: {
|
|
41
|
+
zIndex: "1640",
|
|
42
|
+
position: "static",
|
|
43
|
+
float: "none",
|
|
44
|
+
width: "auto",
|
|
45
|
+
marginTop: "0",
|
|
46
|
+
backgroundColor: "transparent",
|
|
47
|
+
border: "0",
|
|
48
|
+
WebkitBoxShadow: "none",
|
|
49
|
+
boxShadow: "none",
|
|
50
|
+
color: "black"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
popperNav: {
|
|
54
|
+
[theme.breakpoints.down("sm")]: {
|
|
55
|
+
position: "static !important",
|
|
56
|
+
left: "unset !important",
|
|
57
|
+
top: "unset !important",
|
|
58
|
+
transform: "none !important",
|
|
59
|
+
willChange: "unset !important",
|
|
60
|
+
"& > div": {
|
|
61
|
+
boxShadow: "none !important",
|
|
62
|
+
marginLeft: "0rem",
|
|
63
|
+
marginRight: "0rem",
|
|
64
|
+
transition: "none !important",
|
|
65
|
+
marginTop: "0px !important",
|
|
66
|
+
marginBottom: "0px !important",
|
|
67
|
+
padding: "0px !important",
|
|
68
|
+
backgroundColor: "transparent !important",
|
|
69
|
+
"& ul li": {
|
|
70
|
+
color: whiteColor + " !important",
|
|
71
|
+
margin: "10px 15px 0!important",
|
|
72
|
+
padding: "10px 15px !important",
|
|
73
|
+
"&:hover": {
|
|
74
|
+
backgroundColor: "hsla(0,0%,78%,.2)",
|
|
75
|
+
boxShadow: "none"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
dropdown: {
|
|
82
|
+
borderRadius: "3px",
|
|
83
|
+
border: "0",
|
|
84
|
+
boxShadow: "0 2px 5px 0 rgba(" + hexToRgb(blackColor) + ", 0.26)",
|
|
85
|
+
top: "100%",
|
|
86
|
+
zIndex: "1000",
|
|
87
|
+
minWidth: "160px",
|
|
88
|
+
padding: "5px 0",
|
|
89
|
+
margin: "2px 0 0",
|
|
90
|
+
fontSize: "14px",
|
|
91
|
+
textAlign: "left",
|
|
92
|
+
listStyle: "none",
|
|
93
|
+
backgroundColor: whiteColor,
|
|
94
|
+
WebkitBackgroundClip: "padding-box",
|
|
95
|
+
backgroundClip: "padding-box"
|
|
96
|
+
},
|
|
97
|
+
dropdownItem: {
|
|
98
|
+
...defaultFont,
|
|
99
|
+
fontSize: "13px",
|
|
100
|
+
padding: "10px 20px",
|
|
101
|
+
margin: "0 5px",
|
|
102
|
+
borderRadius: "2px",
|
|
103
|
+
WebkitTransition: "all 150ms linear",
|
|
104
|
+
MozTransition: "all 150ms linear",
|
|
105
|
+
OTransition: "all 150ms linear",
|
|
106
|
+
MsTransition: "all 150ms linear",
|
|
107
|
+
transition: "all 150ms linear",
|
|
108
|
+
display: "block",
|
|
109
|
+
clear: "both",
|
|
110
|
+
fontWeight: "400",
|
|
111
|
+
lineHeight: "1.42857143",
|
|
112
|
+
color: grayColor[8],
|
|
113
|
+
whiteSpace: "nowrap",
|
|
114
|
+
height: "unset",
|
|
115
|
+
minHeight: "unset",
|
|
116
|
+
"&:hover": {
|
|
117
|
+
backgroundColor: primaryColor[0],
|
|
118
|
+
color: whiteColor,
|
|
119
|
+
...primaryBoxShadow
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
export default dropdownStyle;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultFont,
|
|
3
|
+
container,
|
|
4
|
+
containerFluid,
|
|
5
|
+
primaryColor,
|
|
6
|
+
whiteColor,
|
|
7
|
+
grayColor
|
|
8
|
+
} from "../rootStyle";
|
|
9
|
+
|
|
10
|
+
const footerStyle = {
|
|
11
|
+
block: {},
|
|
12
|
+
left: {
|
|
13
|
+
float: "left !important"
|
|
14
|
+
},
|
|
15
|
+
right: {
|
|
16
|
+
margin: "0",
|
|
17
|
+
fontSize: "14px",
|
|
18
|
+
float: "right !important",
|
|
19
|
+
padding: "15px",
|
|
20
|
+
paddingRight: "70px"
|
|
21
|
+
},
|
|
22
|
+
footer: {
|
|
23
|
+
bottom: "0",
|
|
24
|
+
padding: "15px 0",
|
|
25
|
+
...defaultFont,
|
|
26
|
+
zIndex: 4
|
|
27
|
+
},
|
|
28
|
+
wrapper: {
|
|
29
|
+
display: "inline-block",
|
|
30
|
+
textAlign: '-webkit-center',
|
|
31
|
+
width: '100%'
|
|
32
|
+
},
|
|
33
|
+
container: {
|
|
34
|
+
zIndex: 3,
|
|
35
|
+
...container,
|
|
36
|
+
position: "relative"
|
|
37
|
+
},
|
|
38
|
+
containerFluid: {
|
|
39
|
+
zIndex: 3,
|
|
40
|
+
...containerFluid,
|
|
41
|
+
position: "relative"
|
|
42
|
+
},
|
|
43
|
+
a: {
|
|
44
|
+
color: primaryColor[0],
|
|
45
|
+
textDecoration: "none",
|
|
46
|
+
backgroundColor: "transparent"
|
|
47
|
+
},
|
|
48
|
+
list: {
|
|
49
|
+
marginBottom: "0",
|
|
50
|
+
padding: "0",
|
|
51
|
+
marginTop: "0"
|
|
52
|
+
},
|
|
53
|
+
inlineBlock: {
|
|
54
|
+
display: "inline-block",
|
|
55
|
+
padding: "0",
|
|
56
|
+
width: "auto"
|
|
57
|
+
},
|
|
58
|
+
whiteColor: {
|
|
59
|
+
"&,&:hover,&:focus": {
|
|
60
|
+
color: whiteColor
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
export default footerStyle;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultFont,
|
|
3
|
+
dangerColor,
|
|
4
|
+
whiteColor
|
|
5
|
+
} from "../rootStyle";
|
|
6
|
+
|
|
7
|
+
import dropdownStyle from "./dropdownStyle";
|
|
8
|
+
|
|
9
|
+
const headerLinksStyle = theme => ({
|
|
10
|
+
...dropdownStyle(theme),
|
|
11
|
+
search: {
|
|
12
|
+
"& > div": {
|
|
13
|
+
marginTop: "0"
|
|
14
|
+
},
|
|
15
|
+
[theme.breakpoints.down("sm")]: {
|
|
16
|
+
margin: "10px 15px !important",
|
|
17
|
+
float: "none !important",
|
|
18
|
+
paddingTop: "1px",
|
|
19
|
+
paddingBottom: "1px",
|
|
20
|
+
padding: "0!important",
|
|
21
|
+
width: "60%",
|
|
22
|
+
marginTop: "40px",
|
|
23
|
+
"& input": {
|
|
24
|
+
color: whiteColor
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
linkText: {
|
|
29
|
+
zIndex: "4",
|
|
30
|
+
...defaultFont,
|
|
31
|
+
fontSize: "14px",
|
|
32
|
+
margin: "0px"
|
|
33
|
+
},
|
|
34
|
+
buttonLink: {
|
|
35
|
+
[theme.breakpoints.down("sm")]: {
|
|
36
|
+
display: "flex",
|
|
37
|
+
margin: "10px 15px 0",
|
|
38
|
+
width: "-webkit-fill-available",
|
|
39
|
+
"& svg": {
|
|
40
|
+
width: "24px",
|
|
41
|
+
height: "30px",
|
|
42
|
+
marginRight: "15px",
|
|
43
|
+
marginLeft: "-15px"
|
|
44
|
+
},
|
|
45
|
+
"& .fab,& .fas,& .far,& .fal,& .material-icons": {
|
|
46
|
+
fontSize: "24px",
|
|
47
|
+
lineHeight: "30px",
|
|
48
|
+
width: "24px",
|
|
49
|
+
height: "30px",
|
|
50
|
+
marginRight: "15px",
|
|
51
|
+
marginLeft: "-15px"
|
|
52
|
+
},
|
|
53
|
+
"& > span": {
|
|
54
|
+
justifyContent: "flex-start",
|
|
55
|
+
width: "100%"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
searchButton: {
|
|
60
|
+
[theme.breakpoints.down("sm")]: {
|
|
61
|
+
top: "-50px !important",
|
|
62
|
+
marginRight: "22px",
|
|
63
|
+
float: "right"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
margin: {
|
|
67
|
+
zIndex: "4",
|
|
68
|
+
margin: "0"
|
|
69
|
+
},
|
|
70
|
+
searchIcon: {
|
|
71
|
+
width: "17px",
|
|
72
|
+
zIndex: "4"
|
|
73
|
+
},
|
|
74
|
+
notifications: {
|
|
75
|
+
zIndex: "4",
|
|
76
|
+
[theme.breakpoints.up("md")]: {
|
|
77
|
+
position: "absolute",
|
|
78
|
+
top: "2px",
|
|
79
|
+
border: "1px solid " + whiteColor,
|
|
80
|
+
right: "4px",
|
|
81
|
+
fontSize: "9px",
|
|
82
|
+
background: dangerColor[0],
|
|
83
|
+
color: whiteColor,
|
|
84
|
+
minWidth: "16px",
|
|
85
|
+
height: "16px",
|
|
86
|
+
borderRadius: "10px",
|
|
87
|
+
textAlign: "center",
|
|
88
|
+
lineHeight: "16px",
|
|
89
|
+
verticalAlign: "middle",
|
|
90
|
+
display: "block"
|
|
91
|
+
},
|
|
92
|
+
[theme.breakpoints.down("sm")]: {
|
|
93
|
+
...defaultFont,
|
|
94
|
+
fontSize: "14px",
|
|
95
|
+
marginRight: "8px"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
manager: {
|
|
99
|
+
[theme.breakpoints.down("sm")]: {
|
|
100
|
+
width: "100%"
|
|
101
|
+
},
|
|
102
|
+
display: "inline-block"
|
|
103
|
+
},
|
|
104
|
+
searchWrapper: {
|
|
105
|
+
[theme.breakpoints.down("sm")]: {
|
|
106
|
+
width: "-webkit-fill-available",
|
|
107
|
+
margin: "10px 15px 0"
|
|
108
|
+
},
|
|
109
|
+
display: "inline-block"
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
export default headerLinksStyle;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
container,
|
|
3
|
+
defaultFont,
|
|
4
|
+
primaryColor,
|
|
5
|
+
defaultBoxShadow,
|
|
6
|
+
infoColor,
|
|
7
|
+
successColor,
|
|
8
|
+
warningColor,
|
|
9
|
+
dangerColor,
|
|
10
|
+
whiteColor,
|
|
11
|
+
grayColor
|
|
12
|
+
} from "../rootStyle";
|
|
13
|
+
|
|
14
|
+
const headerStyle = () => ({
|
|
15
|
+
appBar: {
|
|
16
|
+
backgroundColor: "transparent",
|
|
17
|
+
boxShadow: "none",
|
|
18
|
+
borderBottom: "0",
|
|
19
|
+
marginBottom: "0",
|
|
20
|
+
position: "absolute",
|
|
21
|
+
width: "100%",
|
|
22
|
+
paddingTop: "10px",
|
|
23
|
+
zIndex: "1029",
|
|
24
|
+
color: grayColor[7],
|
|
25
|
+
border: "0",
|
|
26
|
+
borderRadius: "3px",
|
|
27
|
+
padding: "10px 0",
|
|
28
|
+
transition: "all 150ms ease 0s",
|
|
29
|
+
minHeight: "50px",
|
|
30
|
+
display: "block"
|
|
31
|
+
},
|
|
32
|
+
container: {
|
|
33
|
+
...container,
|
|
34
|
+
minHeight: "50px"
|
|
35
|
+
},
|
|
36
|
+
flex: {
|
|
37
|
+
flex: 1
|
|
38
|
+
},
|
|
39
|
+
title: {
|
|
40
|
+
...defaultFont,
|
|
41
|
+
letterSpacing: "unset",
|
|
42
|
+
lineHeight: "30px",
|
|
43
|
+
fontSize: "18px",
|
|
44
|
+
borderRadius: "3px",
|
|
45
|
+
textTransform: "none",
|
|
46
|
+
color: "inherit",
|
|
47
|
+
margin: "0",
|
|
48
|
+
"&:hover,&:focus": {
|
|
49
|
+
background: "transparent"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
appResponsive: {
|
|
53
|
+
top: "8px"
|
|
54
|
+
},
|
|
55
|
+
primary: {
|
|
56
|
+
backgroundColor: primaryColor[0],
|
|
57
|
+
color: whiteColor,
|
|
58
|
+
...defaultBoxShadow
|
|
59
|
+
},
|
|
60
|
+
info: {
|
|
61
|
+
backgroundColor: infoColor[0],
|
|
62
|
+
color: whiteColor,
|
|
63
|
+
...defaultBoxShadow
|
|
64
|
+
},
|
|
65
|
+
success: {
|
|
66
|
+
backgroundColor: successColor[0],
|
|
67
|
+
color: whiteColor,
|
|
68
|
+
...defaultBoxShadow
|
|
69
|
+
},
|
|
70
|
+
warning: {
|
|
71
|
+
backgroundColor: warningColor[0],
|
|
72
|
+
color: whiteColor,
|
|
73
|
+
...defaultBoxShadow
|
|
74
|
+
},
|
|
75
|
+
danger: {
|
|
76
|
+
backgroundColor: dangerColor[0],
|
|
77
|
+
color: whiteColor,
|
|
78
|
+
...defaultBoxShadow
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export default headerStyle;
|