From b7a78fb1853f0a782d71fedb963eed89ebd4899f Mon Sep 17 00:00:00 2001 From: xtine Date: Tue, 7 Jun 2016 17:44:16 -0700 Subject: [PATCH 1/3] write mode header and toggle colors --- .../regulations/css/less/comment-custom.less | 48 +++++++++++-------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/notice_and_comment/static/regulations/css/less/comment-custom.less b/notice_and_comment/static/regulations/css/less/comment-custom.less index eea560c..6a34e30 100644 --- a/notice_and_comment/static/regulations/css/less/comment-custom.less +++ b/notice_and_comment/static/regulations/css/less/comment-custom.less @@ -26,25 +26,6 @@ a.comment-index-review { } } -.comment-header { - & > a { - color: @black; - border-bottom: 2px solid @link_blue; - } -} - -.comment-index { - - li { - background: @gray; - color: @black; - - &:hover { - background: lighten(@gray, 10%);; - } - } -} - .preamble-header { .read-proposal, @@ -101,6 +82,35 @@ a.comment-index-review { } } +#preamble-write { + + .comment-wrapper { + + .comment-header { + .comment-header-link a { + color: @black; + border-bottom: 2px solid @link_blue; + } + } + + a.comment-context-toggle { + .comment-context-text { + color: @link_blue; + } + } + } +} + +.comment-index { + li { + background: @gray; + color: @black; + + &:hover { + background: lighten(@gray, 10%);; + } + } +} #comment-review { .statement { From dd4a876de8263e29111f2e0f1c80c1e2443f1a26 Mon Sep 17 00:00:00 2001 From: xtine Date: Tue, 7 Jun 2016 18:09:42 -0700 Subject: [PATCH 2/3] citation gray for comment context and attachment count --- .../static/regulations/css/less/comment-custom.less | 8 +++++++- .../static/regulations/css/less/variables.less | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/notice_and_comment/static/regulations/css/less/comment-custom.less b/notice_and_comment/static/regulations/css/less/comment-custom.less index 6a34e30..260c5da 100644 --- a/notice_and_comment/static/regulations/css/less/comment-custom.less +++ b/notice_and_comment/static/regulations/css/less/comment-custom.less @@ -85,7 +85,6 @@ a.comment-index-review { #preamble-write { .comment-wrapper { - .comment-header { .comment-header-link a { color: @black; @@ -98,6 +97,13 @@ a.comment-index-review { color: @link_blue; } } + + .comment-context, + .comment-attachment-count, + .comment-attachment-limit { + color: @citation_gray; + } + } } diff --git a/notice_and_comment/static/regulations/css/less/variables.less b/notice_and_comment/static/regulations/css/less/variables.less index f8fe396..432d13e 100644 --- a/notice_and_comment/static/regulations/css/less/variables.less +++ b/notice_and_comment/static/regulations/css/less/variables.less @@ -28,5 +28,7 @@ variables.less contains all theme variable / variable overrides @gray: #D6D7D9; @dark_gray: #D8D8D8; +@citation_gray: #767676; + @light_orange: #FFF1D2; @orange: #FDB81E; From ef9238b4aaa6e25345c8f30b006cfc945d873785 Mon Sep 17 00:00:00 2001 From: xtine Date: Wed, 8 Jun 2016 13:08:27 -0700 Subject: [PATCH 3/3] don't color comment context text --- .../static/regulations/css/less/comment-custom.less | 1 - 1 file changed, 1 deletion(-) diff --git a/notice_and_comment/static/regulations/css/less/comment-custom.less b/notice_and_comment/static/regulations/css/less/comment-custom.less index 260c5da..b6815ce 100644 --- a/notice_and_comment/static/regulations/css/less/comment-custom.less +++ b/notice_and_comment/static/regulations/css/less/comment-custom.less @@ -98,7 +98,6 @@ a.comment-index-review { } } - .comment-context, .comment-attachment-count, .comment-attachment-limit { color: @citation_gray;