@pnp/spfx-property-controls
Version:
Reusable property pane controls for SharePoint Framework solutions
650 lines (576 loc) • 11.3 kB
CSS
/*
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 ;
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;
}
.searchBoxContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-bottom: 37px;
}
.searchBoxContainer .searchBoxMedium {
width: 400px;
}
.searchBoxContainer .searchBox {
margin-bottom: 0;
}
.searchBoxContainer .dropdownContainer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.searchBoxContainer .dropdownContainer :global(.ms-Dropdown-title) {
border: 0;
}
.searchBoxContainer .dropdownContainer .filterDropdown {
width: auto;
}
[dir=ltr] .searchBoxContainer {
margin-left: 33px;
}
[dir=ltr] .searchBoxContainer .searchBox {
margin-right: 35px;
color: inherit;
}
.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:hover {
color: #edebe9;
background-color: rgba(0, 0, 0, 0.6);
}
.filePickerFolderCardLabel:active {
background-color: #c8c6c4;
color: #201f1e;
}
[dir=ltr] .bingGridListCell {
margin-right: 8px;
}
.bingGridListCell {
margin-bottom: 8px;
}
.bingTile {
-webkit-box-sizing: border-box;
box-sizing: border-box;
cursor: pointer;
display: inline-block;
overflow: hidden;
position: relative;
-webkit-transition: -webkit-transform 0.1s linear;
transition: -webkit-transform 0.1s linear;
transition: transform 0.1s linear;
transition: transform 0.1s linear, -webkit-transform 0.1s linear;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.bingTile:focus {
outline: 0;
}
.bingTile:active {
-webkit-transform: scale(0.96);
transform: scale(0.96);
}
.bingTile:focus:after {
content: "";
position: absolute;
right: 2px;
left: 2px;
top: 2px;
bottom: 2px;
border: 1px solid;
border-color: #ffffff;
-webkit-box-shadow: 0 0 0 2px #797775;
box-shadow: 0 0 0 2px #797775;
}
.bingTileContent {
border: 1px solid;
border-color: #ffffff;
width: 100%;
height: 100%;
}
.bingTileFrame {
position: absolute;
display: none;
left: 2px;
top: 2px;
right: 2px;
bottom: 2px;
-webkit-box-shadow: 0 0 0 2px #c8c6c4;
box-shadow: 0 0 0 2px #c8c6c4;
outline: 1px solid transparent;
}
[dir=ltr] .bingTileCheckCircle {
right: 8px;
}
.bingTileCheckCircle {
display: block;
position: absolute;
top: 6px;
opacity: 0;
background: 0 0;
border: none;
outline: 0;
top: 8px;
}
.bingTileNamePlate {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 4px 8px 8px;
background-color: #ffffff;
color: #323130;
white-space: nowrap;
text-overflow: ellipsis;
opacity: 0.95;
text-decoration: underline;
font-size: 12px;
}
.bingTile.isSelected .bingTileCheckCircle,
.bingTile:hover,
.bingTile:hover .bingTileCheckCircle {
opacity: 1;
}
[dir=ltr] .copyrightLabel {
padding-left: 32px;
}
.copyrightLabel {
font-size: 12px;
}
.noResultLabel {
padding: 12px;
}
.bingTileThumbnail {
position: absolute;
height: 100%;
width: 100%;
top: 0;
}
.bingTileThumbnail img {
display: block;
opacity: 1;
width: 100%;
height: auto;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
animation-duration: 0.367s;
animation-timing-function: cubic-bezier(0.1, 0.25, 0.75, 0.9);
animation-fill-mode: both;
}
.bingGrildList :global(.ms-List-cell),
.bingGrildList :global(.ms-List-page) {
display: inline-block;
overflow: hidden;
}