diff options
author | Aleksander Machniak <alec@alec.pl> | 2016-11-06 11:41:43 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2016-11-06 11:41:43 +0300 |
commit | cf866990f2e95ceb35470e80479675715022d7e8 (patch) | |
tree | 2409ab8719aa0623d4f1fd18f681a2b89a4a67d2 /skins | |
parent | 2dbbaf77397cf944039b7e6e72910d1959ae0225 (diff) |
Get rid of "popupmessage" class
It wasn't widely used and made the dialogs look inconsistent
Diffstat (limited to 'skins')
-rw-r--r-- | skins/larry/styles.css | 18 | ||||
-rw-r--r-- | skins/larry/ui.js | 2 |
2 files changed, 1 insertions, 19 deletions
diff --git a/skins/larry/styles.css b/skins/larry/styles.css index cf21c9069..4fbbd71bf 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -711,24 +711,6 @@ a.iconlink.upload { background-position: 0 -30px; } -.ui-dialog.popupmessage .ui-dialog-titlebar { - padding: 8px 1em 4px 1em; - background: #e3e3e3; - background: -moz-linear-gradient(top, #e3e3e3 0%, #cfcfcf 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(100%,#cfcfcf)); - background: -ms-linear-gradient(top, #e3e3e3 0%, #cfcfcf 100%); - background: linear-gradient(to bottom, #e3e3e3 0%, #cfcfcf 100%); -} - -.ui-dialog.popupmessage .ui-widget-content { - font-size: 12px; - background: #eee; - background: -moz-linear-gradient(top, #eee 0%, #dcdcdc 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eee), color-stop(100%,#dcdcdc)); - background: -ms-linear-gradient(top, #eee 0%, #dcdcdc 100%); - background: linear-gradient(to bottom, #eee 0%, #dcdcdc 100%); -} - .ui-autocomplete { max-height: 160px; overflow-x: hidden; diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 4b2cd8057..215778b14 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -450,7 +450,7 @@ function rcube_mail_ui() .dialog({ resizable: false, closeOnEscape: true, - dialogClass: 'popupmessage ' + p.type, + dialogClass: p.type, title: rcmail.gettext('errortitle'), close: dialog_close, hide: {effect: 'fadeOut'}, |