UNPKG

@microsoft/mgt

Version:
284 lines (248 loc) • 7.09 kB
// THIS FILE IS AUTO GENERATED // ANY CHANGES WILL BE LOST DURING BUILD // MODIFY THE .SCSS FILE INSTEAD import { css } from 'lit-element'; /** * exports lit-element css * @export styles */ export const styles = [ css ` /** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ /* 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 */ /** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ :host([hidden]) { display: none; } :host { display: block; --default-font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; --theme-primary-color: #0078d7; --theme-dark-color: #005a9e; } .ms-Icon { display: inline-block; font-family: "FabricMDL2Icons"; font-style: normal; font-weight: normal; font-size: 16px; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; margin: 4px 0; } .ms-Icon--ChevronDown::before { content: "\\\E70D"; } .ms-Icon--ChevronUp::before { content: "\\\E70E"; } .ms-Icon--Contact::before { content: "\\\E77B"; } .ms-Icon--AddFriend::before { content: "\\\E8FA"; } .ms-Icon--OutlookLogoInverse::before { content: "\\\EB6D"; } :host { border-radius: 2px; } :host .root, mgt-people-picker .root { display: block; } :host .people-picker, mgt-people-picker .people-picker { position: relative; margin: 7px 0 0 0; background-color: white; padding-bottom: 8px; } :host .people-list, mgt-people-picker .people-list { position: absolute; margin: 7px 0px 0px 0px; padding: 0; box-shadow: 0px 1.3289px 2.65781px rgba(180, 180, 180, 0.182), 0px 1.3289px 2.65781px rgba(68, 68, 68, 0.3); border-radius: 2px; background-color: var(--people-list-background-color, white); z-index: 1; /* Sit on top */ width: 100%; text-align: left; list-style-type: none; font-family: Segoe UI; font-style: normal; font-weight: normal; } :host .people-list li, mgt-people-picker .people-list li { cursor: pointer; } :host .people-list-separator, mgt-people-picker .people-list-separator { margin: var(--separator-margin, 0px 0px 0px 0px); height: 2px; background: var(--accent-color, #0078d4); margin-top: 5px; text-align: center; } :host .people-selected-input, mgt-people-picker .people-selected-input { position: relative; border: none; line-height: normal; outline: none; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 14px; line-height: 19px; } :host .people-selected-list, mgt-people-picker .people-selected-list { display: flex; flex-wrap: wrap; vertical-align: middle; margin: 0 0 0 0; list-style-type: none; padding-left: 10px; font-family: Segoe UI; font-style: normal; font-weight: normal; } .CloseIcon, mgt-people-picker .CloseIcon { line-height: normal; font-family: 'FabricMDL2Icons'; padding-right: 8px; padding-left: 4px; margin-top: 0px; cursor: pointer; } :host .SearchIcon, mgt-people-picker .SearchIcon { font-family: 'FabricMDL2Icons'; color: var(--accent-color, #0078d4); } :host .people-person, mgt-people-picker .people-person { display: flex; margin: 4px 5px 0px 0; align-items: center; background-color: rgba(196, 196, 196, 0.24); border-radius: 15px; height: 24px; white-space: nowrap; text-overflow: ellipsis; } :host .list-person, mgt-people-picker .list-person { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; font-family: Segoe UI; font-style: normal; font-weight: 600; font-size: 14px; } :host .list-person:hover, mgt-people-picker .list-person:hover { background-color: #f1f1f1dd; } :host .people-person-list-fill, mgt-people-picker .people-person-list-fill { background-color: #f1f1f1; } :host .people-person-text, mgt-people-picker .people-person-text { font-size: 14px; font-weight: normal; margin: 0; padding: 0; } :host .input-search, mgt-people-picker .input-search { margin: 7px 2px 0px 3px; } :host .input-search-start, mgt-people-picker .input-search-start { margin: 7px 0px 0px 0px; line-height: normal; margin-inline-start: 0px; margin-inline-end: 0px; } :host .people-picker-input, mgt-people-picker .people-picker-input { display: flex; order: 2; background-color: white; margin: var(--avatar-margin, 0 4px 0 0); font-size: 14px; line-height: 19px; cursor: text; } :host .duplicate-person, mgt-people-picker .duplicate-person { text-decoration: none; border-bottom: 1px solid red; } :host .remove-person-button, mgt-people-picker .remove-person-button { background: #767676; transform: matrix(-0.71, -0.71, 0.71, -0.71, 0, 0); } :host .remove-person-button-secondary, mgt-people-picker .remove-person-button-secondary { background: #767676; transform: matrix(0.71, -0.71, 0.71, 0.71, 0, 0); } :host .person-display-name, mgt-people-picker .person-display-name { max-width: 100px; white-space: nowrap; text-overflow: ellipsis; margin-left: 8px; font-family: Segoe UI; font-style: normal; font-weight: 600; font-size: 14px; line-height: 19px; text-align: center; color: #000000; } mgt-person { --avatar-size-s: 32px; margin-left: 12px; cursor: default; } .selected-person { --avatar-size-s: 24px; margin-left: 0px; } :host .search-error-text, :host .loading-text, mgt-people-picker .search-error-text, mgt-people-picker .loading-text { font-family: Segoe UI; font-style: normal; font-weight: 600; font-size: 14px; line-height: 19px; text-align: center; color: #232222; } :host .SearchErrorIcon, mgt-people-picker .SearchErrorIcon { display: inline-block; font-family: 'FabricMDL2Icons'; color: #cf0000; } :host .message-parent, mgt-people-picker .message-parent { margin-top: 30px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; vertical-align: middle; } :host .highlight-search-text, mgt-people-picker .highlight-search-text { font-weight: bold; } :host .people-person-job-title, mgt-people-picker .people-person-job-title { flex: 100%; order: 3; font-weight: normal; font-size: 12px; text-transform: uppercase; } :host .people-person-text-area, mgt-people-picker .people-person-text-area { margin-left: 13px; flex: 1 1 0; max-height: 40px; } ` ]; //# sourceMappingURL=mgt-people-picker-css.js.map