From b6eef94383b90d8bd209e346ff0a6c27904aeb44 Mon Sep 17 00:00:00 2001 From: str4d Date: Fri, 27 Jul 2012 12:41:45 +0000 Subject: [PATCH] Tweaked console themes so console error pages look alright in iframe This fixes the issue where, when an iframed app was not running, the summary bar would be displayed inside the iframe as well as outside it. --- .../themes/console/classic/console.css | 20 +++++++++++++++++++ .../resources/themes/console/dark/console.css | 20 +++++++++++++++++++ .../themes/console/light/console.css | 20 +++++++++++++++++++ .../themes/console/midnight/console.css | 20 +++++++++++++++++++ 4 files changed, 80 insertions(+) diff --git a/installer/resources/themes/console/classic/console.css b/installer/resources/themes/console/classic/console.css index 5245fa99c..e6e2e7f1a 100644 --- a/installer/resources/themes/console/classic/console.css +++ b/installer/resources/themes/console/classic/console.css @@ -1116,3 +1116,23 @@ input.search[type="text"] { margin-bottom: -5px; margin-right: 5px; } + +/* Fixes for when app is not started and console error loads inside iframe */ + +body.iframed { + background: transparent url('../dark/images/transparent.gif') !important; +} + +.iframed div.routersummaryouter { + display: none !important; +} + +.iframed h1 { + margin: 0 1px 0 0 !important; +} + +.iframed div.sorry { + margin: -1px 1px 0 0 !important; +} + +/* end iframed console fixes */ diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css index 1e03dbb95..daae07c24 100644 --- a/installer/resources/themes/console/dark/console.css +++ b/installer/resources/themes/console/dark/console.css @@ -1329,3 +1329,23 @@ div.applabel { iframe.iframed { margin: 10px 0 0; } + +/* Fixes for when app is not started and console error loads inside iframe */ + +body.iframed { + background: transparent url('images/transparent.gif') !important; +} + +.iframed div.routersummaryouter { + display: none !important; +} + +.iframed h1 { + margin: 0 5px 0 5px !important; +} + +.iframed div.sorry { + margin: -1px 5px 10px 5px !important; +} + +/* end iframed console fixes */ diff --git a/installer/resources/themes/console/light/console.css b/installer/resources/themes/console/light/console.css index ca61baf05..dfb0ebebd 100644 --- a/installer/resources/themes/console/light/console.css +++ b/installer/resources/themes/console/light/console.css @@ -1425,3 +1425,23 @@ div.footnote hr{ iframe.iframed { margin: 10px 0 0; } + +/* Fixes for when app is not started and console error loads inside iframe */ + +body.iframed { + background: transparent url('../dark/images/transparent.gif') !important; +} + +.iframed div.routersummaryouter { + display: none !important; +} + +.iframed h1 { + margin: 0 10px 10px 7px !important; +} + +.iframed div.sorry { + margin: 5px 10px 10px 7px !important; +} + +/* end iframed console fixes */ diff --git a/installer/resources/themes/console/midnight/console.css b/installer/resources/themes/console/midnight/console.css index f630b23c7..78c7fd738 100644 --- a/installer/resources/themes/console/midnight/console.css +++ b/installer/resources/themes/console/midnight/console.css @@ -1300,3 +1300,23 @@ div.footnote hr{ margin-bottom: -10px; margin-right: 5px; } + +/* Fixes for when app is not started and console error loads inside iframe */ + +body.iframed { + background: transparent url('../dark/images/transparent.gif') !important; +} + +.iframed div.routersummaryouter { + display: none !important; +} + +.iframed h1 { + margin: 5px 5px 0 0 !important; +} + +.iframed div.sorry { + margin: 0 5px 0 0 !important; +} + +/* end iframed console fixes */