css: refactor controls-select to controls--select (modifier)
This commit is contained in:
parent
04e748995a
commit
5437db72e6
3 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="controls-select">
|
<div class="controls controls--select">
|
||||||
<select id="<%= @attribute.id %>" class="form-control<%= " #{ @attribute.class }" if @attribute.class %>" name="<%= @attribute.name %>" <%= @attribute.multiple %> <%= @attribute.required %> <%= @attribute.autofocus %>>
|
<select id="<%= @attribute.id %>" class="form-control<%= " #{ @attribute.class }" if @attribute.class %>" name="<%= @attribute.name %>" <%= @attribute.multiple %> <%= @attribute.required %> <%= @attribute.autofocus %>>
|
||||||
<% if @attribute.options: %>
|
<% if @attribute.options: %>
|
||||||
<% for row in @attribute.options: %>
|
<% for row in @attribute.options: %>
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
<div class="formGroup-label">
|
<div class="formGroup-label">
|
||||||
<label for="Ticket_890825_group_id">Group <span>*</span></label>
|
<label for="Ticket_890825_group_id">Group <span>*</span></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="controls"><div class="controls-select">
|
<div class="controls"><div class="controls controls--select">
|
||||||
<select id="Ticket_890825_group_id" class="form-control" name="group_id" required="">
|
<select id="Ticket_890825_group_id" class="form-control" name="group_id" required="">
|
||||||
<option value="">-</option>
|
<option value="">-</option>
|
||||||
<option value="1">Users</option>
|
<option value="1">Users</option>
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
<div class="formGroup-label">
|
<div class="formGroup-label">
|
||||||
<label for="Ticket_890825_owner_id">Owner <span></span></label>
|
<label for="Ticket_890825_owner_id">Owner <span></span></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="controls"><div class="controls-select">
|
<div class="controls"><div class="controls controls--select">
|
||||||
<select id="Ticket_890825_owner_id" class="form-control" name="owner_id">
|
<select id="Ticket_890825_owner_id" class="form-control" name="owner_id">
|
||||||
<option value="" selected="">-</option>
|
<option value="" selected="">-</option>
|
||||||
</select>
|
</select>
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
<div class="formGroup-label">
|
<div class="formGroup-label">
|
||||||
<label for="Ticket_890825_state_id">State <span>*</span></label>
|
<label for="Ticket_890825_state_id">State <span>*</span></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="controls"><div class="controls-select">
|
<div class="controls"><div class="controls controls--select">
|
||||||
<select id="Ticket_890825_state_id" class="form-control" name="state_id" required="">
|
<select id="Ticket_890825_state_id" class="form-control" name="state_id" required="">
|
||||||
<option value="">-</option>
|
<option value="">-</option>
|
||||||
<option value="4">closed</option>
|
<option value="4">closed</option>
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
<div class="formGroup-label">
|
<div class="formGroup-label">
|
||||||
<label for="Ticket_890825_priority_id">Priority <span>*</span></label>
|
<label for="Ticket_890825_priority_id">Priority <span>*</span></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="controls"><div class="controls-select">
|
<div class="controls"><div class="controls controls--select">
|
||||||
<select id="Ticket_890825_priority_id" class="form-control" name="priority_id" required="">
|
<select id="Ticket_890825_priority_id" class="form-control" name="priority_id" required="">
|
||||||
<option value="">-</option>
|
<option value="">-</option>
|
||||||
<option value="1">1 low</option>
|
<option value="1">1 low</option>
|
||||||
|
|
|
@ -1409,7 +1409,7 @@ fieldset > .form-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.controls-select {
|
.controls--select {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4086,7 +4086,7 @@ footer {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-inline .controls-select {
|
.form-inline .controls--select {
|
||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue