Dotclear


Ignore:
Timestamp:
06/24/13 11:55:36 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Add button "Clean" to empty list of uploaded files
Update enhanced interface to mimic legacy one

Location:
admin/style/jsUpload
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/jsUpload/style.css

    r1160 r1162  
    1818} 
    1919 
    20 .enhanced_uploader label.button.add { 
    21   position: relative; 
     20.enhanced_uploader .button span { 
     21  font-size: inherit; 
     22  padding: 0; 
    2223} 
    2324 
     
    2728} 
    2829 
     30.enhanced_uploader .button.add { 
     31  position: relative; 
     32  cursor: pointer; 
     33  font-size: 1em; 
     34  padding: 0; 
     35} 
     36 
    2937.enhanced_uploader .button.add input { 
    3038  position: absolute; 
     39  width: 0; 
     40  height: 0; 
    3141  top: 0; 
    32   right: 0; 
     42  left: 0; 
    3343  margin: 0; 
    3444  opacity: 0; 
     
    3747} 
    3848 
    39 .enhanced_uploader .progress .bar { 
    40   background: transparent url('loader.png') repeat left top; 
     49.enhanced_uploader .add-label, .enhanced_uploader .max-size { 
     50  float: none; 
    4151} 
    4252 
    43 .enhanced_uploader .upload-status { 
    44   margin-top: 3px; 
    45   width: 13px; 
    46   height: 13px; 
    47   display: block; 
     53.button.clean, .button.cancel { 
     54  display: none; 
    4855} 
    4956 
    50 .enhanced_uploader .upload-status.ok { 
    51   background: transparent url('../../images/check-on.png') no-repeat left top; 
     57.enhanced_uploader .button.cancel { 
     58  display: inline-block; 
    5259} 
    5360 
    54 .enhanced_uploader .upload-status.error { 
    55   background: transparent url('../../images/check-off.png') no-repeat left top; 
    56 } 
    57  
    58 .enhanced_uploader .table-files .button.cancel { 
    59   background: transparent url('../../images/check-off.png') no-repeat left top; 
    60   width: 13px; 
    61   height: 13px; 
    62   margin-top: 3px; 
    63   border: none; 
     61.enhanced_uploader .max-size { 
     62  display: block; 
    6463} 
    6564 
     
    6867} 
    6968 
    70 .table-files, .button.cancel { 
    71   display: none; 
    72 } 
    73  
    74 .enhanced_uploader .table-files { 
    75   display: block; 
    76 } 
    77  
    78 .enhanced_uploader .button.cancel { 
    79   display: inline-block; 
    80 } 
    81  
    8269label span.one-file { 
    8370  display: inline; 
    8471} 
     72 
     73/* files */ 
     74.upload-msg { 
     75  font-weight: bold; 
     76} 
     77 
     78.upload-msg.upload-error { 
     79  color: #c00; 
     80} 
     81 
     82.upload-files { 
     83  padding: 0 0.5em; 
     84  margin: 10px 0; 
     85} 
     86 
     87.upload-file { 
     88  margin: 0 0 8px 0; 
     89  position: relative; 
     90} 
     91 
     92.upload-fileinfo { 
     93  margin-left: 16px; 
     94} 
     95 
     96.upload-fileinfo .upload-filecancel { 
     97  display: block; 
     98  margin-top: 3px; 
     99  width: 20px; 
     100  height: 20px; 
     101  background: transparent url("cancel.png") no-repeat left top; 
     102  text-indent: -1000px; 
     103  cursor: pointer; 
     104  float: left; 
     105} 
     106 
     107.upload-filemsg { 
     108  font-weight: bold; 
     109  color: green; 
     110} 
     111 
     112.upload-filemsg.upload-error { 
     113  color: #c00; 
     114} 
     115 
     116.upload-progress { 
     117  padding: 0 1em; 
     118} 
     119 
     120.upload-progress div { 
     121  height: 10px; 
     122  width: 0; 
     123  font-size: 0.8em; 
     124  line-height: 1em; 
     125  height: 1em; 
     126  padding: .2em 0; 
     127  text-align: right; 
     128  background: green url(loader.png) repeat-x left top; 
     129  color: white; 
     130  font-weight: bold; 
     131  border-radius: 2px; 
     132} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map