Changeset 1132

Show
Ignore:
Timestamp:
2008-11-05 00:09:07 (2 months ago)
Author:
MaierMan
Message:

style and markup fixups

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/about/about.xul

    r1098 r1132  
    8787        </keyset> 
    8888         
    89         <dialogheader id="logo" title="DownThemAll!" description="&about.subtitle;" orient="vertical" style="font-size: smaller;" chromedir="&locale.dir;"/> 
     89        <dialogheader id="logo" chromedir="&locale.dir;" style="font-size: smaller;"> 
     90                <vbox> 
     91                        <label class="dialogheader-title" value="DownThemAll!"/> 
     92                        <label class="dialogheader-description" value="&about.subtitle;"/> 
     93                </vbox> 
     94        </dialogheader> 
     95                         
    9096        <groupbox orient="vertical"> 
    9197                <label value="Copyright © 2004-2008 By:" style="font-weight: bold;"/> 
    9298                <html:ul> 
    93                         <html:li><label value="Federico Parodi" class="link" onclick="openTab('http://www.jimmy2k.it'); "/></html:li> 
    94                         <html:li><label value="Stefano Verna" class="link" onclick="openTab('http://steffoz.altervista.org/'); "/></html:li> 
    95                         <html:li><label value="Nils Maier" class="link" onclick="openTab('http://tn123.ath.cx/about/'); "/></html:li> 
     99                        <html:li><label value="Federico Parodi" class="text-link" onclick="openTab('http://www.jimmy2k.it'); "/></html:li> 
     100                        <html:li><label value="Stefano Verna" class="text-link" onclick="openTab('http://steffoz.altervista.org/'); "/></html:li> 
     101                        <html:li><label value="Nils Maier" class="text-link" onclick="openTab('http://tn123.ath.cx/about/'); "/></html:li> 
    96102                </html:ul> 
    97103 
     
    101107                        <html:ul> 
    102108                                <html:li>© Michael Matas</html:li> 
    103                                 <html:li>© <html:span class="link" onclick="openTab('http://jimmac.musichall.cz/icons.php');">Jakub 'jimmac' Steiner</html:span>; © Novell, Inc.</html:li> 
    104                                 <html:li>© <html:span class="link" onclick="openTab('http://www.famfamfam.com/lab/icons/silk/');">Mark James</html:span> (famfamfam silk icons)</html:li> 
     109                                <html:li>© <html:span class="text-link" onclick="openTab('http://jimmac.musichall.cz/icons.php');">Jakub 'jimmac' Steiner</html:span>; © Novell, Inc.</html:li> 
     110                                <html:li>© <html:span class="text-link" onclick="openTab('http://www.famfamfam.com/lab/icons/silk/');">Mark James</html:span> (famfamfam silk icons)</html:li> 
    105111                                <html:li>© The mozilla contributors</html:li> 
    106112                        </html:ul> 
     
    112118                        &about.redistr;: 
    113119                </description> 
    114                 <label class="link" value="License (GPL)" onclick="openTab('http://www.gnu.org/licenses/gpl.txt');"/> 
     120                <label class="text-link" value="License (GPL)" onclick="openTab('http://www.gnu.org/licenses/gpl.txt');"/> 
    115121                <separator class="thin"/> 
    116122                <description> 
    117123                        DownThemAll! &about.privacy;.<html:br/> 
    118                         &about.read; <html:span class="link" onclick="openNotice();">&about.pnot;</html:span>. 
     124                        &about.read; <html:span class="text-link" onclick="openNotice();">&about.pnot;</html:span>. 
    119125                </description> 
    120126 
     
    133139                                <row> 
    134140                                        <label value="DownThemAll!" style="font-weight: bold;"/> 
    135                                         <label value="http://www.downthemall.net/" class="link" onclick="openTab('http://www.downthemall.net/'); "/> 
     141                                        <label value="http://www.downthemall.net/" class="text-link" onclick="openTab('http://www.downthemall.net/'); "/> 
    136142                                </row> 
    137143                        </rows> 
  • trunk/chrome/content/common/bindings.css

    r1113 r1132  
    4444} 
    4545 
    46 maskbutton toolbarbutton { 
    47         list-style-image: url("chrome://dta/skin/common/mask.png"); 
    48         -moz-appearance: none !important; 
    49         border: none!important; 
    50         padding: 2px 0px!important; 
    51         margin: 0px!important; 
    52         -moz-image-region: rect(0px,48px,21px,24px) !important; 
    53 } 
    54  
    55 maskbutton toolbarbutton:hover { 
    56         -moz-image-region: rect(0px,24px,21px,0px) !important; 
    57 } 
    58  
    59 maskbutton toolbarbutton:active { 
    60         -moz-image-region: rect(0px,72px,21px,48px) !important; 
    61 } 
    62  
    6346richlistbox.metalinker .item { 
    6447        -moz-binding: url(chrome://dta/content/common/bindings.xml#metalinker-item); 
  • trunk/chrome/content/common/bindings.xml

    r1125 r1132  
    204204        <binding id="metalinker-item" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem"> 
    205205                <content> 
    206                         <xul:hbox flex="1"> 
    207                                 <xul:vbox> 
    208                                         <xul:spacer flex="1"/> 
    209                                         <xul:image style="width: 32px; height: 32px;" class="icon" xbl:inherits="src=iconURL"/> 
    210                                         <xul:spacer flex="1"/> 
    211                                 </xul:vbox> 
    212                                 <xul:vbox flex="1"> 
    213                                         <xul:checkbox anonid="check" xbl:inherits="label=identity,checked"/> 
    214                                         <xul:hbox flex="1" anonid="additionallinks"/> 
    215                                         <xul:description flex="1" anonid="desc"/> 
    216                                         <xul:hbox> 
    217                                                 <xul:description flex="1" class="link" crop="center" xbl:inherits="value=url"/> 
    218                                         </xul:hbox> 
    219                                 </xul:vbox> 
    220                                 <xul:spacer flex="1"/> 
    221                                 <xul:vbox class="additional" anonid="additional"/> 
    222                         </xul:hbox> 
     206                        <xul:vbox flex="1"> 
     207                                <xul:hbox class="metalink-mainbox" flex="1"> 
     208                                        <xul:image class="metalinker-icon" xbl:inherits="src=iconURL"/> 
     209                                        <xul:vbox class="metalink-infobox" flex="1"> 
     210                                                <xul:checkbox anonid="check" xbl:inherits="label=identity,checked"/> 
     211                                                <xul:hbox flex="1" anonid="additionallinks"/> 
     212                                                <xul:hbox> 
     213                                                        <xul:description flex="1" crop="center" xbl:inherits="value=url"/> 
     214                                                </xul:hbox> 
     215                                        </xul:vbox> 
     216                                        <xul:vbox class="metalinker-additional" anonid="additional"/> 
     217                                </xul:hbox> 
     218                                <xul:description class="metalinker-description" flex="1" anonid="desc"/> 
     219                        </xul:vbox>                      
    223220                </content> 
    224221                 
     
    249246                                        if (dl[e]) { 
    250247                                                var n = document.createElement('description'); 
    251                                                 n.setAttribute('class', 'link'); 
     248                                                n.setAttribute('class', 'text-link'); 
    252249                                                n.setAttribute('onclick', 'Metalinker.openLink(this)'); 
    253250                                                n.setAttribute('crop', 'center'); 
  • trunk/chrome/content/dta/addurl.xul

    r1125 r1132  
    5858        </keyset> 
    5959         
    60         <dialogheader id="logo" title="&add.value;" chromedir="&locale.dir;"/> 
     60        <dialogheader id="logo" chromedir="&locale.dir;"> 
     61                <image/> 
     62                <label class="dialogheader-title" value="&add.value;" flex="1"/> 
     63        </dialogheader> 
    6164        <description class="header" id="descr">&desc.value; <html:span id="batcheslabel">&desc.batches.value;</html:span></description> 
    6265        <vbox id="batches"> 
     
    8891                                <hbox flex="1"> 
    8992                                        <saveddropdown id="directory" preference="directory" flex="1"/> 
    90                                         <toolbarbutton id="browsedir" oncommand="Dialog.browseDir();" tooltiptext="&browse.tip;" /> 
     93                                        <toolbarbutton id="browsedir" class="toolbarbutton-1" oncommand="Dialog.browseDir();" tooltiptext="&browse.tip;" /> 
    9194                                </hbox> 
    9295                        </row> 
  • trunk/chrome/content/dta/renamingmask.xul

    r1048 r1132  
    2323        title="&title;"  
    2424        id="DownThemAll" 
    25         width="460" height="200"  
     25        width="520" height="230"  
    2626        persist="screenX screenY" 
    2727        onload="Dialog.load();" 
     
    5555        </keyset> 
    5656         
    57         <dialogheader id="logo" title="&title;" class="renamingmask" chromedir="&locale.dir;"/> 
     57        <dialogheader id="logo" class="renamingmask" chromedir="&locale.dir;"> 
     58                <image/> 
     59                <label class="dialogheader-title" value="&title;"/> 
     60        </dialogheader> 
    5861 
    5962        <vbox id="renamingbox" style="margin:8px;" > 
  • trunk/chrome/content/preferences/interfacePane.xul

    r1078 r1132  
    4141                        <hbox> 
    4242                                <checkbox flex="1" id="minimizetotray" label="&uipane.minimizetotray.label;" preference="dtaMinimizeToTray"/> 
    43                                 <label id="minimizetotray_link" value="Get MinTrayR" onclick="Interface.openMinTrayR();" hidden="true" class="link"/> 
     43                                <label id="minimizetotray_link" value="Get MinTrayR" onclick="Interface.openMinTrayR();" hidden="true" class="text-link"/> 
    4444                        </hbox> 
    4545                </groupbox> 
  • trunk/chrome/content/preferences/privacyPane.xul

    r1098 r1132  
    7878                        <caption label="&privacypane.notice.caption;"/> 
    7979                        <description value="&privacypane.notice.desc;"/> 
    80                         <label class="link" value="&privacypane.privacynotice.label;" onclick="Privacy.showNotice();"/> 
     80                        <label class="text-link" value="&privacypane.privacynotice.label;" onclick="Privacy.showNotice();"/> 
    8181                </groupbox> 
    8282        </prefpane> 
  • trunk/chrome/skin/add/style.css

    r1071 r1132  
    88} 
    99 
    10 toolbarbutton { 
    11         width: 28px; 
    12 
    13 dialogheader .dialogheader-title { 
    14         padding-left: 30px !important; 
    15         background-image: url('chrome://dta/skin/add/add.png') !important; 
     10 
     11#logo { 
     12        list-style-image: url(add.png); 
    1613} 
    1714 
  • trunk/chrome/skin/common/style.css

    r1086 r1132  
    44@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 
    55@namespace html url("http://www.w3.org/1999/xhtml"); 
     6 
     7 
     8                 
     9dialogheader { 
     10        border: 2px solid -moz-use-text-color; 
     11        -moz-border-top-colors: threedshadow threeddarkshadow; 
     12        -moz-border-right-colors: threedhighlight threeddarkshadow; 
     13        -moz-border-bottom-colors: threedhighlight threeddarkshadow; 
     14        -moz-border-left-colors: threedshadow threeddarkshadow; 
     15} 
    616 
    717/* maskbutton */ 
     
    1424.masktag { 
    1525        text-decoration: underline; 
    16         cursor:pointer; 
     26        cursor :pointer; 
    1727        font-family: "Courier New", Courier, monospace; 
    1828} 
     
    2838#browsedir { 
    2939        list-style-image: url("chrome://dta/skin/common/browse.png"); 
    30         -moz-appearance: none !important; 
    31         border: none!important; 
    32         padding: 2px 0px!important; 
    33         margin: 0px!important; 
     40
     41 
     42/* maskbutton */ 
     43maskbutton toolbarbutton { 
     44        list-style-image: url("chrome://dta/skin/common/mask.png"); 
     45
     46 
     47/* maskbutton/browsedir common */ 
     48maskbutton toolbarbutton, 
     49#browsedir { 
    3450        -moz-image-region: rect(0px,48px,21px,24px) !important; 
    3551} 
    3652 
     53maskbutton toolbarbutton:hover, 
    3754#browsedir:hover { 
    3855        -moz-image-region: rect(0px,24px,21px,0px) !important; 
    3956} 
    4057 
     58maskbutton toolbarbutton:active, 
    4159#browsedir:active { 
    4260        -moz-image-region: rect(0px,72px,21px,48px) !important; 
    4361} 
     62 
     63maskbutton .toolbarbutton-icon, 
     64#browsedir .toolbarbutton-icon { 
     65        -moz-margin-end: 0; 
     66} 
     67maskbutton .toolbarbutton-text, 
     68#browsedir .toolbarbutton-text { 
     69        display: none; 
     70} 
     71 
    4472 
    4573#footer statusbarpanel[class]:hover { 
     
    5280        min-width: 290px !important; 
    5381        height: 42px !important; 
    54         overflow: hidden; 
     82        overflow: visible; 
     83        -moz-box-align: center; 
     84        -moz-box-pack: start; 
    5585        padding: 3px !important; 
    56         padding-left: 7px !important; 
     86        padding-left: 1em !important; 
    5787        margin: 0 !important; 
    5888} 
     89#logo > label { 
     90        -moz-box-align: start; 
     91        -moz-box-flex: 0; 
     92}        
    5993#logo[chromedir="rtl"] { 
    6094        background: white url(chrome://dta/skin/common/logo-rtl.png) no-repeat left top; 
    6195} 
    62 dialogheader#logo label { 
    63         padding: 0; 
    64 
    65 dialogheader#logo .dialogheader-title { 
     96#logo .dialogheader-title { 
    6697        padding-top: 2px; 
    6798        font-weight: bold; 
     99        font-size: larger; 
    68100        margin-top: auto; 
    69101        margin-bottom: auto; 
     102        padding-left: 0.7em; 
    70103        background: transparent left center no-repeat; 
    71104} 
    72 dialogheader#logo.renamingmask .dialogheader-title { 
    73         padding-left: 30px !important; 
    74         background-image: url('chrome://dta/skin/select/mask.png') !important; 
     105#logo.renamingmask { 
     106        list-style-image: url('chrome://dta/skin/select/mask.png'); 
    75107} 
    76108 
     
    90122        margin-right:1px; 
    91123         
    92 } 
    93  
    94 .link, html|*.link { 
    95         color: blue; 
    96         text-decoration: underline; 
    97         cursor: pointer; 
    98 } 
    99 .link:hover, html|*.link:hover { 
    100         color: red; 
    101124} 
    102125 
     
    165188        font-style: italic; 
    166189} 
     190 
     191.textbox-input-box { 
     192        padding-top: 3px; 
     193        padding-bottom: 3px; 
     194} 
     195 
    167196/* foreign theme compat, i.e. Songbird */ 
    168197statusbar { 
  • trunk/chrome/skin/manager/metalinker.css

    r1027 r1132  
    1818        margin-top: 0.5ex; 
    1919} 
    20 .additional { 
     20richlistitem { 
     21        border-bottom: 1px dotted rgb(192, 192, 192); 
     22        background-color: transparent !important; 
     23        color: inherit !important; 
     24        overflow: visible; 
     25        -moz-box-align: center; 
     26        padding: 4pt; 
     27
     28.metalinker-icon { 
     29        margin-top: 1ex !important; 
     30        -moz-margin-start: 1ex; 
     31        -moz-margin-end: 1.3ex; 
     32        width: 32px; 
     33        max-height: 32px; 
     34
     35.metalinker-additional { 
    2136        text-align: right; 
    2237        font-style: italic; 
    2338        max-width: 10%; 
    2439} 
    25 richlistitem
    26         border-bottom: 1px dotted rgb(192, 192, 192)
    27         background-color: transparent !important
    28         color: inherit !important;      
     40.metalinker-description
     41        padding-top: 0.5ex
     42        -moz-padding-start: 1em
     43        -moz-padding-end: 1ex; 
    2944} 
    30 richlistitem .icon { 
    31         margin-top: 1ex !important; 
    32 } 
    33 richlistitem vbox { 
    34         padding: 4pt; 
    35 } 
  • trunk/chrome/skin/manager/style.css

    r1128 r1132  
    4444        background: url(chrome://dta/skin/common/toolbarspacer.png) no-repeat 50% 11px; 
    4545        min-width: 13px; 
     46        padding: 0; 
     47        margin: 0; 
     48        height: 100%; 
    4649} 
    4750