From 161cc6c20946c6098aa9302f52b1c6582b7a93dd Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 1 Dec 2013 22:56:18 +0100 Subject: [PATCH] [responsive/portal] Get rid of in portal_body.html --- .../template/portal/portal_body.html | 74 ++++++++++--------- styles/prosilver/theme/portal.css | 23 ++++++ 2 files changed, 62 insertions(+), 35 deletions(-) diff --git a/styles/prosilver/template/portal/portal_body.html b/styles/prosilver/template/portal/portal_body.html index 688386e6..67bfb358 100644 --- a/styles/prosilver/template/portal/portal_body.html +++ b/styles/prosilver/template/portal/portal_body.html @@ -10,11 +10,12 @@ -
+
-
+
-
+ + - + - - - - - - - - - - + + + + + +
+ + + + + + + + + + +
+ + - + - +
- +
-
+ + - + -
+
    +
  • @@ -25,31 +26,15 @@ -
- - - - - - - - - - - + +
+
@@ -64,13 +49,30 @@
-
+
@@ -81,14 +83,15 @@ -
+
    +
  • @@ -99,11 +102,12 @@ -
+ diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index c5215593..5049beba 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -68,6 +68,29 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{ list-style-type: none; } +/** +* Replacement for table layout +*/ +#portal-left, #portal-right { + position: relative; + float: left; +} + +#portal-center-wrapper { + width: 100%; + float: left; + display: block; +} + +#portal-column-area { + width: 100%; + margin: 0 auto; +} + +#portal-left { + margin-left: -100%; +} + /* * top spacing between portal body table and headerbar spacing is usually 10px */