Color status select

This commit is contained in:
2017-05-10 23:34:46 +02:00
parent 48ad75c461
commit 9d302d5124
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,8 @@
&.with-status &.with-status
border-top: thick solid $color-background-dark border-top: thick solid $color-background-dark
@include status-color-property(border-top-color, '', 'dark') @include status-color-property(border-top-color, '', 'dark')
@include status-color-property(color, ' select', 'dark')
@include status-color-property(border-bottom-color, ' select', 'dark')
.item-name .item-name
font-size: 1.6em font-size: 1.6em

View File

@@ -24,7 +24,7 @@
select#item-status.input-transparent( select#item-status.input-transparent(
name="status") name="status")
| {% for status in shot_node_type.dyn_schema.status.allowed %} | {% for status in shot_node_type.dyn_schema.status.allowed %}
| <option value="{{ status }}" {% if status == shot.properties.status %}selected{% endif %}>{{ status | undertitle }}</option> | <option class="status-{{status}}" value="{{ status }}" {% if status == shot.properties.status %}selected{% endif %}>{{ status | undertitle }}</option>
| {% endfor %} | {% endfor %}
.input-group .input-group