Files
jupyter_contrib_nbextensions/nbextensions/config/main.css
T

218 lines
3.9 KiB
CSS

#render-container,
#nbext-container {
padding: 15px;
padding-top: 0;
-moz-box-shadow: 0 0 12px 1px rgba(87, 87, 87, 0.2);
-webkit-box-shadow: 0 0 12px 1px rgba(87, 87, 87, 0.2);
box-shadow: 0 0 12px 1px rgba(87, 87, 87, 0.2);
min-height: calc(100% - 15px);
}
#render-container.text-danger {
padding-top: 15px;
}
#render-container img {
margin-top: 1em;
margin-bottom: 1em;
margin-left: auto;
margin-right: auto;
}
#render-container img,
#render-container svg {
max-width: 100%;
height: auto;
}
#render-container img.unconfined,
#render-container svg.unconfined {
max-width: none;
}
#render-container pre {
padding: 0.25em 0.5em 0.25em;
margin: 0.5em 0 0.5em;
}
#render-container code {
font-size: 100%;
}
.nbext-page-title-wrap {
margin-top: 6px;
}
.nbext-page-title {
height: 1em;
line-height: 1em;
padding: 3px;
margin-left: 16px;
border: none;
font-size: 146.5%;
border-radius: 2px;
}
.nbext-showhide-incompat {
margin-top: 1em;
margin-bottom: 0.5em;
float: left;
clear: both;
}
.nbext-row {
padding: 1em;
display: flex;
flex-direction: row;
align-items: center;
}
.nbext-row + .nbext-row {
border-top: 1px solid #AAA;
}
.nbext-title {
margin-top: 0;
}
.nbext-compat-true {
color: green;
}
.nbext-compat-false {
color: red;
}
.nbext-activate-btns button {
border-radius: 0;
}
.nbext-activate-btns button:first-child {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.nbext-activate-btns button:last-child {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.nbext-activate-btns button[disabled] {
color: #cccccc;
}
.nbext-icon {
margin-left: 8px;
text-align: center;
}
.nbext-icon img {
max-height: 120px;
max-width: 100%;
}
.nbext-params {
margin-top: 8px;
border: 1px solid #cccccc;
border-radius: 4px;
padding: 45px 15px 0;
position: relative;
}
.nbext-params:before {
position: absolute;
top: 15px;
left: 15px;
font-size: 17px;
font-weight: 500;
color: #888888;
content: "Parameters";
}
.nbext-param {
display: block;
width: 100%;
padding: 8px;
border: 1px solid #cccccc;
border-radius: 0;
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.nbext-param:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.nbext-param:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.nbext-param + .nbext-param {
border-top: none;
}
.nbext-param-name {
font-size: 120%;
}
.nbext-list-wrap {
height: auto;
}
.nbext-list {
margin-bottom: 0;
list-style-type: none;
-moz-padding-start: 0;
-webkit-padding-start: 0;
}
.nbext-list-element,
.nbext-list-element-placeholder {
margin-bottom: 2px;
}
.nbext-list-element-placeholder {
height: 32px;
width: 100%;
border: 1px solid #fcefa1;
background-color: #fbf9ee;
color: #363636;
}
.nbext-list-element:only-child > .handle {
display: none
}
.nbext-list-element:only-child > .handle + .form-control {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
a.input-group-addon.nbext-list-btn-add {
border-radius: 2px;
border: 1px solid #cccccc;
}
/*.nbext-list-element input {
flex: 1;
}
*/
/*.nbext-list-element a {
flex: 0;
}
*/
.nbext-list-element:first-child .nbext-list-el-btn-up,
.nbext-list-element:last-child .nbext-list-el-btn-down {
display: none;
}