File size: 1,601 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
@import "@automattic/typography/styles/variables";
@import "@wordpress/base-styles/breakpoints";
.basic-metric-details {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 72px;
grid-row-gap: 72px;
@media (max-width: $break-large) {
grid-template-columns: 1fr;
}
}
.basic-metrics__card {
.basic-metrics__header {
padding-left: 28px;
padding-top: 12px;
padding-bottom: 8px;
margin-bottom: 24px;
border-left: 5px solid;
.basic-metrics__name {
color: var(--studio-gray-20);
display: flex;
gap: 4px;
}
.basic-metrics__value {
display: inline-block;
background-clip: text;
color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-color: var(--studio-gray-30);
}
&.good {
border-color: var(--studio-green-30);
.basic-metrics__name svg {
color: var(--studio-green-30);
}
.basic-metrics__value {
background-image: linear-gradient(90deg, #3858e9, #349f4b);
}
}
&.poor {
border-color: var(--studio-red-50);
.basic-metrics__name svg {
color: var(--studio-red-50);
}
.basic-metrics__value {
background-image: linear-gradient(90deg, #ff0094, #d63638);
}
}
}
h3 {
color: var(--studio-white);
}
h4 {
color: var(--studio-gray-20);
}
a {
color: var(--studio-white) !important;
font-weight: 500;
}
}
.basic-metrics__value {
font-family: "SF Pro Text", $sans;
/* stylelint-disable-next-line */
font-size: 3.75rem;
font-style: normal;
font-weight: 400;
line-height: normal;
}
|