| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- @import '../../../node_modules/antd/lib/style/themes/variable';
- .pro-table-card {
- position: relative;
- .pro-table-card-setting-item {
- color: rgba(0, 0, 0, 0.75);
- font-size: 16px;
- cursor: pointer;
- &:hover {
- color: @primary-color-hover;
- }
- &.active {
- color: @primary-color-active;
- }
- }
- .pro-table-card-items {
- display: grid;
- grid-gap: 26px;
- grid-template-columns: repeat(4, 1fr);
- //display: flex;
- //flex-wrap: wrap;
- padding-bottom: 38px;
- .pro-table-card-item {
- display: flex;
- .card-item-avatar {
- margin-right: 16px;
- }
- .card-item-body {
- display: flex;
- flex-direction: column;
- flex-grow: 1;
- width: 0;
- .card-item-header {
- display: flex;
- width: 100%;
- margin-bottom: 12px;
- .card-item-header-name {
- flex: 1;
- font-weight: bold;
- font-size: 16px;
- }
- }
- .card-item-content {
- display: flex;
- > span {
- flex: 1;
- }
- }
- }
- }
- }
- .pro-table-card-pagination {
- position: absolute;
- right: 24px;
- bottom: 24px;
- > .ant-pagination-item {
- display: none;
- }
- }
- }
- @border-color: #e6e6e6;
- .iot-card {
- width: 100%;
- .card-warp {
- position: relative;
- border: 1px solid @border-color;
- .card-content {
- position: relative;
- padding: 30px 12px 12px 30px;
- overflow: hidden;
- .card-state {
- position: absolute;
- top: 0;
- right: 0;
- display: flex;
- justify-content: center;
- width: 100px;
- padding: 8px 0;
- background-color: @info-color-deprecated-bg;
- transform: skewX(45deg);
- &.success {
- background-color: @success-color-deprecated-bg;
- }
- &.warning {
- background-color: @warning-color-deprecated-bg;
- }
- &.error {
- background-color: @error-color-deprecated-bg;
- }
- .card-state-content {
- transform: skewX(-45deg);
- }
- }
- }
- .card-mask {
- position: absolute;
- top: 0;
- left: 0;
- display: none;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 100%;
- color: #fff;
- background-color: rgba(#000, 0.5);
- cursor: pointer;
- &.show {
- display: flex;
- }
- }
- }
- }
|