mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:45:56 +00:00
always include basic layout CSS file to prevent unworkable UI in case of a broken/incompatible theme
This commit is contained in:
7
css/layout.css
Normal file
7
css/layout.css
Normal file
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user