diff options
Diffstat (limited to 'skins')
-rw-r--r-- | skins/classic/common.css | 4 | ||||
-rw-r--r-- | skins/classic/functions.js | 4 | ||||
-rw-r--r-- | skins/classic/includes/settingstabs.html | 7 | ||||
-rw-r--r-- | skins/classic/mail.css | 7 | ||||
-rw-r--r-- | skins/classic/templates/compose.html | 15 | ||||
-rw-r--r-- | skins/classic/templates/message.html | 2 | ||||
-rw-r--r-- | skins/classic/templates/messagepreview.html | 2 | ||||
-rw-r--r-- | skins/classic/templates/messageprint.html | 2 | ||||
-rw-r--r-- | skins/larry/addressbook.css | 5 | ||||
-rw-r--r-- | skins/larry/includes/header.html | 2 | ||||
-rw-r--r-- | skins/larry/includes/settingstabs.html | 5 | ||||
-rw-r--r-- | skins/larry/settings.css | 20 | ||||
-rw-r--r-- | skins/larry/styles.css | 10 | ||||
-rw-r--r-- | skins/larry/templates/compose.html | 2 | ||||
-rw-r--r-- | skins/larry/templates/importcontacts.html | 2 | ||||
-rw-r--r-- | skins/larry/templates/messageprint.html | 2 | ||||
-rw-r--r-- | skins/larry/ui.js | 13 |
17 files changed, 76 insertions, 28 deletions
diff --git a/skins/classic/common.css b/skins/classic/common.css index accdf7166..7d7c83f39 100644 --- a/skins/classic/common.css +++ b/skins/classic/common.css @@ -483,6 +483,8 @@ body.iframe .boxtitle top: 32px; left: 90px; width: auto; + max-height: 70%; + overflow: auto; display: none; background-color: #fff; background-color: rgba(255, 255, 255, 0.95); @@ -516,7 +518,7 @@ body.iframe .boxtitle { display: block; color: #a0a0a0; - padding: 2px 10px; + padding: 2px 16px 2px 10px; text-decoration: none; min-height: 14px; background: transparent; diff --git a/skins/classic/functions.js b/skins/classic/functions.js index af561c37b..4ad13136f 100644 --- a/skins/classic/functions.js +++ b/skins/classic/functions.js @@ -10,7 +10,7 @@ function rcube_init_settings_tabs() { var el, cl, container = $('#tabsbar'), last_tab = $('span:last', container), - tab = '#settingstabdefault', + tab = '#settingstabpreferences', action = window.rcmail && rcmail.env.action ? rcmail.env.action : null; // move About tab to the end @@ -22,7 +22,7 @@ function rcube_init_settings_tabs() // get selected tab if (action) - tab = '#settingstab' + (action == 'preferences' ? 'default' : (action.indexOf('identity')>0 ? 'identities' : action.replace(/\./g, ''))); + tab = '#settingstab' + (action.indexOf('identity')>0 ? 'identities' : action.replace(/\./g, '')); $(tab).addClass('tablink-selected'); $('a', tab).removeAttr('onclick').click(function() { return false; }); diff --git a/skins/classic/includes/settingstabs.html b/skins/classic/includes/settingstabs.html index e44eb5b8b..a47db2274 100644 --- a/skins/classic/includes/settingstabs.html +++ b/skins/classic/includes/settingstabs.html @@ -1,9 +1,6 @@ <div id="tabsbar"> -<span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span> -<span id="settingstabfolders" class="tablink"><roundcube:button command="folders" type="link" label="folders" title="managefolders" class="tablink" /></span> -<span id="settingstabidentities" class="tablink"><roundcube:button command="identities" type="link" label="identities" title="manageidentities" class="tablink" /></span> -<span id="settingstabresponses" class="tablink"><roundcube:button command="responses" type="link" label="responses" title="editresponses" class="tablink" /></span> -<span id="settingstababout" class="tablink"><roundcube:button command="about" type="link" label="about" title="about" class="tablink" /></span> +<roundcube:object name="settingstabs" class="tablink" selClass="tablink-selected" /> <roundcube:container name="tabs" id="tabsbar" /> +<span id="settingstababout" class="tablink"><roundcube:button command="about" type="link" label="about" title="about" class="tablink" /></span> <script type="text/javascript"> if (window.rcmail) rcmail.add_onload(rcube_init_settings_tabs); </script> </div> diff --git a/skins/classic/mail.css b/skins/classic/mail.css index d472d6d07..7f150714d 100644 --- a/skins/classic/mail.css +++ b/skins/classic/mail.css @@ -1596,10 +1596,9 @@ input.from_address #compose-attachments ul li { height: 18px; + line-height: 16px; font-size: 11px; - padding-left: 2px; - padding-top: 2px; - padding-right: 4px; + padding: 2px 2px 1px 2px; border-bottom: 1px solid #EBEBEB; white-space: nowrap; overflow: hidden; @@ -1612,8 +1611,10 @@ input.from_address text-indent: -5000px; width: 17px; height: 16px; + padding-bottom: 2px; display: inline-block; text-decoration: none; + vertical-align: middle; } #compose-attachments li img diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html index 7ed9fac36..74d25778b 100644 --- a/skins/classic/templates/compose.html +++ b/skins/classic/templates/compose.html @@ -179,16 +179,23 @@ <tr> <td><label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" />:</label></td> <td><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /></td> - </tr><tr> + </tr> + <roundcube:if condition="config:smtp_server != ''" /> + <tr> <td><label for="rcmcomposedsn"><roundcube:label name="dsn" />:</label></td> <td><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /></td> - </tr><tr> + </tr> + <roundcube:endif /> + <tr> <td><label for="rcmcomposepriority"><roundcube:label name="priority" />:</label></td> <td><roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" /></td> - </tr><roundcube:if condition="!config:no_save_sent_messages" /><tr> + </tr> + <roundcube:if condition="!config:no_save_sent_messages" /> + <tr> <td><label><roundcube:label name="savesentmessagein" />:</label></td> <td><roundcube:object name="storetarget" maxlength="30" /></td> - </tr><roundcube:endif /> + </tr> + <roundcube:endif /> </table> </div> diff --git a/skins/classic/templates/message.html b/skins/classic/templates/message.html index 757c0a635..bd4fbf277 100644 --- a/skins/classic/templates/message.html +++ b/skins/classic/templates/message.html @@ -49,7 +49,7 @@ </div> <roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/silhouette.png" summary="Message headers" /> <roundcube:object name="messageFullHeaders" id="full-headers" /> -<roundcube:object name="messageAttachments" id="attachment-list" /> +<roundcube:object name="messageAttachments" id="attachment-list" maxlength="50" /> <roundcube:object name="messageObjects" id="message-objects" /> <roundcube:object name="messageBody" id="messagebody" /> </div> diff --git a/skins/classic/templates/messagepreview.html b/skins/classic/templates/messagepreview.html index b42a06342..82414c420 100644 --- a/skins/classic/templates/messagepreview.html +++ b/skins/classic/templates/messagepreview.html @@ -20,7 +20,7 @@ </div> <roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/silhouette.png" summary="Message headers" /> <roundcube:object name="messageFullHeaders" id="full-headers" /> -<roundcube:object name="messageAttachments" id="attachment-list" /> +<roundcube:object name="messageAttachments" id="attachment-list" maxlength="50" /> </div> <roundcube:object name="messageObjects" id="message-objects" /> diff --git a/skins/classic/templates/messageprint.html b/skins/classic/templates/messageprint.html index fa7822ad5..173e8f69f 100644 --- a/skins/classic/templates/messageprint.html +++ b/skins/classic/templates/messageprint.html @@ -10,7 +10,7 @@ <roundcube:object name="logo" src="/images/roundcube_logo.png" id="logo" border="0" /> <div id="printmessageframe"> -<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" /> +<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" max="10" /> <roundcube:object name="messageAttachments" id="attachment-list" /> <roundcube:object name="messageBody" id="messagebody" showImages="false" /> </div> diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css index 6bf9426c4..39d0cce21 100644 --- a/skins/larry/addressbook.css +++ b/skins/larry/addressbook.css @@ -387,3 +387,8 @@ a.deletebutton { overflow: auto; padding: 10px; } + +#import-box p, +#import-box .propform { + max-width: 50em; +} diff --git a/skins/larry/includes/header.html b/skins/larry/includes/header.html index 5a934d89b..69e8b8aa6 100644 --- a/skins/larry/includes/header.html +++ b/skins/larry/includes/header.html @@ -29,7 +29,7 @@ <roundcube:button command="logout" label="logout" class="button-logout" classSel="button-logout" innerClass="button-inner" /> <span class="minmodetoggle"></span> </div> - <roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" alt="Logo" onclick="rcmail.command('switch-task','mail');return false;" /> + <roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" alt="Logo" onclick="if(window.rcmail)rcmail.command('switch-task','mail')" /> </div> <roundcube:endif /> diff --git a/skins/larry/includes/settingstabs.html b/skins/larry/includes/settingstabs.html index 14d875696..e62695848 100644 --- a/skins/larry/includes/settingstabs.html +++ b/skins/larry/includes/settingstabs.html @@ -1,10 +1,7 @@ <div id="settings-sections" class="uibox listbox"> <h2 class="boxtitle"><roundcube:label name="settings" /></h2> <div id="settings-tabs" class="scroller"> - <span id="settingstabpreferences" class="listitem preferences"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span> - <span id="settingstabfolders" class="listitem folders"><roundcube:button command="folders" type="link" label="folders" title="managefolders" /></span> - <span id="settingstabidentities" class="listitem identities"><roundcube:button command="identities" type="link" label="identities" title="manageidentities" /></span> - <span id="settingstabresponses" class="listitem responses"><roundcube:button command="responses" type="link" label="responses" title="editresponses" /></span> + <roundcube:object name="settingstabs" class="listitem" /> <roundcube:container name="tabs" id="settings-tabs" /> </div> </div> diff --git a/skins/larry/settings.css b/skins/larry/settings.css index 920376a96..a769ac412 100644 --- a/skins/larry/settings.css +++ b/skins/larry/settings.css @@ -48,6 +48,26 @@ border-radius: 4px 4px 0 0; } +#preferences-details fieldset.advanced legend { + position: relative; + display: block; + width: 100%; + cursor: pointer; +} + +#preferences-details fieldset.advanced .propform { + display: none; +} + +#preferences-details fieldset.advanced .advanced-toggle { + position: absolute; + top: 2px; + right: 6px; + text-decoration: none; + color: #666; + font-size: 11px; +} + #sections-table tbody td.section, #settings-sections span.listitem a, #settings-sections span.tablink a { diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 3313e1839..2929713e1 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -1924,6 +1924,8 @@ select.decorated option { top: 32px; left: 90px; width: auto; + max-height: 70%; + overflow: auto; background: #444; border: 1px solid #999; z-index: 240; @@ -1956,6 +1958,7 @@ ul.toolbarmenu li, margin: 0; border-top: 1px solid #5a5a5a; border-bottom: 1px solid #333; + padding-right: 10px; } .googie_list tr:first-child td, @@ -2325,12 +2328,13 @@ ul.toolbarmenu li span.conversation { display: block; color: #333; font-weight: bold; - padding: 8px 15px 3px 30px; + padding: 3px 15px 3px 30px; text-shadow: 0px 1px 1px #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + line-height: 20px; } .attachmentslist li a.drop { @@ -2359,9 +2363,9 @@ ul.toolbarmenu li span.conversation { .attachmentslist li a.delete, .attachmentslist li a.cancelupload { position: absolute; - top: 6px; + top: 4px; right: 0; - width: 24px; + width: 20px; height: 18px; padding: 0; text-decoration: none; diff --git a/skins/larry/templates/compose.html b/skins/larry/templates/compose.html index 863570cd1..5a6285c68 100644 --- a/skins/larry/templates/compose.html +++ b/skins/larry/templates/compose.html @@ -141,9 +141,11 @@ <span class="composeoption"> <label><roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" /> <roundcube:label name="returnreceipt" /></label> </span> + <roundcube:if condition="config:smtp_server != ''" /> <span class="composeoption"> <label><roundcube:object name="dsnCheckBox" form="form" id="rcmcomposedsn" /> <roundcube:label name="dsn" /></label> </span> + <roundcube:endif /> <roundcube:if condition="!config:no_save_sent_messages" /> <span class="composeoption"> <label><roundcube:label name="savesentmessagein" /> <roundcube:object name="storetarget" maxlength="30" style="max-width:12em" /></label> diff --git a/skins/larry/templates/importcontacts.html b/skins/larry/templates/importcontacts.html index d3d0f2b93..69b138b9a 100644 --- a/skins/larry/templates/importcontacts.html +++ b/skins/larry/templates/importcontacts.html @@ -18,7 +18,7 @@ <h2 class="boxtitle"><roundcube:label name="importcontacts" /></h2> <div id="import-box" class="boxcontent"> -<roundcube:object name="importstep" /> +<roundcube:object name="importstep" class="propform" /> <br/> <p class="formbuttons"> <roundcube:object name="importnav" class="button" /> diff --git a/skins/larry/templates/messageprint.html b/skins/larry/templates/messageprint.html index d01c70bcd..d2a0f6353 100644 --- a/skins/larry/templates/messageprint.html +++ b/skins/larry/templates/messageprint.html @@ -10,7 +10,7 @@ <div id="header"><roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" border="0" alt="Logo" /></div> <div id="printmessageframe"> -<roundcube:object name="messageHeaders" class="headers-table" /> +<roundcube:object name="messageHeaders" class="headers-table" max="10" /> <roundcube:object name="messageAttachments" id="attachment-list" /> <roundcube:object name="messageBody" id="messagebody" showImages="false" /> </div> diff --git a/skins/larry/ui.js b/skins/larry/ui.js index ae14d81b2..d558f16a2 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -195,6 +195,19 @@ function rcube_mail_ui() new rcube_splitter({ id:'prefviewsplitter', p1:'#sectionslist', p2:'#preferences-box', orientation:'v', relative:true, start:266, min:180, size:12 }).init(); } + else if (rcmail.env.action == 'edit-prefs') { + $('<a href="#toggle">▼</a>') + .addClass('advanced-toggle') + .appendTo('#preferences-details fieldset.advanced legend'); + + $('#preferences-details fieldset.advanced legend').click(function(e){ + var collapsed = $(this).hasClass('collapsed'), + toggle = $('.advanced-toggle', this).html(collapsed ? '▲' : '▼'); + $(this) + .toggleClass('collapsed') + .closest('fieldset').children('.propform').toggle() + }).addClass('collapsed') + } } /*** addressbook task ***/ else if (rcmail.env.task == 'addressbook') { |