mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Add a form to set priority of top 2 providers
Their priority should always add up to 100%. Currently we have to ensure this by hand. Adding this form means there’s no way to not set their combined priorities to 100%. And it’s a bit more of an intuitive UI than two textboxes on separate pages.
This commit is contained in:
@@ -65,6 +65,15 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&-centered-button {
|
||||
|
||||
.button {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.align-button-with-textbox {
|
||||
|
||||
@@ -117,3 +117,60 @@
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.inline-stacked-label {
|
||||
|
||||
}
|
||||
|
||||
.radio-slider {
|
||||
|
||||
border-bottom: 2px solid $black;
|
||||
height: 18px;
|
||||
margin-bottom: 18px + 30px;
|
||||
margin-right: -18px;
|
||||
margin-left: -18px;
|
||||
white-space: nowrap;
|
||||
|
||||
legend {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.multiple-choice {
|
||||
|
||||
display: inline-block;
|
||||
margin-right: 0;
|
||||
padding: 0;
|
||||
width: 38px;
|
||||
margin-right: calc((100% - (38px * 11)) / 10);
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
|
||||
font-size: 0;
|
||||
padding: 0;
|
||||
|
||||
&:before {
|
||||
background: $white;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-left-value {
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
&-right-value {
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
right: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user