Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
bbcc070e
T
tabler
项目概览
知鸟1号
/
tabler
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
bbcc070e
编写于
12月 02, 2021
作者:
C
Curtis Conard
提交者:
GitHub
12月 02, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add more cursors (#947)
上级
a9e1336c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
49 addition
and
4 deletion
+49
-4
src/pages/_docs/cursors.md
src/pages/_docs/cursors.md
+39
-3
src/scss/_utilities.scss
src/scss/_utilities.scss
+10
-1
未找到文件。
src/pages/_docs/cursors.md
浏览文件 @
bbcc070e
...
...
@@ -14,6 +14,15 @@ Use one of the available cursor utilities depending on the action you want to in
-
`.cursor-not-allowed`
- a cursor which shows that a user is not allowed to perform an action on an element
-
`.cursor-zoom-in`
- a cursor which shows that a user can zoom in
-
`.cursor-zoom-out`
- a cursor which shows that a user can zoom out
-
`.cursor-default`
- the default cursor
-
`.cursor-none`
- no cursor
-
`.cursor-help`
- a cursor which shows that help information is available
-
`.cursor-progress`
- a cursor which shows that an action is in progress
-
`.cursor-wait`
- a cursor which shows that a user cannot interact with the element because it is busy
-
`.cursor-text`
- a cursor which shows that a user can type
-
`.cursor-v-text`
- a cursor which shows that a user can type in a vertical text input
-
`.cursor-grab`
- a cursor which shows that a user can grab an element
-
`.cursor-grabbing`
- a cursor which shows that a user is grabbing an element
{% capture code %}
<div
class=
"row text-center"
>
...
...
@@ -26,15 +35,42 @@ Use one of the available cursor utilities depending on the action you want to in
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-move bg-light py-3"
>
Cursor move
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"col-4
mb-3
"
>
<div
class=
"cursor-not-allowed bg-light py-3"
>
Cursor not allowed
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"col-4
mb-3
"
>
<div
class=
"cursor-zoom-in bg-light py-3"
>
Cursor zoom in
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"col-4
mb-3
"
>
<div
class=
"cursor-zoom-out bg-light py-3"
>
Cursor zoom out
</div>
</div>
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-default bg-light py-3"
>
Cursor default
</div>
</div>
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-none bg-light py-3"
>
Cursor none
</div>
</div>
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-help bg-light py-3"
>
Cursor help
</div>
</div>
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-progress bg-light py-3"
>
Cursor progress
</div>
</div>
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-wait bg-light py-3"
>
Cursor wait
</div>
</div>
<div
class=
"col-4 mb-3"
>
<div
class=
"cursor-text bg-light py-3"
>
Cursor text
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"cursor-v-text bg-light py-3"
>
Cursor vertical text
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"cursor-grab bg-light py-3"
>
Cursor grab
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"cursor-grabbing bg-light py-3"
>
Cursor grabbing
</div>
</div>
</div>
{% endcapture %}
{% include example.html code=code %}
src/scss/_utilities.scss
浏览文件 @
bbcc070e
...
...
@@ -37,7 +37,16 @@ $utilities: (
move
:
move
,
not
-
allowed
:
not
-
allowed
,
zoom-in
:
zoom-in
,
zoom-out
:
zoom-out
zoom-out
:
zoom-out
,
default
:
default
,
none
:
none
,
help
:
help
,
progress
:
progress
,
wait
:
wait
,
text
:
text
,
v-text
:
vertical-text
,
grab
:
grab
,
grabbing
:
grabbing
,
)
)
,
"font-size"
:
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录