mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* pda style looks little better
This commit is contained in:
parent
6a63c317ce
commit
95d719e939
2 changed files with 16 additions and 6 deletions
|
|
@ -27,14 +27,24 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
$().ready(function(){
|
||||
|
||||
<?php if(isset($_GET['pda'])): ?>
|
||||
|
||||
$('body').width(screen.width);
|
||||
$(window).resize(function() {
|
||||
$('body').width(screen.width);
|
||||
});
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
mytinytodo.mttUrl = "<?php mttinfo('mtt_url'); ?>";
|
||||
mytinytodo.templateUrl = "<?php mttinfo('template_url'); ?>";
|
||||
mytinytodo.db = new mytinytodoStorageAjax(mytinytodo);
|
||||
mytinytodo.init({
|
||||
needAuth: <?php echo $needAuth ? "true" : "false"; ?>,
|
||||
isLogged: <?php echo ($needAuth && is_logged()) ? "true" : "false"; ?>,
|
||||
showdate: <?php echo Config::get('showdate') ? "true" : "false"; ?>,
|
||||
singletab: <?php echo isset($_GET['singletab']) ? "true" : "false"; ?>,
|
||||
showdate: <?php echo (Config::get('showdate') && !isset($_GET['pda'])) ? "true" : "false"; ?>,
|
||||
singletab: <?php echo (isset($_GET['singletab']) || isset($_GET['pda'])) ? "true" : "false"; ?>,
|
||||
duedateformat: <?php echo (int)Config::get('duedateformat'); ?>,
|
||||
autotag: <?php echo Config::get('autotag') ? "true" : "false"; ?>
|
||||
<?php if(isset($_GET['list'])) echo ",openList: ". (int)$_GET['list']; ?>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
body { margin:0px; }
|
||||
h2 { margin:0; margin-bottom:2px; font-size:18px; }
|
||||
body { margin:0px; font-size:100%; }
|
||||
h2 { margin:0; margin-bottom:2px; font-size:1em; }
|
||||
h3 { margin-bottom:4px; padding:4px 0; }
|
||||
#body { margin-left:1px; margin-right:1px; padding:1px; padding-bottom:12px;}
|
||||
#bar_login, #bar_logout { padding-right:1px; }
|
||||
|
|
@ -7,9 +7,8 @@ h3 { margin-bottom:4px; padding:4px 0; }
|
|||
#tabs ul { margin-top:0px; }
|
||||
#tabs ul li { width:70px; margin-right: 1px; }
|
||||
.tab-content { padding:4px; }
|
||||
#task, #search { color:#444444; width:65%; max-width:300px; }
|
||||
|
||||
#tasklist li { padding:4px 1px; overflow:hidden; }
|
||||
#tasklist li { padding:0.5em 3px; overflow:hidden; }
|
||||
.task-actions { display:none; }
|
||||
.task-date { display:none; }
|
||||
.task-note-actions { display:block; padding-top:8px; }
|
||||
|
|
@ -26,6 +25,7 @@ h3 { margin-bottom:4px; padding:4px 0; }
|
|||
#tasklist li.clicked .task-through { white-space:normal; display:inline; }
|
||||
#tasklist li.clicked.task-has-note .task-note-block { display:block; }
|
||||
/*#tasklist li.clicked.task-has-note .task-toggle { background-position:-48px 0; } */
|
||||
#tasklist li.clicked.doubleclicked.task-has-note .task-note-block { display:none; }
|
||||
.task-toggle { display:none; }
|
||||
.task-middle { margin-left:25px; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue