]> git.wh0rd.org Git - tt-rss.git/commitdiff
always include basic layout CSS file to prevent unworkable UI in case of a broken...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 20 May 2013 12:16:34 +0000 (16:16 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 20 May 2013 12:16:34 +0000 (16:16 +0400)
css/layout.css [new file with mode: 0644]
css/tt-rss.css
index.php
prefs.php

diff --git a/css/layout.css b/css/layout.css
new file mode 100644 (file)
index 0000000..3351331
--- /dev/null
@@ -0,0 +1,7 @@
+html, body#ttrssMain, body#ttrssPrefs, #main {
+       width: 100%; 
+       height: 100%;
+       border: 0; 
+       padding: 0; 
+       margin: 0;
+} 
index 72bdc1d24c7588da44df7089eb995b0ad8148fa1..ad80ae9f8beae15de718ff38f33dbb8acbc8dbaa 100644 (file)
@@ -7,15 +7,6 @@ body#ttrssMain, body#ttrssPrefs, body#ttrssLogin, body {
        font-size: 14px;
 }
 
-html, body#ttrssMain, body#ttrssPrefs, #main {
-       width: 100%; 
-       height: 100%;
-       border: 0; 
-       padding: 0; 
-       margin: 0;
-} 
-
-
 body#ttrssPrefs {
        background-color : #ecf4ff;
 }
index c3fe770f59e73880b7f4daf63ec57763f717bb61..8dae2831ffa037ad1d4f5d1dfeb8fc81003ecd10 100644 (file)
--- a/index.php
+++ b/index.php
@@ -57,6 +57,7 @@
        <title>Tiny Tiny RSS</title>
 
        <?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
+       <?php stylesheet_tag("css/layout.css"); ?>
 
        <?php if ($_SESSION["uid"]) {
                $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
index 2cee534b1892ea4b586e8eb916e02b0914d30502..fcf21cf2e8a71169f2ae345d708716ee8be7a458 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -33,6 +33,7 @@
        <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>
 
        <?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
+       <?php stylesheet_tag("css/layout.css"); ?>
 
        <?php if ($_SESSION["uid"]) {
                $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);