File size: 2,686 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@import "@automattic/typography/styles/variables";

.help-center__container-content .help-center-contact-form__wrapper {
	padding: 0 16px 80px;

	.contact-form-submit {
		display: flex;
		gap: 10px;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		box-sizing: border-box;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		background: #fff;
		padding: 16px;
		height: auto;
		z-index: 1;

		button {
			height: 42px;
			margin: 0;
		}

		.help-center-contact-form__site-picker-cta {
			&:disabled {
				&:hover {
					color: var(--color-neutral-20);
				}
			}
			&.is-busy {
				&:hover {
					color: var(--color-text-inverted);
				}
			}
		}
	}

	.help-center-contact-form__site-picker-hes-tray {
		margin-top: 16px;
		display: flex;
		align-items: center;

		.happiness-engineers-tray {
			margin: 0;
			flex-wrap: nowrap;
		}

		img {
			width: 32px;
			height: 32px;
			border: 2px solid #fff;
			border-radius: 50%;
		}

		img + img {
			margin-left: -16px;
		}

		.help-center-contact-form__site-picker-hes-tray-text {
			font-size: $font-body-extra-small;
			color: var(--studio-gray-60);
			margin: 0;
			margin-left: 8px;
		}
	}

	button {
		width: 100%;
		justify-content: center;
		margin-bottom: 4px;
		vertical-align: middle;
	}

	// Contact Form
	.help-center-contact-form {
		section {
			margin-top: 16px;
		}

		.help-center-contact-form__site-picker-title {
			font-size: $root-font-size;
			color: var(--studio-gray-100);
			margin-top: 20px;
		}

		.components-base-control__field {
			input,
			textarea {
				&.components-text-control__input {
					// they have very high specificity
					padding: 15.5px !important;
					border: 1px solid var(--studio-gray-10) !important;
					border-radius: 4px !important;
					box-sizing: border-box;
				}
			}
		}

		.help-center-contact-form__domain-sharing .components-checkbox-control {
			display: flex;

			.components-base-control__help {
				margin: 0;
				padding-left: 8px;

				svg {
					fill: var(--studio-gray-50);
				}
			}
		}

		.help-center-contact-form__message,
		.help-center-contact-form__subject input.components-text-control__input {
			padding: 15.5px;
			border: 1px solid var(--studio-gray-10);
			border-radius: 4px;
			width: 100%;
			display: block;
			box-sizing: border-box;

			&:focus {
				box-shadow: none;
				outline: none;
				border-color: var(--studio-gray-10);
			}
		}

		.help-center-contact-form__site-picker-form-warning,
		.help-center-contact-form__site-picker-form-subtitle {
			color: var(--studio-gray-60);
		}

		.help-center-contact-form__label {
			font-size: $font-body-small;
			color: var(--studio-gray-60);
			margin-bottom: 8px;
			display: block;
		}
	}
}