File size: 1,812 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
@import "@automattic/typography/styles/variables";
@import "@wordpress/base-styles/breakpoints";

.profile__settings .edit-gravatar {
	text-align: center;

	@include breakpoint-deprecated(">960px") {
		float: left;
		margin-right: 40px;
		margin-bottom: 20px;
	}
}

@media (min-width: 961px) {
	.me-profile-settings .edit-gravatar {
		margin-bottom: 0;
	}
}

.profile__settings .form-fieldset:nth-child(1),
.profile__settings .form-fieldset:nth-child(2) {
	@include breakpoint-deprecated(">960px") {
		clear: right;
	}
}

.profile__settings .profile__public-url {
	font-size: $font-body-small;
}

.profile__is_dev_account-fieldset-is-loading {
	.components-form-toggle {
		> * {
			visibility: hidden;
		}
		.components-form-toggle__track {
			visibility: visible;
			border: none;
			@include placeholder( --color-neutral-10 );
		}
	}
	.components-toggle-control__label {
		@include placeholder();
		a {
			color: inherit;
		}
	}
}

.profile__gravatar-profile-disclosure {
	display: flex;
	flex-direction: column-reverse;
	justify-content: space-between;
	margin-bottom: 1.5em;
	font-size: $font-body-small;
	line-height: 20px;
	word-break: break-word;
	gap: 5px;

	.profile__gravatar-profile-title {
		font-weight: 600;
	}

	.profile__gravatar-profile-description {
		margin: 5px 0 0;
	}

	@include breakpoint-deprecated( '>960px' ) {
		flex-direction: row;
		gap: 2em;
	}
}

.profile__submit-button-wrapper {
	margin-bottom: 0;
}

.profile-links__list {
	.profile-link:last-of-type {
		margin-bottom: 0;
	}
}

main.profile {
	.email-verification-banner {
		margin-bottom: 16px;
		margin-top: 0;

		@media (min-width: $break-small) {
			margin-top: 24px;
			margin-bottom: 24px;
		}
	}

	&:has(.email-verification-banner) .navigation-header {
		@media (min-width: $break-small) {
			padding-bottom: 0;
		}
	}
}