Template:Styles/Default.css: Difference between revisions

Content deleted Content added
new infobox CSS
simplify button styles
Line 165:
}
 
.frb-btn,
.frequency-options label,
.amount-options label,
.payment-method-button {
display: block;
Line 182 ⟶ 181:
cursor: pointer;
}
.frequencyfrb-options labelbtn:hover,
.amountpayment-options labelmethod-button:hover {
color: #444;
}
 
.frequencyfrb-options labelbtn:active,
.amount-options label:active,
.payment-method-button:active {
background-color: #d9d9d9;
Line 195 ⟶ 193:
}
 
.amount-options input[type="radio"]:checked + label.frb-btn {
.frequency-options label.checked,
.frequency-options input[type="radio"]:checked + label,
.amount-options input[type="radio"]:checked + label {
background-color: #2a4b8d;
color: #fff;
Line 204 ⟶ 200:
 
/* Focus styles */
.frb-btn:focus,
.payment-method-button:focus {
outline: 0;
Line 210 ⟶ 207:
}
 
.frequency-options input[type="radio"]:focus + label.frb-btn,
.amount-options input[type="radio"]:focuschecked + label,.frb-btn:focus {
.frequency-options input[type="radio"]:checked + label:focus,
.amount-options input[type="radio"]:checked + label:focus {
box-shadow: inset 0 0 0 1px #36c, inset 0 0 0 2px #fff;
}