From 8907051b4b395f93eb8bb0f1595981677e6987ac Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Sun, 27 Dec 2009 22:49:25 +0300 Subject: [PATCH] * pda style: hide task toggles --- src/ajax.js | 3 +-- src/index.php | 2 +- src/pda.css | 10 ++++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/ajax.js b/src/ajax.js index 1eca8c8..d5354e6 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -912,7 +912,7 @@ function loadLists(onInit, updAccess) if(curList.published) $('#btnPublish').addClass('mtt-item-checked'); else $('#btnPublish').removeClass('mtt-item-checked'); //if(curList.published) - $('#rss_icon').show().find('a').attr('href', 'feed.php?list='+curList.id); + $('#rss_icon').find('a').attr('href', 'feed.php?list='+curList.id); if(flag.needAuth && !flag.isLogged) $('#bar_public').show(); } else { @@ -920,7 +920,6 @@ function loadLists(onInit, updAccess) $('#lists .mtt-htabs').children().addClass('invisible'); $('#page_tasks h3').children().addClass('invisible'); $('#mylistscontainer .mtt-need-list').addClass('mtt-disabled'); - $('#rss_icon').hide(); $('#tasklist').html(''); } ti += ''; diff --git a/src/index.php b/src/index.php index 3c06dd6..ac9baf9 100644 --- a/src/index.php +++ b/src/index.php @@ -109,7 +109,7 @@ $().ajaxStop( function(r,s) {$("#loading").fadeOut();} );
- +
diff --git a/src/pda.css b/src/pda.css index 0e3cb3b..b0af93a 100644 --- a/src/pda.css +++ b/src/pda.css @@ -22,12 +22,14 @@ h3 { margin-bottom:4px; padding:4px 0; } #tasklist li .task-through { white-space:nowrap; overflow:hidden; } #tasklist li:hover { background-color:#ffffff; } #tasklist li.task-expanded .task-note-block { display:none; } -#tasklist li.task-expanded .task-toggle { background-position:-32px 0; } +/*#tasklist li.task-expanded .task-toggle { background-position:-32px 0; }*/ #tasklist li.clicked { background-color:#f6f6f6; } #tasklist li.clicked .task-actions { display:block; } -#tasklist li.clicked .task-through { white-space:normal; } +#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.task-has-note .task-toggle { background-position:-48px 0; } */ +.task-toggle { display:none; } +.task-middle { margin-left:25px; } #page_taskedit { max-width:100%; padding:0px; } .form-table { width:100%; } @@ -39,4 +41,4 @@ h3 { margin-bottom:4px; padding:4px 0; } #tagcloud { max-width:100%; } .mtt-settings-table .in350 { min-width:50px; } -.mtt-notes-showhide { display:none; } \ No newline at end of file +.mtt-notes-showhide { display:none; }