|
|
@@ -1,53 +1,68 @@
|
|
|
-$max-card-width: 235px;
|
|
|
+$max-card-width: 230px;
|
|
|
+$card-box-height: 110px;
|
|
|
|
|
|
.x-info-card {
|
|
|
+ .x-panel-body {
|
|
|
+ background: transparent;
|
|
|
|
|
|
- .x-panel-bodyWrap {
|
|
|
- .x-autocontainer-innerCt {
|
|
|
- .x-component {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- height: 100%;
|
|
|
+ .x-panel-bodyWrap {
|
|
|
+ .x-autocontainer-innerCt {
|
|
|
+ .x-component {
|
|
|
+ height: 100%;
|
|
|
+ .x-row {
|
|
|
+ background: $panel-body-background;
|
|
|
+ display: flex;
|
|
|
+ height: 100%;
|
|
|
+ width: 100%;
|
|
|
+ justify-content: flex-start;
|
|
|
+
|
|
|
+ .x-col {
|
|
|
+
|
|
|
+ flex: 1;
|
|
|
+ max-width: $max-card-width;
|
|
|
+ color: #fff;
|
|
|
+ padding: 0 8px;
|
|
|
+ display: flex;
|
|
|
|
|
|
- .x-row {
|
|
|
- display: flex;
|
|
|
- width: 100%;
|
|
|
- justify-content: flex-start;
|
|
|
-
|
|
|
- .x-col {
|
|
|
-
|
|
|
- flex: 1;
|
|
|
- max-width: $max-card-width;
|
|
|
- color: #fff;
|
|
|
- padding: 10px;
|
|
|
-
|
|
|
- .x-box {
|
|
|
- padding: 16px;
|
|
|
- height: 120px;
|
|
|
- border-radius: 0.5rem;
|
|
|
- position: relative;
|
|
|
- display: block;
|
|
|
- cursor: pointer;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- opacity: 0.7;
|
|
|
+ &:first-child {
|
|
|
+ padding: 0 8px 0 0;
|
|
|
}
|
|
|
+
|
|
|
+ &> div {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
|
|
|
- h3 {
|
|
|
- text-align: center;
|
|
|
- font-size: 16px;
|
|
|
+ .x-box {
|
|
|
+ padding: 24px;
|
|
|
+ height: $card-box-height;
|
|
|
+ border-radius: 6px;
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ cursor: pointer;
|
|
|
+ flex: 1;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ opacity: 0.7;
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ .value {
|
|
|
+ font-size: 24px;
|
|
|
+ text-align: center;
|
|
|
+ margin-top: 22px;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ .x-box.x-view-item-focused {
|
|
|
+ outline: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- p {
|
|
|
- font-size: 24px;
|
|
|
- text-align: center;
|
|
|
- margin-top: 32px;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- .x-box.x-view-item-focused {
|
|
|
- outline: none !important;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -57,6 +72,11 @@ $max-card-width: 235px;
|
|
|
|
|
|
.x-toolbar-default-vertical {
|
|
|
padding: 0;
|
|
|
+ background-color: transparent;
|
|
|
+
|
|
|
+ .x-box-target {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.x-mask {
|
|
|
@@ -69,15 +89,16 @@ $max-card-width: 235px;
|
|
|
z-index: 1;
|
|
|
width: 44px !important;
|
|
|
min-width: 44px !important;
|
|
|
- height: 145px !important;
|
|
|
+ height: 100% !important;
|
|
|
padding: 0 !important;
|
|
|
- background-color: white !important;
|
|
|
+ background-color: transparent !important;
|
|
|
border: none !important;
|
|
|
box-shadow: none !important;
|
|
|
background-repeat: no-repeat !important;
|
|
|
background-size: 30px !important;
|
|
|
background-position-y: center !important;
|
|
|
background-position-x: 6px !important;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.x-scroller-button-left {
|
|
|
@@ -102,22 +123,22 @@ $max-card-width: 235px;
|
|
|
}
|
|
|
|
|
|
.x-bg-default {
|
|
|
- background: linear-gradient(to right, #25CBDB , #5161F1);
|
|
|
+ background: linear-gradient(to right, #19C0D5 , #7AEBF8);
|
|
|
}
|
|
|
.x-bg-yellow {
|
|
|
- background: linear-gradient(to right, #F4BF59 , #F99A50);
|
|
|
+ background: linear-gradient(to right, #FA964D , #FCC002);
|
|
|
}
|
|
|
.x-bg-purple {
|
|
|
- background: linear-gradient(to right, #946DFF , #7460FF);
|
|
|
+ background: linear-gradient(to right, #6B73FD , #B195FF);
|
|
|
}
|
|
|
.x-bg-red {
|
|
|
- background: linear-gradient(to right, #FA8B86 , #F36487);
|
|
|
+ background: linear-gradient(to right, #F25F88 , #FFA4BA);
|
|
|
}
|
|
|
.x-bg-blue {
|
|
|
- background: linear-gradient(to right, #1AD0C5 , #26CBDB);
|
|
|
+ background: linear-gradient(to right, #6B6CFA , #58C5F6);
|
|
|
}
|
|
|
.x-bg-pink {
|
|
|
- background: linear-gradient(to right, #FA8A86 , #F26187);
|
|
|
+ background: linear-gradient(to right, #F66F6D , #FD9C8D);
|
|
|
}
|
|
|
.x-bg-gray {
|
|
|
background: linear-gradient(to right, #D8D8D8 , #D8D8D8);
|