jupyterlab-emrys
Version:
A computational environment for Jupyter. Powered by Emrys
219 lines (150 loc) • 3.66 kB
CSS
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
.jp-FileBrowser {
min-width: 300px;
color: #757575;
background: #FAFAFA;
font-size: 13px;
}
.jp-BreadCrumbs {
margin: 4px 12px;
}
.jp-BreadCrumbs-item {
margin: 0px 4px;
cursor: pointer;
}
.jp-BreadCrumbs-item:first-child {
margin-left: 0px;
}
.jp-BreadCrumbs-item.jp-mod-dropTarget {
background: #FEDBC4;
}
.jp-FileButtons {
border-bottom: 1px solid #E0E0E0;
}
.jp-FileButtons-button {
flex: 1 1 auto;
max-width: 100px;
padding: 4px 6px;
color: #757575;
background: #FAFAFA;
border: none;
font-size: 14px;
outline: 0;
padding-top: 8px;
padding-bottom: 8px;
}
.jp-FileButtons-button::-moz-focus-inner {
border: 0;
}
.jp-FileButtons-button:hover {
background: #F5F5F5;
border-color: #D0D0D0;
z-index: 1; /* raise overlapping border */
}
.jp-FileButtons-button:active,
.jp-FileButtons-button.jp-id-create.jp-mod-active {
background: #EEEEEE;
border-color: #BDBDBD;
z-index: 1; /* raise overlapping border */
}
.jp-FileButtons-button.jp-id-upload {
margin-left: -1px; /* overlap borders */
}
.jp-DirListing {
outline: 0;
}
.jp-DirListing-header {
margin-bottom: 4px;
border-top: 1px solid #E0E0E0;
border-bottom: 1px solid #E0E0E0;
}
.jp-DirListing-headerItem {
padding: 4px 12px;
font-weight: 500;
}
.jp-DirListing-headerItem:hover {
background: #EEEEEE;
}
.jp-DirListing-headerItem.jp-id-name {
flex: 1 0 84px;
}
.jp-DirListing-headerItem.jp-id-modified {
flex: 0 0 112px;
border-left: 1px solid #E0E0E0;
text-align: right;
}
.jp-DirListing-headerItem.jp-mod-selected {
font-weight: 600;
}
.jp-DirListing-headerItem.jp-mod-selected .jp-DirListing-headerItemIcon:before {
font-family: FontAwesome;
content: "\f0d8";
}
.jp-DirListing-headerItem.jp-mod-selected.jp-mod-descending .jp-DirListing-headerItemIcon:before {
font-family: FontAwesome;
content: "\f0d7";
}
.jp-DirListing-headerItem.jp-mod-selected.jp-id-name .jp-DirListing-headerItemIcon:before {
float: right;
}
.jp-DirListing-headerItem.jp-mod-selected.jp-id-modified .jp-DirListing-headerItemIcon:before {
float: left;
}
/* increase specificity to override bundled default */
/*.jp-DirListing > .jp-DirListing-content {
padding: 0px;
}*/
.jp-DirListing-item {
padding: 4px 12px;
}
.jp-DirListing-item.jp-mod-selected {
color: white;
background: #2196F3;
}
.jp-DirListing-item.jp-mod-dropTarget {
background: #FEDBC4;
}
.jp-DirListing-item:hover:not(.jp-mod-selected) {
background: #EEEEEE;
}
.jp-DirListing-itemIcon {
flex: 0 0 20px;
font-family: FontAwesome;
font-size: 14px;
}
.jp-DirListing-itemText {
flex: 1 0 64px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.jp-DirListing-itemModified {
flex: 0 0 108px;
text-align: right;
}
.jp-DirListing-editor {
flex: 1 0 64px;
}
.jp-type-folder.jp-DirListing-itemIcon:before {
content: "\f114";
}
.jp-type-file.jp-DirListing-itemIcon:before {
content: "\f016";
}
.jp-type-notebook.jp-DirListing-itemIcon:before {
content: "\f02d";
}
.jp-DirListing-item.jp-mod-running .jp-DirListing-itemIcon {
color: #27AE60;
}
.jp-DirListing-item.p-mod-drag-image,
.jp-DirListing-item.jp-mod-selected.p-mod-drag-image {
background-color: #FFFFFF;
box-shadow: 5px 5px 10px rgba(46,46,46,0.5);
border-radius: 3px;
color: #757575;
transform: translateX(-40%) translateY(-58%);
}