Changeset 28e18c7 in github


Ignore:
Timestamp:
Dec 14, 2011 4:35:22 AM (18 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
e19229c
Parents:
0ea1f1e
Message:

More CSS styling for Larry

Location:
skins/larry
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • skins/larry/includes/settingstabs.html

    rb1fa1ab5 r28e18c7  
    22<h2 class="boxtitle"><roundcube:label name="settings" /></h2> 
    33<div id="settings-tabs" class="scroller"> 
    4         <span id="settingstabdefault" class="listitem preferences"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span> 
     4        <span id="settingstabpreferences" class="listitem preferences"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span> 
    55        <span id="settingstabfolders" class="listitem folders"><roundcube:button command="folders" type="link" label="folders" title="managefolders" /></span> 
    66        <span id="settingstabidentities" class="listitem identities"><roundcube:button command="identities" type="link" label="identities" title="manageidentities" /></span> 
  • skins/larry/mail.css

    ra4be516 r28e18c7  
    680680} 
    681681 
     682.headers-table td.header span { 
     683        white-space: nowrap; 
     684} 
     685 
    682686.rcmaddcontact { 
    683687        position: relative; 
    684688        top: 1px; 
    685689        margin-left: 0.5em; 
     690} 
     691 
     692.rcmaddcontact imp { 
     693        width: 20px; 
     694        height: 13px; 
    686695} 
    687696 
     
    751760div.message-part, 
    752761div.message-htmlpart { 
    753         padding: 10px 8px; 
     762        padding: 10px 2px; 
    754763        border-top: 1px solid #ccc; 
    755764} 
  • skins/larry/settings.css

    r13ed1e0 r28e18c7  
    4343 
    4444#sections-table tbody td.section, 
    45 #settings-sections span.listitem a { 
     45#settings-sections span.listitem a, 
     46#settings-sections span.tablink a { 
    4647        padding-left: 36px; 
    4748        background: url(images/listicons.png) -100px 0 no-repeat; 
  • skins/larry/styles.css

    ra4be516 r28e18c7  
    6565 
    6666input.button { 
     67        display: inline-block; 
     68        margin: 0 2px; 
     69        padding: 4px 6px; 
     70        color: #525252; 
     71        text-shadow: 1px 1px 1px #fff; 
     72        border: 1px solid #c0c0c0; 
     73        border-radius: 4px; 
     74        background: #f7f7f7; 
     75        background: -moz-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); 
     76        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e6e6e6)); 
     77        background: -o-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); 
     78        background: -ms-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); 
     79        background: linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); 
     80        box-shadow: 0 1px 1px 0 #ccc; 
     81        -o-box-shadow: 0 1px 1px 0 #ccc; 
     82        -webkit-box-shadow: 0 1px 1px 0 #ccc; 
     83        -moz-box-shadow: 0 1px 1px 0 #ccc; 
     84        text-decoration: none; 
     85} 
     86 
     87.formbuttons input.button { 
    6788        color: #dddddd; 
    6889        font-size: 110%; 
    6990        text-shadow: 1px 1px 1px #333; 
    7091        padding: 4px 12px; 
    71         border: 1px solid #465864; 
     92        border-color: #465864; 
    7293        border-radius: 5px; 
    7394        background: #7a7b7d; 
     
    79100} 
    80101 
    81 input.button:hover { 
     102.formbuttons input.button:hover { 
    82103        color: #ededed; 
    83104        box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6); 
     
    87108} 
    88109 
    89 input.button:active { 
     110.formbuttons input.button:active { 
    90111        color: #fff; 
    91112        background: -moz-linear-gradient(top, rgba(92,92,92,1) 0%, rgba(123,123,123,1) 100%); 
     
    159180 
    160181a.button.pressed, 
    161 a.button:active { 
     182a.button:active, 
     183input.button:active { 
    162184        background: #e6e6e6; 
    163185        background: -moz-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); 
     
    484506 
    485507.listbox .listitem, 
     508.listbox .tablink, 
    486509.listing tbody td, 
    487510.listing li { 
     
    495518 
    496519.listbox .listitem a, 
     520.listbox .tablink a, 
    497521.listing tbody td, 
    498522.listing li a { 
     
    506530 
    507531.listbox .listitem.selected, 
     532.listbox .tablink.selected, 
    508533.listing tbody tr.selected td, 
    509534.listing li.selected { 
     
    517542        margin: 0; 
    518543        padding: 0; 
     544} 
     545 
     546ul.listing li { 
     547        background-color: #d9ecf4; 
     548} 
     549 
     550ul.listing li.droptarget { 
     551        background-color: #c7e3ef; 
    519552} 
    520553 
     
    913946        text-shadow: 1px 1px 1px #333; 
    914947} 
     948 
     949 
     950#rcmdraglayer { 
     951        min-width: 300px; 
     952        width: auto !important; 
     953        width: 300px; 
     954        padding: 6px 8px; 
     955        background: #444; 
     956        border: 1px solid #555; 
     957        border-radius: 4px; 
     958        box-shadow: 0 2px 6px 0 #333; 
     959        -moz-box-shadow: 0 2px 6px 0 #333; 
     960        -webkit-box-shadow: 0 2px 6px 0 #333; 
     961        -o-box-shadow: 0 2px 6px 0 #333; 
     962        z-index: 250; 
     963        color: #ccc; 
     964        font-size: 11px; 
     965        white-space: nowrap; 
     966        opacity: 0.92; 
     967        text-shadow: 1px 1px 1px #333; 
     968} 
     969 
     970#rcmdraglayer:after { 
     971        content: ""; 
     972        position: absolute; 
     973        top: 6px; 
     974        left: -6px; 
     975        border-style: solid; 
     976        border-width: 6px 6px 6px 0; 
     977        border-color: transparent #444; 
     978        /* reduce the damage in FF3.0 */ 
     979        display: block;  
     980        width: 0; 
     981} 
     982 
     983._draglayercopy:before { 
     984        position: absolute; 
     985        bottom: -5px; 
     986        left: -6px; 
     987        content: " "; 
     988        width: 15px; 
     989        height: 15px; 
     990        background: url(images/buttons.png) -8px -360px no-repeat; 
     991} 
     992 
  • skins/larry/templates/settingsedit.html

    rc7dcb30 r28e18c7  
    1414 
    1515<div id="formfooter"> 
    16 <div class="footerleft"> 
     16<div class="footerleft formbuttons"> 
    1717<roundcube:button command="save" type="input" class="button mainaction" label="save" /> 
    1818</div> 
  • skins/larry/ui.js

    ra4be516 r28e18c7  
    3939      rcmail.gui_object('message_dragmenu', 'dragmessagemenu'); 
    4040      $('#mailpreviewtoggle').click(function(e){ toggle_preview_pane(e); return false }); 
    41       $('#maillistmode').addClass(rcmail.env.threading ? 'unselected' : 'selected').click(function(e){ switch_view_mode('list'); return false }); 
    42       $('#mailthreadmode').addClass(rcmail.env.threading ? 'selected' : 'unselected').click(function(e){ switch_view_mode('thread'); return false }); 
     41      $('#maillistmode').addClass(rcmail.env.threading ? '' : 'selected').click(function(e){ switch_view_mode('list'); return false }); 
     42      $('#mailthreadmode').addClass(rcmail.env.threading ? 'selected' : '').click(function(e){ switch_view_mode('thread'); return false }); 
    4343       
    4444      if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') { 
    45         init_messageview(); 
    46       } 
     45        layout_messageview(); 
     46      } 
     47    } 
     48    else if (rcmail.env.task == 'settings') { 
     49      var tab = '#settingstabpreferences'; 
     50      if (rcmail.env.action) 
     51        tab = '#settingstab' + (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action.replace(/\./g, '')); 
     52 
     53      $(tab).addClass('selected') 
     54        .children().first().removeAttr('onclick').click(function() { return false; }); 
    4755    } 
    4856 
     
    7179      } 
    7280    }); 
     81     
     82    $(window).resize(resize); 
     83  } 
     84 
     85  /** 
     86   * Update UI on window resize 
     87   */ 
     88  function resize() 
     89  { 
     90    if (rcmail.env.task == 'mail' && (rcmail.env.action == 'show' || rcmail.env.action == 'preview')) { 
     91      layout_messageview(); 
     92    } 
    7393  } 
    7494 
     
    7696   * Adjust UI objects of the mail view screen 
    7797   */ 
    78   function init_messageview() 
     98  function layout_messageview() 
    7999  { 
    80100    $('#messagecontent').css('top', ($('#messageheader').outerHeight() + 10) + 'px'); 
Note: See TracChangeset for help on using the changeset viewer.