Skip to content

Commit

Permalink
feat(CSS): add col-resize to available cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincharity committed Oct 25, 2019
1 parent 2dc796c commit 6ac9980
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions terminus-ui/scss/docs/cursors.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ This is also available as a mixin:
| Value | Meaning |
|---------------|-----------------------------------------|
| `alias` | Indicates an alias or copy will be made |
| `auto` | Let the browser decide |
| `text` | Indicates text controls |
| `pointer` | Indicates interaction |
| `not-allowed` | Indicates no available interaction |
| `col-resize` | Indicates the ability to resize |
| `copy` | Indicates ability to copy |
| `alias` | Indicates an alias or copy will be made |
| `help` | Indicates help is available |
| `not-allowed` | Indicates no available interaction |
| `pointer` | Indicates interaction |
| `text` | Indicates text controls |

Passing an invalid cursor `$type` will throw a Sass compilation warning.
Passing an invalid cursor `$type` will throw a Sass compilation error.
2 changes: 2 additions & 0 deletions terminus-ui/scss/helpers/_cursors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ $g-cursors: (
alias,
/* Let the browser decide */
auto,
/* Indicates ability to resize a piece of the dom; often a table column */
col-resize,
/* Indicates ability to copy */
copy,
/* Reset to the default cursor */
Expand Down

0 comments on commit 6ac9980

Please sign in to comment.