Skip to content

Commit

Permalink
Web: Files: Changed "shared" icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kulak committed Jan 26, 2022
1 parent 0e6c866 commit 926f0c6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
8 changes: 4 additions & 4 deletions products/ASC.Files/Client/src/components/QuickButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ const QuickButtons = ({

const isTile = viewAs === "tile";

const colorSharedButton = shared ? "#3B72A7" : "#a3a9ae";

const iconShare = "/static/images/catalog.share.react.svg";
const iconShare = shared
? "/static/images/file.actions.share.react.svg"
: "/static/images/catalog.share.react.svg";

const iconLock = locked
? "/static/images/file.actions.locked.react.svg"
Expand All @@ -56,7 +56,7 @@ const QuickButtons = ({
className="badge share-button-icon"
size={sizeQuickButton}
onClick={onClickShare}
color={colorSharedButton}
hoverColor="#3B72A7"
/>
)}
{fileExst &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ const StyledSimpleFilesRow = styled(Row)`
}
`}
.share-button-icon:hover {
cursor: pointer;
path {
fill: #3b72a7;
}
}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
.styled-element {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,6 @@ const StyledQuickButtonsContainer = styled.div`
.favorite {
margin-top: 1px;
}
.share-button-icon:hover {
cursor: pointer;
path {
fill: #3b72a7;
}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
`;

const FilesTableRow = (props) => {
Expand Down
3 changes: 3 additions & 0 deletions public/images/file.actions.share.react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 926f0c6

Please sign in to comment.