| /* |
| * Copyright 2023 The Chromium Authors |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| :host { |
| display: block; |
| white-space: normal; |
| max-width: 400px; |
| } |
| |
| .router-rules { |
| border: 1px solid var(--sys-color-divider); |
| border-spacing: 0; |
| padding-left: 10px; |
| padding-right: 10px; |
| line-height: initial; |
| margin-top: 0; |
| padding-bottom: 12px; |
| text-wrap: balance; |
| } |
| |
| .router-rule { |
| display: flex; |
| margin-top: 12px; |
| flex-direction: column; |
| } |
| |
| .rule-id { |
| color: var(--sys-color-token-subtle); |
| } |
| |
| .item { |
| display: flex; |
| flex-direction: column; |
| padding-left: 10px; |
| } |
| |
| .condition, |
| .source { |
| list-style: none; |
| display: flex; |
| margin-top: 4px; |
| flex-direction: row; |
| } |
| |
| .condition > *, |
| .source > * { |
| word-break: break-all; |
| line-height: 1.5em; |
| } |
| |
| .rule-type { |
| flex: 0 0 18%; |
| } |