| OLD | NEW |
| 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:not(.uber-frame) { | 5 body:not(.uber-frame) { |
| 6 color: rgb(48, 57, 66); | 6 color: rgb(48, 57, 66); |
| 7 margin: 0 8px 0 8px; | 7 margin: 0 8px 0 8px; |
| 8 } | 8 } |
| 9 | 9 |
| 10 #editing-controls, | 10 #editing-controls, |
| 11 #loading-spinner { | 11 #loading-spinner { |
| 12 margin-top: 16px; | 12 margin-top: 16px; |
| 13 <if expr="not pp_ifdef('android')"> | 13 <if expr="not pp_ifdef('android')"> |
| 14 white-space: nowrap; | 14 white-space: nowrap; |
| 15 </if> | 15 </if> |
| 16 } | 16 } |
| 17 | 17 |
| 18 #loading-spinner[hidden] { | 18 #loading-spinner[hidden] { |
| 19 display: inline-block; | 19 display: inline-block; |
| 20 } | 20 } |
| 21 | 21 |
| 22 #spinner { | 22 #spinner { |
| 23 position: relative; | 23 position: relative; |
| 24 top: 3px; | 24 top: 3px; |
| 25 } | 25 } |
| 26 | 26 |
| 27 #editing-controls, |
| 28 #filter-controls { |
| 29 max-width: 718px; |
| 30 } |
| 31 |
| 27 #editing-controls button:first-of-type { | 32 #editing-controls button:first-of-type { |
| 28 -webkit-margin-start: 0; | 33 -webkit-margin-start: 0; |
| 29 } | 34 } |
| 30 | 35 |
| 36 #filter-controls div { |
| 37 display: inline-block; |
| 38 } |
| 39 |
| 40 #display-filter-controls { |
| 41 float: right; |
| 42 } |
| 43 |
| 31 #results-display { | 44 #results-display { |
| 32 margin: 16px 0 0 0; | 45 margin: 16px 0 0 0; |
| 33 max-width: 740px; | 46 max-width: 740px; |
| 34 } | 47 } |
| 35 | 48 |
| 36 .edit-button { | 49 .edit-button { |
| 37 -webkit-appearance: none; | 50 -webkit-appearance: none; |
| 38 background: none; | 51 background: none; |
| 39 border: 0; | 52 border: 0; |
| 40 color: blue; /* -webkit-link makes it purple :'( */ | 53 color: blue; /* -webkit-link makes it purple :'( */ |
| 41 cursor: pointer; | 54 cursor: pointer; |
| 42 display: inline-block; | 55 display: inline-block; |
| 43 font: inherit; | 56 font: inherit; |
| 44 padding: 0 9px; | 57 padding: 0 9px; |
| 45 text-decoration: underline; | 58 text-decoration: underline; |
| 46 } | 59 } |
| 47 | 60 |
| 61 .entry, |
| 48 .gap, | 62 .gap, |
| 49 .entry, | 63 .no-entries, |
| 50 .no-entries { | 64 .site-name { |
| 51 list-style: none; | 65 list-style: none; |
| 52 margin: 0; | 66 margin: 0; |
| 53 padding: 0; | 67 padding: 0; |
| 54 } | 68 } |
| 55 | 69 |
| 56 .gap { | 70 .gap { |
| 57 -webkit-border-end: 1px solid rgb(192, 195, 198); | 71 -webkit-border-end: 1px solid rgb(192, 195, 198); |
| 58 height: 14px; | 72 height: 14px; |
| 59 margin: 1px 0; | 73 margin: 1px 0; |
| 60 width: 45px; | 74 width: 45px; |
| 61 } | 75 } |
| 62 | 76 |
| 63 .entry { | 77 .entry { |
| 64 overflow: auto; /* Make sure it's at least as large as its children. */ | 78 overflow: auto; /* Make sure it's at least as large as its children. */ |
| 65 } | 79 } |
| 66 | 80 |
| 67 .entry-box { | 81 .entry-box, |
| 82 .site-domain-wrapper { |
| 83 /* So that everything stacks horizontally. */ |
| 68 -webkit-box-orient: horizontal; | 84 -webkit-box-orient: horizontal; |
| 69 cursor: default; | 85 cursor: default; |
| 70 display: -webkit-box; | 86 display: -webkit-box; |
| 71 float: left; /* Box will shrink to fit its content. */ | 87 float: left; /* Box will shrink to fit its content. */ |
| 72 /* An odd line-height ensures a consistent baseline on all platforms. */ | 88 /* An odd line-height ensures a consistent baseline on all platforms. */ |
| 73 line-height: 1.75em; | 89 line-height: 1.75em; |
| 74 margin-bottom: 6px; | 90 margin-bottom: 6px; |
| 75 /* The box should be no bigger than its parent. */ | 91 /* The box should be no bigger than its parent. */ |
| 76 max-width: 100%; | 92 max-width: 100%; |
| 77 overflow: hidden; | 93 overflow: hidden; |
| 78 padding-bottom: 1px; | 94 padding-bottom: 1px; |
| 79 } | 95 } |
| 80 | 96 |
| 97 .site-domain-wrapper { |
| 98 cursor: pointer; |
| 99 } |
| 100 |
| 101 .site-name { |
| 102 /* An odd line-height ensures a consistent baseline on all platforms. */ |
| 103 line-height: 1.75em; |
| 104 } |
| 105 |
| 81 html[dir=rtl] .entry-box { | 106 html[dir=rtl] .entry-box { |
| 82 float: right; /* To make the box shrink to fit its content. */ | 107 float: right; /* To make the box shrink to fit its content. */ |
| 83 } | 108 } |
| 84 | 109 |
| 85 .day { | 110 .day { |
| 86 white-space: nowrap; | 111 white-space: nowrap; |
| 87 } | 112 } |
| 88 | 113 |
| 89 .search-results, | 114 .search-results, |
| 90 .day-results { | 115 .day-results { |
| 91 margin: 0 0 24px 0; | 116 margin: 0 0 24px 0; |
| 92 padding: 0; | 117 padding: 0; |
| 93 } | 118 } |
| 94 | 119 |
| 120 .site-results { |
| 121 -webkit-transition: height 350ms ease-in-out; |
| 122 clear: left; |
| 123 margin: 0; |
| 124 overflow: hidden; |
| 125 padding: 0; |
| 126 } |
| 127 |
| 128 h2.timeframe { |
| 129 font-size: 1.5em; |
| 130 } |
| 131 |
| 95 .snippet { | 132 .snippet { |
| 96 -webkit-box-orient: vertical; | 133 -webkit-box-orient: vertical; |
| 97 -webkit-line-clamp: 2; | 134 -webkit-line-clamp: 2; |
| 98 -webkit-margin-start: 110px; | 135 -webkit-margin-start: 110px; |
| 99 clear: both; | 136 clear: both; |
| 100 color: rgb(34, 34, 34); | 137 color: rgb(34, 34, 34); |
| 101 display: -webkit-box; | 138 display: -webkit-box; |
| 102 line-height: 1.6em; | 139 line-height: 1.6em; |
| 103 margin-bottom: 1em; | 140 margin-bottom: 1em; |
| 104 overflow: hidden; | 141 overflow: hidden; |
| 105 text-overflow: ellipsis; | 142 text-overflow: ellipsis; |
| 106 } | 143 } |
| 107 | 144 |
| 108 .entry .domain { | 145 .entry .domain { |
| 109 color: rgb(151, 156, 160); | 146 color: rgb(151, 156, 160); |
| 110 padding-left: 6px; | 147 padding-left: 6px; |
| 111 padding-right: 6px; | 148 padding-right: 6px; |
| 112 } | 149 } |
| 113 | 150 |
| 151 .site-results .domain { |
| 152 display: none; |
| 153 } |
| 154 |
| 155 .number-visits { |
| 156 color: rgb(151, 156, 160); |
| 157 } |
| 158 |
| 114 .drop-down { | 159 .drop-down { |
| 115 -webkit-margin-end: 5px; | 160 -webkit-margin-end: 5px; |
| 116 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px; | 161 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px; |
| 117 border: 1px solid rgb(192, 195, 198); | 162 border: 1px solid rgb(192, 195, 198); |
| 118 border-radius: 2px; | 163 border-radius: 2px; |
| 119 height: 12px; | 164 height: 12px; |
| 120 padding: 0; | 165 padding: 0; |
| 121 position: relative; | 166 position: relative; |
| 122 top: 2px; | 167 top: 2px; |
| 123 width: 12px; | 168 width: 12px; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 border-radius: 2px; | 230 border-radius: 2px; |
| 186 } | 231 } |
| 187 | 232 |
| 188 .entry .title { | 233 .entry .title { |
| 189 -webkit-box-flex: 1; | 234 -webkit-box-flex: 1; |
| 190 overflow: hidden; | 235 overflow: hidden; |
| 191 text-overflow: ellipsis; | 236 text-overflow: ellipsis; |
| 192 white-space: nowrap; | 237 white-space: nowrap; |
| 193 } | 238 } |
| 194 | 239 |
| 195 .entry .title { | 240 .day-results > .entry .title, |
| 241 .search-results > .entry .title, |
| 242 .site-domain { |
| 196 /* Make room for the favicon. */ | 243 /* Make room for the favicon. */ |
| 197 -webkit-padding-start: 20px; | 244 -webkit-padding-start: 20px; |
| 198 | 245 |
| 199 /* Control the favicon appearance. */ | 246 /* Control the favicon appearance. */ |
| 200 background-position-y: 3px; | 247 background-position-y: 3px; |
| 201 background-repeat: no-repeat; | 248 background-repeat: no-repeat; |
| 249 background-size: 16px; |
| 250 } |
| 251 |
| 252 .site-domain-arrow { |
| 253 -webkit-transition: -webkit-transform 300ms linear; |
| 254 /* Make room for the arrow and place it. */ |
| 255 background: url('../twisty_closed.png') no-repeat center center; |
| 256 height: 21px; |
| 257 width: 21px; |
| 258 } |
| 259 |
| 260 .site-domain-arrow.collapse { |
| 261 -webkit-transform: rotate(0); |
| 262 } |
| 263 |
| 264 .site-domain-arrow.expand { |
| 265 -webkit-transform: rotate(90deg); |
| 202 } | 266 } |
| 203 | 267 |
| 204 .entry .starred { | 268 .entry .starred { |
| 205 -webkit-margin-start: 4px; | 269 -webkit-margin-start: 4px; |
| 206 background: url('../shared/images/star_small.png') no-repeat; | 270 background: url('../shared/images/star_small.png') no-repeat; |
| 207 display: inline-block; | 271 display: inline-block; |
| 208 height: 11px; | 272 height: 11px; |
| 209 width: 11px; | 273 width: 11px; |
| 210 } | 274 } |
| 211 | 275 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 228 } | 292 } |
| 229 | 293 |
| 230 .menu-button.drop-down { | 294 .menu-button.drop-down { |
| 231 position: relative; | 295 position: relative; |
| 232 top: 2px; | 296 top: 2px; |
| 233 } | 297 } |
| 234 | 298 |
| 235 #action-menu > :not(hr) { | 299 #action-menu > :not(hr) { |
| 236 line-height: 29px; | 300 line-height: 29px; |
| 237 } | 301 } |
| OLD | NEW |