Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | .websocket-frame-view { |
Mathias Bynens | 9680e2e | 2019-12-06 10:16:02 | [diff] [blame] | 8 | user-select: text; |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | .websocket-frame-view .data-grid { |
| 12 | flex: auto; |
| 13 | border: none; |
| 14 | } |
| 15 | |
| 16 | .websocket-frame-view .data-grid .data { |
| 17 | background-image: none; |
| 18 | } |
| 19 | |
Joey Arhar | cacb567 | 2019-08-22 01:51:18 | [diff] [blame] | 20 | .websocket-frame-view-td { |
| 21 | border-bottom: 1px solid #ccc; |
| 22 | } |
| 23 | |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 24 | .websocket-frame-view .data-grid tr.selected { |
| 25 | background-color: #def; |
| 26 | } |
| 27 | |
| 28 | .websocket-frame-view .data-grid td, |
| 29 | .websocket-frame-view .data-grid th { |
| 30 | border-left-color: #ccc; |
| 31 | } |
| 32 | |
| 33 | .websocket-frame-view-row-send td:first-child::before { |
Joey Arhar | 5b7f773 | 2019-05-17 19:01:20 | [diff] [blame] | 34 | content: "\2B06"; |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 35 | color: #080; |
Joey Arhar | 5b7f773 | 2019-05-17 19:01:20 | [diff] [blame] | 36 | padding-right: 4px; |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | .websocket-frame-view-row-receive td:first-child::before { |
Joey Arhar | 5b7f773 | 2019-05-17 19:01:20 | [diff] [blame] | 40 | content: "\2B07"; |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 41 | color: #E65100; |
Joey Arhar | 5b7f773 | 2019-05-17 19:01:20 | [diff] [blame] | 42 | padding-right: 4px; |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | .data-grid:focus .websocket-frame-view-row-send.selected td:first-child::before, |
| 46 | .data-grid:focus .websocket-frame-view-row-receive.selected td:first-child::before { |
| 47 | color: white; |
| 48 | } |
| 49 | |
Joey Arhar | cacb567 | 2019-08-22 01:51:18 | [diff] [blame] | 50 | .websocket-frame-view-row-send { |
| 51 | background-color: rgb(226, 247, 218); |
| 52 | } |
| 53 | |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 54 | .websocket-frame-view-row-error { |
Joey Arhar | cacb567 | 2019-08-22 01:51:18 | [diff] [blame] | 55 | background-color: rgb(255, 237, 237); |
Blink Reformat | 4c46d09 | 2018-04-07 15:32:37 | [diff] [blame] | 56 | color: rgb(182, 0, 0); |
| 57 | } |
| 58 | |
| 59 | .websocket-frame-view .toolbar { |
| 60 | border-bottom: var(--divider-border); |
| 61 | } |