cloud-web-corejs 1.0.313 → 1.0.315

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.
@@ -0,0 +1,19 @@
1
+ // 旧模式(boot-assets.legacy)消费应用的基础样式兜底层。
2
+ // 背景:legacy 入口应用的样式取自应用自己的 @/styles/index.scss 旧副本,
3
+ // 包内新增的基础文件(dialog/page-shell 等)在应用副本里不存在,样式缺斤短两。
4
+ // 本文件由 boot-assets.legacy.js 在应用自有样式之前注入:
5
+ // - 应用副本缺失的文件由包补齐,随包升级;
6
+ // - 应用自有同名文件在本层之后加载,同名规则仍以应用为准,不影响既有定制;
7
+ // - 仅收编“应用常缺失”的文件,element-ui/btn 等应用普遍有自有定制的
8
+ // 不收进来,避免大面积重复。
9
+ // 自包含:先引 variables/mixin,后面的文件才拿得到变量和混入;
10
+ // 不依赖 element 主题变量(element-variables 由应用自己编译)。
11
+ @import "./variables.scss";
12
+ @import "./mixin.scss";
13
+ @import "./utilities.scss";
14
+ @import "./split-handle.scss";
15
+ @import "./nprogress.scss";
16
+ @import "./menu-icons.scss";
17
+ @import "./dialog.scss";
18
+ @import "./page-shell.scss";
19
+ @import "./layout-skins.scss";
@@ -33,6 +33,14 @@
33
33
  white-space: nowrap;
34
34
  }
35
35
 
36
+ @mixin clamp($lines: 2) {
37
+ display: -webkit-box;
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ -webkit-line-clamp: $lines;
41
+ -webkit-box-orient: vertical;
42
+ }
43
+
36
44
  @mixin pct($pct) {
37
45
  width: #{$pct};
38
46
  position: relative;