Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SV-62 Make the cards stand out more from the background #68

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*Adds a border around the cards in the preference sorting activity*/
li.d-flex.card.p-3.mb-2.optionitem.draggable {
border-style: solid;
border-color: #c0c0c0;
border-width: thin;
}
2 changes: 1 addition & 1 deletion templates/sort_voting_form.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{{! This list is drag and drop sortable. }}
<ul id="sortvotinglist" class="ml-0 fa-ul">
{{#options}}
<li class="d-flex card p-3 mb-2 {{^allowupdate}}bg-gray-100{{/allowupdate}} {{#allowupdate}}optionitem draggable{{/allowupdate}}" {{#allowupdate}}data-drag-type="move" draggable="true"{{/allowupdate}}>
<li class="d-flex card p-3 mb-2 {{#allowupdate}}optionitem draggable{{/allowupdate}}" {{#allowupdate}}data-drag-type="move" draggable="true"{{/allowupdate}}>
<div>
<input type="number" name="option[]" data-optionid="{{id}}" value="{{position}}" max="{{max}}" min="1" class="d-none" />
<span class="float-right dragicon ml-auto">{{#pix}}i/dragdrop{{/pix}}</span>
Expand Down
Loading