You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
2.3 KiB
112 lines
2.3 KiB
/*-----------------------------------------------------------------------------
|
|
| Copyright (c) Jupyter Development Team.
|
|
|
|
|
| Distributed under the terms of the Modified BSD License.
|
|
|----------------------------------------------------------------------------*/
|
|
|
|
.jp-ClassicKernelLogo {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.jp-ClassicKernelLogo img {
|
|
max-width: 28px;
|
|
max-height: 28px;
|
|
display: flex;
|
|
}
|
|
|
|
.jp-ClassicKernelStatus {
|
|
/* TODO: replace with lab variable */
|
|
font-size: 12px;
|
|
margin: 0;
|
|
font-weight: normal;
|
|
color: var(--jp-ui-font-color0);
|
|
font-family: var(--jp-ui-font-family);
|
|
line-height: var(--jp-private-title-panel-height);
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.jp-ClassicKernelStatus-error {
|
|
background-color: var(--jp-error-color0);
|
|
}
|
|
|
|
.jp-ClassicKernelStatus-warn {
|
|
background-color: var(--jp-warn-color0);
|
|
}
|
|
|
|
.jp-ClassicKernelStatus-info {
|
|
background-color: var(--jp-info-color0);
|
|
}
|
|
|
|
.jp-ClassicKernelStatus-fade {
|
|
animation: 0.5s fade-out forwards;
|
|
}
|
|
|
|
@keyframes fade-out {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
#jp-title h1 {
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
margin: 0;
|
|
font-weight: normal;
|
|
color: var(--jp-ui-font-color0);
|
|
font-family: var(--jp-ui-font-family);
|
|
line-height: calc(1.5 * var(--jp-private-title-panel-height));
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#jp-title h1:hover {
|
|
background: var(--jp-layout-color2);
|
|
}
|
|
|
|
.jp-ClassicCheckpoint {
|
|
font-size: 14px;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
font-weight: normal;
|
|
color: var(--jp-ui-font-color0);
|
|
font-family: var(--jp-ui-font-family);
|
|
line-height: calc(1.5 * var(--jp-private-title-panel-height));
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Mobile View */
|
|
|
|
body[data-format='mobile'] .jp-ClassicCheckpoint {
|
|
display: none;
|
|
}
|
|
|
|
body[data-format='mobile'] .jp-InputArea,
|
|
body[data-format='mobile'] .jp-OutputArea-child {
|
|
flex-direction: column;
|
|
}
|
|
|
|
body[data-format='mobile'] .jp-InputPrompt,
|
|
body[data-format='mobile'] .jp-OutputPrompt {
|
|
flex: 0 0 auto;
|
|
text-align: left;
|
|
}
|
|
|
|
body[data-format='mobile'] .jp-InputArea-editor {
|
|
margin-left: var(--jp-notebook-padding);
|
|
}
|
|
|
|
body[data-format='mobile'] .jp-OutputArea-child .jp-OutputArea-output {
|
|
margin-left: var(--jp-notebook-padding);
|
|
}
|