xref: /aosp_15_r20/external/perfetto/ui/src/assets/widgets/hotkey.scss (revision 6dbdd20afdafa5e3ca9b8809fa73465d530080dc)
1// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15@import "theme";
16
17.pf-keycap {
18  user-select: none;
19  line-height: 1;
20  background-color: #fafbfc;
21  border: 1px solid #d1d5da;
22  border-bottom-color: #c6cbd1;
23  border-radius: 3px;
24  box-shadow: inset 0 -1px 0 #c6cbd1;
25  color: #444d56;
26  display: inline-block;
27  font-family: $pf-font;
28  vertical-align: baseline;
29
30  i {
31    font-size: inherit;
32    vertical-align: baseline;
33    line-height: 1;
34    float: left;
35  }
36
37  padding: 2px 4px;
38}
39
40.pf-hotkey {
41  display: flex;
42  flex-direction: row;
43  gap: 2px;
44}
45