-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5faffa8
commit ea46466
Showing
7 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
:global(.Grabber) { | ||
.Grabber { | ||
/* This image is a svg circle as a data url. | ||
We tile it for the whole div. */ | ||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle fill='%23E3E7E9' r='1.5' cx='2.5' cy='2.5' /%3E%3C/svg%3E"); | ||
background-repeat: round round; | ||
background-size: 5px 5px; | ||
} | ||
|
||
.ColumnSortHelper { | ||
box-shadow: 0 7px 20px var(--color-shadow); | ||
} | ||
|
||
/* .sort-helper isn't used in <Grabber>. You'll need to set that on a parent being sorted. */ | ||
:global(.ColumnSortHelper .Grabber), | ||
:global(.Grabber:hover) { | ||
.ColumnSortHelper .Grabber, | ||
.Grabber:hover { | ||
/* This image is the same but with a different fill color. */ | ||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle fill='%23C7CFD4' r='1.5' cx='2.5' cy='2.5' /%3E%3C/svg%3E"); | ||
} | ||
|
||
/* This should be applied on document.body during dragging. */ | ||
:global(.grabbing) { | ||
.grabbing { | ||
cursor: grabbing; | ||
} | ||
|
||
:global(.grabbing *) { | ||
.grabbing * { | ||
cursor: grabbing; | ||
} |
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