Merge branch 'beautify_profile_list' into 'nightly'
Beautify profiles and groups lists Some css fixes to make groups and profiles list more consistent: In base: * Remove bullets that were floating around * Reduce font size to fit and look better * Group nickname is bold * Same location and full name layout in both groups and profile lists In neo-gnu: * Align vertically location In neo-quitter: * Make group list look like profile one * Small adjustments due to changes to base How it looks with neo-gnu Profile: ![profile](https://git.gnu.io/gnu/gnu-social/uploads/c403c85c323bdcaa2fbb7ab10539ad39/profile.png) Groups: ![group](https://git.gnu.io/gnu/gnu-social/uploads/51276daa838c404bd63cc04b208beaa6/group.png) How it looks with neo-quitter Profile: ![profile](https://git.gnu.io/gnu/gnu-social/uploads/d16bc2587025769dac9e2b46a0589999/profile.png) Group: ![group](https://git.gnu.io/gnu/gnu-social/uploads/125670c8bcf08bcabf2cac0e0bb0661b/group.png) See merge request !26
This commit is contained in:
commit
3251ef3b51
@ -1611,12 +1611,13 @@ ul.profile_list li {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
ul.profiles.groups {
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
.profile_list .h-card .u-photo {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.profile_list .h-card .p-nickname {
|
||||
display: block;
|
||||
}
|
||||
|
||||
table.profile_list tbody tr:nth-child(2n+1) {
|
||||
background-color: #fafafa !important;
|
||||
@ -1629,14 +1630,17 @@ margin-left:0;
|
||||
}
|
||||
|
||||
.entity_profile .p-nickname {
|
||||
font-size:1.4em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.entity_profile .p-name {
|
||||
font-size: 1.2em;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.entity_profile .label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.entity_profile .p-name:before {
|
||||
content: "(";
|
||||
font-weight:normal;
|
||||
@ -1882,7 +1886,7 @@ left:3px;
|
||||
}
|
||||
|
||||
.profile .entity_profile {
|
||||
margin-bottom:0;
|
||||
margin-bottom:10px;
|
||||
min-height:60px;
|
||||
}
|
||||
|
||||
|
@ -1158,11 +1158,6 @@ td.entity_profile {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.profile_list .label {
|
||||
display: block;
|
||||
margin-left: 59px !important;
|
||||
}
|
||||
|
||||
.profile_list .note {
|
||||
font-size: 0.88em;
|
||||
line-height: 1.36em;
|
||||
|
@ -585,24 +585,39 @@ ul.profile_list li {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.profile .entity_profile .p-name,
|
||||
.profile .entity_profile .p-locality,
|
||||
.profile .entity_profile .role,
|
||||
.profile .entity_profile > span,
|
||||
.profile .entity_profile .u-url[rel~="contact"] {
|
||||
|
||||
/* these apply to both profiles and groups */
|
||||
.entity_profile .p-name,
|
||||
.entity_profile .p-locality,
|
||||
.entity_profile .role,
|
||||
.entity_profile > span,
|
||||
.entity_profile .u-url[rel~="contact"] {
|
||||
display: inline;
|
||||
margin-left: 0;
|
||||
font-size:0.88em;
|
||||
font-size:1.0em;
|
||||
color:#9197a3;
|
||||
}
|
||||
|
||||
.entity_profile .p-name:before,
|
||||
.entity_profile .p-nickname {
|
||||
color:#666 !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.entity_profile .label {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.entity_profile .p-name:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.profile .entity_profile .u-url {
|
||||
font-size:0.88em;
|
||||
font-size:1.0em;
|
||||
}
|
||||
|
||||
/* clear parethesis from base theme */
|
||||
.entity_profile .p-name:before,
|
||||
.entity_profile .p-name:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.entity_profile .role:before {
|
||||
@ -613,6 +628,7 @@ ul.profile_list li {
|
||||
content: ")";
|
||||
}
|
||||
|
||||
.entity_profile .label:before,
|
||||
.profile .entity_profile .p-locality:before {
|
||||
content:" · ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user