Merge pull request #6653 from rabuzarus/20190214_-_frio_manage_css

frio - some small styling fixes for the manage page (badges, center name, paddings)
This commit is contained in:
Tobias Diekershoff 2019-02-14 05:41:23 +01:00 committed by GitHub
commit 71a5568385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 2 deletions

View file

@ -11,7 +11,7 @@
<div class="identity-match-photo" id="identity-match-photo-{{$id.uid}}">
<button name="identity" value="{{$id.uid}}" onclick="this.form.submit();" title="{{$id.username}}">
<img src="{{$id.thumb}}" alt="{{$id.username}}" />
{{if $id.notifications}}<span class="manage-notify">{{$id.notifications}}</span>{{/if}}
{{if $id.notifications}}<span class="manage-notify badge">{{$id.notifications}}</span>{{/if}}
</button>
</div>

View file

@ -3165,7 +3165,33 @@ section.help-content-wrapper li {
pointer-events: none;
}
/* Register Page*/
/* Manage Page */
#identity-selector-wrapper {
width: auto;
height: auto;
margin-top: 20px;
}
#identity-selector-wrapper .identity-match-photo {
width: auto;
float: none;
}
#identity-selector-wrapper .identity-match-photo button {
position: relative;
}
#identity-selector-wrapper .identity-match-photo .badge {
position: absolute;
top: -8px;
right: -8px;
}
#identity-selector-wrapper .identity-match-name {
text-align: center;
}
#identity-selector-wrapper .identity-match-details {
width: auto;
float: none;
}
/* Register Page */
#register-openid-wrapper, #register-name-wrapper, #register-invite-wrapper, #profile-publish-wrapper {
margin-top: 20px;
}