File size: 767 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
@import "@wordpress/base-styles/colors";
@import "@wordpress/base-styles/variables";
@import "@wordpress/base-styles/mixins";

.dashboard-callout {
	max-width: 600px;
	overflow: hidden;

	&.is-highlight {
		background: rgba(56, 88, 233, 0.04);
	}

	&.is-image-full-bleed {
		.dashboard-callout__h-container {
			padding: 0;
		}

		.dashboard-callout__content {
			padding: $grid-unit-30;
		}
	}
}

.dashboard-callout__h-container {
	padding: $grid-unit-30;
	@include body-medium;
	color: $gray-700;

	> * {
		flex: 1 0;
	}
}

.dashboard-callout__title {
	@include heading-large;
	color: $gray-900;
	margin: 0;
}

.dashboard-callout__image {
	position: relative;

	img,
	svg {
		position: absolute;
		width: 100%;
		height: 100%;
	}

	img {
		object-fit: cover;
	}
}