css - jQuery UI dialog background -


i'm trying fill background of dialog without success.

as per picture getting transparency.

enter image description here

the css have is:

.ui-dialog {     background-color: #e1e1e1;  }  .ui-dialog .ui-dialog-content  {     background-color: #e1e1e1; } 

but without success.

i overriding alert() function can use alert() part of scripts:

window.alert = function (message, callback) {     $('<div />').text(message).dialog({         modal:true,         title:'ddb',         dialogclass: 'alert',         show: {             effect: "scale",             duration: 200         },         hide: {             effect: "explode",             duration: 300         },         buttons: {             'ok':function(){                 $(this).dialog('close');                 callback();             }         },         position: {             my: 'center bottom',             at: 'center bottom-30%',                 //of: $("#mainspace"),         },         close:function(){ $(this).dialog('destroy').remove(); }     }); } 


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -