zkqh-lagrange-utils 0.0.7 → 0.0.8

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.
@@ -37,6 +37,7 @@
37
37
  @lc_gradient_warning: linear-gradient(#ffddb0, #f0b76c);
38
38
  @lc_gradient_notice: linear-gradient(#b7cdff, #4b79e3);
39
39
  @lc_gradient_icon: linear-gradient(152deg, #81a1ba, #ffffff 20%, #81a1ba 40%, #ffffff 60%, #81a1ba 80%, #ffffff);
40
+ @lc_gradient_offline: linear-gradient(#e5effc, #c6c4c4);
40
41
  @lc_gradient_background1: linear-gradient(to bottom, #1d496d 0%, #1e3549 100%);
41
42
 
42
43
  @lc_br_2: 2px;
@@ -1,15 +1,10 @@
1
1
  @import "./color.less";
2
2
  // #region mixin
3
- // 文字渐变 必须在背景色之后才可生效
4
- .lc_text-gradient() {
5
- -webkit-background-clip: text;
6
- background-clip: text;
7
- color: transparent;
8
- }
3
+
9
4
 
10
5
  // 边框线 入参为边框宽度和边框颜色
11
- .lc_border(width, color) {
12
- border: width solid color;
6
+ .lc_border(@width, @color) {
7
+ border: @width solid @color;
13
8
  }
14
9
 
15
10
 
@@ -17,9 +12,7 @@
17
12
 
18
13
  // #region 直接使用
19
14
  // 文字渐变 必须在背景色之后才可生效
20
- .lc_text-gradient {
21
- .lc_text-gradient();
22
- }
15
+
23
16
 
24
17
  // #endregion
25
18
 
@@ -1,9 +1,38 @@
1
- @import "./common.less";
2
-
1
+ @import "./color.less";
3
2
  * {
4
3
  font-family: DinRegular, "PingFang SC", Arial, Microsoft YaHei;
5
4
  }
6
5
 
6
+ // #region mixin
7
+ // 文字渐变 必须在背景色之后才可生效
8
+ .lc_text-gradient() {
9
+ -webkit-background-clip: text;
10
+ background-clip: text;
11
+ color: transparent;
12
+ }
13
+
14
+ // 斜体
15
+ .lp_italic() {
16
+ font-style: oblique  13deg;
17
+ transform: skew(-13deg);
18
+ display: inline-block;
19
+ }
20
+
21
+ .lc_tg(@bg) {
22
+ background: @bg;
23
+ .lc_text-gradient();
24
+ }
25
+
26
+ // 图标渐变 入参为背景色和内发光效果
27
+ .lc_ig(@bg,@shadow) {
28
+ background: @bg;
29
+ .lc_text-gradient();
30
+ /* 内发光效果 */
31
+ text-shadow: @shadow;
32
+ }
33
+
34
+ // #endregion
35
+
7
36
  // 字形
8
37
  @font-face {
9
38
  font-family: BiaoTi;
@@ -20,15 +49,11 @@
20
49
 
21
50
  @font-face {
22
51
  font-family: "logo";
23
- src: url("../../font/logo/Ym27YmhoiJ2i.woff");
52
+ src: url("../../font/font-family/Ym27YmhoiJ2i.woff");
24
53
  }
25
54
 
26
- // 斜体
27
- .Jiangcheng {
28
- font-style: oblique  13deg;
29
- transform: skew(-13deg);
30
- display: inline-block;
31
- }
55
+
56
+
32
57
 
33
58
  // 字体大小
34
59
  .lp_fs_small {
@@ -44,35 +69,58 @@
44
69
  font-size: 28px;
45
70
  }
46
71
 
47
- // 标题字体族
48
- .lp_font_biaoti {
49
- font-family: BiaoTi;
72
+ // 斜体(别名,便于记忆与使用)
73
+ .lp_italic {
74
+ .lp_italic();
50
75
  }
51
76
 
77
+ // 文字渐变 必须在背景色之后才可生效
78
+ .lc_text-gradient {
79
+ .lc_text-gradient();
80
+ }
52
81
 
53
-
54
-
55
- // #region mixin
56
- // 文字渐变 入参为背景色
57
- .lc_tg(bg) {
58
- background: bg;
59
- .lc_text-gradient();
82
+ // 文字渐变-基础
83
+ .lc_tg_base {
84
+ .lc_tg(@lc_gradient_base);
60
85
  }
61
86
 
62
- // 图标渐变 入参为背景色和内发光效果
63
- .lc_ig(bg,shadow) {
64
- background: bg;
65
- .lc_text-gradient();
66
- /* 内发光效果 */
67
- text-shadow: shadow;
87
+ .lc_tg_normal {
88
+ .lc_tg(@lc_gradient_processed);
68
89
  }
69
90
 
91
+ .lc_tg_notice{
92
+ .lc_tg(@lc_gradient_notice);
93
+ }
70
94
 
71
- // #endregion
95
+ .lc_tg_warning{
96
+ .lc_tg(@lc_gradient_warning);
97
+ }
72
98
 
99
+ .lc_tg_alarm{
100
+ .lc_tg(@lc_gradient_unread);
101
+ }
73
102
 
103
+ .lc_tg_offline{
104
+ .lc_tg(@lc_gradient_offline);
105
+ }
74
106
 
107
+ // 图标渐变
108
+ .lc_ig_normal {
109
+ .lc_ig(@lc_gradient_processed, @lc_shadow_icon1);
110
+ }
75
111
 
112
+ .lc_ig_notice{
113
+ .lc_ig(@lc_gradient_notice, @lc_shadow_icon1);
114
+ }
76
115
 
116
+ .lc_ig_warning{
117
+ .lc_ig(@lc_gradient_warning, @lc_shadow_icon1);
118
+ }
77
119
 
120
+ .lc_ig_alarm{
121
+ .lc_ig(@lc_gradient_unread, @lc_shadow_icon1);
122
+ }
78
123
 
124
+ .lc_ig_offline{
125
+ .lc_ig(@lc_gradient_offline, @lc_shadow_icon1);
126
+ }
Binary file
@@ -0,0 +1,2 @@
1
+ # Blender 4.0.2 MTL File: 'None'
2
+ # www.blender.org