From f33aed82de46a595a53ea21365b94eaba46b45d4 Mon Sep 17 00:00:00 2001 From: imakewebthings Date: Thu, 11 Aug 2011 11:25:34 +0800 Subject: [PATCH] Selection styles --- themes/style/swiss.css | 2 ++ themes/style/swiss.scss | 4 ++-- themes/style/web-2.0.css | 2 ++ themes/style/web-2.0.scss | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/themes/style/swiss.css b/themes/style/swiss.css index cd17d00..fd71460 100644 --- a/themes/style/swiss.css +++ b/themes/style/swiss.css @@ -40,9 +40,11 @@ body, .deck-container { } .deck-container ::-moz-selection { background: #c00; + color: #fff; } .deck-container ::selection { background: #c00; + color: #fff; } .deck-container a, .deck-container a:active, .deck-container a:visited { color: #c00; diff --git a/themes/style/swiss.scss b/themes/style/swiss.scss index da7de26..dc18ab2 100644 --- a/themes/style/swiss.scss +++ b/themes/style/swiss.scss @@ -46,8 +46,8 @@ body, .deck-container { } } - ::-moz-selection{ background:#c00; } - ::selection { background:#c00; } + ::-moz-selection{ background:#c00; color:#fff; } + ::selection { background:#c00; color:#fff; } a { &, &:active, &:visited { diff --git a/themes/style/web-2.0.css b/themes/style/web-2.0.css index c6d3a78..80c7338 100644 --- a/themes/style/web-2.0.css +++ b/themes/style/web-2.0.css @@ -136,9 +136,11 @@ body, .deck-container { } .deck-container ::-moz-selection { background: #08455f; + color: #fff; } .deck-container ::selection { background: #08455f; + color: #fff; } .deck-container a, .deck-container a:active, .deck-container a:visited { color: #599; diff --git a/themes/style/web-2.0.scss b/themes/style/web-2.0.scss index 0106682..a4263f5 100644 --- a/themes/style/web-2.0.scss +++ b/themes/style/web-2.0.scss @@ -152,8 +152,8 @@ body, .deck-container { @include border-radius(5px); } - ::-moz-selection{ background:#08455f; } - ::selection { background:#08455f; } + ::-moz-selection{ background:#08455f; color:#fff; } + ::selection { background:#08455f; color:#fff; } a { &, &:active, &:visited {