|
5 | 5 | {% block morecss %} |
6 | 6 | {{ block.super }} |
7 | 7 | .state-table .inactive, |
8 | | -.tag-table .inactive { |
9 | | - font-style: italic; |
| 8 | +.tag-table .inactive { font-style: italic; color: #666; } |
| 9 | +.state-table .state { margin-bottom: 0.1em; } |
| 10 | +.state-table .set-next-states label { display: block; cursor: pointer; } |
| 11 | +.state-table .set-next-states label input { vertical-align: middle; } |
| 12 | +.state-table .set-state input, .set-tag input { width: 6em; } |
| 13 | +.state-table .toggled { display: none; } |
| 14 | +.state-table .toggler { |
10 | 15 | color: #666; |
11 | | -} |
12 | | -.state-table .state { |
13 | | - padding-right: 0.6em; |
14 | | -} |
15 | | -.set-next-states { |
16 | | - margin-top: 1em; |
17 | | -} |
18 | | -.set-next-states label { |
19 | | - display: block; |
20 | | - cursor: pointer; |
21 | | -} |
22 | | -.set-next-states label input { |
23 | | - vertical-align: middle; |
24 | | -} |
25 | | -.set-state input, .set-tag input { |
26 | | - width: 6em; |
27 | | -} |
28 | | -.toggled { |
29 | | - display: none; |
30 | | -} |
31 | | -.toggler { |
32 | | - color: #000; |
| 16 | + background: #ddd; |
| 17 | + font-weight: bold; |
33 | 18 | text-decoration: none; |
34 | | - padding: 0px 3px; |
| 19 | + padding: 1px 3px; |
35 | 20 | display: inline-block; |
36 | 21 | margin-left: 0.5em; |
37 | | - font-size: 15px; |
38 | | - font-weight: bold; |
39 | | -} |
40 | | -.inactive .toggler { |
41 | | - color: #666; |
42 | | -} |
43 | | -.toggler:hover { |
44 | | - background-color: #999; |
45 | | - color: #fff; |
| 22 | + margin-top: 0.5em; |
| 23 | + margin-bottom: 0.5em; |
46 | 24 | } |
| 25 | +.state-table .inactive .toggler { color: #aaa; background: #eee; } |
| 26 | +.state-table .toggler:hover { background-color: #999; color: #fff; } |
47 | 27 | {% endblock %} |
48 | 28 |
|
49 | 29 | {% block content %} |
@@ -95,11 +75,11 @@ <h3>States</h3> |
95 | 75 | <td> |
96 | 76 | <div> |
97 | 77 | {% if state.used_next_states %} |
98 | | - {% for n in state.used_next_states %}<span class="state">{{ n.name }}</span>{% if not forloop.last %} {% endif %}{% endfor %} |
| 78 | + {% for n in state.used_next_states %}<div class="state">{{ n.name }}</div>{% endfor %} |
99 | 79 | {% else %} |
100 | | - <i>None</i> |
| 80 | + <div><i>None</i></div> |
101 | 81 | {% endif %} |
102 | | - <a class="toggler" title="Click to set next states for state" href="">+</a> |
| 82 | + <a class="toggler" title="Click to set next states for state" href="">+ customize</a> |
103 | 83 | </div> |
104 | 84 | <form class="toggled set-next-states" method="post" action=""> |
105 | 85 | Select the next states: |
@@ -153,11 +133,11 @@ <h3>Tags</h3> |
153 | 133 | var toggler = jQuery(this), |
154 | 134 | toggled = toggler.parent().siblings(".toggled"); |
155 | 135 | if (toggled.is(":hidden")) { |
156 | | - toggler.html("–"); |
| 136 | + toggler.html("– customize"); |
157 | 137 | toggled.slideDown(300); |
158 | 138 | } |
159 | 139 | else { |
160 | | - toggler.html("+"); |
| 140 | + toggler.html("+ customize"); |
161 | 141 | toggled.slideUp(300); |
162 | 142 | } |
163 | 143 | }); |
|
0 commit comments