@pnp/spfx-controls-react
Version:
Reusable React controls for SharePoint Framework solutions
146 lines (134 loc) • 3.26 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
*/
:export {
ThemeColorDarker: "[theme:themeDarker, default:#004578]";
ThemeColorDark: "[theme:themeDark, default:#005a9e]";
ThemeColorDarkAlt: "[theme:themeDarkAlt, default:#106ebe]";
ThemeColorPrimary: "[theme:themePrimary, default:#0078d4]";
ThemeColorSecondary: "[theme:themeSecondary, default:#2b88d8]";
ThemeColorTertiary: "[theme:neutralTertiary, default:#a19f9d]";
ThemeColorNeutralSecondary: "[theme:neutralSecondary, default:#605e5c]";
ThemeColorNeutralPrimaryAlt: "[theme:neutralPrimaryAlt, default:#3b3a39]";
ThemeColorNeutralPrimary: "[theme:neutralPrimary, default:#323130]";
ThemeColorNeutralDark: "[theme:neutralDark, default:#201f1e]";
}
.colorPickerButton {
background: 0 0;
padding-left: 4px;
padding-right: 12px;
background-color: "[theme: white, default: #ffffff]";
}
.previewSvg {
width: 20px;
height: 20px;
}
.previewSvg.border {
border: 1px solid "[theme: black, default: #000000]";
}
.previewRectangle {
width: 100%;
height: 100%;
}
.buttonLabel {
padding-left: 10px;
}
.previewIcon {
padding-left: 7px;
font-size: 7px;
padding-top: 8px;
}
.pickerCallout {
width: 166px;
}
.pickerCallout:global(.ms-Callout-main) {
background-color: "[theme:white, default: #ffffff]";
overflow-x: hidden;
overflow-y: auto;
position: relative;
}
.defaultSvg {
padding: 2px;
}
.defaultSvg.fillThemeColor {
fill: #333;
border: none;
}
.defaultSvg.border {
border: 1px solid "[theme:black, default: #000000]";
}
.defaultSvg.fillDefaultColor {
fill: #fff;
}
.pickerLabel {
display: block;
margin-left: 6px;
}
.focusedContainer {
clear: both;
display: block;
min-width: 180px;
}
.tableRoot {
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
outline: none;
display: table;
border-collapse: separate;
border-spacing: 2px;
border-color: grey;
}
.tableCell {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.colorCell {
position: relative;
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 14px;
font-weight: 400;
box-sizing: border-box;
display: inline-block;
text-align: center;
cursor: pointer;
vertical-align: top;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
height: 40px;
color: rgb(51, 51, 51);
user-select: none;
outline: transparent;
border-width: 1px;
border-style: solid;
border-color: transparent;
border-image: initial;
text-decoration: none;
border-radius: 0px;
overflow: visible;
background: transparent;
}
.colorCell .svg {
width: 20px;
height: 20px;
padding-top: 4px;
padding-right: 4px;
padding-bottom: 4px;
padding-left: 4px;
box-sizing: content-box;
}
.colorCell .svg:hover, .colorCell .svg.selected {
box-shadow: rgb(150, 150, 150) 0px 0px 0px 1px;
width: 12px;
height: 12px;
border-width: 4px;
border-style: solid;
border-image: initial;
border-color: rgb(200, 200, 200);
}