File size: 1,111 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
@import '@automattic/typography/styles/fonts';

.accept__dialog {
	padding-bottom: 24px;
	max-width: 500px;
}

.accept__dialog-use-modal {
	.components-modal__header h1.components-modal__header-heading {
		font-family: $sans;
		font-size: 1.25rem;
		font-weight: 600;
	}

	.accept__dialog-buttons {
		display: flex;
		justify-content: end;
		gap: 0.5rem;
		margin-top: 1.5rem;

		.components-button.is-primary.is-scary {
			background-color: var( --color-error );
			color: var( --color-text-inverted );
			border-color: var( --color-error );

			&:hover,
			&:focus-visible {
				background-color: var( --color-error-60 );
			}
		}
	}
}

// TODO: remove after /plugins/manage details doesn't use Dialog
.is-section-plugins .components-modal__screen-overlay {
	z-index: z-index( 'root', '.is-section-plugins .components-modal__screen-overlay' );
}

// TODO: remove after /plugins/manage details doesn't use Dialog
.is-section-jetpack-cloud-plugin-management .components-modal__screen-overlay {
	z-index: z-index(
		'root',
		'.is-section-jetpack-cloud-plugin-management .components-modal__screen-overlay'
	);
}