|
|
@import '@wordpress/base-styles/breakpoints'; |
|
|
|
|
|
.edit-gravatar { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
align-items: center; |
|
|
min-width: 205px; |
|
|
|
|
|
.edit-gravatar__image-container { |
|
|
position: relative; |
|
|
display: flex; |
|
|
} |
|
|
|
|
|
.edit-gravatar__caution-icon { |
|
|
position: absolute; |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
bottom: 0; |
|
|
right: 0; |
|
|
background-color: var( --studio-red-60 ); |
|
|
border: 2px solid #fff; |
|
|
border-radius: 50%; |
|
|
width: 48px; |
|
|
height: 48px; |
|
|
box-sizing: border-box; |
|
|
} |
|
|
|
|
|
.edit-gravatar__explanation-container { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
margin: 15px 0 20px; |
|
|
min-height: 24px; |
|
|
} |
|
|
|
|
|
.edit-gravatar__action-button { |
|
|
font-size: 14px; |
|
|
text-decoration: none; |
|
|
text-wrap: pretty; |
|
|
} |
|
|
|
|
|
.edit-gravatar__explanation { |
|
|
color: var( --color-text-subtle ); |
|
|
font-size: $font-body-small; |
|
|
font-style: italic; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
.edit-gravatar__avatar-placeholder, |
|
|
.edit-gravatar__action-button-placeholder { |
|
|
@include placeholder(); |
|
|
} |
|
|
|
|
|
.edit-gravatar__avatar-placeholder, |
|
|
.edit-gravatar__hidden-avatar { |
|
|
width: 150px; |
|
|
height: 150px; |
|
|
border-radius: 50%; |
|
|
} |
|
|
|
|
|
.edit-gravatar__hidden-avatar { |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
background-color: var( --studio-gray-5 ); |
|
|
} |
|
|
|
|
|
.edit-gravatar__action-button-placeholder { |
|
|
height: 24px; |
|
|
width: 160px; |
|
|
} |
|
|
|
|
|
.edit-gravatar__pop-over svg { |
|
|
margin-top: 2px; |
|
|
} |
|
|
|
|
|
&.edit-gravatar--is-unverified { |
|
|
.gravatar { |
|
|
opacity: 0.33; |
|
|
} |
|
|
} |
|
|
|
|
|
@media ( min-width: $break-large ) { |
|
|
.edit-gravatar__action-button, |
|
|
.edit-gravatar__explanation { |
|
|
max-width: 260px; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.popover__inner { |
|
|
.gridicons-external { |
|
|
margin-left: 1px; |
|
|
} |
|
|
|
|
|
p:last-of-type { |
|
|
margin-bottom: 0; |
|
|
} |
|
|
} |
|
|
|