Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: chrome/browser/resources/certificate_viewer.css

Issue 15894032: Change Certificate Viewer WebUI to match new style. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Documentation Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/certificate_viewer.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /* Using 100% width within body should exclude margins. */ 5 /* Using 100% width within body should exclude margins. */
6 html, 6 html,
7 body { 7 body {
8 height: 100%; 8 height: 100%;
9 width: 100%; 9 width: 100%;
10 } 10 }
11 11
12 body { 12 body {
13 -webkit-box-sizing: border-box; 13 -webkit-box-sizing: border-box;
14 margin: 0; 14 margin: 0;
15 padding-top: 8px;
16 } 15 }
17 16
18 h3 { 17 h3 {
19 font-size: 100%; 18 font-size: 100%;
20 font-weight: bold; 19 margin-bottom: 15px;
21 margin-top: 20px; 20 margin-top: 17px;
22 } 21 }
23 22
24 #usages-title { 23 #usages-title {
25 /* Workaround until webkit bug https://bugs.webkit.org/show_bug.cgi?id=80537 24 /* Workaround until webkit bug https://bugs.webkit.org/show_bug.cgi?id=80537
26 * is resolved. */ 25 * is resolved. */
27 padding-top: 20px; 26 padding-top: 17px;
28 } 27 }
29 28
30 #tabbox { 29 #tabbox {
31 height: 100%; 30 height: 100%;
32 width: 100%; 31 width: 100%;
33 } 32 }
34 33
35 #tabpanels { 34 #tabpanels {
36 overflow: auto; 35 overflow: auto;
37 } 36 }
38 37
39 #usages, 38 #usages,
40 #cert-field-value { 39 #cert-field-value {
41 -webkit-padding-start: 15px; 40 -webkit-padding-start: 15px;
42 white-space: pre-wrap; 41 white-space: pre-wrap;
43 } 42 }
44 43
44 #general h3 {
45 margin-bottom: 16px;
46 margin-top: 32px;
47 }
48
45 .groups { 49 .groups {
46 display: table; 50 display: table;
47 } 51 }
48 52
49 .groups > * { 53 .groups > * {
50 display: table-row; 54 display: table-row;
51 } 55 }
52 56
57 #usages,
53 .groups > div > div { 58 .groups > div > div {
54 -webkit-padding-start: 15px; 59 -webkit-padding-start: 20px;
55 padding-top: 3px; 60 color: #787878;
61 line-height: 18px;
56 } 62 }
57 63
58 .attribute { 64 .attribute {
59 display: table-cell; 65 display: table-cell;
60 white-space: nowrap; 66 white-space: nowrap;
61 } 67 }
62 68
63 .value { 69 .value {
64 display: table-cell; 70 display: table-cell;
65 white-space: pre-wrap; 71 white-space: pre-wrap;
(...skipping 24 matching lines...) Expand all
90 top: 20%; 96 top: 20%;
91 } 97 }
92 98
93 #cert-field-value-section { 99 #cert-field-value-section {
94 bottom: 0; 100 bottom: 0;
95 height: 30%; 101 height: 30%;
96 } 102 }
97 103
98 .section-contents { 104 .section-contents {
99 -webkit-box-flex: 1; 105 -webkit-box-flex: 1;
100 border: 1px solid #9e9e9e; 106 background: #fff;
107 border: 1px solid #c8c8c8;
101 /* Scrolling should be enabled on all tree views and value field. */ 108 /* Scrolling should be enabled on all tree views and value field. */
102 overflow: auto; 109 overflow: auto;
103 } 110 }
104 111
112 .tree-row[selected] {
113 background-color: #f0f0f0;
114 background-image: none;
115 }
116
117 .tree-item > .tree-row {
118 border: 0;
119 border-radius: 0;
120 line-height: 29px;
121 }
122
105 #export { 123 #export {
106 -webkit-margin-start: 1px; 124 -webkit-margin-start: 1px;
107 margin-bottom: 10px; 125 float: right;
108 margin-top: 5px; 126 margin-bottom: 20px;
127 margin-top: 10px;
109 } 128 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/certificate_viewer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698