-
{{ $t('yourBalance') }}
+
+ {{ $t('monthlyGems') }}
+ {{ gemsLeft }} / {{ totalGems }} {{ $t('gemsRemaining') }}
+
+
+ {{ $t('monthlyGems') }}
+ {{ gemsLeft }} / {{ totalGems }} {{ $t('gemsRemaining') }}
+
+
+
+ {{ $t('yourBalance') }}
@@ -200,11 +238,47 @@
@include centeredModal();
.modal-body {
+ padding-left: 0px;
+ padding-right: 0px;
padding-bottom: 0px;
}
+ .modal-footer {
+ height: 48px;
+ background-color: $gray-700;
+ border-bottom-right-radius: 8px;
+ border-bottom-left-radius: 8px;
+ display: block;
+ margin: 24px 0 0 0;
+ padding: 16px 24px;
+ align-content: center;
+
+ .user-balance {
+ width: 150px;
+ height: 16px;
+ font-size: 0.75rem;
+ font-weight: bold;
+ line-height: 1.33;
+ color: $gray-100;
+ margin-bottom: 16px;
+ margin-top: -4px;
+ margin-left: -4px;
+ }
+
+ .currency-totals {
+ margin-right: -8px;
+ float: right;
+ }
+ }
+
.modal-dialog {
- width: 330px;
+ width: 448px;
+ box-sizing: border-box;
+ }
+
+ .badge-dialog {
+ left: -8px;
+ top: -8px;
}
.avatar {
@@ -212,8 +286,71 @@
margin: 0 auto;
}
+ .owned {
+ height: 32px;
+ width: 141px;
+ margin-top: -36px;
+ margin-left: 153px;
+ padding-top: 6px;
+ background-color: $gray-600;
+ border-bottom-right-radius: 4px;
+ border-bottom-left-radius: 4px;
+ display: block;
+ text-align: center;
+ position: relative;
+ z-index: 1;
+
+ .owned-text {
+ font-size: 0.75rem;
+ font-weight: bold;
+ line-height: 1.71;
+ }
+
+ .user-amount {
+ font-weight: normal !important;
+ }
+ }
+
+ .item {
+ width: 141px;
+ height: 147px;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 0px;
+ border-bottom-left-radius: 0px;
+ cursor: default;
+ }
+
+ .item-content {
+ transform: scale(1.45, 1.45);
+ top: -25.67px;
+ left: 1px;
+
+ &.shop_gem {
+ transform: scale(1.45, 1.45);
+ top: -2px;
+ left: 0px;
+ }
+ }
+
+ .title {
+ height: 28px;
+ color: $gray-10;
+ font-size: 1.25rem;
+ margin-top: 25px;
+ }
+
+ .item-notes {
+ margin-top: 8px;
+ padding-left: 48.5px;
+ padding-right: 48.5px;
+ line-height: 1.71;
+ font-size: 0.875rem;
+ }
+
.content {
text-align: center;
+ width: 448px;
}
.item-wrapper {
@@ -221,15 +358,22 @@
}
.inner-content {
- margin: 33px auto auto;
- width: 282px;
+ margin: 32px auto auto;
+ }
+
+ .btn-primary {
+ margin-top: 16px;
}
.purchase-amount {
- margin-top: 24px;
+ margin-top: 0px;
.how-many-to-buy {
- margin-bottom: 16px;
+ font-weight: bold !important;
+ }
+
+ .number-increment {
+ margin-top: 16px;
}
.box {
@@ -255,31 +399,105 @@
}
}
}
+ .no-more-gems {
+ color: $yellow-5;
+ font-size: 0.875em;
+ line-height: 1.33;
+ margin: 16px 48px 0 48px;
+ }
- span.svg-icon.inline.icon-32 {
- height: 32px;
- width: 32px;
-
+// for cost icon of a single item
+ span.svg-icon.inline.icon-24 {
+ display: inline-block;
+ height: 24px;
+ width: 24px;
+ margin-right: 4px;
+ padding-top: 4px;
+ }
+// for the total user cost
+ span.svg-icon.total.icon-24 {
+ display: inline-block;
+ height: 24px;
+ width: 24px;
+ margin-left: 6px;
margin-right: 8px;
+ padding-top: 6px;
+ }
- vertical-align: middle;
+ span.svg-icon.icon-16 {
+ height: 16px;
+ width: 16px;
+ }
+
+ .close-icon {
+ color: $gray-200;
+ stroke-width: 0px;
+
+ &:hover {
+ color: $gray-100;
+ }
+ }
+
+ .attributes-group {
+ margin: 32px;
+ border-radius: 4px;
+ line-height: 1.71;
+ font-size: 0.875;
+ }
+
+ .attributesGrid {
+ margin-top: 28px;
+ border-radius: 2px;
+ background-color: $gray-500;
+ }
+
+ .item-cost {
+ display: inline-flex;
+ margin: 16px 0;
+ align-items: center;
+ height: 40px;
}
.cost {
- width: 28px;
- height: 32px;
- font-size: 24px;
+ display: inline-block;
+ font-family: sans-serif;
+ font-size: 1.25rem;
font-weight: bold;
- line-height: 1.33;
-
- vertical-align: middle;
+ padding: 6px 20px;
+ line-height: 1.4;
+ border-radius: 20px;
&.gems {
- color: $gems-color;
+ color: $green-10;
+ background-color: rgba(36, 204, 143, 0.15);
+ align-items: center;
}
&.gold {
- color: $gold-color;
+ color: $yellow-5;
+ background-color: rgba(255, 190, 93, 0.15);
+ align-items: center;
+ }
+
+ &.hourglasses {
+ color: $hourglass-color;
+ background-color: rgba(41, 149, 205, 0.15);
+ align-items: center;
+ }
+ }
+
+ .total {
+ font-weight: bold;
+ font-size: 0.875rem;
+ padding-top: 2px;
+ margin-top: 4px;
+
+ &.gems {
+ color: $green-10;
+ }
+
+ &.gold {
+ color: $yellow-5;
}
&.hourglasses {
@@ -287,62 +505,84 @@
}
}
+ .total-text {
+ color: $gray-50;
+ font-weight: bold;
+ font-size: 0.875rem;
+ line-height: 1.71;
+
+ &.gems {
+ color: $green-10;
+ }
+
+ &.gold {
+ color: $yellow-5;
+ }
+
+ &.hourglasses {
+ color: $hourglass-color;
+ }
+ }
+
button.btn.btn-primary {
- margin-top: 24px;
- margin-bottom: 24px;
- min-width: 6rem;
+ margin-top: 16px;
+ padding: 4px 16px;
+ height: 32px;
&:focus {
border: 2px solid black;
}
}
- .balance {
- width: 74px;
- height: 16px;
- font-size: 12px;
- font-weight: bold;
- line-height: 1.33;
- color: $gray-200;
- }
+ .notEnough {
+ pointer-events: none;
+ opacity: 0.55;
+ }
- .modal-footer {
- height: 48px;
- background-color: $gray-700;
- border-bottom-right-radius: 8px;
- border-bottom-left-radius: 8px;
- display: block;
- }
+ .free-rebirth {
+ background-color: $yellow-5;
+ color: $white;
+ height: 2rem;
+ line-height: 16px;
+ margin: auto -1rem -1rem;
+ }
- .notEnough {
- pointer-events: none;
- opacity: 0.55;
- }
+ // .pt-015 {
+ // padding-top: 0.15rem;
+ // }
- .attributesGrid {
- margin-top: 8px;
- border-radius: 2px;
- background-color: $gray-500;
-
- margin: 10px 0 24px;
- }
.gems-left {
- margin-top: .5em;
+ height: 32px;
+ background-color: $green-100;
+ font-size: 0.75rem;
+ margin-top: 24px;
+ color: $green-1;
+ width: 100%;
+ margin-bottom: -24px;
}
- .free-rebirth {
- background-color: $yellow-5;
+ .out-of-gems-banner {
+ height: 32px;
+ font-size: 0.75rem;
+ margin-top: 24px;
+ background-color: $yellow-100;
+ color: $yellow-1;
+ width: 100%;
+ margin-bottom: -24px;
+ }
+
+ .limitedTime {
+ height: 32px;
+ width: 446px;
+ font-size: 0.75rem;
+ margin: 24px 0 0 0;
+ background-color: $purple-300;
color: $white;
- height: 2rem;
- line-height: 16px;
- margin: auto -1rem -1rem;
- }
-
- .pt-015 {
- padding-top: 0.15rem;
+ margin-bottom: -24px;
}
}
+