summaryrefslogtreecommitdiff
blob: 11c07c250bbd7f101d62fce0933e432cda461fc7 (plain)
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
@import '../../shared/styles/gutenberg-colors.scss';

.wp-block-jetpack-slideshow__add-item {
	margin-top: 4px;
	width: 100%;

	.components-form-file-upload,
	.components-button.wp-block-jetpack-slideshow__add-item-button {
		width: 100%;
		height: 100%;
	}

	.components-button.wp-block-jetpack-slideshow__add-item-button {
		display: flex;
		flex-direction: column;
		justify-content: center;
		box-shadow: none;
		border: none;
		border-radius: 0;
		min-height: 100px;

		.dashicon {
			margin-top: 10px;
		}

		&:hover,
		&:focus {
			border: 1px solid $dark-gray-500;
		}
	}
}

.wp-block-jetpack-slideshow_slide {
	.components-spinner {
		position: absolute;
		top: 50%;
		left: 50%;
		margin-top: -9px;
		margin-left: -9px;
	}
	&.is-transient img {
		opacity: 0.3;
	}
}