popups have titles
Oleg
committed Jun 02, 2011
commit 851ded5350216863e416f57613c5a7a85579aa9e
Showing 2
changed files with
13 additions
and 5 deletions
app/assets/javascripts/comfortable_mexican_sofa/wymeditor/jquery.wymeditor.cms.js
+1
-0
| @@ | @@ -118,6 +118,7 @@ WYMeditor.editor.prototype.dialog = function( dialogType, dialogFeatures, bodyHt |
| dialog.html(this.replaceStrings(body)); | |
| dialog.dialog({ | |
| + | title: this.replaceStrings(this.encloseString(dialogType)), |
| modal: true, | |
| width: 800, | |
| resizable: false | |
app/assets/stylesheets/comfortable_mexican_sofa/widgets.css
+12
-5
| @@ | @@ -7,20 +7,27 @@ |
| border: 5px solid #9f9f9f; | |
| border-radius: 5px; | |
| background-color: #d8d8d8; | |
| - | padding: 30px 15px 15px 15px; |
| + | padding: 15px; |
| } | |
| .ui-widget-overlay { | |
| position: absolute; | |
| top: 0px; | |
| background: rgba(0,0,0,0.4); | |
| } | |
| - | .ui-dialog-title { |
| - | display: none; |
| + | .ui-dialog-titlebar { |
| + | position: relative; |
| + | padding: 0px 5px; |
| + | margin-bottom: -5px; |
| + | } |
| + | .ui-dialog-titlebar .ui-dialog-title { |
| + | font: 15px/25px Helvetica, Arial, sans-serif; |
| + | text-shadow: #252525 1px 1px; |
| + | color: #f1f1f1; |
| } | |
| a.ui-dialog-titlebar-close { | |
| position: absolute; | |
| - | top: 8px; |
| - | right: 8px; |
| + | top: 4px; |
| + | right: 4px; |
| } | |
| /* -- WYMeditor ---------------------------------------------------------- */ | |