/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------- | Variables |----------------------------------------------------------------------------*/ :root { --jp-private-filebrowser-button-height: 28px; --jp-private-filebrowser-button-width: 48px; } /*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-FileBrowser { display: flex; flex-direction: column; color: var(--jp-ui-font-color1); background:var(--jp-layout-color1); font-size: var(--jp-ui-font-size1); } .jp-BreadCrumbs { flex: 0 0 auto; 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: var(--jp-brand-color2); } /*----------------------------------------------------------------------------- | Buttons |----------------------------------------------------------------------------*/ .jp-FileButtons { flex: 0 0 auto; display: flex; flex-direction: row; border-bottom: none; } .jp-FileButtons-buttonContent { display: flex; flex-direction: row; align-items: baseline; } .jp-FileButtons-button { flex: 1 1 auto; height: var(--jp-private-filebrowser-button-height); line-height: var(--jp-private-filebrowser-button-height); color: var(--jp-ui-font-color1); background: var(--jp-layout-color1); border: none; font-size: var(--jp-ui-icon-font-size); outline: 0; } .jp-FileButtons-buttonIcon { margin-left: auto; margin-right: auto; } .jp-FileButtons-button::-moz-focus-inner { border: 0; } .jp-FileButtons-button:hover { background: var(--jp-layout-color2); } .jp-FileButtons-button:active, .jp-FileButtons-button.jp-id-create.jp-mod-active { background: var(--jp-layout-color3); border-color: var(--jp-border-color3); } /*----------------------------------------------------------------------------- | DirListing |----------------------------------------------------------------------------*/ .jp-DirListing { flex: 1 1 auto; display: flex; flex-direction: column; outline: 0; } .jp-DirListing-header { flex: 0 0 auto; display: flex; flex-direction: row; overflow: hidden; border-top: var(--jp-border-width) solid var(--jp-border-color2); border-bottom: var(--jp-border-width) solid var(--jp-border-color2); } .jp-DirListing-headerItem { padding: 4px 12px; font-weight: 500; } .jp-DirListing-headerItem:hover { background: var(--jp-layout-color2); } .jp-DirListing-headerItem.jp-id-name { flex: 1 0 84px; } .jp-DirListing-headerItem.jp-id-modified { flex: 0 0 112px; border-left: var(--jp-border-width) solid var(--jp-border-color2); 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-content { flex: 1 1 auto; margin: 0; padding: 0; list-style-type: none; overflow: auto; } .jp-DirListing-item { display: flex; flex-direction: row; padding: 4px 12px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .jp-DirListing-item.jp-mod-selected { color: white; background: var(--jp-brand-color1); } .jp-DirListing-item.jp-mod-dropTarget { background: var(--jp-brand-color3); } .jp-DirListing-item:hover:not(.jp-mod-selected) { background: var(--jp-layout-color2) } .jp-DirListing-itemIcon { flex: 0 0 20px; font-family: FontAwesome; font-size: 14px; margin-right: 4px; } .jp-DirListing-itemText { flex: 1 0 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; } .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 { background-image: var(--jp-icon-book-running); } .jp-DirListing-item.jp-mod-running.jp-mod-selected .jp-DirListing-itemIcon { color: var(--jp-accent-color3); background-image: var(--jp-icon-book-selected); } .jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-OpenFolderIcon { background-image: var(--jp-icon-directory-selected); } .jp-DirListing-item.jp-mod-selected .jp-DirListing-itemIcon.jp-FileIcon { background-image: var(--jp-icon-file-selected); } .jp-DirListing-item.p-mod-drag-image, .jp-DirListing-item.jp-mod-selected.p-mod-drag-image { font-size: var(--jp-ui-font-size1); padding-left: 4px; margin-left: 4px; width: 160px; background-color: #FFFFFF; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); border-radius: 0px; color: var(--jp-ui-font-color1); transform: translateX(-40%) translateY(-58%); } .jp-Document { min-width: 120px; min-height: 120px; outline: none; } .jp-FileDialog.jp-mod-conflict input { color: red; }