@aloudata/aloudata-design 2.0.0-beta.1 → 2.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/Avatar/component/Avatar/index.js +9 -7
  2. package/dist/Avatar/style/index.less +8 -1
  3. package/dist/Button/style/variables.less +8 -5
  4. package/dist/Checkbox/index.js +10 -4
  5. package/dist/Checkbox/style/index.less +12 -0
  6. package/dist/Checkbox/type.d.ts +11 -0
  7. package/dist/ColorPicker/style/index.less +1 -2
  8. package/dist/DataPreviewTable/constant.d.ts +1 -1
  9. package/dist/DataPreviewTable/constant.js +1 -1
  10. package/dist/DataPreviewTable/style/index.less +11 -11
  11. package/dist/Dropdown/style/index.less +3 -2
  12. package/dist/Empty/image/Search.js +2 -2
  13. package/dist/Empty/image/SearchSmall.js +2 -2
  14. package/dist/Empty/index.js +2 -1
  15. package/dist/Empty/style/index.less +2 -1
  16. package/dist/Form/style/index.less +27 -6
  17. package/dist/Icon/components/CloseCircleLightLine.d.ts +11 -0
  18. package/dist/Icon/components/CloseCircleLightLine.js +35 -0
  19. package/dist/Icon/components/User.d.ts +11 -0
  20. package/dist/Icon/components/User.js +41 -0
  21. package/dist/Icon/components/UserGroup.d.ts +11 -0
  22. package/dist/Icon/components/UserGroup.js +39 -0
  23. package/dist/Icon/index.d.ts +3 -0
  24. package/dist/Icon/index.js +4 -1
  25. package/dist/Icon/svg/Close-Circle-light-line.svg +5 -0
  26. package/dist/Icon/svg/check-circle-light-line.svg +1 -1
  27. package/dist/Icon/svg/information-circle-light-line.svg +1 -1
  28. package/dist/Icon/svg/user.svg +4 -0
  29. package/dist/Icon/svg/userGroup.svg +7 -0
  30. package/dist/InputNumber/style/index.less +12 -9
  31. package/dist/MemberPicker/components/MultipleOption.js +4 -3
  32. package/dist/MemberPicker/components/NickLabel.d.ts +2 -0
  33. package/dist/MemberPicker/components/NickLabel.js +8 -2
  34. package/dist/MemberPicker/components/Panel.js +2 -2
  35. package/dist/MemberPicker/components/SelectedMemberTags.js +4 -1
  36. package/dist/MemberPicker/components/SingleOption.js +1 -0
  37. package/dist/MemberPicker/index.js +2 -0
  38. package/dist/MemberPicker/interface.d.ts +1 -0
  39. package/dist/MemberPicker/style/index.less +36 -28
  40. package/dist/Menu/style/index.less +1 -2
  41. package/dist/Navigator/style/index.less +1 -1
  42. package/dist/Pagination/index.d.ts +1 -1
  43. package/dist/Pagination/index.js +7 -1
  44. package/dist/Pagination/types.d.ts +1 -0
  45. package/dist/Popconfirm/index.js +2 -2
  46. package/dist/Popconfirm/style/index.less +49 -13
  47. package/dist/ScrollArea/index.d.ts +1 -0
  48. package/dist/ScrollArea/index.js +5 -2
  49. package/dist/ScrollArea/style/index.less +5 -0
  50. package/dist/Select/index.js +3 -1
  51. package/dist/Select/style/index.less +21 -9
  52. package/dist/Select/style/layout.less +7 -5
  53. package/dist/Select/style/selectDropdown.less +1 -2
  54. package/dist/Select/style/size.less +239 -20
  55. package/dist/Select/style/variables.less +6 -3
  56. package/dist/Skeleton/style/index.less +84 -4
  57. package/dist/Spin/index.js +2 -3
  58. package/dist/Spin/style/index.less +8 -0
  59. package/dist/Table/components/Pagination/index.js +3 -1
  60. package/dist/Table/index.js +18 -3
  61. package/dist/Table/style/index.less +12 -6
  62. package/dist/Table/types.d.ts +1 -0
  63. package/dist/Tabs/index.d.ts +5 -0
  64. package/dist/Tabs/index.js +5 -2
  65. package/dist/Tabs/style/index.less +9 -2
  66. package/dist/TextLink/index.js +3 -2
  67. package/dist/TextLink/style/index.less +5 -0
  68. package/dist/TextLink/style/type.less +2 -2
  69. package/dist/Tree/DirectoryTree.js +0 -12
  70. package/dist/Tree/Tree.js +2 -2
  71. package/dist/Tree/demo/directoryTree/index.d.ts +3 -0
  72. package/dist/Tree/demo/directoryTree/index.js +44 -0
  73. package/dist/Tree/style/index.less +31 -12
  74. package/dist/Tree/style/mixin.less +3 -5
  75. package/dist/Tree/style/reset.less +15 -0
  76. package/dist/ald.min.css +1 -1
  77. package/dist/notification/demo/footer.d.ts +3 -0
  78. package/dist/notification/demo/footer.js +44 -0
  79. package/dist/notification/index.js +77 -48
  80. package/dist/notification/style/index.less +49 -11
  81. package/dist/style/themes/default/index.less +1 -1
  82. package/package.json +1 -1
@@ -13,6 +13,7 @@ export interface ITableProps<TDataItem extends object> {
13
13
  pagination?: IPaginationProps;
14
14
  empty?: React.ReactNode;
15
15
  rowClassName?: (record: TDataItem, index: number) => string;
16
+ onRowClick?: (record: TDataItem, index: number) => void;
16
17
  }
17
18
  export interface ITableRef {
18
19
  scrollToFirstRow: () => void;
@@ -59,6 +59,11 @@ export interface ITabsProps extends Omit<TabsProps, 'size'> {
59
59
  * @default false
60
60
  */
61
61
  compact?: boolean;
62
+ /**
63
+ * @description tabs和content之间是否包含分割线
64
+ * @default false
65
+ */
66
+ hasDividing?: boolean;
62
67
  }
63
68
  declare function Tabs(props: ITabsProps): React.JSX.Element;
64
69
  declare namespace Tabs {
@@ -1,5 +1,5 @@
1
1
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- var _excluded = ["size", "className", "popupClassName", "adaptHeight", "style", "monospace", "tabPosition", "padding", "compact"];
2
+ var _excluded = ["size", "className", "popupClassName", "adaptHeight", "style", "monospace", "tabPosition", "padding", "compact", "hasDividing"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
5
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -27,6 +27,8 @@ export default function Tabs(props) {
27
27
  _props$padding = props.padding,
28
28
  padding = _props$padding === void 0 ? false : _props$padding,
29
29
  compact = props.compact,
30
+ _props$hasDividing = props.hasDividing,
31
+ hasDividing = _props$hasDividing === void 0 ? true : _props$hasDividing,
30
32
  otherProps = _objectWithoutProperties(props, _excluded);
31
33
  var headerBackgroundColor = props.headerBackgroundColor;
32
34
  var tabsProps = _objectSpread({}, otherProps);
@@ -66,7 +68,8 @@ export default function Tabs(props) {
66
68
  'ald-tabs-default': size !== 'small',
67
69
  'ald-tabs-monospace': _monospace,
68
70
  'ald-tabs-padding': !!padding,
69
- 'ald-tabs-compact': !!compact
71
+ 'ald-tabs-compact': !!compact,
72
+ 'ald-tabs-no-dividing': !hasDividing
70
73
  })
71
74
  }, tabsProps));
72
75
  }
@@ -53,8 +53,7 @@
53
53
  .ant-tabs-ink-bar {
54
54
  height: @tabs-ink-link-bar-height;
55
55
  background: @tab-ink-link-bar-background;
56
- border-top-left-radius: 2px;
57
- border-top-right-radius: 2px;
56
+ border-radius: 2px;
58
57
  }
59
58
 
60
59
  /* small size */
@@ -62,6 +61,7 @@
62
61
  .ant-tabs-tab {
63
62
  font-size: @tabs-font-size-small;
64
63
  line-height: @tabs-line-height-small;
64
+ height: 40px;
65
65
  }
66
66
 
67
67
  .ant-tabs-ink-bar {
@@ -79,6 +79,7 @@
79
79
  .ant-tabs-tab {
80
80
  font-size: @tabs-font-size;
81
81
  line-height: @tabs-line-height;
82
+ height: 44px;
82
83
  }
83
84
 
84
85
  .ald-tabs-more-icon {
@@ -217,3 +218,9 @@
217
218
  padding: 0 var(--tabs-padding) var(--tabs-padding);
218
219
  }
219
220
  }
221
+
222
+ .ald-tabs-no-dividing {
223
+ &.ant-tabs-top > .ant-tabs-nav::before {
224
+ border-bottom: 0;
225
+ }
226
+ }
@@ -7,7 +7,8 @@ import React from 'react';
7
7
  function TextLink(props) {
8
8
  var _classNames;
9
9
  var propsSize = props.size,
10
- type = props.type,
10
+ _props$type = props.type,
11
+ type = _props$type === void 0 ? 'primary' : _props$type,
11
12
  underline = props.underline,
12
13
  disabled = props.disabled,
13
14
  _props$icon = props.icon,
@@ -18,7 +19,7 @@ function TextLink(props) {
18
19
  var size = propsSize || 'middle';
19
20
  var icon = underline ? null : propsIcon;
20
21
  return /*#__PURE__*/React.createElement("span", {
21
- className: classNames('ald-text-link', className, (_classNames = {}, _defineProperty(_classNames, "ald-text-link-".concat(size), size), _defineProperty(_classNames, "ald-text-link-".concat(type), type), _defineProperty(_classNames, "ald-text-link-".concat(type, "-disabled"), disabled), _defineProperty(_classNames, "ald-text-link-show-underline", underline), _classNames)),
22
+ className: classNames('ald-text-link', className, (_classNames = {}, _defineProperty(_classNames, "ald-text-link-".concat(size), size), _defineProperty(_classNames, "ald-text-link-".concat(type), type), _defineProperty(_classNames, "ald-text-link-disabled", disabled), _defineProperty(_classNames, "ald-text-link-show-underline", underline), _classNames)),
22
23
  onClick: onClick
23
24
  }, icon, children);
24
25
  }
@@ -6,4 +6,9 @@
6
6
  display: inline-flex;
7
7
  align-items: center;
8
8
  cursor: pointer;
9
+
10
+ &.ald-text-link-disabled {
11
+ pointer-events: none;
12
+ cursor: default;
13
+ }
9
14
  }
@@ -9,7 +9,7 @@
9
9
  color: var(--alias-colors-link-hover, #0f59b1);
10
10
  }
11
11
 
12
- &-disabled {
12
+ &.ald-text-link-disabled {
13
13
  color: var(--alias-colors-text-disabled, rgba(0, 0, 0, 0.25));
14
14
  }
15
15
  }
@@ -25,7 +25,7 @@
25
25
  color: var(--alias-colors-text-selected, #126fdd);
26
26
  }
27
27
 
28
- &-disabled {
28
+ &.ald-text-link-disabled {
29
29
  color: var(--alias-colors-text-disabled, rgba(0, 0, 0, 0.25));
30
30
  }
31
31
  }
@@ -19,9 +19,6 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
21
21
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
22
- import FileOutlined from '@ant-design/icons/FileOutlined';
23
- import FolderOpenOutlined from '@ant-design/icons/FolderOpenOutlined';
24
- import FolderOutlined from '@ant-design/icons/FolderOutlined';
25
22
  import classNames from 'classnames';
26
23
  import { conductExpandParent } from 'rc-tree/lib/util';
27
24
  import { convertDataToEntities, convertTreeToData } from 'rc-tree/lib/utils/treeUtil';
@@ -29,14 +26,6 @@ import * as React from 'react';
29
26
  import { ConfigContext } from "../ConfigProvider";
30
27
  import Tree from "./Tree";
31
28
  import { calcRangeKeys, convertDirectoryKeysToNodes } from "./utils/dictUtil";
32
- function getIcon(props) {
33
- var isLeaf = props.isLeaf,
34
- expanded = props.expanded;
35
- if (isLeaf) {
36
- return /*#__PURE__*/React.createElement(FileOutlined, null);
37
- }
38
- return expanded ? /*#__PURE__*/React.createElement(FolderOpenOutlined, null) : /*#__PURE__*/React.createElement(FolderOutlined, null);
39
- }
40
29
  function getTreeData(_ref) {
41
30
  var treeData = _ref.treeData,
42
31
  children = _ref.children;
@@ -154,7 +143,6 @@ var DirectoryTree = function DirectoryTree(_ref2, ref) {
154
143
  var prefixCls = getPrefixCls('tree', customizePrefixCls);
155
144
  var connectClassName = classNames("".concat(prefixCls, "-directory"), _defineProperty({}, "".concat(prefixCls, "-directory-rtl"), direction === 'rtl'), className);
156
145
  return /*#__PURE__*/React.createElement(Tree, _extends({
157
- icon: getIcon,
158
146
  ref: ref,
159
147
  blockNode: true
160
148
  }, otherProps, {
package/dist/Tree/Tree.js CHANGED
@@ -25,7 +25,7 @@ var Tree = /*#__PURE__*/React.forwardRef(function (props, ref) {
25
25
  getPrefixCls = _React$useContext.getPrefixCls,
26
26
  direction = _React$useContext.direction,
27
27
  virtual = _React$useContext.virtual;
28
- var size = props.size || 'small';
28
+ var size = props.size || 'large';
29
29
  var className = props.className,
30
30
  _props$showIcon = props.showIcon,
31
31
  showIcon = _props$showIcon === void 0 ? false : _props$showIcon,
@@ -111,7 +111,7 @@ var Tree = /*#__PURE__*/React.forwardRef(function (props, ref) {
111
111
  virtual: virtual
112
112
  }, newProps, {
113
113
  prefixCls: prefixCls,
114
- className: classNames((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-icon-hide"), !showIcon), _defineProperty(_classNames, "".concat(prefixCls, "-block-node"), blockNode), _defineProperty(_classNames, "".concat(prefixCls, "-unselectable"), !selectable), _defineProperty(_classNames, "".concat(prefixCls, "-large"), size === 'large'), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className),
114
+ className: classNames((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-icon-hide"), !showIcon), _defineProperty(_classNames, "".concat(prefixCls, "-block-node"), blockNode), _defineProperty(_classNames, "".concat(prefixCls, "-unselectable"), !selectable), _defineProperty(_classNames, "".concat(prefixCls, "-large"), size === 'large'), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames, 'ald-draggable-tree', draggable), _classNames), className),
115
115
  direction: direction,
116
116
  checkable: checkable ? /*#__PURE__*/React.createElement("span", {
117
117
  className: "".concat(prefixCls, "-checkbox-inner")
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const App: React.FC;
3
+ export default App;
@@ -0,0 +1,44 @@
1
+ import { Tree } from "../../..";
2
+ import React from 'react';
3
+ var DirectoryTree = Tree.DirectoryTree;
4
+ var treeData = [{
5
+ title: 'parent 0',
6
+ key: '0-0',
7
+ children: [{
8
+ title: 'leaf 0-0',
9
+ key: '0-0-0',
10
+ isLeaf: true
11
+ }, {
12
+ title: 'leaf 0-1',
13
+ key: '0-0-1',
14
+ isLeaf: true
15
+ }]
16
+ }, {
17
+ title: 'parent 1',
18
+ key: '0-1',
19
+ children: [{
20
+ title: 'leaf 1-0',
21
+ key: '0-1-0',
22
+ isLeaf: true
23
+ }, {
24
+ title: 'leaf 1-1',
25
+ key: '0-1-1',
26
+ isLeaf: true
27
+ }]
28
+ }];
29
+ var App = function App() {
30
+ var onSelect = function onSelect(keys, info) {
31
+ console.log('Trigger Select', keys, info);
32
+ };
33
+ var onExpand = function onExpand(keys, info) {
34
+ console.log('Trigger Expand', keys, info);
35
+ };
36
+ return /*#__PURE__*/React.createElement(DirectoryTree, {
37
+ multiple: true,
38
+ defaultExpandAll: true,
39
+ onSelect: onSelect,
40
+ onExpand: onExpand,
41
+ treeData: treeData
42
+ });
43
+ };
44
+ export default App;
@@ -6,21 +6,25 @@
6
6
  @import './reset.less';
7
7
  @import './checkbox.less';
8
8
 
9
- @tree-font-size-large: 13px;
10
- @tree-padding-large: 6px 4px;
9
+ @tree-font-size-large: 14px;
10
+ @tree-padding-large: 6px;
11
11
  @tree-line-height-large: 20px;
12
12
 
13
13
  @tree-font-size-default: 12px;
14
14
  @tree-padding-default: 4px;
15
15
  @tree-line-height-default: 16px;
16
16
  .aldCheckboxFn();
17
-
17
+ @tree-prefix-cls: ~'@{ald-prefix}-tree';
18
18
  .@{tree-prefix-cls} {
19
19
  .antTreeFn(@tree-prefix-cls);
20
20
  }
21
21
 
22
22
  .ald-tree {
23
- padding: 3px 0;
23
+ padding: 0;
24
+
25
+ &.ald-draggable-tree {
26
+ padding: 3px 0;
27
+ }
24
28
 
25
29
  .ald-tree-treenode.ald-tree-treenode-draggable {
26
30
  .ald-tree-draggable-icon {
@@ -34,8 +38,7 @@
34
38
  align-items: center;
35
39
  font-size: @tree-font-size-default;
36
40
  font-weight: 400;
37
- color: #171717;
38
- width: 100%;
41
+ color: var(--alias-colors-text-default, #1f2937);
39
42
 
40
43
  .ald-tree-draggable-icon {
41
44
  display: inline-flex;
@@ -59,6 +62,7 @@
59
62
  flex: 1;
60
63
  display: flex;
61
64
  align-items: center;
65
+ border-radius: 4px;
62
66
  // stylelint-disable-next-line
63
67
  .ald-tree-iconEle {
64
68
  display: inline-flex;
@@ -71,11 +75,9 @@
71
75
 
72
76
  .ald-tree-title {
73
77
  line-height: @tree-line-height-default;
74
- border-radius: 2px;
75
78
  display: inline-flex;
76
79
  align-items: center;
77
80
  justify-content: space-between;
78
- color: #171717;
79
81
  flex: 1;
80
82
 
81
83
  .ald-tree-tab-leader {
@@ -87,13 +89,23 @@
87
89
  }
88
90
 
89
91
  &:hover {
90
- background: var(--colors-gray-97, #f8f8f8);
91
- mix-blend-mode: multiply;
92
+ background: var(--alias-colors-bg-interaction-hover, rgba(0, 0, 0, 0.05));
92
93
  }
93
94
 
94
95
  &.ald-tree-node-selected {
95
- border-radius: 2px;
96
- background: var(--colors-blue-100, #f0f6ff);
96
+ background: var(--alias-colors-bg-selected-default, #e8f2fe);
97
+ color: var(--alias-colors-text-selected, #126fdd);
98
+ font-size: 12px;
99
+ font-weight: 400;
100
+ line-height: 16px;
101
+ }
102
+ }
103
+
104
+ &.ald-tree-treenode-disabled {
105
+ .ald-tree-node-content-wrapper {
106
+ &:hover {
107
+ background: inherit;
108
+ }
97
109
  }
98
110
  }
99
111
  }
@@ -109,10 +121,17 @@
109
121
 
110
122
  .ald-tree-node-content-wrapper {
111
123
  padding: @tree-padding-large;
124
+ border-radius: var(--alias-radius-75, 6px);
112
125
 
113
126
  .ald-tree-title {
114
127
  line-height: @tree-line-height-large;
115
128
  }
129
+
130
+ &.ald-tree-node-selected {
131
+ font-size: 14px;
132
+ font-weight: 500;
133
+ line-height: 20px;
134
+ }
116
135
  }
117
136
  }
118
137
  }
@@ -68,7 +68,7 @@
68
68
  bottom: 0;
69
69
  border: 1px solid @primary-color;
70
70
  opacity: 0;
71
- animation: ant-tree-node-fx-do-not-use 0.3s;
71
+ animation: ald-tree-node-fx-do-not-use 0.3s;
72
72
  animation-play-state: running;
73
73
  animation-fill-mode: forwards;
74
74
  content: '';
@@ -165,7 +165,7 @@
165
165
  display: inline-block;
166
166
  width: 100%;
167
167
  height: 100%;
168
- // https://github.com/ant-design/ant-design/issues/31884
168
+
169
169
  &::before {
170
170
  position: absolute;
171
171
  top: 0;
@@ -229,7 +229,6 @@
229
229
  }
230
230
  }
231
231
 
232
- // https://github.com/ant-design/ant-design/issues/28217
233
232
  &-unselectable &-node-content-wrapper:hover {
234
233
  background-color: transparent;
235
234
  }
@@ -278,7 +277,6 @@
278
277
  background: @component-background;
279
278
 
280
279
  &-line-icon {
281
- // https://github.com/ant-design/ant-design/issues/32813
282
280
  vertical-align: -0.15em;
283
281
  }
284
282
  }
@@ -297,7 +295,7 @@
297
295
  }
298
296
  }
299
297
 
300
- @keyframes ant-tree-node-fx-do-not-use {
298
+ @keyframes ald-tree-node-fx-do-not-use {
301
299
  0% {
302
300
  opacity: 0;
303
301
  }
@@ -9,3 +9,18 @@
9
9
  list-style: none;
10
10
  font-feature-settings: @font-feature-settings-base;
11
11
  }
12
+
13
+ .ald-tree-list-scrollbar {
14
+ width: 6px;
15
+
16
+ .ald-tree-list-scrollbar-thumb {
17
+ background: #575757 !important;
18
+ border-radius: var(--scrollbar-size);
19
+ position: relative;
20
+ opacity: 0.2 !important;
21
+
22
+ &:hover {
23
+ opacity: 0.6 !important;
24
+ }
25
+ }
26
+ }