Giter Club home page Giter Club logo

Comments (3)

malsup avatar malsup commented on May 26, 2024

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.

Rafailong avatar Rafailong commented on May 26, 2024

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.

malsup avatar malsup commented on May 26, 2024

Nope.

from blockui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.