Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .form-checkbox{
- visibility: hidden;
- }
- .form-radio-item:not(#foo) label:before {
- border-radius: 50%;
- }
- .form-checkbox-item:not(#foo) label:after,
- .form-checkbox-item:not(#foo) label:before {
- border-radius : 0;
- }
- .form-checkbox-item:not(#foo) label:before {
- border-width:2px;
- }
- .form-checkbox-item:not(#foo){
- margin-bottom: 0;
- position: relative;
- }
- /*-------------custom checkbox--------------*/
- .form-checkbox:before {
- content: '';
- position: absolute;
- display: inline-block;
- vertical-align: baseline;
- margin-right: 4px;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-border-radius: 50%;
- -moz-border-radius: 50%;
- border-radius: 50%;
- border: 2px solid #ec1a0f;
- width: 24px;
- height: 24px;
- cursor: pointer;
- visibility: visible;
- margin-top: -2px;
- margin-left: -6px;
- }
- .form-checkbox:after {
- content: '';
- position: absolute;
- z-index: 10;
- display: inline-block;
- opacity: 0;
- top: 14px;
- width: 12px;
- height: 12px;
- background-color: #ec1a0f;
- -webkit-border-radius: 50%;
- -moz-border-radius: 50%;
- border-radius: 50%;
- cursor: pointer;
- visibility: visible;
- }
- .form-checkbox:checked:after {
- opacity: 1;
- visibility: visible;
- }
- .form-product-item label {
- margin-left: 5px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement