Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 3737 by jtsen...@gmail.com: Code refactoring for def.less on review-request-action color
https://code.google.com/p/reviewboard/issues/detail?id=3737

What version are you running?
2.0.13 alpha

What's the URL of the page this enhancement relates to, if any?
all

Describe the enhancement and the motivation for it.
Several duplicated references of same css definition that makes the code confusing and without obvious code clarifying benefit

What operating system are you using? What browser?
Mac OSX - Chrome, Firefox

Please provide any additional information below.

Code in reference - def.less

@review-request-actions-bg: @review-request-action-primary-bg;
@review-request-actions-border-color: darken(@review-request-action-primary-bg, 40%);

@review-request-action-bg: #E5D7A8;
@review-request-action-border-color: @review-request-actions-border-color;
@review-request-action-active-bg: darken(@review-request-action-bg, 20%);
@review-request-action-hover-bg: darken(@review-request-action-bg, 12%);

@review-request-action-primary-bg: @review-request-action-bg;
@review-request-action-primary-active-bg: @review-request-action-active-bg;
@review-request-action-primary-hover-bg: @review-request-action-hover-bg;

@review-request-action-menu-border-color: @review-request-actions-border-color;
@review-request-action-menu-bg: @review-request-action-active-bg;
@review-request-action-menu-item-hover-bg: @review-request-action-hover-bg;

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to