1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/15769] Crop avatars on upload

PHPBB3-15769
This commit is contained in:
mrgoldy
2020-05-10 00:30:30 +02:00
committed by Marc Alexander
parent eb1edd12a1
commit 4d860bf967
17 changed files with 4693 additions and 6 deletions

View File

@@ -42,6 +42,29 @@
vertical-align: top;
}
/** Button groups */
.button-group {
display: inline-block;
}
.button-group + .button-group {
margin-left: 8px;
}
.button-group > .button:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.button-group > .button:last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.button-group > .button:not(:first-child):not(:last-child) {
border-radius: 0;
}
/* Posting page styles
---------------------------------------- */
.button-form,
@@ -173,3 +196,13 @@ button::-moz-focus-inner {
border: 0;
padding: 0;
}
/* UCP: Avatar cropper */
.avatar-cropper-buttons {
text-align: center;
display: none;
}
.avatar-cropper-buttons > .button-group {
margin: 4px;
}