AlexeySafronov
889949eb95
# Conflicts: # packages/asc-web-common/src/components/Layout/index.js # packages/asc-web-common/src/components/Loaders/HistoryRowsLoader/HistoryRowsLoader.js # packages/asc-web-common/src/components/Loaders/HistoryRowsLoader/HistoryRowsLoader.stories.js # packages/asc-web-common/src/components/Loaders/HistoryRowsLoader/README.md # packages/asc-web-common/src/components/Loaders/HistoryRowsLoader/StyledHistoryRowsLoader.js # packages/asc-web-common/src/components/Loaders/HistoryRowsLoader/index.js # packages/asc-web-common/src/components/NavMenu/sub-components/nav-item.js # packages/asc-web-common/src/components/PageLayout/sub-components/section.js # packages/asc-web-common/src/desktop/index.js # products/ASC.Files/Client/package.json # products/ASC.Files/Client/public/index.html # products/ASC.Files/Client/src/App.js # products/ASC.Files/Client/src/components/dialogs/DownloadDialog/DownloadContent.js # products/ASC.Files/Client/src/components/pages/DocEditor/index.js # products/ASC.Files/Client/src/components/pages/Home/index.js # products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Body/VersionRow.js # products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Body/index.js # products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Header/index.js # products/ASC.Files/Client/src/components/pages/VersionHistory/index.js # products/ASC.Files/Client/src/components/panels/AddGroupsPanel/index.js # products/ASC.Files/Client/src/components/panels/AddUsersPanel/index.js # products/ASC.Files/Client/src/components/panels/SharingPanel/SharingRow.js # products/ASC.Files/Client/src/components/panels/SharingPanel/index.js # products/ASC.People/Client/package.json # products/ASC.People/Client/src/components/pages/Profile/Section/Body/ProfileInfo/ProfileInfo.js # products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/updateUserForm.js # products/ASC.People/Client/yarn.lock # web/ASC.Web.Client/package.json # web/ASC.Web.Client/src/helpers/confirmRoute.js # web/ASC.Web.Client/yarn.lock # web/ASC.Web.Common/package.json # web/ASC.Web.Common/src/pages/login/i18n.js # web/ASC.Web.Common/yarn.lock # web/ASC.Web.Components/package.json # web/ASC.Web.Components/yarn.lock # web/ASC.Web.Login/src/LoginContent.jsx # yarn.lock
71 lines
1.3 KiB
JavaScript
71 lines
1.3 KiB
JavaScript
import styled from "styled-components";
|
|
|
|
const StyledRow = styled.div`
|
|
width: 688px;
|
|
height: 69px;
|
|
display: grid;
|
|
grid-template-columns: repeat(11, 1fr);
|
|
grid-template-rows: 18px 18px;
|
|
grid-gap: 8px;
|
|
|
|
grid-template-areas:
|
|
"link date date date date date date . . . options"
|
|
". comment comment comment comment . . . . restore download";
|
|
|
|
justify-items: center;
|
|
align-items: center;
|
|
|
|
@media (max-width: 1024px) {
|
|
height: 67px;
|
|
width: 100%;
|
|
|
|
grid-template-areas:
|
|
"link date date date date date date . . . options"
|
|
". comment comment comment comment . . . . . .";
|
|
.history-loader-restore-btn,
|
|
.history-loader-download-btn {
|
|
display: none;
|
|
}
|
|
|
|
.history-loader-options {
|
|
width: 16px;
|
|
}
|
|
}
|
|
.history-loader-file-link {
|
|
min-width: 54px;
|
|
grid-area: link;
|
|
}
|
|
|
|
.history-loader-file-date {
|
|
grid-area: date;
|
|
}
|
|
|
|
.history-loader-options {
|
|
grid-area: options;
|
|
}
|
|
|
|
.history-loader-comment {
|
|
grid-area: comment;
|
|
}
|
|
|
|
.history-loader-restore-btn {
|
|
grid-area: restore;
|
|
}
|
|
|
|
.history-loader-download-btn {
|
|
grid-area: download;
|
|
}
|
|
|
|
.history-loader-comment,
|
|
.history-loader-file-date {
|
|
margin-left: 16px;
|
|
}
|
|
.history-loader-options,
|
|
.history-loader-restore-btn,
|
|
.history-loader-download-btn {
|
|
justify-self: end;
|
|
}
|
|
`;
|
|
|
|
export default StyledRow;
|