UNPKG

@pnp/spfx-property-controls

Version:

Reusable property pane controls for SharePoint Framework solutions

94 lines (87 loc) 1.76 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 */ /** TILES **/ .filePickerFolderCardGrid { overflow: hidden; font-size: 0; } .filePickerFolderCardGrid :global .ms-List-page { overflow: hidden; font-size: 0; } .filePickerFolderCardGrid :global .ms-List-surface { position: relative; } .filePickerFolderCardTile { text-align: center; outline: none; position: relative; } [dir=ltr] .filePickerFolderCardTile { float: left; } [dir=rtl] .filePickerFolderCardTile { float: right; } .filePickerFolderCardPadder { position: absolute; left: 5px; top: 5px; right: 5px; bottom: 5px; } :global(.ms-Fabric--isFocusVisible) .filePickerFolderCardTile:focus:after { content: ""; position: absolute; left: 2px; right: 2px; top: 2px; bottom: 2px; box-sizing: border-box; border: 1px solid #ffffff; } .filePickerFolderCardSizer { padding-bottom: 100%; } .filePickerFolderCardImage { width: 100%; left: 0; top: 0; color: #ffffff; position: absolute; bottom: 0; font-size: 12px; width: 100%; } .filePickerFolderCardLabel { background-color: rgba(0, 0, 0, 0.6); height: 100%; width: 100%; top: 0; color: #ffffff; padding: 10px; position: absolute; bottom: 0; font-size: 12px; left: 0; width: 100%; box-sizing: border-box; font-size: 21px; font-weight: 600; } .filePickerFolderCardLabel :global .ms-Button-textContainer { max-width: 100%; word-break: break-word; } .filePickerFolderCardLabel:hover { color: #edebe9; background-color: rgba(0, 0, 0, 0.6); } .filePickerFolderCardLabel:active { background-color: #c8c6c4; color: #201f1e; } .documentLibraryBrowserContainer { padding: 0; }