@gct-paas/scss 0.1.6-dev.26 → 0.1.6-dev.27

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.
@@ -1,2 +1,2 @@
1
- /*! @gct-paas/scss v0.1.6-dev.26 */
1
+ /*! @gct-paas/scss v0.1.6-dev.27 */
2
2
  function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e,r,n){return(r=function(e){var r=function(e){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function r(t,e,r,n,o){let s=`${t}-${e}`;return r&&(s+=`-${r}`),n&&(s+=`__${n}`),o&&(s+=`--${o}`),s}var n=class{constructor(t,r){e(this,"block",void 0),e(this,"namespace",void 0),this.block=t,this.namespace=r||"gct"}b(t=""){return r(this.namespace,this.block,t,"","")}e(t){return t?r(this.namespace,this.block,"",t,""):""}m(t){return t?r(this.namespace,this.block,"","",t):""}be(t,e){return t&&e?r(this.namespace,this.block,t,e,""):""}em(t,e){return t&&e?r(this.namespace,this.block,"",t,e):""}bm(t,e){return t&&e?r(this.namespace,this.block,t,"",e):""}bem(t,e,n){return t&&e&&n?r(this.namespace,this.block,t,e,n):""}is(t,e){return t&&e?`is-${t}`:""}cssVar(t){const e={};for(const r in t)t[r]&&(e[this.cssVarName(r)]=t[r]);return e}cssVarBlock(t){const e={};for(const r in t)t[r]&&(e[this.cssVarBlockName(r)]=t[r]);return e}cssVarName(t){return`--${this.namespace}-${t}`}cssVarBlockName(t){return`--${this.namespace}-${this.block}-${t}`}};function o(t){return new n(t)}export{n as Namespace,o as useNamespace};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/scss",
3
- "version": "0.1.6-dev.26",
3
+ "version": "0.1.6-dev.27",
4
4
  "type": "module",
5
5
  "loader": "dist/index.esm.min.js",
6
6
  "description": "paas 平台样式框架包",
@@ -0,0 +1,13 @@
1
+ .light {
2
+ .ant-btn-success {
3
+ color: var(--gct-color-success);
4
+ }
5
+
6
+ .ant-btn-error {
7
+ color: var(--gct-color-danger);
8
+ }
9
+
10
+ .ant-btn-warning {
11
+ color: var(--gct-color-warning);
12
+ }
13
+ }
@@ -0,0 +1,78 @@
1
+ // ! nprogress 样式
2
+
3
+ /* Make clicks pass-through */
4
+ #nprogress {
5
+ pointer-events: none;
6
+ }
7
+
8
+ #nprogress .bar {
9
+ position: fixed;
10
+ top: 0;
11
+ left: 0;
12
+ z-index: 1031;
13
+ width: 100%;
14
+ height: 2px;
15
+ background: #29d;
16
+ }
17
+
18
+ /* Fancy blur effect */
19
+ #nprogress .peg {
20
+ position: absolute;
21
+ right: 0;
22
+ display: block;
23
+ width: 100px;
24
+ height: 100%;
25
+ box-shadow: 0 0 10px #29d, 0 0 5px #29d;
26
+ opacity: 1.0;
27
+ transform: rotate(3deg) translate(0, -4px);
28
+ }
29
+
30
+ /* Remove these to get rid of the spinner */
31
+ #nprogress .spinner {
32
+ position: fixed;
33
+ top: 15px;
34
+ right: 15px;
35
+ z-index: 1031;
36
+ display: block;
37
+ }
38
+
39
+ #nprogress .spinner-icon {
40
+ box-sizing: border-box;
41
+ width: 18px;
42
+ height: 18px;
43
+ border: solid 2px transparent;
44
+ border-top-color: #29d;
45
+ border-left-color: #29d;
46
+ border-radius: 50%;
47
+ animation: nprogress-spinner 400ms linear infinite;
48
+ }
49
+
50
+ .nprogress-custom-parent {
51
+ position: relative;
52
+ overflow: hidden;
53
+ }
54
+
55
+ .nprogress-custom-parent #nprogress .spinner,
56
+ .nprogress-custom-parent #nprogress .bar {
57
+ position: absolute;
58
+ }
59
+
60
+ @keyframes nprogress-spinner {
61
+ 0% { transform: rotate(0deg); }
62
+ 100% { transform: rotate(360deg); }
63
+ }
64
+
65
+ @keyframes nprogress-spinner {
66
+ 0% { transform: rotate(0deg); }
67
+ 100% { transform: rotate(360deg); }
68
+ }
69
+
70
+ // ! nprogress 样式 End
71
+
72
+ body.color-weak {
73
+ filter: invert(80%);
74
+ }
75
+
76
+ body.gray-mode {
77
+ filter: grayscale(100%);
78
+ }
@@ -1,3 +1,5 @@
1
1
  /** 重置标准化样式、框大小定义等,例如 normalize.css、reset.css **/
2
2
  @forward './reset';
3
+ @forward './base';
4
+ @forward './antv';
3
5
  @forward './vant';