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

Side by Side Diff: Source/devtools/front_end/sidebarPane.css

Issue 1176343002: DevTools: make toolbar button click targets square (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 16 matching lines...) Expand all
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 .sidebar-pane { 30 .sidebar-pane {
31 position: relative; 31 position: relative;
32 flex-direction: column; 32 flex-direction: column;
33 display: flex; 33 display: flex;
34 flex: none; 34 flex: none;
35 } 35 }
36 36
37 .sidebar-pane-hidden {
38 display: none;
39 }
40
37 .sidebar-pane .info { 41 .sidebar-pane .info {
38 text-align: center; 42 text-align: center;
39 font-style: italic; 43 font-style: italic;
40 padding: 6px; 44 padding: 6px;
41 color: #888; 45 color: #888;
42 } 46 }
43 47
44 .sidebar-pane .section .properties-tree { 48 .sidebar-pane .section .properties-tree {
45 padding-left: 16px; 49 padding-left: 16px;
46 } 50 }
(...skipping 14 matching lines...) Expand all
61 overflow: hidden; 65 overflow: hidden;
62 position: relative; 66 position: relative;
63 } 67 }
64 68
65 .sidebar-pane-title.expanded, 69 .sidebar-pane-title.expanded,
66 .sidebar-pane-title:last-child { 70 .sidebar-pane-title:last-child {
67 border-bottom: 1px solid #ddd; 71 border-bottom: 1px solid #ddd;
68 } 72 }
69 73
70 .sidebar-pane-title:first-child { 74 .sidebar-pane-title:first-child {
71 border-top: none; 75 /* border-top: none; */
dgozman 2015/06/11 16:14:12 commented css
pfeldman 2015/06/11 16:38:06 Done.
72 } 76 }
73 77
74 .sidebar-pane-title::before { 78 .sidebar-pane-title::before {
75 background-image: url(Images/toolbarButtonGlyphs.png); 79 background-image: url(Images/toolbarButtonGlyphs.png);
76 background-size: 352px 144px; 80 background-size: 352px 144px;
77 opacity: 0.5; 81 opacity: 0.5;
78 float: left; 82 float: left;
79 width: 11px; 83 width: 11px;
80 height: 11px; 84 height: 11px;
81 margin-right: 2px; 85 margin-right: 2px;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 visibility: hidden; 143 visibility: hidden;
140 } 144 }
141 145
142 .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-button-new-ru le { 146 .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-button-new-ru le {
143 visibility: visible; 147 visibility: visible;
144 } 148 }
145 149
146 .sidebar-pane-button-new-rule:hover { 150 .sidebar-pane-button-new-rule:hover {
147 background-position: -23px 0; 151 background-position: -23px 0;
148 } 152 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698