Created
August 21, 2015 07:20
-
-
Save ooooak/0e2c324bcc95919b57b7 to your computer and use it in GitHub Desktop.
[Bootstrap 3] form-group-vertical Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.form-group-vertical .form-control:focus { | |
border-color: #cccccc; | |
outline: 0; | |
-webkit-box-shadow: none; | |
box-shadow: none; | |
} | |
.form-group-vertical .form-group { | |
margin-bottom: 0px; | |
} | |
.form-group-vertical .form-group input { | |
border-bottom-width: 0px; | |
border-radius: 0px; | |
} | |
.form-group-vertical .form-group:focus { | |
box-shadow: none; | |
border-color: #cccccc; | |
} | |
.form-group-vertical .form-group:first-child input { | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px; | |
} | |
.form-group-vertical .form-group:last-child { | |
margin-bottom: 15px; | |
} | |
.form-group-vertical .form-group:last-child input { | |
border-bottom-left-radius: 4px; | |
border-bottom-right-radius: 4px; | |
border-bottom-width: 1px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.form-group-vertical{ | |
.form-control:focus { | |
border-color: #cccccc; | |
outline: 0; | |
-webkit-box-shadow: none; | |
box-shadow: none; | |
} | |
.form-group{ | |
margin-bottom:0px; | |
input{ | |
border-bottom-width: 0px; | |
border-radius: 0px; | |
} | |
&:focus{ | |
box-shadow: none; | |
border-color: #cccccc; | |
} | |
} | |
.form-group:first-child input{ | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px; | |
} | |
.form-group:last-child { | |
margin-bottom: 15px; | |
input{ | |
border-bottom-left-radius: 4px; | |
border-bottom-right-radius: 4px; | |
border-bottom-width: 1px; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment