-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web: Files: Removed the jump to the beginning of the list when the re…
…covery process is over.
- Loading branch information
1 parent
033b958
commit 4160ddc
Showing
4 changed files
with
122 additions
and
89 deletions.
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
products/ASC.Files/Client/src/pages/VersionHistory/Section/Body/StyledVersionList.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
import styled from "styled-components"; | ||
|
||
const StyledVersionList = styled.div` | ||
.row_context-menu-wrapper { | ||
.expandButton { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
touch-action: none; | ||
pointer-events: none; | ||
`} | ||
svg { | ||
path { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
fill: #d0d5da; | ||
`}; | ||
} | ||
} | ||
} | ||
} | ||
.row_content { | ||
.version_link, | ||
.version-link-file, | ||
.version_content-length, | ||
.version_link-action, | ||
.row_context-menu-wrapper, | ||
.version_text { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
color: #d0d5da; | ||
touch-action: none; | ||
pointer-events: none; | ||
`} | ||
} | ||
.versioned, .not-versioned { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
touch-action: none; | ||
pointer-events: none; | ||
`} | ||
} | ||
.versioned { | ||
svg { | ||
path { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
fill: #d0d5da; | ||
`}; | ||
} | ||
} | ||
} | ||
.not-versioned{ | ||
svg { | ||
path { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
stroke: #d0d5da; | ||
`}; | ||
} | ||
} | ||
} | ||
} | ||
.icon-link { | ||
${(props) => | ||
props.isRestoreProcess && | ||
` | ||
touch-action: none; | ||
pointer-events: none; | ||
`} | ||
svg { | ||
path { | ||
${(props) => props.isRestoreProcess && " fill: #d0d5da"} | ||
} | ||
} | ||
} | ||
} | ||
`; | ||
|
||
export default StyledVersionList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters