Browse Source

Improved buttons on history edit panel

master
Igor Zhukov 10 years ago
parent
commit
fbf87d499a
  1. 2
      app/css/app.css
  2. 4
      app/css/desktop.css
  3. 2
      app/partials/desktop/im.html
  4. 2
      app/partials/desktop/peer_select.html

2
app/css/app.css

@ -2381,7 +2381,7 @@ img.chat_modal_participant_photo {
.im_edit_delete_btn, .im_edit_delete_btn,
.im_edit_forward_btn { .im_edit_forward_btn {
border-radius: 2px; border-radius: 2px;
padding: 5px 17px; padding: 7px 17px;
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 18px;

4
app/css/desktop.css

@ -675,13 +675,13 @@ a.footer_link.active:active {
} }
.im_edit_panel_border { .im_edit_panel_border {
display: block; display: block;
margin: 0 0 49px 3px; margin: 0 0 47px 3px;
border-bottom: 1px solid #EEE; border-bottom: 1px solid #EEE;
} }
.im_edit_flush_link, .im_edit_flush_link,
.im_edit_cancel_link { .im_edit_cancel_link {
display: block; display: block;
padding: 6px 17px; padding: 7px 17px;
border-radius: 2px; border-radius: 2px;
overflow: hidden; overflow: hidden;
margin: 6px 6px; margin: 6px 6px;

2
app/partials/desktop/im.html

@ -148,7 +148,7 @@
<div class="im_edit_panel_wrap clearfix" ng-show="historyState.selectActions"> <div class="im_edit_panel_wrap clearfix" ng-show="historyState.selectActions">
<div class="im_edit_panel_border"></div> <div class="im_edit_panel_border"></div>
<a class="btn btn-md im_edit_flush_link" ng-click="selectedFlush()" ng-switch="historyPeer.id > 0"> <a class="btn btn-md btn-md-primary im_edit_flush_link" ng-click="selectedFlush()" ng-switch="historyPeer.id > 0">
<span ng-switch-when="true" my-i18n="im_delete_chat"></span> <span ng-switch-when="true" my-i18n="im_delete_chat"></span>
<span ng-switch-default my-i18n="im_clear_history"></span> <span ng-switch-default my-i18n="im_clear_history"></span>
</a> </a>

2
app/partials/desktop/peer_select.html

@ -52,7 +52,7 @@
</div> </div>
<div class="md_modal_footer peer_select_modal_footer clearfix" ng-if="multiSelect"> <div class="md_modal_footer peer_select_modal_footer clearfix" ng-if="multiSelect">
<button class="btn btn-md pull-right" ng-click="submitSelected()" my-i18n="conversations_modal_forward_submit"></button> <button class="btn btn-md btn-md-primary pull-right" ng-click="submitSelected()" my-i18n="conversations_modal_forward_submit"></button>
<div class="peer_select_modal_recipients_wrap" ng-switch="!selectedCount"> <div class="peer_select_modal_recipients_wrap" ng-switch="!selectedCount">
<span class="peer_select_modal_recipients_empty" ng-switch-when="true" my-i18n="conversations_modal_select_recipients"></span> <span class="peer_select_modal_recipients_empty" ng-switch-when="true" my-i18n="conversations_modal_select_recipients"></span>

Loading…
Cancel
Save