Dashboard components basic styles (#574)
* Case sensitive renaming * Update `cvat-js` lib. * Add `.env` file * Add basic redux capabilities * Remove `setTimeout` as it was fixes in `cvat-js` * Remove redundant state field * Add header and footer styles * Remove `Affix` It does not recalculete width for some reason * Add basic styles to task cards * Fix empty component * Pagination fixes * Add modal on task deletemain
parent
a159826bf7
commit
3ba80d2e77
@ -1,8 +1,10 @@
|
||||
REACT_APP_VERSION=${npm_package_version}
|
||||
|
||||
REACT_APP_API_PROTOCOL=http
|
||||
REACT_APP_API_HOST=localhost
|
||||
REACT_APP_API_PORT=7000
|
||||
REACT_APP_API_HOST_URL=${REACT_APP_API_PROTOCOL}://${REACT_APP_API_HOST}:${REACT_APP_API_PORT}
|
||||
REACT_APP_API_FULL_URL=${REACT_APP_API_PROTOCOL}://${REACT_APP_API_HOST}:${REACT_APP_API_PORT}/api/v1
|
||||
|
||||
REACT_APP_LOGIN=admin
|
||||
REACT_APP_PASSWORD=admin
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
.layout {
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
.dashboard-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 1024px;
|
||||
padding: 0 50px;
|
||||
height: 64px;
|
||||
background: #001529;
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
.dashboard-header {
|
||||
min-width: 1024px;
|
||||
background: #001529;
|
||||
|
||||
&__logo {
|
||||
height: 64px;
|
||||
|
||||
.logo {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
&__search {
|
||||
text-align: center;
|
||||
|
||||
.search {
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
&__actions {
|
||||
text-align: right;
|
||||
|
||||
.action:not(:nth-child(1)) {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.action {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.logo, .search, .action {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue