From c89e3107f3913f27f57bcee3f4cbbbdf9f69808d Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Sun, 4 Dec 2011 13:34:58 +0200 Subject: [PATCH] Set all signatures use gray background by default. Previoulsy they were white on white, which was a horrible default. --- template/resources/sass/_class_overview.scss | 1 - template/resources/sass/_hover_menu.scss | 2 -- template/resources/sass/_mixins.scss | 6 ++++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/template/resources/sass/_class_overview.scss b/template/resources/sass/_class_overview.scss index 8e91949a..c4e905cf 100644 --- a/template/resources/sass/_class_overview.scss +++ b/template/resources/sass/_class_overview.scss @@ -44,7 +44,6 @@ .signature { font-weight: bold; text-transform: uppercase; - color: white; font-size: 0.7em; @include border-radius(2px); margin-left: 5px; diff --git a/template/resources/sass/_hover_menu.scss b/template/resources/sass/_hover_menu.scss index e0fa23fd..755cb219 100644 --- a/template/resources/sass/_hover_menu.scss +++ b/template/resources/sass/_hover_menu.scss @@ -55,8 +55,6 @@ font-weight: bold; padding: 0 0.5em; @include border-radius(2px); - color: white; - background: #aaa; @include signature-colors; } } } .hover-menu a { diff --git a/template/resources/sass/_mixins.scss b/template/resources/sass/_mixins.scss index 13038589..fbb1c046 100644 --- a/template/resources/sass/_mixins.scss +++ b/template/resources/sass/_mixins.scss @@ -146,10 +146,12 @@ // Shared colors for member signatures in toolbar menu and class api body @mixin signature-colors { + // the default colors + color: white; + background-color: #aaa; + // specific colors &.deprecated { background-color: #aa0000; } - &.protected, &.template, &.readonly, &.abstract { - background-color: #aaa; } &.static { background-color: $docs-text-color; } &.required { -- GitLab