Skip to main content

Turn off Stylesheets and still show Messages

Ever turn off the stylesheets and still need to style the messages?
Here is a start with the selectors within css

/*Messsages*/
            .message {text-align:left;}
            .message .messageTable{background-color: #FFFEDD;font: bold 14px 'Segoe UI', Arial, sans-serif;color:black;margin:4px;width:100%;-moz-border-radius: 15px;border-radius: 15px;border:1px solid #E2E0DA;}
            .message .messageTable td{padding:3px;}
            .message .messageTable td h4{margin: 1px;}
            /*CONFIRM*/
                .message.confirmM3 .messageTable{color:#f58400;}
            /*ERROR*/
                .message.errorM3 .messageTable{color:#C00;}
            /*INFO*/
                .message.infoM3 .messageTable{color:blue;}

Comments

Popular posts from this blog

Override Name in the Salesforce Cloud Console

Service Cloud Console HyperLink Opens new window outside of the console, Opens new tab inside the console. HYPERLINK("javascript:if(typeof(srcUp)=='function') {srcUp('/" & Id & "?isdtp=vw');}"+ " else {window.location.href='/" & Id & "'}", User__r.FirstName + ' ' + User__r.LastName, "_self" ) Checks if the srcUp exists and if it does, you're in the console.