summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/certificate_viewer.css
blob: ac74efae637f326464cf407bebf2d5f3eae6eca7 (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
/* Copyright (c) 2012 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. */

/* Using 100% width within body should exclude margins. */
html,
body {
  height: 100%;
  width: 100%;
}

body {
  -webkit-box-sizing: border-box;
  margin: 0;
  padding-top: 8px;
}

h3 {
  font-size: 100%;
  font-weight: bold;
  margin-top: 20px;
}

#usages-title {
  /* Workaround until webkit bug https://bugs.webkit.org/show_bug.cgi?id=80537
   * is resolved. */
  padding-top: 20px;
}

#tabbox {
  height: 100%;
  width: 100%;
}

#tabpanels {
  overflow: auto;
}

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

.groups {
  display: table;
}

.groups > * {
  display: table-row;
}

.groups > div > div {
  -webkit-padding-start: 15px;
  padding-top: 3px;
}

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

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

/* 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: 20%;
  top: 0;
}

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

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

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

#export {
  -webkit-margin-start: 1px;
  margin-bottom: 10px;
  margin-top: 5px;
}