[dw-nonfree] Styles: make links display correctly when icons are switched to text and vice versa
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/8342cfe92a3f]
http://bugs.dwscoalition.org/show_bug.cgi?id=2949
Fix the way that user and entry links display when switching between icons
and text.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2949
Fix the way that user and entry links display when switching between icons
and text.
Patch by
Files modified:
- bin/upgrading/s2layers/sundaymorning/layout.s2
- bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 4dfb22e5ba03 -r 8342cfe92a3f bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2 Thu Aug 26 23:27:05 2010 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2 Sat Aug 28 19:12:32 2010 +0800
@@ -511,17 +511,22 @@ q { font-style: italic;
.module-userprofile .userpic {
text-align: center;
}
-.module-userprofile ul {
+.module-userprofile ul.icon-links {
margin: 0;
margin-top: 5px;
padding: 0;
text-align: center;
}
+
+.module-userprofile ul.text-links {
+ text-align: left;
+}
+
.module-userprofile p {
margin-top: 0;
margin-bottom: 0;
}
-.module-userprofile li {
+.module-userprofile .icon-links li {
display: inline;
padding: 5px;
list-style: none;
diff -r 4dfb22e5ba03 -r 8342cfe92a3f bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2 Thu Aug 26 23:27:05 2010 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2 Sat Aug 28 19:12:32 2010 +0800
@@ -559,7 +559,7 @@ function Page::print_default_stylesheet
.module-userprofile .userpic {
text-align: center;
}
- .module-userprofile ul {
+ .module-userprofile ul.icon-links {
margin: 0;
padding: 0;
text-align: center;
@@ -569,7 +569,7 @@ function Page::print_default_stylesheet
margin-top: 0;
margin-bottom: 0;
}
- .module-userprofile li {
+ .module-userprofile .icon-links li {
display: inline;
padding: 5px;
list-style: none;
--------------------------------------------------------------------------------
