Skip to content

Commit

Permalink
Feature/web/sticky tool (Tencent#1244)
Browse files Browse the repository at this point in the history
* feat: 部分样式

* feat: 尝试百分比尺寸

* feat: 完善css

* feat: 样式调整

* fix: 删除wxss文件

* fix: lint

* fix: 改用全局变量

* feat: 修改布局方式

* feat: 暂存尝试联动backtop

* feat: 初始化sticky-tool demo文档

* chore: update description

* fix: lint:fix

* fix: lint:fix

* fix: 颜色修复

* feat: 添加hover动画

* feat: 完善动画

---------

Co-authored-by: yiranwu <yiranwu@tencent.com>
Co-authored-by: yuyang <uyarnchen@gmail.com>
  • Loading branch information
3 people authored and oljc committed May 9, 2023
1 parent c18de95 commit 4d32de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions style/web/components/sticky-tool/_mixin.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
text-align: center;
font-size: @sticky-item-font-size;
color: @sticky-item-text-color;
transition: @sticky-item-bg-color-transition;

&:hover {
cursor: pointer;
Expand Down
1 change: 1 addition & 0 deletions style/web/components/sticky-tool/_var.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
@sticky-item-text-color: @text-color-secondary;
@sticky-item-icon-size: @icon-l;
@sticky-item-icon-color: @text-color-primary;
@sticky-item-bg-color-transition: background-color @anim-duration-base linear;

// sticky-tool type=normal
@sticky-item-size-normal: @comp-size-xxxl;
Expand Down

0 comments on commit 4d32de0

Please sign in to comment.