Skip to content

Commit

Permalink
Add toolbar icons for image zoom/rotate in larry (#6111)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascube committed Mar 10, 2018
1 parent d4ced14 commit 8679566
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Binary file modified skins/larry/images/buttons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions skins/larry/styles.css
Expand Up @@ -2071,6 +2071,18 @@ ul.proplist.simplelist li {
background-position: center -2065px;
}

.toolbar a.button.rotate {
background-position: center -2148px;
}

.toolbar a.button.zoomin {
background-position: center -2190px;
}

.toolbar a.button.zoomout {
background-position: center -2230px;
}

a.menuselector {
display: inline-block;
border: 1px solid #ababab;
Expand Down
5 changes: 5 additions & 0 deletions skins/larry/templates/messagepart.html
Expand Up @@ -30,6 +30,11 @@ <h2 id="aria-label-toolbar" class="voice"><roundcube:label name="arialabeltoolba
</span>
<roundcube:button name="messagemenulink" id="messagemenulink" type="link" class="button more" label="more" title="moreactions" onclick="UI.toggle_popup('messagemenu',event);return false" aria-haspopup="true" aria-expanded="false" aria-owns="messagemenu-menu" />
<roundcube:endif />
<roundcube:if condition="stripos(env:mimetype, 'image/') === 0" />
<roundcube:button command="image-scale" type="link" prop="+" data-hidden="small" class="button zoomin disabled" classAct="button zoomin" label="zoomin" title="increaseimage" innerclass="inner" />
<roundcube:button command="image-scale" type="link" prop="-" data-hidden="small" class="button zoomout disabled" classAct="button zoomout" label="zoomout" title="decreaseimage" innerclass="inner" />
<roundcube:button command="image-rotate" type="link" class="button rotate disabled" classAct="button rotate" data-hidden="small" label="rotate" title="rotateimage" innerclass="inner" />
<roundcube:endif />
</div>

<div id="mainscreencontent">
Expand Down

0 comments on commit 8679566

Please sign in to comment.