always include basic layout CSS file to prevent unworkable UI in case of a broken/incompatible theme
This commit is contained in:
parent
6791af0cfd
commit
6938c03658
|
@ -0,0 +1,7 @@
|
||||||
|
html, body#ttrssMain, body#ttrssPrefs, #main {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
|
@ -7,15 +7,6 @@ body#ttrssMain, body#ttrssPrefs, body#ttrssLogin, body {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body#ttrssMain, body#ttrssPrefs, #main {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border: 0;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
body#ttrssPrefs {
|
body#ttrssPrefs {
|
||||||
background-color : #ecf4ff;
|
background-color : #ecf4ff;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
<title>Tiny Tiny RSS</title>
|
<title>Tiny Tiny RSS</title>
|
||||||
|
|
||||||
<?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
|
<?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
|
||||||
|
<?php stylesheet_tag("css/layout.css"); ?>
|
||||||
|
|
||||||
<?php if ($_SESSION["uid"]) {
|
<?php if ($_SESSION["uid"]) {
|
||||||
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
|
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>
|
<title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>
|
||||||
|
|
||||||
<?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
|
<?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
|
||||||
|
<?php stylesheet_tag("css/layout.css"); ?>
|
||||||
|
|
||||||
<?php if ($_SESSION["uid"]) {
|
<?php if ($_SESSION["uid"]) {
|
||||||
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
|
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
|
||||||
|
|
Loading…
Reference in New Issue