Skip to content

Commit

Permalink
Merge pull request #12 from viivue/cursors
Browse files Browse the repository at this point in the history
Cursors
  • Loading branch information
phucbm authored Oct 4, 2022
2 parents f16dec2 + dc6327a commit dd95b5d
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
36 changes: 36 additions & 0 deletions css/cursors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* Cursors
* https://stackoverflow.design/product/base/cursors/
*/
/* cursor */
.c-auto {
cursor: auto;
}

.c-default {
cursor: default;
}

.c-pointer {
cursor: pointer;
}

.c-text {
cursor: text;
}

.c-wait {
cursor: wait;
}

.c-move {
cursor: move;
}

.c-not-allowed {
cursor: not-allowed;
}

.c-help {
cursor: help;
}
3 changes: 2 additions & 1 deletion scss/_build.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
@import "overflow";
@import "border-radius";
@import "skeleton";
@import "width-height";
@import "width-height";
@import "cursors";
15 changes: 15 additions & 0 deletions scss/cursors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Cursors
* https://stackoverflow.design/product/base/cursors/
*/
@import "helpers";

$dataset: (
cursor:(
prefix:'c',
value:auto default pointer text wait move not-allowed help
),
);

// print
@include print($dataset);

0 comments on commit dd95b5d

Please sign in to comment.