Skip to content

Instantly share code, notes, and snippets.

@chindit
Created June 22, 2016 21:18
Show Gist options
  • Save chindit/38fa70bd5116d94364679a213073bd63 to your computer and use it in GitHub Desktop.
Save chindit/38fa70bd5116d94364679a213073bd63 to your computer and use it in GitHub Desktop.
Form style for FOSUserBundle
form:not('.special'){
display: block;
margin: auto;
width: 214px;
border: 1px solid gray;
padding: 7px;
border-radius: 15px;
}
form#formLogin input:not([type="checkbox"]), form#formRegister input:not([type="checkbox"]), form#formRequest input:not([type="checkbox"]){
width: 25vw;
min-width: 480px;
}
form input:not([type="submit"]){
color: black;
}
label:not([for=remember_me]), input:not([type=checkbox]), button{
display: block;
}
label, input, button{
margin: 7px;
}
form ul{
padding: 0px;
}
form ul li{
list-style: none;
background: rgba(235, 0, 0, 0.5);
padding: 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment