@indfnd/common 1.1.3 → 1.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indfnd/common",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "author": "huxuetong",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,3 +29,128 @@
29
29
  }
30
30
  }
31
31
  }
32
+
33
+ .custom-overlay {
34
+ position: fixed;
35
+ top: 0;
36
+ left: 0;
37
+ width: 100%;
38
+ height: 100%;
39
+ background-color: rgba(0, 0, 0, 0.7);
40
+ display: none;
41
+ z-index: 9999;
42
+ align-items: center;
43
+ justify-content: center;
44
+
45
+ &.show {
46
+ display: flex;
47
+ }
48
+ }
49
+
50
+ .ind-loading-wrapper-local {
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+ height: 100%;
55
+ width: 100%;
56
+ }
57
+ .ind-loading-wrapper-global {
58
+ height: 100%;
59
+ width: 100%;
60
+ position: relative;
61
+ }
62
+ .ind-loading-wrapper-text {
63
+ width: 100%;
64
+ height: 20px;
65
+ font-size: 16px;
66
+ color: #000;
67
+ position: absolute;
68
+ /* 水平居中 */
69
+ left: 50%;
70
+ transform: translateX(-50%);
71
+ /* 垂直靠下 */
72
+ top: 56%;
73
+ /* 可选:如果需要文本在块内也居中 */
74
+ text-align: center;
75
+ line-height: 20px; /* 与高度相同实现垂直居中 */
76
+ }
77
+
78
+ .ind-loading-block {
79
+ display: flex;
80
+ width: 100px;
81
+ height: 100px;
82
+ background-color: #fff;
83
+ border-radius: 8px;
84
+ align-items: center;
85
+ justify-content: center;
86
+ .ind-loading-block-center {
87
+ width: 60px;
88
+ height: 70px;
89
+ display: flex;
90
+ align-items: center;
91
+ flex-direction: column;
92
+ justify-content: space-between;
93
+ img {
94
+ width: 56px;
95
+ height: 40px;
96
+ }
97
+ .ind-loading-block-text {
98
+ height: 20px;
99
+ width: 100%;
100
+ font-size: 14px;
101
+ color: #000;
102
+ text-align: center;
103
+ line-height: 20px;
104
+ }
105
+ }
106
+ }
107
+
108
+ .ind-select-panel {
109
+ .lambo-grid-table {
110
+ padding: 0 0;
111
+ }
112
+ .ag-root-wrapper {
113
+ border: none !important;
114
+ }
115
+ .ag-theme-balham {
116
+ position: relative;
117
+ top: -60px;
118
+ }
119
+ .ag-row-odd,
120
+ .ag-row-hover:not(.ag-full-width-row)::before,
121
+ .ag-row-hover.ag-full-width-row.ag-row-group::before,
122
+ .ag-row-selected::before {
123
+ background-color: var(--ind-white) !important;
124
+ }
125
+ .ag-row-hover.ag-row-selected::before {
126
+ background-image: none !important;
127
+ }
128
+ .lambo-grid-table .ag-theme-balham .ag-ltr .ag-cell {
129
+ border-right-color: var(--ind-white) !important;
130
+ }
131
+
132
+ .ind-checkbox-bottom {
133
+ padding-left: 10px;
134
+ top: 8px;
135
+ color: var(--ind-text-color-1);
136
+ .ag-checkbox-input-wrapper {
137
+ background-color: var(--ind-white);
138
+ &::after {
139
+ color: #7f8c8d;
140
+ }
141
+ &.ag-checked::after {
142
+ color: var(--ag-checkbox-checked-color);
143
+ }
144
+ }
145
+ .ag-checkbox-input-wrapper:focus-within,
146
+ .ag-checkbox-input-wrapper:active {
147
+ box-shadow: unset;
148
+ }
149
+ }
150
+
151
+ &.ind-select-panel-widthheader {
152
+ .ag-theme-balham {
153
+ top: -10px;
154
+ }
155
+ }
156
+ }