From f87af55eb50a38ba44fcc0397d93e4989304bc8b Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 13 Sep 2018 15:54:10 +0200 Subject: Refactored panel visual styles to be reused by the general settings page. --- html/display_panel/content/panel-styles.css | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to 'html/display_panel/content/panel-styles.css') diff --git a/html/display_panel/content/panel-styles.css b/html/display_panel/content/panel-styles.css index 745c67f..0d849e4 100644 --- a/html/display_panel/content/panel-styles.css +++ b/html/display_panel/content/panel-styles.css @@ -17,38 +17,16 @@ * along with this program. If not, see . * */ -html { - padding:0px; - margin:0px; - color:#000 !important; - background:url('background-panel.png') !important; -} +@import url("/html/common.css"); + body { - padding:0; - margin:10px 30px 10px 20px; - color:#000; -width:500px; + width:500px; } - #header{ display:block; width:500px; } -.libre { - width:230px; - height:104px; - display:block; -} -h1.libre { - font-size:1.5em; - font-weight:normal; - padding:0; - font-weight:bold; - background:url('librejs-title.png') no-repeat top left; - text-indent:-1000px; - overflow:hidden; -} h2 { font-size:1.1em; font-weight:bold; -- cgit v1.2.3 From 3bf972bafeac738301623db6b08bedfd476abeca Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 13 Sep 2018 22:37:11 +0200 Subject: Temporary hiding complain to owner feature until ready for prime time. --- html/display_panel/content/panel-styles.css | 6 ++++++ html/preferences_panel/preferences_panel.html | 4 ++-- html/preferences_panel/prefs.css | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'html/display_panel/content/panel-styles.css') diff --git a/html/display_panel/content/panel-styles.css b/html/display_panel/content/panel-styles.css index 0d849e4..cbf5cf5 100644 --- a/html/display_panel/content/panel-styles.css +++ b/html/display_panel/content/panel-styles.css @@ -149,3 +149,9 @@ span.blocked { width: 100%; text-align: center; } + + + +#complain { + display: none; /* TODO: Complaint to owner UI */ +} diff --git a/html/preferences_panel/preferences_panel.html b/html/preferences_panel/preferences_panel.html index ab89d92..effb724 100644 --- a/html/preferences_panel/preferences_panel.html +++ b/html/preferences_panel/preferences_panel.html @@ -44,7 +44,7 @@

Settings

-
Allow or block scripts matching the following URLs ("*" matches any path) +
Allow or block scripts matching the following URLs ("*" matches any path)
@@ -69,7 +69,7 @@
-
Complaint email defaults +
Complaint email defaults