File size: 1,933 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
@import "@automattic/components/src/styles/typography";
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/variables";

$blueberry-color: #3858e9;

.plan-stats {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	color: var(--studio-gray-80, #2c3338);
	font-family: "SF Pro Text", $sans;
	font-size: $font-body-extra-small;
	line-height: 16px;
	margin-top: 30px;

	a {
		text-decoration: none;
	}

	.plan-storage__bar {
		width: 100%;
		background: color-mix(in srgb, $blueberry-color 8%, transparent);

		> div {
			background: $blueberry-color;
		}

		&.is-alert {
			> div {
				background-color: var(--studio-red-30);
			}
		}
	}

	.plan-storage,
	.plan-bandwidth,
	.plan-site-visits {
		display: flex;
		flex-direction: column;
		border-radius: 4px;
		border: 1px solid var(--studio-gray-0);
		background: color-mix(in srgb, $blueberry-color 4%, transparent);
		padding: $grid-unit-20;
	}

	.plan-storage {
		flex: 3 1 auto;
		gap: $grid-unit-15;
	}

	.plan-bandwidth,
	.plan-site-visits {
		flex: 1;
		min-width: 150px;
		gap: $grid-unit-10;
	}

	.plan-storage-title-wrapper,
	.plan-bandwidth-title-wrapper,
	.plan-site-visits-title-wrapper {
		display: flex;
		justify-content: space-between;
		gap: $grid-unit-10;
	}

	.plan-storage-title,
	.plan-bandwidth-title,
	.plan-site-visits-title {
		font-size: rem(11px);
		font-weight: 500;
		text-transform: uppercase;
	}

	.plan-storage-footer {
		display: flex;
		flex-wrap: wrap;
		color: var(--color-link);

		a:hover {
			color: var(--color-link-dark);
		}
	}

	.plan-bandwidth-placeholder,
	.plan-site-visits-placeholder {
		height: 1em;
		max-width: calc(100% - $grid-unit-30);
	}

	.plan-stats__footer {
		display: flex;
		flex: 1 1 auto;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: $grid-unit-10;
		margin-top: 8px;
	}

	@media (max-width: $break-xlarge) {
		.plan-storage {
			gap: 16px;
			margin-top: 16px;
		}
	}
}