diff options
author | Martin Wright <martin@mynameismartin.com> | 2015-08-20 11:50:48 +0100 |
---|---|---|
committer | Martin Wright <martin@mynameismartin.com> | 2015-08-20 11:52:07 +0100 |
commit | 8c05a004326876981f4b1daf70e6831176322473 (patch) | |
tree | e1054d200459bd3d8ed1e00c6bfcb97d834e02ac /assets | |
parent | 077ef1aca901f5a656cb3672c60328d3a70a0f99 (diff) |
Don't use -pale colour variables, just do the operations inline
Diffstat (limited to 'assets')
-rw-r--r-- | assets/stylesheets/responsive/custom.scss | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 49b2590..c27e9eb 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -31,13 +31,8 @@ $status-failure: $color_red; $status-pending: $color_orange; $notice-color: $color_green; -$notice-color-pale: desaturate(lighten($notice-color, 30%),10%); - $error-color: $color_red; -$error-color-pale: desaturate(lighten($error-color, 30%),10%); - $action-color: $color_orange; -$action-color-pale: desaturate(lighten($action-color, 30%),10%);; /* Mixin styles */ @@ -183,7 +178,7 @@ a.link_button_green_large { /* Popups */ .popup { - background-color: $notice-color-pale; + background-color: desaturate(lighten($notice-color, 30%),10%); border: 3px solid $notice-color; } @@ -264,18 +259,18 @@ a.link_button_green_large { } #notice, #request_header_text { - background-color: $notice-color-pale; + background-color: desaturate(lighten($notice-color, 30%),10%); border-color: $notice-color; } #error, .errorExplanation, #hidden_request, .warning { - background-color: $error-color-pale; + background-color: desaturate(lighten($error-color, 30%),10%); border-color: $error-color; } .undescribed_requests { - background-color: $action-color-pale; + background-color: desaturate(lighten($action-color, 30%),10%); border-color: $action-color; } @@ -599,7 +594,7 @@ a.link_to_this { padding: 0; form{ - background-color: $action-color-pale; + background-color: desaturate(lighten($action-color, 30%),10%); border-color: $action-color; h2 { margin-top: 0; |