xto-fronted 0.6.1 → 0.6.3

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.
package/src/style.scss CHANGED
@@ -12,3 +12,25 @@
12
12
  --xto-bg-color-page: #F5F7FA;
13
13
  --xto-border-color-lighter: #EDF2F7;
14
14
  }
15
+
16
+ /* ===== 交互光标与文本选中规范 =====
17
+ * 交互控件:禁止文本选中,避免出现文本编辑光标
18
+ * 内容文本(表格值/正文等):保持可选中复制
19
+ */
20
+ .x-button,
21
+ .x-menu-item,
22
+ .x-tabs__item,
23
+ .x-page-header,
24
+ .x-breadcrumb,
25
+ .x-breadcrumb-item,
26
+ .x-table__header-cell,
27
+ button {
28
+ user-select: none;
29
+ -webkit-user-select: none;
30
+ }
31
+
32
+ .x-table__body td,
33
+ .x-table__body .x-table__cell {
34
+ user-select: text;
35
+ -webkit-user-select: text;
36
+ }