##// END OF EJS Templates
outputarea.js: Wrap inline SVGs inside an iframe...
outputarea.js: Wrap inline SVGs inside an iframe When multiple inline SVGs are included in a single document, they share the same parse tree. Therefore, style collisions and use id collisions can occur and upset the rendering. This patch wraps each SVG inside an individual iframe, ensuring that SVG's declarations do not collide. (The SVG representation is kept as XML and not converted to a binary format, so I do not think this approach precludes the use of d3.js) Tested on: * Chrome Version 29.0.1547.57 Debian 7.1 (217859) * Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130806 Firefox/17.0 Iceweasel/17.0.8 Closes #1866

File last commit:

r11033:fa36e98f
r13408:333abbe5
Show More
page.less
83 lines | 1.3 KiB | text/x-less | LessCssLexer
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 /**
* Primary styles
*
* Author: IPython Development Team
*/
body {
background-color: white;
/* This makes sure that the body covers the entire window and needs to
be in a different element than the display: box in wrapper below */
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
Brian Granger
Refactoring templates and top level js/css organization.
r6192 overflow: visible;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
div#header {
/* Initially hidden to prevent FLOUC */
display: none;
}
MinRK
tweak header styling...
r10906 #ipython_notebook {
MinRK
shrink navbars a little
r10912 padding-left: 16px;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Paul Ivanov
use less.css for the style of the noscript message
r10988 #noscript {
width: auto;
padding-top: 16px;
padding-bottom: 16px;
text-align: center;
font-size: 22px;
color: red;
font-weight: bold;
}
MinRK
tweak header styling...
r10906 #ipython_notebook img {
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
Matthias BUSSONNIER
notebook : update logo...
r5702 height: 24px;
text-decoration:none;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 color: black;
}
Brian Granger
Refactoring templates and top level js/css organization.
r6192 #site {
Brian Granger
Major refactoring of notebook....
r6193 width: 100%;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 display: none;
}
Brian Granger
More minor theme/styling changes.
r5871 /* Smaller buttons */
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 .ui-button .ui-button-text {
padding: 0.2em 0.8em;
font-size: 77%;
}
MinRK
add read-only view for notebooks...
r5200
Brian Granger
Refactoring templates and top level js/css organization.
r6192 input.ui-button {
padding: 0.3em 0.9em;
}
MinRK
shrink navbars a little
r10912 .navbar span {
margin-top: 3px;
}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
MinRK
add read-only view for notebooks...
r5200 span#login_widget {
float: right;
}
MinRK
disabile bootstrap's capitalized nav-header
r10905
.nav-header {
text-transform: none;
MinRK
tweak header styling...
r10906 }
.navbar-nobg {
background-color: transparent;
background-image: none;
}
#header > span {
margin-top: 10px;
MinRK
tweak quick-help...
r10939 }
.modal-body {
max-height: 500px;
}