summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/device_log_ui/device_log_ui.css
blob: 76e1092eadf6d4d6d7befad4d0f3449901a476bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*
 * Copyright 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

#header {
  margin: 5px;
}

/* Checkboxes */

#log-checkbox-container {
  margin: 5px;
}

#log-checkbox-container button {
  -webkit-margin-end: 8px;
}

#log-checkbox-container label {
  vertical-align: middle;
}

#log-checkbox-show {
  font-weight: bold;
}

#log-checkbox-container input {
  margin-bottom: 1px;
  vertical-align: middle;
}

/* Log */

#log-container {
  border: 1px solid rgb(220, 220, 220);
  flex: 1 1 100%;
  font-size: 12px;
  margin: 5px;
  overflow: auto;
  padding: 10px;
}

#log-container p {
  font-family: monospace;
  line-height: 20px;
  margin: 2px;
}

/* Log Level tags  */

.level-tag {
  -webkit-margin-end: 5px;
  border: 1px solid;
  border-radius: 2px;
  float: left;
  height: 14px;
  margin-top: 2px;
  padding: 0 4px 2px 4px;
  width: 50px;
}

.log-level-error {
  color: red;
}

.log-level-user {
  color: blue;
}

.log-level-event {
  color: black;
}

.log-level-debug {
  color: grey;
}

/* Log Type tags */

.type-tag {
  -webkit-margin-end: 5px;
  border: 1px solid;
  border-radius: 2px;
  float: left;
  font-weight: bold;
  height: 14px;
  margin-top: 2px;
  padding: 0 4px 2px 4px;
  width: 65px;
}

.log-type-login {
  color: darkgreen;
}

.log-type-network {
  color: darkblue;
}

.log-type-power {
  color: purple;
}