summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/certificate_viewer.css
blob: 298fa43aa80ee8587cb69716758670b6f6115f29 (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
/* Using 100% width within body should exclude margins. */
body {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.title {
  display: inline-block;
  font-weight: bold;
  padding-bottom: 2px;
  padding-top: 5px;
}

#tabbox {
  -webkit-box-flex: 1;
  width: 100%;
}

#tabpanels {
  overflow: auto;
}

#usages,
#cert-field-value {
  -webkit-padding-start: 15px;
  padding-top: 5px;
  white-space: pre-wrap;
}

.groups {
  display: table;
}

.group,
.detail {
  display: table-row;
}

.detail div {
  -webkit-padding-start: 15px;
  padding: 3px;
}

.attribute {
  display: table-cell;
  white-space: nowrap;
}

.value {
  display: table-cell;
  white-space: pre-wrap;
}

.controls {
  text-align: end;
}

/* Used so that 100% width within tabpanel will correspond to usable space. */
tabpanel {
  position: relative;
}

.vertical-box {
  -webkit-box-align: stretch;
  -webkit-box-orient: vertical;
  -webkit-box-pack: start;
  display: -webkit-box;
  height: 100%;
  position: absolute;
  width: 100%;
}

#hierarchy-section {
  height: 25%;
  top: 0;
}

#cert-fields-section {
  height: 50%;
  top: 25%;
}

#cert-field-value-section {
  bottom: 0;
  height: 25%;
}

/* Scrolling should be enabled on all tree views and value field. */
.section-contents {
  -webkit-box-flex: 1;
  overflow: auto;
}