From 7b04ee6a9bcdccc344d71fcdaa0246bfb6f84bec Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 11:47:16 +0200 Subject: [PATCH 1/8] Align location label (fixes profile and group directory display) --- theme/neo-gnu/css/display.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/neo-gnu/css/display.css b/theme/neo-gnu/css/display.css index be9b80d41c..954e307aad 100644 --- a/theme/neo-gnu/css/display.css +++ b/theme/neo-gnu/css/display.css @@ -1162,7 +1162,7 @@ td.entity_profile { .profile_list .label { display: block; - margin-left: 59px !important; + margin-left: 55px !important; } .profile_list .note { From a416abb940b97456ec94df0ba82401d535cb8037 Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 11:51:00 +0200 Subject: [PATCH 2/8] Beautify (a bit) groups list * Reduce font size to fit and look better * Group nickname is bold * Add @ prefix to location --- theme/base/css/display.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 20f9aa775f..b8c2de45c8 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1633,14 +1633,23 @@ margin-left:0; } .entity_profile .p-nickname { - font-size:1.4em; + font-size: 1.0em; + font-weight: bold; } .entity_profile .p-name { - font-size: 1.2em; + font-size: 1.0em; clear: left; } +.entity_profile .label { + font-size: 1.0em; + clear: left; +} +.entity_profile .label:before { + content: "@"; +} + .entity_profile .p-name:before { content: "("; font-weight:normal; From 31bcf8cfa275e5c4cda28454ae0ac7cf57a9c779 Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 12:13:14 +0200 Subject: [PATCH 3/8] Show full name close to nickname in subscribers list. For consistency with groups list --- theme/base/css/display.css | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index b8c2de45c8..813af05c28 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1618,9 +1618,6 @@ ul.profile_list li { .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; @@ -1633,23 +1630,13 @@ margin-left:0; } .entity_profile .p-nickname { - font-size: 1.0em; font-weight: bold; } .entity_profile .p-name { - font-size: 1.0em; clear: left; } -.entity_profile .label { - font-size: 1.0em; - clear: left; -} -.entity_profile .label:before { - content: "@"; -} - .entity_profile .p-name:before { content: "("; font-weight:normal; From dc9342f184af56ef49ab91491e71b1bd48d758dd Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 12:33:36 +0200 Subject: [PATCH 4/8] Group location on a new line as in profile lists --- theme/base/css/display.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 813af05c28..fa621e536f 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1637,6 +1637,10 @@ margin-left:0; clear: left; } +.entity_profile .label { + display: block; +} + .entity_profile .p-name:before { content: "("; font-weight:normal; From 8056aec93ebe7c8d270704b05ab8e6d35cc52515 Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 11:20:33 +0200 Subject: [PATCH 5/8] Remove bullets from user's groups list --- theme/base/css/display.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index fa621e536f..8751bd0166 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1615,6 +1615,10 @@ ul.profile_list li { margin-bottom: 20px; } +ul.profiles.groups { + list-style-type:none; +} + .profile_list .h-card .u-photo { margin-right: 4px; } From 86ed4ac6031117ecaaa18f3bad25ed9586d00092 Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 15:22:11 +0200 Subject: [PATCH 6/8] This margin is not needed anymore --- theme/neo-gnu/css/display.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/theme/neo-gnu/css/display.css b/theme/neo-gnu/css/display.css index 954e307aad..2bc34d683d 100644 --- a/theme/neo-gnu/css/display.css +++ b/theme/neo-gnu/css/display.css @@ -1160,11 +1160,6 @@ td.entity_profile { font-size: 1.4em; } -.profile_list .label { - display: block; - margin-left: 55px !important; -} - .profile_list .note { font-size: 0.88em; line-height: 1.36em; From cd6ad8571f75f5cebd2c697362a6671206962691 Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 16:10:34 +0200 Subject: [PATCH 7/8] Make group lists look like profile ones in neo-quitter theme --- theme/neo-quitter/css/display.css | 34 +++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/theme/neo-quitter/css/display.css b/theme/neo-quitter/css/display.css index 967b6d62ff..0500395514 100644 --- a/theme/neo-quitter/css/display.css +++ b/theme/neo-quitter/css/display.css @@ -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:" ยท "; } From de1d49865c7206aab0dc94eabf728ad23248e95d Mon Sep 17 00:00:00 2001 From: aroquen Date: Sun, 26 Jul 2015 19:10:01 +0200 Subject: [PATCH 8/8] Add some bottom margin to space profile items --- theme/base/css/display.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 8751bd0166..ba3cbf7206 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1890,7 +1890,7 @@ left:3px; } .profile .entity_profile { -margin-bottom:0; +margin-bottom:10px; min-height:60px; }