Skip to content

Commit 7bba093

Browse files
committed
adds indication of required form fields
1 parent 5aefec1 commit 7bba093

File tree

1 file changed

+2
-0
lines changed
  • src/Legislator/LegislatorBundle/Resources/public/css

1 file changed

+2
-0
lines changed

src/Legislator/LegislatorBundle/Resources/public/css/app.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ form input[type="text"], input[type="email"], form input[type="password"], texta
1111
form input[type="text"], form input[type="password"], textarea {min-width: 30em;}
1212
option[selected] {background-color: greenyellow;}
1313
label:first-letter {text-transform: uppercase;}
14+
label.required:before {content: "*"; padding-right: 0.2em; color: red;}
15+
label.required {font-weight: bold;}
1416

1517
.delete.button {background-color: #FF4B2F; border-color: #DD432B;}
1618
.delete.button:hover {background-color: #DD432B;}

0 commit comments

Comments
 (0)