diff --git a/assets/stylesheets/solutions.scss b/assets/stylesheets/solutions.scss index 5db71e4..5f5430e 100644 --- a/assets/stylesheets/solutions.scss +++ b/assets/stylesheets/solutions.scss @@ -1,24 +1,20 @@ +$solved-color: green; + .select-kit { &.solved-status-filter { min-width: auto; } } -.solved-panel, -.post-controls .accepted, -.fa.accepted, -.accepted-text { - color: green; - .d-icon { - color: currentColor; - } -} - .post-controls span:not(.d-button-label) { display: inline-flex; align-items: baseline; } +.fa.accepted { + color: $solved-color; +} + .post-controls { .accepted, .unaccepted { @@ -26,6 +22,16 @@ margin-left: 7px; } } + + .accepted { + .d-icon, + .d-button-label { + color: $solved-color; + .discourse-no-touch & { + color: $solved-color; + } + } + } } .post-controls span.accepted-text { @@ -39,11 +45,6 @@ } } -// you can style accepted answers however your want -.quote.accepted-answer { - // background-color: #E9FFE0; -} - .mobile-view .solved-panel { margin-bottom: 15px; } @@ -56,10 +57,6 @@ margin-top: 20px; margin-bottom: 0px; font-size: 13px; - // margin-bottom: 0px; - // padding: 4px 0px; - //border-top: 1px solid #ddd; - //background-color: #E9FFE0; } aside.quote .title.title-only {