aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackademix <giorgio@maone.net>2018-09-13 15:54:10 +0200
committerhackademix <giorgio@maone.net>2018-09-13 15:54:10 +0200
commitf87af55eb50a38ba44fcc0397d93e4989304bc8b (patch)
tree46ff3222f24113e9fa7201cdf989bd823f19d9dc
parenta2c93c2663d4f61b3c88d39f27fa492aca999455 (diff)
Refactored panel visual styles to be reused by the general settings page.
-rw-r--r--html/README (renamed from html/display_panel/content/README)0
-rw-r--r--html/background-panel.png (renamed from html/display_panel/content/background-panel.png)bin14814 -> 14814 bytes
-rw-r--r--html/common.css29
-rw-r--r--html/display_panel/content/librejs-title-old.pngbin2673 -> 0 bytes
-rw-r--r--html/display_panel/content/panel-styles.css28
-rw-r--r--html/librejs-title.png (renamed from html/display_panel/content/librejs-title.png)bin14123 -> 14123 bytes
6 files changed, 32 insertions, 25 deletions
diff --git a/html/display_panel/content/README b/html/README
index a56ea46..a56ea46 100644
--- a/html/display_panel/content/README
+++ b/html/README
diff --git a/html/display_panel/content/background-panel.png b/html/background-panel.png
index 022ffb3..022ffb3 100644
--- a/html/display_panel/content/background-panel.png
+++ b/html/background-panel.png
Binary files differ
diff --git a/html/common.css b/html/common.css
new file mode 100644
index 0000000..cf2c5d1
--- /dev/null
+++ b/html/common.css
@@ -0,0 +1,29 @@
+html {
+ padding:0px;
+ margin:0px;
+ color:#000 !important;
+ background:url('background-panel.png') !important;
+}
+body {
+ padding:0;
+ margin:10px 30px 10px 20px;
+ color:#000;
+}
+
+div.libre {
+ position: relative;
+}
+
+.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;
+}
diff --git a/html/display_panel/content/librejs-title-old.png b/html/display_panel/content/librejs-title-old.png
deleted file mode 100644
index 8a11527..0000000
--- a/html/display_panel/content/librejs-title-old.png
+++ /dev/null
Binary files differ
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 <http://www.gnu.org/licenses/>.
*
*/
-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;
diff --git a/html/display_panel/content/librejs-title.png b/html/librejs-title.png
index c1a911c..c1a911c 100644
--- a/html/display_panel/content/librejs-title.png
+++ b/html/librejs-title.png
Binary files differ