- Posts: 11939
- Thank you received: 2802
Ask the community, share ideas, and connect with other LimeSurvey users!
.btn-primary { border-color : #fff; color : #FFF; background-color : #fff; } /* Active */ .btn-primary .active , .btn-primary : active { background-color : #1eaae6; color : #FFF; border-color : #1eaae6; } /* Normal and mouse over */ .btn-primary : hover { background-color : #1eaae6; color : #FFF; border-color : #1eaae6; } /* Active and move the mouse over it */ .btn-primary .active : hover { background-color : #1eaae6; color : #FFF; border-color : ##1eaae6; }
body .answer-item label::after { background-color: #ff0000; }
.answer-item label::after { background-color: #ff0000; }
/* Change bootstrap buttons */ /* Normal */ .btn-primary { border-color: rgb(30,170,230) !important; color: #FFF !important; background-color: rgb(30,170,230) !important; font-weight: bold !important; } /* Active */ .btn-primary.active, .btn-primary:active { background-color: rgb(150,190,55) !important; color: #FFF !important; border-color: rgb(150,190,55) !important; } /* Normal and mouse over */ .btn-primary:hover { background-color: rgb(150,190,55) !important; color: #FFF !important; border-color: rgb(150,190,55) !important; } /* Active and move the mouse over it */ .btn-primary.active:hover { background-color: rgb(150,190,55) !important; color: #FFF !important; border-color: rgb(150,190,55) !important; }
This increases the specificity (strength) of the rule. Making the selector more specific allows you to override previous rules without using the !important property. The !important property should only be used as a last resort, for example to override inline styles.what does the "body" part do here