1/* 2 * Copyright (C) 2022 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 17html, body, app-root { 18 height: 100%; 19 width: 100%; 20} 21 22body { 23 margin: 0; 24} 25 26app-root { 27 display: flex; 28 flex-direction: column; 29} 30 31.mat-headline, .mat-title, .mat-subheading-2, .mat-body-1, .mat-body-2, .mat-small { 32 margin: 0; 33} 34 35.card-grid { 36 width: 100%; 37 height: 100%; 38 display: flex; 39 flex-direction: row; 40 overflow: auto; 41} 42 43rects-view .mat-slider-thumb { 44 transform: scale(0.5); 45} 46 47rects-view .displays-select .mat-form-field-infix { 48 border-top: 0; 49 padding-top: 4px; 50 padding-bottom: 4px; 51} 52 53rects-view .displays-select .mat-form-field-flex { 54 padding-left: 4px; 55} 56 57.mat-select-panel:has(>.select-filter) { 58 max-height: 75vh; 59} 60 61body.dark-mode button.mat-raised-button.mat-primary, 62body.dark-mode button.mat-flat-button.mat-primary { 63 color: #ffffff; 64} 65 66.context-menu, .context-menu-item-container { 67 background-color: var(--background-color); 68 border-radius: 4px; 69} 70 71.context-menu { 72 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.3); 73} 74 75.context-menu-item-container { 76 padding: 8px 0px; 77} 78 79.context-menu-item { 80 cursor: pointer; 81 font: 14px 'Roboto', sans-serif; 82 min-width: 64px; 83 line-height: 36px; 84 display: flex; 85 align-items: center; 86 flex-direction: row; 87 padding: 0px 16px; 88 flex: 1; 89} 90 91.context-menu-item:hover { 92 background-color: var(--hover-element-color); 93} 94 95.mat-dialog-container { 96 border-radius: 20px !important; 97} 98