diff options
author | Marc Schumann <wurblzap@gmail.com> | 2012-04-14 18:05:39 +0200 |
---|---|---|
committer | Marc Schumann <wurblzap@gmail.com> | 2012-04-14 18:05:39 +0200 |
commit | dd288903e2a64d3f012987fcb676a1bce45ab41f (patch) | |
tree | 7251b742cacca13c6b9e76554d78504564a79331 | |
parent | 502497f97a999a3b1fffcd5c76264fa04ea0b307 (diff) | |
download | bugzilla-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.css | 33 | ||||
-rw-r--r-- | skins/standard/global/down.png | bin | 335 -> 0 bytes | |||
-rw-r--r-- | skins/standard/global/left.png | bin | 339 -> 0 bytes | |||
-rw-r--r-- | skins/standard/global/right.png | bin | 339 -> 0 bytes | |||
-rw-r--r-- | skins/standard/global/up.png | bin | 318 -> 0 bytes | |||
-rw-r--r-- | template/en/default/list/change-columns.html.tmpl | 23 |
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 ↑, ↓, ← or → 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 Binary files differdeleted file mode 100644 index 78a9e631a..000000000 --- a/skins/standard/global/down.png +++ /dev/null diff --git a/skins/standard/global/left.png b/skins/standard/global/left.png Binary files differdeleted file mode 100644 index f8cb2b2dd..000000000 --- a/skins/standard/global/left.png +++ /dev/null diff --git a/skins/standard/global/right.png b/skins/standard/global/right.png Binary files differdeleted file mode 100644 index d02b707a6..000000000 --- a/skins/standard/global/right.png +++ /dev/null diff --git a/skins/standard/global/up.png b/skins/standard/global/up.png Binary files differdeleted file mode 100644 index 240d483df..000000000 --- a/skins/standard/global/up.png +++ /dev/null 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()">→</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()">←</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()">↑</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()">↓</button> </td> </tr> </table> |