@delon/theme 21.2.0 → 21.3.0

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/default.css CHANGED
@@ -33030,6 +33030,9 @@ fieldset {
33030
33030
  font-weight: 700;
33031
33031
  text-align: left;
33032
33032
  }
33033
+ .sf__collapse .sf__collapse-item {
33034
+ display: none !important;
33035
+ }
33033
33036
  .sf__object-card .ant-card-body {
33034
33037
  padding-left: 0;
33035
33038
  }
@@ -38004,377 +38007,3 @@ ellipsis {
38004
38007
  .cell__disabled[data-type='link'] > a {
38005
38008
  color: rgba(0, 0, 0, 0.85);
38006
38009
  }
38007
- g2-chart,
38008
- g2-bar,
38009
- g2-gauge,
38010
- g2-mini-area,
38011
- g2-mini-bar,
38012
- g2-single-bar,
38013
- g2-tag-cloud,
38014
- g2-timeline,
38015
- g2,
38016
- g2-custom {
38017
- display: block;
38018
- }
38019
- g2-bar,
38020
- g2-tag-cloud {
38021
- width: 100%;
38022
- }
38023
- .g2-card {
38024
- position: relative;
38025
- }
38026
- .g2-card__top {
38027
- position: relative;
38028
- overflow: hidden;
38029
- width: 100%;
38030
- }
38031
- .g2-card__top-margin {
38032
- margin-bottom: 12px;
38033
- }
38034
- .g2-card__top-has-margin {
38035
- margin-bottom: 20px;
38036
- }
38037
- .g2-card__meta {
38038
- height: 22px;
38039
- font-size: 14px;
38040
- line-height: 22px;
38041
- color: rgba(0, 0, 0, 0.45);
38042
- }
38043
- .g2-card__meta-wrap {
38044
- float: left;
38045
- }
38046
- .g2-card__meta-action {
38047
- cursor: pointer;
38048
- position: absolute;
38049
- top: 4px;
38050
- right: 0;
38051
- line-height: 1;
38052
- }
38053
- .g2-card__avatar {
38054
- position: relative;
38055
- top: 4px;
38056
- float: left;
38057
- margin-right: 20px;
38058
- }
38059
- .g2-card__avatar img {
38060
- border-radius: 100%;
38061
- }
38062
- .g2-card__total {
38063
- overflow: hidden;
38064
- height: 38px;
38065
- margin-top: 4px;
38066
- margin-bottom: 0;
38067
- font-size: 30px;
38068
- line-height: 38px;
38069
- color: rgba(0, 0, 0, 0.85);
38070
- text-overflow: ellipsis;
38071
- word-break: break-all;
38072
- white-space: nowrap;
38073
- }
38074
- .g2-card__desc {
38075
- width: 100%;
38076
- margin-bottom: 12px;
38077
- }
38078
- .g2-card__footer {
38079
- margin-top: 8px;
38080
- padding-top: 9px;
38081
- border-top: 1px solid #f0f0f0;
38082
- }
38083
- .g2-card__footer > * {
38084
- position: relative;
38085
- }
38086
- .g2-mini-progress {
38087
- position: relative;
38088
- display: block;
38089
- width: 100%;
38090
- padding: 5px 0;
38091
- }
38092
- .g2-mini-progress__wrap {
38093
- position: relative;
38094
- background-color: #f5f5f5;
38095
- }
38096
- .g2-mini-progress__value {
38097
- width: 0;
38098
- height: 100%;
38099
- border-radius: 1px 0 0 1px;
38100
- background-color: #1890ff;
38101
- transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
38102
- }
38103
- .g2-mini-progress__target {
38104
- position: absolute;
38105
- top: 0;
38106
- bottom: 0;
38107
- }
38108
- .g2-mini-progress__target-item {
38109
- position: absolute;
38110
- top: 0;
38111
- left: 0;
38112
- width: 2px;
38113
- height: 4px;
38114
- border-radius: 100px;
38115
- }
38116
- .g2-mini-progress__target-item:last-child {
38117
- top: auto;
38118
- bottom: 0;
38119
- }
38120
- .g2-pie {
38121
- position: relative;
38122
- display: block;
38123
- }
38124
- .g2-pie__chart {
38125
- position: relative;
38126
- }
38127
- .g2-pie__legend {
38128
- position: absolute;
38129
- top: 50%;
38130
- right: 0;
38131
- transform: translateY(-50%);
38132
- min-width: 250px;
38133
- margin: 0 20px;
38134
- padding: 0;
38135
- list-style: none;
38136
- }
38137
- .g2-pie__legend-item {
38138
- cursor: pointer;
38139
- height: 22px;
38140
- margin-bottom: 16px;
38141
- line-height: 22px;
38142
- }
38143
- .g2-pie__legend-item:last-child {
38144
- margin-bottom: 0;
38145
- }
38146
- .g2-pie__legend-title {
38147
- color: rgba(0, 0, 0, 0.85);
38148
- }
38149
- .g2-pie__legend-dot {
38150
- position: relative;
38151
- top: -1px;
38152
- display: inline-block;
38153
- width: 8px;
38154
- height: 8px;
38155
- margin-right: 8px;
38156
- border-radius: 8px;
38157
- }
38158
- .g2-pie__legend-percent {
38159
- color: rgba(0, 0, 0, 0.45);
38160
- }
38161
- .g2-pie__legend-value {
38162
- position: absolute;
38163
- right: 0;
38164
- }
38165
- .g2-pie__legend-has .g2-pie__chart {
38166
- width: calc(100% - 240px);
38167
- }
38168
- .g2-pie__legend-block .g2-pie__chart {
38169
- width: 100%;
38170
- margin: 0 0 32px;
38171
- }
38172
- .g2-pie__legend-block .g2-pie__legend {
38173
- position: relative;
38174
- transform: none;
38175
- min-width: auto;
38176
- }
38177
- .g2-pie__total {
38178
- position: absolute;
38179
- top: 50%;
38180
- left: 50%;
38181
- transform: translate(-50%, -50%);
38182
- height: 62px;
38183
- text-align: center;
38184
- }
38185
- .g2-pie__total-title {
38186
- height: 22px;
38187
- margin-bottom: 8px;
38188
- font-size: 14px;
38189
- font-weight: normal;
38190
- line-height: 22px;
38191
- color: rgba(0, 0, 0, 0.45);
38192
- }
38193
- .g2-pie__total-stat {
38194
- display: block;
38195
- height: 32px;
38196
- font-size: 1.2em;
38197
- line-height: 32px;
38198
- color: rgba(0, 0, 0, 0.85);
38199
- white-space: nowrap;
38200
- }
38201
- .g2-pie__mini .g2-pie__total-title {
38202
- margin-top: 4px;
38203
- margin-bottom: 0;
38204
- }
38205
- .g2-radar {
38206
- display: block;
38207
- }
38208
- .g2-radar__legend {
38209
- margin-top: 16px;
38210
- }
38211
- .g2-radar__legend-item {
38212
- cursor: pointer;
38213
- position: relative;
38214
- line-height: 22px;
38215
- color: rgba(0, 0, 0, 0.45);
38216
- text-align: center;
38217
- }
38218
- .g2-radar__legend-item::after {
38219
- content: '';
38220
- position: absolute;
38221
- top: 8px;
38222
- right: 0;
38223
- width: 1px;
38224
- height: 40px;
38225
- background-color: #f0f0f0;
38226
- }
38227
- .g2-radar__legend-item:last-child::after {
38228
- display: none;
38229
- }
38230
- .g2-radar__legend-title {
38231
- margin-top: 4px;
38232
- margin-bottom: 0;
38233
- padding-left: 16px;
38234
- font-size: 24px;
38235
- line-height: 32px;
38236
- color: rgba(0, 0, 0, 0.85);
38237
- }
38238
- .g2-radar__legend-dot {
38239
- position: relative;
38240
- top: -1px;
38241
- display: inline-block;
38242
- width: 6px;
38243
- height: 6px;
38244
- margin-right: 6px;
38245
- border-radius: 6px;
38246
- }
38247
- .g2-water-wave {
38248
- position: relative;
38249
- transform-origin: left;
38250
- display: inline-block;
38251
- }
38252
- .g2-water-wave__desc {
38253
- position: absolute;
38254
- top: 32px;
38255
- left: 0;
38256
- width: 100%;
38257
- text-align: center;
38258
- }
38259
- .g2-water-wave__desc-title {
38260
- font-size: 14px;
38261
- line-height: 22px;
38262
- color: rgba(0, 0, 0, 0.45);
38263
- }
38264
- .g2-water-wave__desc-percent {
38265
- font-size: 24px;
38266
- line-height: 32px;
38267
- color: rgba(0, 0, 0, 0.85);
38268
- }
38269
- .g2-water-wave__canvas {
38270
- transform-origin: 0 0;
38271
- transform: scale(0.5);
38272
- }
38273
- .number-info {
38274
- display: inline-block;
38275
- }
38276
- .number-info__title {
38277
- margin-bottom: 16px;
38278
- font-size: 16px;
38279
- color: rgba(0, 0, 0, 0.85);
38280
- transition: all 0.3s;
38281
- }
38282
- .number-info__title-sub {
38283
- overflow: hidden;
38284
- height: 22px;
38285
- font-size: 14px;
38286
- line-height: 22px;
38287
- color: rgba(0, 0, 0, 0.45);
38288
- text-overflow: ellipsis;
38289
- word-break: break-all;
38290
- white-space: nowrap;
38291
- }
38292
- .number-info__value {
38293
- overflow: hidden;
38294
- margin-top: 4px;
38295
- font-size: 0;
38296
- text-overflow: ellipsis;
38297
- word-break: break-all;
38298
- white-space: nowrap;
38299
- }
38300
- .number-info__value-suffix {
38301
- margin-left: 4px;
38302
- font-size: 16px;
38303
- font-style: normal;
38304
- color: rgba(0, 0, 0, 0.85);
38305
- }
38306
- .number-info__value-text {
38307
- display: inline-block;
38308
- height: 32px;
38309
- font-size: 24px;
38310
- line-height: 32px;
38311
- color: rgba(0, 0, 0, 0.85);
38312
- }
38313
- .number-info__value-sub {
38314
- margin-left: 32px;
38315
- font-size: 16px;
38316
- color: rgba(0, 0, 0, 0.45);
38317
- vertical-align: top;
38318
- }
38319
- .number-info__value-sub .anticon {
38320
- transform: scale(0.82);
38321
- margin-left: 4px;
38322
- font-size: 12px;
38323
- }
38324
- .number-info__value-sub .anticon-caret-up {
38325
- color: #f5222d;
38326
- }
38327
- .number-info__value-sub .anticon-caret-down {
38328
- color: #52c41a;
38329
- }
38330
- .number-info__light .number-info__value-text {
38331
- color: rgba(0, 0, 0, 0.85);
38332
- }
38333
- .number-info:not(:first-child) {
38334
- position: relative;
38335
- margin-left: 32px;
38336
- padding-left: 32px;
38337
- }
38338
- .number-info:not(:first-child)::after {
38339
- content: '';
38340
- position: absolute;
38341
- top: 0;
38342
- bottom: 0;
38343
- left: 0;
38344
- width: 1px;
38345
- margin: 8px 0;
38346
- background-color: #f0f0f0;
38347
- }
38348
- .trend {
38349
- display: inline-block;
38350
- font-size: 14px;
38351
- line-height: 22px;
38352
- }
38353
- .trend__up,
38354
- .trend__down {
38355
- position: relative;
38356
- top: 1px;
38357
- margin-left: 4px;
38358
- }
38359
- .trend__up i,
38360
- .trend__down i {
38361
- transform: scale(0.83);
38362
- font-size: 12px;
38363
- }
38364
- .trend__up {
38365
- color: #f5222d;
38366
- }
38367
- .trend__down {
38368
- top: -1px;
38369
- color: #52c41a;
38370
- }
38371
- .trend__grey .trend__up,
38372
- .trend__grey .trend__down {
38373
- color: rgba(0, 0, 0, 0.85);
38374
- }
38375
- .trend__reverse .trend__up {
38376
- color: #52c41a;
38377
- }
38378
- .trend__reverse .trend__down {
38379
- color: #f5222d;
38380
- }
package/default.less CHANGED
@@ -2,5 +2,4 @@
2
2
  @import './system/index.less';
3
3
  @import './layout-default/style/index.less';
4
4
  @import './layout-blank/style/index.less';
5
- @import '../abc/index.less';
6
- @import '../chart/index.less';
5
+ @import '@delon/abc/index.less';