summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-03 21:26:12 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-03 21:26:12 +0100
commita00926f143147ac70656a995f3c97959567c3884 (patch)
tree3e798f9bc49ce1db40e5fdf745d1e041b76a3df9 /html
parent3840192d67a38604cfd6738c4f07d181a668ae68 (diff)
downloadbrowser-extension-a00926f143147ac70656a995f3c97959567c3884.tar.gz
browser-extension-a00926f143147ac70656a995f3c97959567c3884.zip
redesign CSS loading
Diffstat (limited to 'html')
-rw-r--r--html/display_panel.html15
-rw-r--r--html/options.html9
2 files changed, 8 insertions, 16 deletions
diff --git a/html/display_panel.html b/html/display_panel.html
index 5ee20f1..b042421 100644
--- a/html/display_panel.html
+++ b/html/display_panel.html
@@ -31,17 +31,12 @@
<head>
<meta charset="utf-8"/>
<title>Haketilo - page settings</title>
-#COPY_FILE html/reset.css
- <link type="text/css" rel="stylesheet" href="reset.css" />
-#COPY_FILE html/base.css
- <link type="text/css" rel="stylesheet" href="base.css" />
-#COPY_FILE html/back_button.css
- <link type="text/css" rel="stylesheet" href="back_button.css" />
-#COPY_FILE html/table.css
- <link type="text/css" rel="stylesheet" href="table.css" />
+#LOADCSS html/reset.css
+#LOADCSS html/base.css
+#LOADCSS html/back_button.css
+#LOADCSS html/table.css
#IF MOZILLA
-#COPY_FILE html/mozilla_scrollbar_fix.css
- <link type="text/css" rel="stylesheet" href="mozilla_scrollbar_fix.css" />
+#LOADCSS html/mozilla_scrollbar_fix.css
#ENDIF
<style>
body {
diff --git a/html/options.html b/html/options.html
index 14b7d44..853ba9b 100644
--- a/html/options.html
+++ b/html/options.html
@@ -31,12 +31,9 @@
<head>
<meta charset="utf-8"/>
<title>Haketilo options</title>
-#COPY_FILE html/reset.css
- <link type="text/css" rel="stylesheet" href="reset.css" />
-#COPY_FILE html/base.css
- <link type="text/css" rel="stylesheet" href="base.css" />
-#COPY_FILE html/table.css
- <link type="text/css" rel="stylesheet" href="table.css" />
+#LOADCSS html/reset.css
+#LOADCSS html/base.css
+#LOADCSS html/table.css
<style>
body {
width: 100%;