From 7229cd56ede29fd1ac923f9faf097a17fbb06aa3 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Mon, 18 Apr 2016 01:57:54 +0200 Subject: Making sure the great new context help works with all thmes and schema's (3rd party themes: maybe abit of tweaking is still needed). Also fixing some minor cosmetic things. --- view/theme/redbasic/css/style.css | 12 ++++++------ view/theme/redbasic/schema/bluegrid.css | 15 +++++++++++++++ view/theme/redbasic/schema/dark.css | 11 +++++++++++ view/theme/redbasic/schema/simple_black_on_white.css | 10 ++++++++++ view/theme/redbasic/schema/simple_green_on_black.css | 10 ++++++++++ view/theme/redbasic/schema/simple_white_on_black.css | 10 ++++++++++ 6 files changed, 62 insertions(+), 6 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 5f38f60f1..038bffb2f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1898,8 +1898,8 @@ nav .badge.mail-update:hover { /* contextual help */ .help-content { - background: rgba(255, 255, 255, 0.9); - color: #333333; + background: $bgcolour; + color: $font_colour; position: fixed; top: -1000px; left: 0%; @@ -1909,15 +1909,15 @@ nav .badge.mail-update:hover { padding: 20px; transition: top 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94); box-sizing: border-box; - border: #CCC thin solid; + border-bottom: #CCC thin solid; overflow: auto; } .help-content-open { top: 50px; - -moz-box-shadow: 3px 3px 3px #ccc; - -webkit-box-shadow: 3px 3px 3px #ccc; - box-shadow: 3px 3px 3px #ccc; + -moz-box-shadow: 0px 3px 3px #ccc; + -webkit-box-shadow: 0px 3px 3px #ccc; + box-shadow: 0px 3px 3px #ccc; } main { top: auto; diff --git a/view/theme/redbasic/schema/bluegrid.css b/view/theme/redbasic/schema/bluegrid.css index 36e26302a..471bed5e4 100644 --- a/view/theme/redbasic/schema/bluegrid.css +++ b/view/theme/redbasic/schema/bluegrid.css @@ -464,4 +464,19 @@ a:hover > .icon-trash { } } +.help-content { + color: #FFF; + border: none; +} + +.help-content a { + color: #FFF; + font-weight: 600; +} + +.help-content-open { + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} diff --git a/view/theme/redbasic/schema/dark.css b/view/theme/redbasic/schema/dark.css index 6ed2501e1..fb18a4159 100644 --- a/view/theme/redbasic/schema/dark.css +++ b/view/theme/redbasic/schema/dark.css @@ -360,3 +360,14 @@ pre { .table > tbody > tr > td { border-color: #888; } + +.help-content { + border-bottom: #222 thin solid; +} + +.help-content-open { + -moz-box-shadow: 0px 3px 3px #222; + -webkit-box-shadow: 0px 3px 3px #222; + box-shadow: 0px 3px 3px #222; +} + diff --git a/view/theme/redbasic/schema/simple_black_on_white.css b/view/theme/redbasic/schema/simple_black_on_white.css index ba9771a40..e5cfb5f46 100644 --- a/view/theme/redbasic/schema/simple_black_on_white.css +++ b/view/theme/redbasic/schema/simple_black_on_white.css @@ -275,3 +275,13 @@ pre { background-color: inherit; border: none; } + +.help-content { + border-bottom: #000 thin solid; +} + +.help-content-open { + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} diff --git a/view/theme/redbasic/schema/simple_green_on_black.css b/view/theme/redbasic/schema/simple_green_on_black.css index e6901143b..7e3f901ef 100644 --- a/view/theme/redbasic/schema/simple_green_on_black.css +++ b/view/theme/redbasic/schema/simple_green_on_black.css @@ -305,3 +305,13 @@ pre { .table > tbody > tr > td { border-color: #143D12; } + +.help-content { + border-bottom: #143D12 thin solid; +} + +.help-content-open { + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} diff --git a/view/theme/redbasic/schema/simple_white_on_black.css b/view/theme/redbasic/schema/simple_white_on_black.css index a2d024881..d86154297 100644 --- a/view/theme/redbasic/schema/simple_white_on_black.css +++ b/view/theme/redbasic/schema/simple_white_on_black.css @@ -279,3 +279,13 @@ pre { .table > tbody > tr > td { border-color: #FFF; } + +.help-content { + border-bottom: #FFF thin solid; +} + +.help-content-open { + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} -- cgit v1.2.3