From a140f8ecc191c9d51bc96894fcbbf6515cfe5743 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 16 Jun 2015 20:30:06 +0200 Subject: [PATCH 1/4] [ticket/582] Improve responsiveness for prosilver SE B3P-582 --- styles/prosilver/theme/portal.css | 34 ++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index 1b9cf273..a9708cf5 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -47,7 +47,7 @@ .portal-events li.row { - border-top: 0px; + border-top: 0; list-style-type: none; } @@ -412,6 +412,38 @@ a.portal-forumtitle { text-align: right; } +ul.topiclist dt .list-inner { + margin-right: 50%; +} + +ul.topiclist dt { + margin-right: -50%; +} + +ul.responsive-portal-news dd:last-of-type, ul.responsive-portal-announcements dd:last-of-type { + width: 15%; +} + +dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-of-type { + width: 15%; +} + +.rtl ul.topiclist dt .list-inner { + margin-left: 50%; +} + +.rtl ul.topiclist dt { + margin-left: -50%; +} + +.rtl ul.responsive-portal-news dd:last-of-type, ul.responsive-portal-announcements dd:last-of-type { + width: 15%; +} + +.rtl dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-of-type { + width: 15%; +} + /* Portal clock -------------------------------------- */ .portal-clock-wrapper { From a1a6220e476773ff20e3398dd405fcf642e88eb8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 16 Jun 2015 20:34:35 +0200 Subject: [PATCH 2/4] [ticket/582] Remove redundant CSS B3P-582 --- styles/prosilver/theme/portal.css | 12 ++++++------ styles/prosilver/theme/portal_responsive.css | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index a9708cf5..361c41da 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -98,7 +98,7 @@ .rtl .portal-user-annotation { float: left; - padding-right: 0px; + padding-right: 0; } .portal-title-span { @@ -121,7 +121,7 @@ .rtl .portal-text-span { float: right; - padding-right: 0px; + padding-right: 0; padding-left: 10px; } @@ -132,7 +132,7 @@ .rtl .portal-data-span { float: left; - padding-right: 0px; + padding-right: 0; padding-left: 10px; } @@ -371,8 +371,8 @@ a.portal-forumtitle { } #portal-body #viewpoll { - margin-left: 0px; - margin-right: 0px; + margin-left: 0; + margin-right: 0; } #portal-left li, #portal-center li, @@ -480,7 +480,7 @@ dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last- .portal-clock-front, .portal-clock-back { position: absolute; - top: 0px; + top: 0; } .portal-clock-front-upper div { diff --git a/styles/prosilver/theme/portal_responsive.css b/styles/prosilver/theme/portal_responsive.css index 6a0c9f31..1fb29713 100644 --- a/styles/prosilver/theme/portal_responsive.css +++ b/styles/prosilver/theme/portal_responsive.css @@ -38,7 +38,7 @@ @media only screen and (max-width: 700px), only screen and (max-device-width: 700px) { .responsive-portal-news dd.lastpost, .responsive-portal-announcements dd.lastpost { display: none !important; } - .responsive-portal-news dt .list-inner, .responsive-portal-announcements dt .list-inner { margin-right: 0px !important; } + .responsive-portal-news dt .list-inner, .responsive-portal-announcements dt .list-inner { margin-right: 0 !important; } .responsive-portal-news dt, .responsive-portal-announcements dt { width: 100% !important; } dt#n, dt#a { width: 100% !important; } From add30ed905c1d585a934b1e326474486f6740285 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 16 Jun 2015 20:49:03 +0200 Subject: [PATCH 3/4] [ticket/582] Increase space for last post info B3P-582 --- styles/prosilver/theme/portal.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index 361c41da..8ae59a65 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -421,11 +421,11 @@ ul.topiclist dt { } ul.responsive-portal-news dd:last-of-type, ul.responsive-portal-announcements dd:last-of-type { - width: 15%; + width: 20%; } dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-of-type { - width: 15%; + width: 20%; } .rtl ul.topiclist dt .list-inner { @@ -437,11 +437,11 @@ dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last- } .rtl ul.responsive-portal-news dd:last-of-type, ul.responsive-portal-announcements dd:last-of-type { - width: 15%; + width: 20%; } .rtl dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-of-type { - width: 15%; + width: 20%; } /* Portal clock From 50dcce6c5947c3558400b05821424b3f0b60111d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 16 Jun 2015 20:49:03 +0200 Subject: [PATCH 4/4] [ticket/582] Increase space for last post info [ci skip] B3P-582 --- styles/prosilver/theme/portal.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index 361c41da..b256222b 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -421,11 +421,11 @@ ul.topiclist dt { } ul.responsive-portal-news dd:last-of-type, ul.responsive-portal-announcements dd:last-of-type { - width: 15%; + width: 25%; } dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-of-type { - width: 15%; + width: 25%; } .rtl ul.topiclist dt .list-inner { @@ -437,11 +437,11 @@ dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last- } .rtl ul.responsive-portal-news dd:last-of-type, ul.responsive-portal-announcements dd:last-of-type { - width: 15%; + width: 25%; } .rtl dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-of-type { - width: 15%; + width: 25%; } /* Portal clock