New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with the less based style.min.css #3012
Comments
Can you find the .less file in which it is defined?
|
will be fixed in bootstrap v3. |
Thanks for the info. |
Can we close this as it will be fixed upstream in bootstrap? |
OK! |
I will reopen this one because details a current issue to be solved after the upgrading to boopstrap v3... but we need to modified the new print less file accordingly to fix it (it is not automatic fix) |
@damianavila what needs to be done here? |
IIRC, we have to get rid of |
OK, the problem is that the print stylesheet in bootstrap have these lines: https://github.com/ipython/ipython-components/blob/master/bootstrap/less/print.less#L8-L16 So, because of the |
We could reimplement https://github.com/ipython/ipython-components/blob/7e04311dce773c145aa94d253ba0ec70f81fa59c/bootstrap/less/bootstrap.less#L7 in https://github.com/ipython/ipython/blob/master/IPython/html/static/style/style.less#L6 , only to import what we actually use. We could then remove the reference to Bootstrap.less . Other than that, I'm not sure we can make our selectors more specific without !important. |
We can overwrite the specific key that implement !important I guess. Is it fixed on last bootstrap ? |
yes, I guess we can send a fix upstream (not fixed in master)... seem the cleanest solution IMHO |
@damianavila should we keep this targeted to 3.0? Any update on this issue? |
Let target to 4.0... I will submit the request upstream... if I get a quick answer, we can do the changes before 3.0 but I don't know if it is a realistic timeframe, so better change it to 4.0 |
Closing as this issue is not in IPython itself and if still problematic and relevant should be opened on the right repository. This will allow to keep the number of opened issue on the IPython repo under control. Feel free to keep commenting or reopen if necessary. Thanks. |
Using reveal ipython powered slideshows, if I want to get a pdf, I have problems with the following line in style.min.css:
link to the code:
In particular with this one:
color:#000 !important;
because it is making all the code black, losing all the pigment coloring...
and because is marked as
!important
I can not overwriting later with css.It is necessary to get this color property to black? I don't think so... ;-)
Cheers.
Damián.
ping @Carreau because you work with this style ;-)
The text was updated successfully, but these errors were encountered: