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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/mediaQueryInspector.css

Issue 1455243003: DevTools: Fix media query labels partially visible on Device Mode page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved. 2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* Media query bars */ 7 /* Media query bars */
8 8
9 .media-inspector-view { 9 .media-inspector-view {
10 height: 50px; 10 height: 50px;
11 } 11 }
12 12
13 .media-inspector-marker-container { 13 .media-inspector-marker-container {
14 position: relative; 14 position: relative;
15 height: 14px; 15 height: 14px;
16 margin: 2px 0; 16 margin: 2px 0;
17 } 17 }
18 18
19 .media-inspector-marker { 19 .media-inspector-marker {
20 position: absolute; 20 position: absolute;
21 top: 1px; 21 top: 1px;
22 bottom: 1px; 22 bottom: 1px;
23 white-space: nowrap; 23 white-space: nowrap;
24 z-index: auto;
24 } 25 }
25 26
26 .media-inspector-marker:hover { 27 .media-inspector-marker:hover {
27 top: -1px; 28 top: -1px;
28 bottom: -1px; 29 bottom: -1px;
29 opacity: 1; 30 opacity: 1;
30 } 31 }
31 32
32 .media-inspector-marker-max-width { 33 .media-inspector-marker-max-width {
33 background-color: hsl(207, 90%, 77%); 34 background-color: hsl(207, 90%, 77%);
(...skipping 28 matching lines...) Expand all
62 } 63 }
63 64
64 /* Media query labels */ 65 /* Media query labels */
65 66
66 .media-inspector-marker:not(:hover) .media-inspector-marker-label-container { 67 .media-inspector-marker:not(:hover) .media-inspector-marker-label-container {
67 display: none; 68 display: none;
68 } 69 }
69 70
70 .media-inspector-marker-label-container { 71 .media-inspector-marker-label-container {
71 position: absolute; 72 position: absolute;
73 z-index: 1;
72 } 74 }
73 75
74 .media-inspector-marker-label-container-left { 76 .media-inspector-marker-label-container-left {
75 left: -2px; 77 left: -2px;
76 } 78 }
77 79
78 .media-inspector-marker-label-container-right { 80 .media-inspector-marker-label-container-right {
79 right: -2px; 81 right: -2px;
80 } 82 }
81 83
82 .media-inspector-marker-label { 84 .media-inspector-marker-label {
83 color: #222; 85 color: #222;
84 position: absolute; 86 position: absolute;
85 top: 1px; 87 top: 1px;
86 bottom: 0; 88 bottom: 0;
87 font-size: 12px; 89 font-size: 12px;
88 pointer-events: none; 90 pointer-events: none;
89 } 91 }
90 92
91 .media-inspector-label-right { 93 .media-inspector-label-right {
92 right: 4px; 94 right: 4px;
93 } 95 }
94 96
95 .media-inspector-label-left { 97 .media-inspector-label-left {
96 left: 4px; 98 left: 4px;
97 } 99 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698