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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/searchableView.css

Issue 2729783002: DevTools: Diff subsystem (Closed)
Patch Set: constant Created 3 years, 9 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 /* 1 /*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2014 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 .search-bar { 7 .search-bar {
8 flex: 0 0 23px; 8 flex: 0 0 23px;
9 background-color: #eee; 9 background-color: #eee;
10 border-top: 1px solid #ccc; 10 border-top: 1px solid #ccc;
(...skipping 15 matching lines...) Expand all
26 border: 0; 26 border: 0;
27 padding: 0 3px; 27 padding: 0 3px;
28 margin: 0; 28 margin: 0;
29 flex: 1; 29 flex: 1;
30 } 30 }
31 31
32 .search-replace:focus { 32 .search-replace:focus {
33 outline: none; 33 outline: none;
34 } 34 }
35 35
36 .toolbar-replace-checkbox { 36 .toolbar-search {
lushnikov 2017/03/10 01:17:04 wrong rebaseline
einbinder 2017/03/13 17:47:57 Done.
37 margin-top: 2px; 37 border-spacing: 1px;
38 display: block;
39 } 38 }
40 39
41 .toolbar-search { 40 .toolbar-search td {
42 display: flex; 41 padding: 0 5px 0 0;
43 width: 100%;
44 } 42 }
45 43
46 .toolbar-search > div { 44 .toolbar-search td > span {
47 margin: 0px 2px; 45 display: flex;
48 flex-shrink: 0; 46 align-items: baseline;
49 } 47 line-height: 17px;
50
51 .toolbar-search-inputs {
52 flex-grow: 1;
53 min-width: 150px;
54 } 48 }
55 49
56 .toolbar-search-navigation-controls { 50 .toolbar-search-navigation-controls {
57 align-self: stretch; 51 align-self: stretch;
58 background-image: linear-gradient(rgb(228, 228, 228), rgb(206, 206, 206)); 52 background-image: linear-gradient(rgb(228, 228, 228), rgb(206, 206, 206));
59 } 53 }
60 54
61 .toolbar-search-navigation { 55 .toolbar-search-navigation {
62 display: inline-block; 56 display: inline-block;
63 width: 18px; 57 width: 18px;
64 height: 18px; 58 height: 18px;
65 background-repeat: no-repeat; 59 background-repeat: no-repeat;
66 background-position: 4px 7px; 60 background-position: 4px 7px;
67 border-left: 1px solid rgb(170, 170, 170); 61 border-left: 1px solid rgb(170, 170, 170);
68 opacity: 0.3; 62 opacity: 0.3;
69 } 63 }
70 64
71 .toolbar-search-navigation.enabled { 65 .toolbar-search-navigation.enabled {
72 opacity: 1.0; 66 opacity: 1.0;
73 } 67 }
74 68
75 .toolbar-search button.search-action-button { 69 .toolbar-search button.search-action-button {
76 border: 1px solid rgb(163, 163, 163); 70 border: 1px solid rgb(163, 163, 163);
77 border-radius: 8px; 71 border-radius: 8px;
78 margin: 1px 3px 0 3px; 72 margin: 0;
79 background-image: linear-gradient(rgb(241, 241, 241), rgb(220, 220, 220)); 73 background-image: linear-gradient(rgb(241, 241, 241), rgb(220, 220, 220));
80 width: 75px; 74 width: 100%;
81 height: 20px; 75 height: 20px;
82 white-space: nowrap; 76 white-space: nowrap;
83 } 77 }
84 78
85 .toolbar-search button.search-action-button:active { 79 .toolbar-search button.search-action-button:active {
86 background-image: linear-gradient(rgb(185, 185, 185), rgb(156, 156, 156)); 80 background-image: linear-gradient(rgb(185, 185, 185), rgb(156, 156, 156));
87 } 81 }
88 82
89 .toolbar-search-control { 83 .toolbar-search-control {
90 display: -webkit-flex; 84 display: -webkit-flex;
91 position: relative; 85 position: relative;
92 background-color: white; 86 background-color: white;
93 } 87 }
94 88
95 .toolbar-search-buttons {
96 flex-basis: 165px;
97 }
98
99 .toolbar-replace-control, 89 .toolbar-replace-control,
100 #search-input-field { 90 #search-input-field {
101 margin-top: 1px; 91 padding-top: 1px;
102 line-height: 17px; 92 line-height: 17px;
103 } 93 }
104 94
105 .toolbar-search-control, .toolbar-replace-control { 95 .toolbar-search-control, .toolbar-replace-control {
106 border: 1px solid rgb(163, 163, 163); 96 border: 1px solid rgb(163, 163, 163);
107 height: 20px; 97 height: 20px;
108 border-radius: 2px; 98 border-radius: 2px;
109 width: 100%; 99 width: 253px;
110 margin-top: 1px; 100 margin-left: 1px;
111 } 101 }
112 102
113 .toolbar-search-navigation.enabled:active { 103 .toolbar-search-navigation.enabled:active {
114 background-position: 4px 7px, 0 0; 104 background-position: 4px 7px, 0 0;
115 } 105 }
116 106
117 .toolbar-search-navigation.toolbar-search-navigation-prev { 107 .toolbar-search-navigation.toolbar-search-navigation-prev {
118 background-image: url(Images/searchPrev.png); 108 background-image: url(Images/searchPrev.png);
119 border-left: 1px solid rgb(163, 163, 163); 109 border-left: 1px solid rgb(163, 163, 163);
120 } 110 }
(...skipping 13 matching lines...) Expand all
134 124
135 .toolbar-search-navigation.toolbar-search-navigation-next.enabled:active { 125 .toolbar-search-navigation.toolbar-search-navigation-next.enabled:active {
136 background-image: url(Images/searchNext.png), linear-gradient(rgb(168, 168, 168), rgb(116, 116, 116)); 126 background-image: url(Images/searchNext.png), linear-gradient(rgb(168, 168, 168), rgb(116, 116, 116));
137 } 127 }
138 128
139 .search-results-matches { 129 .search-results-matches {
140 display: inline-block; 130 display: inline-block;
141 text-align: right; 131 text-align: right;
142 padding: 0 4px; 132 padding: 0 4px;
143 color: rgb(165, 165, 165); 133 color: rgb(165, 165, 165);
144 align-self: center;
145 } 134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698