@pnp/spfx-property-controls
Version:
Reusable property pane controls for SharePoint Framework solutions
576 lines (505 loc) • 10 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;
}
.gridListCell {
margin-bottom: 8px;
}
[dir=ltr] .gridListCell {
margin-right: 8px;
}
[dir=ltr] .gridListCell.cellRight {
margin-right: 0;
}
.gridListCell.cellLastRow {
margin-bottom: 0;
}
.itemTile.isFile,
.itemTile.isPhoto,
.itemTile.isVideo {
background-color: #f3f2f1;
}
.itemTile {
-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;
position: relative;
display: inline-block;
left: 0;
right: 0;
top: 0;
bottom: 0;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.itemTile:focus {
outline: 0;
}
.itemTile:active {
-webkit-transform: scale(0.96);
transform: scale(0.96);
}
.itemTile: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;
}
.hasThumbnail {
color: inherit;
}
.itemTileContent {
width: 100%;
height: 100%;
}
.itemTile.isFile .itemTileDiscoverFileContainer,
.itemTile.isFile .itemTileFileContainer {
border-width: 1px;
border-style: solid;
border-color: #edebe9;
}
.itemTileFile .itemTileFileContainer {
position: absolute;
background-color: #f3f2f1;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.itemTileFile .itemTileFileContainer .itemTileThumbnail {
text-align: center;
overflow: hidden;
width: 100%;
height: 100%;
}
.itemTileFile .itemTileFileContainer .itemTileThumbnail .image img {
display: block;
opacity: 1;
width: 100%;
height: auto;
animation-duration: 0.367s;
animation-timing-function: cubic-bezier(0.1, 0.25, 0.75, 0.9);
animation-fill-mode: both;
}
[dir=ltr] .itemTileCheckCircle {
right: 8px;
}
.itemTileCheckCircle {
display: block;
position: absolute;
top: 6px;
opacity: 0;
background: 0 0;
border: none;
outline: 0;
top: 8px;
}
.itemTileCheckCircle :global(.ms-Check-check) {
opacity: 1;
}
.gridListCell.isSelected .itemTileCheckCircle,
.gridListCell:hover,
.gridListCell:hover .itemTileCheckCircle {
opacity: 1;
}
.itemTileNamePlate {
position: absolute;
bottom: 0;
left: 0;
right: 0;
min-height: 20px;
padding: 4px 8px 8px;
background-color: #ffffff;
color: #323130;
white-space: nowrap;
text-overflow: ellipsis;
}
.itemTile.isFile .itemTileNamePlate {
opacity: 0.95;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #edebe9;
min-height: 35px;
}
.itemTileName {
font-size: 15px;
line-height: 20px;
}
.itemTileChildCount, .itemTileName, .itemTileSubText {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.itemTileSubText {
font-size: 11px;
opacity: 0.7;
}
.recentGridList {
font-size: 0;
}
.recentGridList :global(.ms-List-page) {
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
flex-wrap: wrap;
}