File size: 1,702 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
108
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";

.global-styles-variations__container {
	display: flex;
	gap: 32px;
	flex-direction: row;
	@include break-large {
		flex-direction: column;
	}
}

.global-styles-variations {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow: scroll;
	padding: 6px 2px;

	scrollbar-width: none;

	&::-webkit-scrollbar {
		display: none;
	}

	@include break-large {
		flex-wrap: wrap;
		padding-top: 12px;
		padding-bottom: 2px;
	}

	.global-styles-variation-container__iframe {
		max-height: 79px;
	}
}

.global-styles-variations__header {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-left: 3px;
	color: var(--studio-gray-50);
}

.global-styles-variations__header h2 {
	align-items: center;
	display: inline-flex;
	font-size: 1rem;
	white-space: nowrap;
	font-weight: 500;
	line-height: 24px;
	color: var(--studio-gray-100);
	margin: 0;
}

.global-styles-variations__header p {
	color: var(--color-neutral-60);
	font-size: 0.875rem;
	letter-spacing: -0.15px;
	padding: 6px 0 6px 0;
	line-height: 20px;
	margin: 0;

	display: none;
	@include break-large {
		display: block;
	}
}

.global-styles-variations__item {
	cursor: pointer;
	padding: 3px;
	position: relative;

	&:hover,
	&:focus-visible,
	&.is-active {
		&::after {
			border-radius: 3px;
			bottom: 0;
			content: "";
			display: block;
			left: 0;
			pointer-events: none;
			position: absolute;
			right: 0;
			top: 0;
		}
	}

	&:hover,
	&:focus-visible {
		&::after {
			box-shadow: 0 0 0 2px var(--studio-blue-50);
		}
	}

	&.is-active {
		&::after {
			box-shadow: 0 0 0 2px var(--studio-gray);
		}
	}

	&:focus-visible {
		outline: none;
	}
}