forked from CGM_Public/pretix_original
Cart: make single-select checkbox look like a button
This commit is contained in:
committed by
GitHub
parent
fd6843822b
commit
1897bd4b26
@@ -29,10 +29,6 @@
|
||||
color: $alert-warning-text;
|
||||
}
|
||||
}
|
||||
.item-checkbox-label {
|
||||
display: block;
|
||||
margin-top: .4em;
|
||||
}
|
||||
|
||||
.product-description.with-picture {
|
||||
margin-left: 70px;
|
||||
|
||||
@@ -7,6 +7,22 @@ a.btn, button.btn {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.btn-checkbox {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
white-space: normal;
|
||||
|
||||
input {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
}
|
||||
&.btn-checkbox-checked {
|
||||
background-color: $gray-lighter;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-title .radio {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user