input.warn extends input.submit
background: url($images/warning_ban.gif) no-repeat
background-color: #fff0e3
:hover
background-color: #fff5e8// Declare position only here, so that inherited classes can also set it.
input.submit
background-position: 5px centerThis is for a core feature..? Like, in the Wedge SVN? I suppose not, otherwise you'd have added it directly to index.member.css..?
input.warn extends input.submit
background: #fff0e3 url($images/warning_ban.gif) 5px center no-repeat
:hover
background-color: #fff5e8Still. I don't see why you're not declaring this way..?
input.new mixes .button-padding
background: url($images/buttons/new.png) 5px center no-repeat
background-color: #e0eaf6input.warn extends input.submit
background: url($images/warning_ban.gif) 5px center no-repeat
background-color: #fff0e3
:hover
background-color: #fff5e8/* And for the infraction history. Guests cannot see it.
------------------------------------------------- */
$inf_active = #cfc
$inf_expired = #f8faf8
$inf_revoked = #ffc
.windowbg.inf_active
background-color: darker($inf_active, 3%)
.windowbg.inf_expired
background-color: darker($inf_expired, 3%)
.windowbg.inf_revoked
background-color: darker($inf_revoked, 3%)
.windowbg2.inf_active
background-color: $inf_active
.windowbg2.inf_expired
background-color: $inf_expired
.windowbg2.inf_revoked
background-color: $inf_revokedAdd a 'final' keyword to all of these windowbg-related selectors, and please tell me how many bytes this saves in your gzipped CSS, if any ;)
Also, I'd like to know if these .inf_* entries will show up for admins only?
Also, you forgot to add commas after your new .warn_* classes. I'm surprised you didn't catch it at commit time..?
As I said: please use final keywords when you're playing with anything that's used as an extend anywhere else...