summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/chromeos/provided_file_systems.css
blob: 63b99f1f55b344992c9901ea95be8f9ecdfc3c87 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* 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.
 */

body {
  background-color: rgba(0, 0, 0, 0.05);
  font-family: 'Verdana', 'Arial';
  font-size: 14px;
  margin: 20px;
}

#fileSystems,
#requestEvents,
#requestTimeline {
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

#fileSystems table,
#requestEvents table {
  border-collapse: collapse;
  width: 100%;
}

#fileSystems th,
#requestEvents th {
  height: 30px;
}

#fileSystems .message {
  border-top: 1px solid #eee;
}

#fileSystems td {
  border-top: 1px solid #eee;
  height: 40px;
  line-height: 24px;
  text-align: center;
}

#fileSystems td .icon {
  display: inline-block;
  height: 24px;
  vertical-align: middle;
  width: 24px;
}

#fileSystems tbody tr {
  cursor: pointer;
}

#fileSystems tbody tr:active td {
  background-color: #eee;
}

#requestEvents {
  font-size: 12px;
}

#requestEvents td {
  padding: 8px;
  text-align: center;
  vertical-align: top;
}

#requestEvents td {
  border-top: 1px solid #eee;
}

#requestEvents td span {
  border-radius: 5px;
  padding: 3px;
}

#requestTimeline {
  overflow: auto;
  width: 100%;
}

#requestTimeline .request-timeline-padding {
  margin: 10px 5px;
  position: relative;
}

#requestTimeline .request-timeline-request {
  border: none;
  border-radius: 4px;
  height: 8px;
  margin: 3px 0;
  min-width: 8px;
  opacity: 0.75;
  position: absolute;
  transition: opacity 100ms;
}

#requestTimeline [data-request-type='REQUEST_UNMOUNT'],
#requestEvents [data-request-type='REQUEST_UNMOUNT'] span {
  background-color: cadetblue;
  color: white;
}

#requestTimeline [data-request-type='GET_METADATA'],
#requestEvents [data-request-type='GET_METADATA'] span {
  background-color: gold;
}

#requestTimeline [data-request-type='READ_DIRECTORY'],
#requestEvents [data-request-type='READ_DIRECTORY'] span {
  background-color: hotpink;
  color: white;
}

#requestTimeline [data-request-type='OPEN_FILE'],
#requestEvents [data-request-type='OPEN_FILE'] span {
  background-color: darkturquoise;
  color: white;
}

#requestTimeline [data-request-type='CLOSE_FILE'],
#requestEvents [data-request-type='CLOSE_FILE'] span {
  background-color: mediumspringgreen;
}

#requestTimeline [data-request-type='READ_FILE'],
#requestEvents [data-request-type='READ_FILE'] span {
  background-color: royalblue;
  color: white;
}

#requestTimeline [data-state='rejected'],
#requestEvents [data-error]:not([data-error='']) span {
  background-color: tomato;
  color: white;
}