1/* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17import {Color} from 'app/colors'; 18 19export const userOptionStyle = ` 20 .user-option { 21 line-height: 24px; 22 padding: 0 10px; 23 margin-right: 10px; 24 min-width: fit-content; 25 } 26 .user-option.not-enabled { 27 background-color: var(--disabled-color); 28 } 29 30 .user-option-label { 31 display: flex; 32 flex-direction: row; 33 } 34 .user-option-label.with-chip { 35 align-items: baseline; 36 } 37 .user-option-label:not(.with-chip) { 38 align-items: center; 39 } 40 .user-option .mat-icon { 41 margin-left: 5px; 42 } 43 44 .user-option-chip { 45 margin-left: 5px; 46 margin-top: 2px; 47 padding: 0 10px; 48 border-radius: 10px; 49 background-color: #aaa; 50 font-weight: normal; 51 color: ${Color.TEXT_BLACK}; 52 height: 18px; 53 align-items: center; 54 display: flex; 55 } 56`; 57