Changeset 5798 in subversion


Ignore:
Timestamp:
Jan 18, 2012 11:32:35 AM (17 months ago)
Author:
thomasb
Message:

Move attachments list styles to common css file (to be used by other tasks and plugins, too)

Location:
trunk/roundcubemail/skins/larry
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/skins/larry/mail.css

    r5795 r5798  
    884884} 
    885885 
    886 #attachment-list { 
    887         list-style: none; 
    888         margin: 0; 
    889         padding: 0; 
    890         overflow: hidden; 
    891         text-overflow: ellipsis; 
    892 } 
    893  
    894 #attachment-list li { 
    895         display: block; 
    896         position: relative; 
    897         background: url(images/filetypes.png) 0 0 no-repeat; 
    898         margin-bottom: 1px; 
    899 } 
    900  
    901 #attachment-list li.pdf { 
    902         background-position: 0 -26px; 
    903 } 
    904  
    905 #attachment-list li.doc, 
    906 #attachment-list li.msword { 
    907         background-position: 0 -52px; 
    908 } 
    909  
    910 #attachment-list li.xls, 
    911 #attachment-list li.msexcel { 
    912         background-position: 0 -78px; 
    913 } 
    914  
    915 #attachment-list li.zip, 
    916 #attachment-list li.gz { 
    917         background-position: 0 -104px; 
    918 } 
    919  
    920 #attachment-list li.image { 
    921         background-position: 0 -130px; 
    922 } 
    923  
    924 #attachment-list li.audio { 
    925         background-position: 0 -156px; 
    926 } 
    927  
    928 #attachment-list li.video { 
    929         background-position: 0 -182px; 
    930 } 
    931  
    932 #attachment-list li a, 
    933 #compose-attachments ul li { 
    934         display: block; 
    935         color: #333; 
    936         font-weight: bold; 
    937         padding: 8px 4px 3px 30px; 
    938         text-shadow: 0px 1px 1px #fff; 
    939         text-decoration: none; 
    940         white-space: nowrap; 
    941 } 
    942  
    943 #attachment-list li a:hover { 
    944         text-decoration: underline; 
    945 } 
    946  
    947886#messagepartcontainer { 
    948887        position: absolute; 
     
    12131152} 
    12141153 
    1215 #attachment-list li.uploading { 
    1216         background: url(images/ajaxloader.gif) 2px 6px no-repeat; 
    1217 } 
    1218  
    1219 #attachment-list li a.delete, 
    1220 #attachment-list li a.cancelupload { 
    1221         position: absolute; 
    1222         top: 6px; 
    1223         right: 0; 
    1224         width: 24px; 
    1225         height: 18px; 
    1226         padding: 0; 
    1227         text-decoration: none; 
    1228         text-indent: -1000px; 
    1229         background: url(images/buttons.png) -7px -337px no-repeat; 
    1230 } 
    1231  
    1232 #attachment-list li a.cancelupload { 
    1233         background-position: -7px -377px; 
    1234 } 
    1235  
    12361154#spellcheck-control { 
    12371155        margin: 6px 8px; 
  • trunk/roundcubemail/skins/larry/styles.css

    r5789 r5798  
    16901690 
    16911691 
     1692/*** attachment list ***/ 
     1693 
     1694.attachmentslist { 
     1695        list-style: none; 
     1696        margin: 0; 
     1697        padding: 0; 
     1698        overflow: hidden; 
     1699        text-overflow: ellipsis; 
     1700} 
     1701 
     1702.attachmentslist li { 
     1703        display: block; 
     1704        position: relative; 
     1705        background: url(images/filetypes.png) 0 0 no-repeat; 
     1706        margin-bottom: 1px; 
     1707} 
     1708 
     1709.attachmentslist li.pdf { 
     1710        background-position: 0 -26px; 
     1711} 
     1712 
     1713.attachmentslist li.doc, 
     1714.attachmentslist li.msword { 
     1715        background-position: 0 -52px; 
     1716} 
     1717 
     1718.attachmentslist li.xls, 
     1719.attachmentslist li.msexcel { 
     1720        background-position: 0 -78px; 
     1721} 
     1722 
     1723.attachmentslist li.zip, 
     1724.attachmentslist li.gz { 
     1725        background-position: 0 -104px; 
     1726} 
     1727 
     1728.attachmentslist li.image { 
     1729        background-position: 0 -130px; 
     1730} 
     1731 
     1732.attachmentslist li.audio { 
     1733        background-position: 0 -156px; 
     1734} 
     1735 
     1736.attachmentslist li.video { 
     1737        background-position: 0 -182px; 
     1738} 
     1739 
     1740.attachmentslist li a, 
     1741#compose-attachments ul li { 
     1742        display: block; 
     1743        color: #333; 
     1744        font-weight: bold; 
     1745        padding: 8px 4px 3px 30px; 
     1746        text-shadow: 0px 1px 1px #fff; 
     1747        text-decoration: none; 
     1748        white-space: nowrap; 
     1749} 
     1750 
     1751.attachmentslist li a:hover { 
     1752        text-decoration: underline; 
     1753} 
     1754 
     1755.attachmentslist li.uploading { 
     1756        background: url(images/ajaxloader.gif) 2px 6px no-repeat; 
     1757} 
     1758 
     1759.attachmentslist li a.delete, 
     1760.attachmentslist li a.cancelupload { 
     1761        position: absolute; 
     1762        top: 6px; 
     1763        right: 0; 
     1764        width: 24px; 
     1765        height: 18px; 
     1766        padding: 0; 
     1767        text-decoration: none; 
     1768        text-indent: -1000px; 
     1769        background: url(images/buttons.png) -7px -337px no-repeat; 
     1770} 
     1771 
     1772.attachmentslist li a.cancelupload { 
     1773        background-position: -7px -377px; 
     1774} 
     1775 
     1776 
    16921777/*** fieldset tabs ***/ 
    16931778 
  • trunk/roundcubemail/skins/larry/templates/compose.html

    r5725 r5798  
    150150                        <roundcube:button name="addattachment" type="input" class="button" classSel="button pressed" label="addattachment" onclick="UI.show_uploadform();return false" /> 
    151151                </div> 
    152                 <roundcube:object name="composeAttachmentList" id="attachment-list" cancelIcon="/images/0.gif" /> 
     152                <roundcube:object name="composeAttachmentList" id="attachment-list" class="attachmentslist" cancelIcon="/images/0.gif" /> 
    153153        </div> 
    154154</div> 
  • trunk/roundcubemail/skins/larry/templates/message.html

    r5656 r5798  
    4747<div id="messagecontent" class="uibox"> 
    4848<div class="rightcol"> 
    49 <roundcube:object name="messageAttachments" id="attachment-list" /> 
     49<roundcube:object name="messageAttachments" id="attachment-list" class="attachmentslist" /> 
    5050</div> 
    5151<div class="leftcol"> 
  • trunk/roundcubemail/skins/larry/templates/messagepreview.html

    r5734 r5798  
    4040<div id="messagepreview"> 
    4141<div class="rightcol"> 
    42 <roundcube:object name="messageAttachments" id="attachment-list" /> 
     42<roundcube:object name="messageAttachments" id="attachment-list" class="attachmentslist" /> 
    4343</div> 
    4444<div class="leftcol"> 
Note: See TracChangeset for help on using the changeset viewer.