Comments (3)
Are you trying to prevent blockUI's default styles from taking effect or are you trying to prevent the legacy styles from bleeding into the block message?
If you don't want any default styles applied by the plugin you can do this:
$.blockUI.defaults.css = {};
You can then apply styles in a stylesheet by using a style rule selector of ".blockMsg":
.blockMsg { /* your styles here */ }
Example: http://jquery.malsup.com/block/stylesheet.html
from blockui.
I did not explain my point, I mean I want the default styles for the modal but what what happening in my page is that I have some templates that are used in the message of the modal and also in the page content.
The templates that are in the page are well styled from css files, but those template in the message of the modal do not preserve the styles even if they have the attr class correct. I just inspect the HTML and the html has the correct classes but what I noted is that in the page is with media="screen" and in the content of the modal doe not has that media="screen" rule.
Any idea?
from blockui.
Nope.
from blockui.
Related Issues (20)
- Message not centered in jQuery-ui Tabs HOT 4
- onUnblock not called on nth (< 1) use
- Is this project dead? HOT 1
- License Inconsistencies
- Bower install invalid-mta errors HOT 1
- Minified version with bower
- Unable to run Asynchronously with other scripts
- Semantic version
- Refused to apply inline style because it violates the following content security policy directive HOT 1
- block ui does not work on desktop version in safari,chrome and firefox browser
- accessibility support
- Mouse normal HOT 2
- Modal and SweetAlert
- Update the blocked message without re-blocking?
- Listen events 'block' and 'unblock'
- $.blockUI.defaults.message migrate Jquery 1.12 to 3.5
- Safari problems
- demo page HOT 3
- Can't download production version HOT 1
- Jquery Migrate says "isFunction" is deprecated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockui.