summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-04-14 18:05:39 +0200
committerMarc Schumann <wurblzap@gmail.com>2012-04-14 18:05:39 +0200
commitdd288903e2a64d3f012987fcb676a1bce45ab41f (patch)
tree7251b742cacca13c6b9e76554d78504564a79331
parent502497f97a999a3b1fffcd5c76264fa04ea0b307 (diff)
downloadbugzilla-dd288903e2a64d3f012987fcb676a1bce45ab41f.tar.gz
bugzilla-dd288903e2a64d3f012987fcb676a1bce45ab41f.tar.xz
Change columns: empty buttons when images turned off.
r/a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=474747
-rw-r--r--skins/standard/global.css33
-rw-r--r--skins/standard/global/down.pngbin335 -> 0 bytes
-rw-r--r--skins/standard/global/left.pngbin339 -> 0 bytes
-rw-r--r--skins/standard/global/right.pngbin339 -> 0 bytes
-rw-r--r--skins/standard/global/up.pngbin318 -> 0 bytes
-rw-r--r--template/en/default/list/change-columns.html.tmpl23
6 files changed, 19 insertions, 37 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 1a09dbc25..0b28ff3b6 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -409,6 +409,12 @@ dl dl > dt {
white-space: normal !important;
}
+/* Arrow buttons are buttons with only &uarr;, &darr;, &larr; or &rarr; on
+ * them. We want these to look a little less spidery. */
+.arrow_button {
+ font-size: 150%;
+}
+
/* Style of the attachment table and time tracking table */
#attachment_table {
border-collapse: collapse;
@@ -560,30 +566,3 @@ input.required, select.required, span.required_explanation {
border: 2px solid #B70000;
background-color: #FFEBEB;
}
-
-/*****************/
-/* colchange.cgi */
-/*****************/
-
-.image_button {
- background-repeat: no-repeat;
- background-position: center center;
- width: 30px;
- height: 20px;
-}
-
-#select_button {
- background-image: url(global/right.png);
-}
-
-#deselect_button {
- background-image: url(global/left.png);
-}
-
-#up_button {
- background-image: url(global/up.png);
-}
-
-#down_button {
- background-image: url(global/down.png);
-}
diff --git a/skins/standard/global/down.png b/skins/standard/global/down.png
deleted file mode 100644
index 78a9e631a..000000000
--- a/skins/standard/global/down.png
+++ /dev/null
Binary files differ
diff --git a/skins/standard/global/left.png b/skins/standard/global/left.png
deleted file mode 100644
index f8cb2b2dd..000000000
--- a/skins/standard/global/left.png
+++ /dev/null
Binary files differ
diff --git a/skins/standard/global/right.png b/skins/standard/global/right.png
deleted file mode 100644
index d02b707a6..000000000
--- a/skins/standard/global/right.png
+++ /dev/null
Binary files differ
diff --git a/skins/standard/global/up.png b/skins/standard/global/up.png
deleted file mode 100644
index 240d483df..000000000
--- a/skins/standard/global/up.png
+++ /dev/null
Binary files differ
diff --git a/template/en/default/list/change-columns.html.tmpl b/template/en/default/list/change-columns.html.tmpl
index b13055c38..ff7e5d371 100644
--- a/template/en/default/list/change-columns.html.tmpl
+++ b/template/en/default/list/change-columns.html.tmpl
@@ -57,8 +57,7 @@
<tr>
<th><div id="avail_header" class="bz_default_hidden">Available Columns</div></th>
<th></th>
- <th>Selected Columns</th>
- <th></th>
+ <th colspan="2">Selected Columns</th>
</tr>
<tr>
<td>
@@ -68,11 +67,13 @@
</select>
</td>
<td>
- <input class="image_button bz_default_hidden" type="button"
- id="select_button" name="select" onclick="move_select()">
+ <button type="button" id="select_button" name="select"
+ class="bz_default_hidden arrow_button"
+ onclick="move_select()">&rarr;</button>
<br><br>
- <input class="image_button bz_default_hidden" type="button"
- id="deselect_button" name="deselect" onclick="move_deselect()">
+ <button type="button" id="deselect_button" name="deselect"
+ class="bz_default_hidden arrow_button"
+ onclick="move_deselect()">&larr;</button>
</td>
<td>
<select name="selected_columns" id="selected_columns"
@@ -93,11 +94,13 @@
</select>
</td>
<td>
- <input class="image_button bz_default_hidden" type="button"
- id="up_button" name="up" onclick="move_up()">
+ <button type="button" id="up_button" name="up"
+ class="bz_default_hidden arrow_button"
+ onclick="move_up()">&uarr;</button>
<br><br>
- <input class="image_button bz_default_hidden" type="button"
- id="down_button" name="down" onclick="move_down()">
+ <button type="button" id="down_button" name="down"
+ class="bz_default_hidden arrow_button"
+ onclick="move_down()">&darr;</button>
</td>
</tr>
</table>