Add corresponding style.
Should fix#5984
Error when (auto)saving and things along should stand out in the
UI for the user to investigate the reason as soon as possible not to
loose work later.
I experienced the problem stated in #5755. Giving the ipython_tooltip class a higher z-index indeed solves the problem. I intentionally set it to a high value so it likelier remains on top when styles are changed in the future.
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29).
Importantly, the workaround appears to *introduce* incorrect behavior
closes#5192closes#5364
We had various overrides of the bootstrap defaults for font-size and line-height every time we made a pre tag,
and then some overrides of our overrides when we wanted something slightly different.
This moves the most basic overrides to apply to all pre tags,
reducing the number of downstream changes we need.
`pre`, `code` tags already set the font-family in these contexts.
Setting it again in the surrounding context is redundant,
and causes inconsistency when embedding notebooks in HTML
(e.g. nbviewer).
For all of the discussion that we had about what kind of icons should
and should not be used to indicate what mode the notebook is in, we
never went through to make it possible to override it.
With this change, it is now possible to override what icons are
displayed for Command and Edit Modes.
For example, @minrk liked the fighter-jet icon for Command Mode, so he
can put this in his custom.css
.ipython-command-mode:before {
content: "\f0fb";
}