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

Side by Side Diff: chrome/browser/resources/apps_debugger/css/items.css

Issue 15389003: Loosen a bit the HTML hierarchy required for Tabs to work, Improved UX of the dev tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove 'mainThis'. Created 7 years, 7 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
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 body, 5 body,
6 html { 6 html {
7 color: rgb(48, 57, 66); 7 color: rgb(48, 57, 66);
8 font-family: Arial, sans-serif; 8 font-family: Arial, sans-serif;
9 font-size: 90%; 9 font-size: 90%;
10 overflow: visible; 10 overflow: visible;
11 } 11 }
12 12
13 hr { 13 hr {
14 color: rgb(115, 111, 110); 14 color: rgb(115, 111, 110);
15 margin: 15px 0; 15 margin: 15px 0;
16 } 16 }
17 17
18 /* Override the visual style of tabs. */ 18 /* Override the visual style of tabs. */
19 19
20 #tabs-header-container {
21 border-bottom: 1px solid #e0e0e0;
22 height: calc(100% - 53px);
23 }
24
25 #tabs {
26 border-bottom: none;
27 margin: 5px auto 0;
28 padding: 0 5px;
29 width: 800px;
30 }
31
20 tabs tab { 32 tabs tab {
33 border-color: #e0e0e0;
21 min-width: 150px; 34 min-width: 150px;
22 padding: 5px 20px; 35 padding: 5px 20px;
23 } 36 }
24 37
38 tabs > [selected] {
39 background: white;
40 border-color: #e0e0e0;
41 }
42
43 html.focus-outline-visible tabs:focus > [selected] {
44 background: white;
45 border-color: rgb(160, 160, 255);
46 outline: none;
47 }
48
49 tabs > :not([selected]) {
50 background: none;
51 border-color: #e0e0e0;
52 }
53
54 tabs > :not([selected]):hover {
55 background: rgba(255, 255, 255, 0.9);
56 }
57
58 tabpanels {
59 height: 100%;
60 padding: 0;
61 width: 100%;
62 }
63
64 tabpanel {
65 margin: 0 auto;
66 padding-top: 80px;
67 width: 800px;
68 }
69
70 /* Header */
71
72 #header {
73 background-color: rgba(255, 255, 255, 0.9);
74 position: fixed;
75 top: 0;
76 width: 100%;
77 z-index: 1;
78 }
79
80 #developer-controls {
81 margin-top: 0;
82 max-width: none;
83 padding: 3px 10px 8px;
84 width: calc(100% - 20px);
85 }
86
87 #header-title {
88 -webkit-margin-start: 50px;
89 display: inline-block;
90 font-size: 1.2em;
91 position: relative;
92 top: 3px;
93 }
94
95 #header-bottom-gradient {
96 background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
97 height: 30px;
98 position: fixed;
99 top: 79px;
100 width: 100%;
101 }
102
103 #search {
104 float: right;
105 margin-top: 7px;
106 padding: 4px;
107 width: 200px;
108 }
109
25 /* Contents */ 110 /* Contents */
26 111
27 #extension-settings { 112 #extension-settings {
28 margin: 30px; 113 margin: 0;
29 max-width: 800px; 114 max-width: 100%;
115 padding: 10px 0;
30 } 116 }
31 117
32 #no-extensions-message, 118 #no-extensions-message,
33 #no-apps-message { 119 #no-apps-message {
34 font-weight: bold; 120 font-weight: bold;
35 } 121 }
36 122
37 .empty-item-list { 123 .empty-item-list {
38 height: 3em; 124 height: 3em;
39 } 125 }
40 126
41 #developer-controls {
42 margin-top: 15px;
43 max-width: 750px;
44 }
45
46 #search {
47 float: right;
48 }
49
50 html[dir='rtl'] #search { 127 html[dir='rtl'] #search {
Dan Beam 2013/05/25 02:43:33 ^ please move this under the #search {} selector
dvh 2013/05/25 03:53:22 Done.
51 float: left; 128 float: left;
52 } 129 }
53 130
54 #no-extensions, 131 #no-extensions,
55 #no-apps { 132 #no-apps {
56 margin: 10px 10px; 133 margin: 10px 10px;
57 } 134 }
58 135
59 .loading #no-extensions, 136 .loading #no-extensions,
60 .loading #no-apps, 137 .loading #no-apps,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 } 333 }
257 334
258 a { 335 a {
259 color: rgb(17, 85, 204); 336 color: rgb(17, 85, 204);
260 text-decoration: underline; 337 text-decoration: underline;
261 } 338 }
262 339
263 a:active { 340 a:active {
264 color: rgb(5, 37, 119); 341 color: rgb(5, 37, 119);
265 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698