From bd7a54b627246fc2d3f69f701f6941a5e8fde42a Mon Sep 17 00:00:00 2001 From: Chris Van Date: Wed, 23 May 2012 00:42:28 -0700 Subject: [PATCH] fix paginators in many places --- media/css/devreg/paginator.less | 65 --------------------------------- media/css/mkt/paginator.less | 1 - media/css/mkt/ratings.less | 8 ++-- mkt/asset_bundles.py | 2 +- 4 files changed, 6 insertions(+), 70 deletions(-) delete mode 100644 media/css/devreg/paginator.less diff --git a/media/css/devreg/paginator.less b/media/css/devreg/paginator.less deleted file mode 100644 index 9cbb1d4995..0000000000 --- a/media/css/devreg/paginator.less +++ /dev/null @@ -1,65 +0,0 @@ -@import 'lib'; - -.paginator { - width: 100%; - .border-box; - .disabled { - opacity: .25; - pointer-events: none; - } - p { - float: left; - margin-top: 0; - font-size: 12px; - &.num a { - color: inherit; - } - } - .pos, - .num { - padding: 7px 0 9px; - width: 25%; - } - .pos { - text-align: right; - } - .rel { - text-align: center; - width: 50%; - a { - display: inline-block; - font-size: 14px; - margin-left: 7px; - padding: 7px 14px 9px; - } - } -} - -.html-rtl .paginator { - p { - float: right; - } - .pos { - text-align: left; - } - .num { - text-align: right; - } -} - -html[lang=de], -html[lang=id], -html[lang=it] { - .paginator { - p { - font-size: 11px; - } - .rel a { - font-size: 12px; - } - } -} - -.island > .paginator { - padding: 0 1em; -} diff --git a/media/css/mkt/paginator.less b/media/css/mkt/paginator.less index 6b6f241d19..46fc0a26fa 100644 --- a/media/css/mkt/paginator.less +++ b/media/css/mkt/paginator.less @@ -1,7 +1,6 @@ @import 'lib'; .paginator { - float: left; width: 100%; .disabled { opacity: 0.25; diff --git a/media/css/mkt/ratings.less b/media/css/mkt/ratings.less index d8e6502039..b18f7c2e9b 100644 --- a/media/css/mkt/ratings.less +++ b/media/css/mkt/ratings.less @@ -11,6 +11,10 @@ #submit-review { bottom: 15px; } + #reviews-info, + #review-list { + min-height: 400px; + } } .listing { @@ -34,7 +38,7 @@ bottom: 20px; } } - .paginator { + #review-list + .paginator { margin-top: 15px; } } @@ -43,7 +47,6 @@ position: relative; #reviews-info { margin-top: 20px; - min-height: 400px; position: relative; } ul { @@ -104,7 +107,6 @@ } #review-list { background: fade(#fff, 50%); - min-height: 400px; } .review { list-style-type: none; diff --git a/mkt/asset_bundles.py b/mkt/asset_bundles.py index 3a5b6acd1f..d33d6ff9c1 100644 --- a/mkt/asset_bundles.py +++ b/mkt/asset_bundles.py @@ -17,7 +17,7 @@ CSS = { # Item rows (used on Dashboard). 'css/devreg/listing.less', - 'css/devreg/paginator.less', + 'css/mkt/paginator.less', # Buttons (used for paginator, "Edit" buttons, Refunds page). 'css/devreg/buttons.less',