From 239ed13290902c85d083553a238893335ef2b636 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 29 Oct 2011 20:46:00 +0200 Subject: [PATCH] MINOR More specific selectors for and styles in diff view, to avoid influencing jstree styling --- css/CMSMain.css | 6 +++--- scss/CMSMain.scss | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/css/CMSMain.css b/css/CMSMain.css index a2063bfb..25db5f22 100644 --- a/css/CMSMain.css +++ b/css/CMSMain.css @@ -1,8 +1,8 @@ /** Style custom to the CMSMain admin interface. CMSMain extends the built in sapphire admin section styles. As much as possible we want to use those built in styles. If anything in this file can be implemented in a generic way then it should be include in the admin scss files. @package cms */ /** ------------------------------------------------------------------ Page History Section. ----------------------------------------------------------------- */ -/* line 15, ../scss/CMSMain.scss */ #cms-page-history-versions tr.loading { color: #999; } -/* line 20, ../scss/CMSMain.scss */ #cms-page-history-versions tr.loading td:hover { cursor: none; } -/* line 27, ../scss/CMSMain.scss */ #cms-page-history-versions td:hover { cursor: pointer; } + +.CMSPageHistoryController ins { background-color: #DFD; padding: 2px; text-decoration: none; } +.CMSPageHistoryController del { background-color: #FDD; padding: 2px; color: #ff4444; } diff --git a/scss/CMSMain.scss b/scss/CMSMain.scss index 2fa3e906..86c06bd0 100644 --- a/scss/CMSMain.scss +++ b/scss/CMSMain.scss @@ -30,3 +30,16 @@ } } +.CMSPageHistoryController { + ins { + background-color: #DFD; + padding: 2px; + text-decoration: none; + } + + del { + background-color: #FDD; + padding: 2px; + color: darken(#FDD, 30%); + } +} \ No newline at end of file