Updated select box to match design
This commit is contained in:
parent
5542c9456c
commit
172947f366
|
@ -78,6 +78,24 @@ label {
|
|||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.select-wrapper {
|
||||
position: relative;
|
||||
|
||||
.caret {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: $gl-padding;
|
||||
color: $gray-darkest;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.select-control {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.form-control-inline {
|
||||
display: inline;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
= groups_select_tag(:link_group_id, skip_group: @project.group.try(:path))
|
||||
.form-group
|
||||
= label_tag :link_group_access, "Max access level", class: "label-light"
|
||||
= select_tag :link_group_access, options_for_select(ProjectGroupLink.access_options, ProjectGroupLink.default_access), class: "form-control"
|
||||
.select-wrapper
|
||||
= select_tag :link_group_access, options_for_select(ProjectGroupLink.access_options, ProjectGroupLink.default_access), class: "form-control select-control"
|
||||
%span.caret
|
||||
= submit_tag "Share", class: "btn btn-create"
|
||||
.col-sm-12
|
||||
%hr
|
||||
|
|
Loading…
Reference in New Issue