mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Adds a toggle for email lists.
1). Improvments to name/email regexp 2). beginnings of validation logic for email list toggle
This commit is contained in:
+39
-1
@@ -4,4 +4,42 @@
|
||||
#first_name_error, #last_name_error
|
||||
{
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
/* toggle for mailman or other email list */
|
||||
.toggle {
|
||||
height: 50px;
|
||||
}
|
||||
.toggle.off .noUi-handle {
|
||||
border-color: red;
|
||||
}
|
||||
|
||||
.toggle.on .noUi-handle {
|
||||
border-color: green;
|
||||
}
|
||||
|
||||
/* get rid of the pesky handle stripping with specificity */
|
||||
#email_list_toggle > div > div > div.hello:before, #email_list_toggle > div > div > div.hello:after,
|
||||
{
|
||||
content: none;
|
||||
}
|
||||
|
||||
.toggle.noUi-horizontal .noUi-handle {
|
||||
width: 34px;
|
||||
height: 20px;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.toggle.noUi-horizontal.noUi-extended {
|
||||
padding-right: 32px;
|
||||
}
|
||||
|
||||
.toggle.noUi-horizontal.noUi-extended .noUi-handle {
|
||||
left: -1px;
|
||||
}
|
||||
.toggle.noUi-horizontal.noUi-extended .noUi-origin {
|
||||
right: -32px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@
|
||||
inset 0 1px 7px #DDD,
|
||||
0 3px 6px -3px #BBB;
|
||||
}
|
||||
|
||||
|
||||
/* Handle stripes;
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user