blob: 5daba1359c4c88ee6931d75fe1fa454a4424961a [file] [edit]
// Copyright (C) 2025 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
.pf-code-snippet {
background-color: var(--pf-color-background-secondary);
border: 1px solid var(--pf-color-border);
border-radius: $border-radius-large;
overflow: hidden;
.pf-code-snippet-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px;
padding-left: 12px;
border-bottom: 1px solid var(--pf-color-border);
}
.pf-code-snippet-language {
font-size: var(--pf-font-size-s);
color: var(--pf-color-text-secondary);
}
pre {
margin: 0;
padding: 12px;
overflow-x: auto;
font-size: var(--pf-font-size-s);
}
}