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

.site-options__form {
	margin-top: 12px;
}

.site-options__form-fieldset {
	$gray-60: #50575e;
	$gray-40: #787c82;

	margin-bottom: 24px;

	.form-label {
		margin-bottom: 8px;
		font-weight: 500;
		color: $gray-60;
		border-radius: 4px;

		.form-label__optional {
			font-size: inherit;
			color: $gray-40;
			text-transform: lowercase;

			&::before {
				content: "(";
			}

			&::after {
				content: ")";
			}
		}

		@include break-small {
			font-size: $font-body;
		}
	}

	input.form-text-input {
		height: 44px;
		line-height: 44px;
		border-radius: 4px;

		&:focus,
		&:focus:hover {
			border-color: #646970;
			box-shadow: 0 0 0 2px #e2eaf1;
		}
	}

	.form-setting-explanation {
		display: flex;
		align-items: center;
		margin: 16px 0;
		font-style: normal;
		color: $gray-40;

		.site-options__form-icon {
			margin-right: 8px;
		}
	}

	.form-input-validation {
		span {
			display: flex;
			align-items: center;
			gap: 10px;
		}
	}
}

.button.site-options__submit-button.is-primary {
	padding: 9px 48px;
	border-radius: 4px;
	font-weight: 500;

	// override unnecessary super specificity added by another class
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;

	&:disabled {
		color: #fff;
		background-color: #dcdcde;
	}
}