Changeset 3375 in subversion


Ignore:
Timestamp:
Mar 17, 2010 2:21:07 PM (3 years ago)
Author:
alec
Message:
  • use popupmenu style for attachments upload form
  • move .popupmenu style definition to common.css
Location:
trunk/roundcubemail
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r3371 r3375  
    28332833    if (!this.gui_objects.uploadbox) 
    28342834      return false; 
    2835        
     2835 
    28362836    var elm, list; 
    28372837    if (elm = this.gui_objects.uploadbox) 
     
    28432843        elm.style.left = pos.left + 'px'; 
    28442844        } 
    2845        
    2846       elm.style.visibility = a ? 'visible' : 'hidden'; 
     2845 
     2846      $(elm).toggle(); 
    28472847      } 
    28482848       
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r3353 r3375  
    902902      html::div('hint', rcube_label(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize)))) . 
    903903      html::div('buttons', 
    904         $button->show(rcube_label('close'), array('class' => 'button', 'onclick' => "document.getElementById('$attrib[id]').style.visibility='hidden'")) . ' ' . 
     904        $button->show(rcube_label('close'), array('class' => 'button', 'onclick' => "$('#$attrib[id]').hide()")) . ' ' . 
    905905        $button->show(rcube_label('upload'), array('class' => 'button mainaction', 'onclick' => JS_OBJECT_NAME . ".command('send-attachment', this.form)")) 
    906906      ) 
  • trunk/roundcubemail/skins/default/common.css

    r3367 r3375  
    331331} 
    332332 
     333.popupmenu 
     334{ 
     335  position: absolute; 
     336  top: 32px; 
     337  left: 90px; 
     338  width: auto; 
     339  display: none; 
     340  background-color: #fff; 
     341  background-color: rgba(255, 255, 255, 0.95); 
     342  border: 1px solid #999; 
     343  padding: 4px; 
     344  z-index: 240; 
     345  border-radius: 3px; 
     346  -moz-border-radius: 3px; 
     347  -webkit-border-radius: 3px; 
     348  -moz-box-shadow: 1px 1px 12px #999; 
     349  -webkit-box-shadow: #999 1px 1px 12px; 
     350} 
     351 
    333352 
    334353/***** common table settings ******/ 
     
    533552} 
    534553 
    535  
     554                               
    536555/***** onclick menu list *****/ 
    537556 
  • trunk/roundcubemail/skins/default/mail.css

    r3367 r3375  
    165165} 
    166166 
    167 .popupmenu 
    168 { 
    169   position: absolute; 
    170   top: 32px; 
    171   left: 90px; 
    172   width: auto; 
    173   display: none; 
    174   background-color: #fff; 
    175   background-color: rgba(255, 255, 255, 0.95); 
    176   border: 1px solid #999; 
    177   padding: 4px; 
    178   z-index: 240; 
    179   border-radius: 3px; 
    180   -moz-border-radius: 3px; 
    181   -webkit-border-radius: 3px; 
    182   -moz-box-shadow: 1px 1px 12px #999; 
    183   -webkit-box-shadow: #999 1px 1px 12px; 
    184 } 
    185  
    186167#searchmenu 
    187168{ 
     
    13051286#attachment-form 
    13061287{ 
    1307   position: absolute; 
    1308   top: 150px; 
    1309   left: 20px; 
    1310   z-index: 200; 
    13111288  padding: 6px; 
    1312   visibility: hidden; 
    1313   border: 1px solid #CCCCCC; 
    1314   background-color: #F9F9F9; 
    13151289} 
    13161290 
  • trunk/roundcubemail/skins/default/templates/compose.html

    r3089 r3375  
    102102</form> 
    103103 
    104 <roundcube:object name="composeAttachmentForm" id="attachment-form" attachmentFieldSize="40" /> 
     104<roundcube:object name="composeAttachmentForm" id="attachment-form" attachmentFieldSize="40" class="popupmenu" /> 
    105105 
    106106</body> 
Note: See TracChangeset for help on using the changeset viewer.