UNPKG

@pnp/spfx-property-controls

Version:

Reusable property pane controls for SharePoint Framework solutions

425 lines (369 loc) 7.09 kB
/* Your use of the content in the files referenced here is subject to the terms of the license at http://aka.ms/fabric-assets-license */ /* Your use of the content in the files referenced here is subject to the terms of the license at http://aka.ms/fabric-assets-license */ .filePicker { color: inherit; } .filePicker :global(.ms-Panel-commands) { display: none; } .filePicker :global(.ms-Panel-main) { top: 50px; border: none; overflow-y: hidden; } [dir=ltr] .filePicker :global(.ms-Panel-content) { padding-left: 0; } .filePicker :global(.ms-Panel-contentInner) { padding: 0; top: 0; overflow: hidden; } .filePicker :global(.ms-Panel-header) { margin: 0; } .filePicker :global(.ms-Nav-link) { position: relative; -webkit-font-smoothing: antialiased; font-size: 14px; font-weight: 400; box-sizing: border-box; display: block; text-align: center; cursor: pointer; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 15px; height: 36px; color: #323130; background-color: transparent; width: 100%; line-height: 36px; text-overflow: ellipsis; white-space: nowrap; user-select: none; outline: transparent; border-width: initial; border-style: none; border-color: transparent; border-image: initial; text-decoration: none; border-radius: 0px; overflow: hidden; } .filePicker :global(.is-selected) :global(.ms-Nav-link) { position: relative; -webkit-font-smoothing: antialiased; font-size: 14px; font-weight: 400; box-sizing: border-box; display: block; text-align: center; cursor: pointer; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 15px; height: 36px; color: #0078d4; background-color: #f3f2f1; width: 100%; line-height: 36px; text-overflow: ellipsis; white-space: nowrap; user-select: none; outline: transparent; border-width: initial; border-style: none; text-decoration: none; border-radius: 0px; overflow: hidden; } .tabsContainer { position: absolute; top: 0; bottom: 0; height: auto; } .tabContainer { height: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } [dir=ltr] .tabsContainer { left: 212px; } [dir=ltr] .tabsContainer { right: 0; } .nav { height: 100%; color: #f3f2f1; position: absolute; } [dir=ltr] .nav { border-right: 2px solid; width: 210px; } .nav :global(.ms-Nav) { height: 100%; width: 210px; padding-top: 60px; -webkit-box-sizing: border-box; box-sizing: border-box; border-top-width: 40px; border-top-style: solid; color: #f3f2f1; } .tabHeaderContainer { display: inline-block; width: 100%; color: #f3f2f1; border-top: 40px solid; } .breadcrumbNav { margin-top: 0px; padding: 22px 32px; } .breadcrumbNav :global(.ms-Breadcrumb-listItem:last-child .ms-Breadcrumb-itemLink) { font-weight: 600; } .breadcrumbNavItem { color: #323130; font-size: 24px; font-weight: 100; padding: 22px 8px 22px 0px; } .tab { overflow-y: auto; flex-grow: 2; } .tabOffset { padding: 0 32px; } .tabFiles { overflow-y: hidden; overflow-x: hidden; flex-grow: 2; padding: 0 32px; } .scrollablePaneWrapper { height: 75vh; position: "relative"; overflow: hidden; } .actionButtonsContainer { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 100%; background-color: #ffffff; -ms-flex-negative: 0; flex-shrink: 0; z-index: 100; } .actionButtons { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; padding-top: 10px; padding-bottom: 10px; } .actionButton { height: 30px; padding-bottom: 3px; } [dir=ltr] .actionButton { padding-left: 16px; } [dir=ltr] .actionButton { margin-left: 0; } [dir=ltr] .actionButton { margin-right: 10px; } [dir=ltr] .actionButtons { padding-left: 20px; } [dir=ltr] .actionButtons { padding-right: 11px; } .tabHeader { color: #323130; margin: 0; font-size: 24px; font-weight: 600; padding: 22px 0 20px 32px; } .tabContainer { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; } .filePicker :global(.ms-Panel-main) { top: 50px; border: none; overflow-y: hidden; } .tabsContainer .selectedTab { display: block; height: 100%; width: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; } .header { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .xlg, .xxlg, .xxxlg, .xxxxlg { color: inherit; } .itemPickerTopBar { position: absolute; top: 0; left: 0; right: 0; height: 40px; background-color: red; } .itemPickerTopBar :global(.ms-CommandBarItem-link) { border-color: transparent; } .commandBarNoChevron :global(.ms-CommandBarItem-chevronDown) { display: none; } .fileItem { cursor: default; } .folderItem { cursor: pointer; } .folderItem:hover { text-decoration: underline; } .fileTypeIcon { margin: 0 -2px; display: inline-block; } .fileTypeIconIcon { display: inline-block; vertical-align: middle; position: relative; overflow: hidden; width: 20px; height: 20px; } .detailsListHeaderFileTypeIcon { font-size: 16px; padding: 0; } .iconColumnHeader { width: 40px !important; margin-right: -8px; } .iconColumnHeader i { font-size: 16px; } .fileRow { color: inherit; } .folderRow { color: inherit; } .folderRow :global(.ms-DetailsRow-check) { visibility: hidden; } .emptyFolder { text-align: center; } .emptyFolder .emptyFolderImage { padding-top: 52px; height: 208px; width: auto; margin: 0 auto; } .emptyFolder .emptyFolderImage .emptyFolderImageTag { height: 208px; width: auto; } .emptyFolder .emptyFolderTitle { padding: 16px 16px 0 16px; font-size: 21px; font-weight: 100; max-width: 400px; color: #858585; margin: 0 auto; } .emptyFolder .emptyFolderSubText { padding: 6px 16px 0 16px; font-size: 14px; font-weight: 400; max-width: 400px; color: #858585; margin: 0 auto; } .emptyFolder .emptyFolderMobile { display: none; } .emptyFolder .emptyFolderPc { color: inherit; } .emptyFolder .emptyFolderIcon { display: inline; font-size: 13px; padding-left: 2px; padding-right: 1px; } .localTabSinglePreview { margin-bottom: 20px; display: inline-block; text-align: center; } .localTabSinglePreviewImage { display: block; max-width: 100%; max-height: 220px; image-orientation: from-image; } .localTabFilename { color: #323130; } .localTabLabel { color: #0078d4; cursor: pointer; } .localTabInput { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }