From: Dan Scott Date: Tue, 4 Oct 2011 01:58:17 +0000 (-0400) Subject: TPAC: Replace dashboard images with CSS X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=93be12f729cd6b21b40294daebe2272105687bd1;p=evergreen%2Fmasslnc.git TPAC: Replace dashboard images with CSS Also gets rid of a number of tables and a bunch of CSS definitions with hard-coded widths that will cause trouble when longer translated terms get dropped into place. Signed-off-by: Dan Scott Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2 index bdb9d54d29..db1f2a4127 100644 --- a/Open-ILS/src/templates/opac/parts/topnav.tt2 +++ b/Open-ILS/src/templates/opac/parts/topnav.tt2 @@ -14,81 +14,33 @@ [% ELSE %] [% END %] diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index e90a0ef82a..9d18010f29 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -79,21 +79,39 @@ div.select-wrapper:hover { } #dash_wrapper { - width:500px; - position:relative; - top:-26px; + position: relative; + top: -2em; +} + +#dash_wrapper div { + position: relative; + vertical-align: middle; + background: #252525; + border-radius: 5px; + height: 3em; + padding: 0em 1em 0em 1em; +} + +span.dash_divider { + margin: 0em 1em 0em 1em; + position: relative; + top: 10px; + color: black; } #dashboard { clear:both; float:right; - width:384px; + margin-top: 1em; + background: #252525; + border-radius: 5px; + height: 3em; } -#dashboard span { - font-weight:bold; - position:relative; - left:-1px; +#dashboard span.dash-align a { + font-weight: bold; + position: relative; + top: 10px; } #dash_user { @@ -103,35 +121,6 @@ div.select-wrapper:hover { top: 10px; } -#dash_corner_mid1a { - vertical-align: top; - background: url('/images/dash-corner-mid1.png') repeat-x; - padding-left: 8px; -} -#dash_corner_mid1b { - background: url('/images/dash-corner-mid1.png') repeat-x; - padding: 0px 8px 0px 10px; -} -#dash_corner_mid1b img { position: relative; top: -1px; } -#dash_corner_mid1c { - background: url('/images/dash-corner-mid1.png') repeat-x; - vertical-align: top; -} -#dash_corner_mid2a { - vertical-align: top; - width: 372px; - background: url('/images/dash-corner-mid2.png') repeat-x; -} -.dash-pos-out { position: relative; left: 3px; } -.dash-pos-holds { position: relative; left: 100px; } -.dash-align-out { text-align: right; width: 86px; } -.dash-align-holds { text-align: right; width: 62px; } -.dash-pos-pickup { position: relative; left: 170px; } -.dash-align-pickup { text-align: right; width: 111px; } -.dash-pos-fines { position: relative; left: 284px; } -.dash-align-fines { text-align: right; width: 76px; } -.pos-rel-top4 { position: relative; top: 4px; } -#dash_number_row { position: relative; top: 6px; } #logout_link { left: 1px; } #dash_checked { color: #ffcc33; } diff --git a/Open-ILS/web/images/dash-corner-left1.png b/Open-ILS/web/images/dash-corner-left1.png deleted file mode 100644 index 9559e8bf30..0000000000 Binary files a/Open-ILS/web/images/dash-corner-left1.png and /dev/null differ diff --git a/Open-ILS/web/images/dash-corner-left2.png b/Open-ILS/web/images/dash-corner-left2.png deleted file mode 100644 index 5bc8112c90..0000000000 Binary files a/Open-ILS/web/images/dash-corner-left2.png and /dev/null differ diff --git a/Open-ILS/web/images/dash-corner-mid1.png b/Open-ILS/web/images/dash-corner-mid1.png deleted file mode 100644 index 546b8a8038..0000000000 Binary files a/Open-ILS/web/images/dash-corner-mid1.png and /dev/null differ diff --git a/Open-ILS/web/images/dash-corner-mid2.png b/Open-ILS/web/images/dash-corner-mid2.png deleted file mode 100644 index 15af112586..0000000000 Binary files a/Open-ILS/web/images/dash-corner-mid2.png and /dev/null differ diff --git a/Open-ILS/web/images/dash-corner-right1.png b/Open-ILS/web/images/dash-corner-right1.png deleted file mode 100644 index 061afc92db..0000000000 Binary files a/Open-ILS/web/images/dash-corner-right1.png and /dev/null differ diff --git a/Open-ILS/web/images/dash-corner-right2.png b/Open-ILS/web/images/dash-corner-right2.png deleted file mode 100644 index 8663e0c69d..0000000000 Binary files a/Open-ILS/web/images/dash-corner-right2.png and /dev/null differ diff --git a/Open-ILS/web/images/dash-divider.jpg b/Open-ILS/web/images/dash-divider.jpg deleted file mode 100644 index 19dda7d23b..0000000000 Binary files a/Open-ILS/web/images/dash-divider.jpg and /dev/null differ