Dotclear

Changeset 3463:65e8c8657d2d


Ignore:
Timestamp:
12/20/16 16:23:39 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Move tiny media action buttons to the top (right) → avoid overflow on media text links/controls

Location:
admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r3460 r3463  
    564564          $(this).append('<button class="close-notice" type="button"><img src="images/close.png" alt="'+dotclear.msg.close_notice+'" /></button>'); 
    565565     }); 
    566      $('button.close-notice').click(function (e) { 
     566     $('button.close-notice').click(function(e) { 
    567567          e.preventDefault(); 
    568568          $(this).parent().hide(); 
  • admin/style/default.css

    r3460 r3463  
    24842484    padding: 0; } 
    24852485  .media-item audio { 
    2486     width: 90%; 
     2486    width: 100%; 
    24872487    margin-top: .5em; } 
    24882488 
     
    25142514  display: block; 
    25152515  position: absolute; 
    2516   bottom: 4px; 
     2516  top: 4px; 
    25172517  right: 8px; 
    25182518  height: 16px; } 
     
    25312531  padding: 4px; 
    25322532  margin: .33em 0; } 
    2533  
    2534 #entry-sidebar li.media-action { 
    2535   top: 4px; } 
    25362533 
    25372534.folders-group .media-item { 
  • admin/style/scss/partials/_media.scss

    r3439 r3463  
    3535     } 
    3636     audio { 
    37           width: 90%; 
     37          width: 100%; 
    3838          margin-top: .5em; 
    3939     } 
     
    7373     display: block; 
    7474     position: absolute; 
    75      bottom: 4px; 
     75     top: 4px; 
    7676     right: 8px; 
    7777     height: 16px; 
     
    9595     padding: 4px; 
    9696     margin: .33em 0; 
    97 } 
    98  
    99 #entry-sidebar li.media-action { 
    100      top: 4px; 
    10197} 
    10298 
Note: See TracChangeset for help on using the changeset viewer.

Sites map