Ben Murdoch | d386803 | 2013-07-31 10:55:33 +0100 | [diff] [blame] | 1 | /* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 | * Use of this source code is governed by a BSD-style license that can be |
| 3 | * found in the LICENSE file. */ |
| 4 | |
Ben Murdoch | d386803 | 2013-07-31 10:55:33 +0100 | [diff] [blame] | 5 | #outer, |
| 6 | #empty, |
| 7 | #open-folder, |
| 8 | .file-url, |
| 9 | .time-left, |
| 10 | .more-left { |
| 11 | display: inline-block; |
| 12 | } |
| 13 | |
Ben Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame^] | 14 | #q-outer { |
| 15 | display:inline-block; |
| 16 | height:1.7em; |
| 17 | overflow:hidden; |
| 18 | } |
| 19 | |
| 20 | #q { |
| 21 | margin-right: 2em; |
| 22 | } |
| 23 | |
Ben Murdoch | d386803 | 2013-07-31 10:55:33 +0100 | [diff] [blame] | 24 | #head { |
| 25 | position: fixed; |
| 26 | width: 100%; |
| 27 | left: 0; |
| 28 | top: 0; |
| 29 | background: white; |
| 30 | border-bottom: 1px solid grey; |
| 31 | } |
| 32 | |
| 33 | #search-zero, |
| 34 | #items { |
| 35 | margin-top: 2em; |
| 36 | } |
| 37 | |
| 38 | #head, |
| 39 | #empty, |
| 40 | #searching, |
| 41 | #search-zero, |
| 42 | .item, |
| 43 | .start-time, |
| 44 | .complete-size, |
| 45 | .error, |
| 46 | .file-url-head, |
| 47 | .removed, |
| 48 | .open-filename, |
| 49 | .progress, |
| 50 | .time-left, |
| 51 | .url, |
| 52 | #text-width-probe { |
| 53 | white-space: nowrap; |
| 54 | } |
| 55 | |
| 56 | #head, |
| 57 | .item { |
| 58 | text-align: left; |
| 59 | } |
| 60 | |
| 61 | #empty { |
| 62 | vertical-align: bottom; |
| 63 | height: 2em; |
| 64 | } |
| 65 | |
| 66 | #q { |
Ben Murdoch | d386803 | 2013-07-31 10:55:33 +0100 | [diff] [blame] | 67 | margin-left: 3%; |
| 68 | } |
| 69 | |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 70 | .by-ext img, |
Ben Murdoch | d386803 | 2013-07-31 10:55:33 +0100 | [diff] [blame] | 71 | svg { |
| 72 | width: 2em; |
| 73 | height: 2em; |
| 74 | } |
| 75 | |
| 76 | svg rect.border { |
| 77 | fill-opacity: 0; |
| 78 | stroke-width: 6; |
| 79 | } |
| 80 | |
| 81 | #open-folder svg, |
| 82 | .show-folder svg { |
| 83 | stroke: brown; |
| 84 | fill: white; |
| 85 | stroke-width: 3; |
| 86 | } |
| 87 | |
| 88 | #clear-all svg { |
| 89 | fill: white; |
| 90 | stroke-width: 3; |
| 91 | } |
| 92 | |
| 93 | #clear-all svg, |
| 94 | .remove-file svg, |
| 95 | .erase svg { |
| 96 | stroke: black; |
| 97 | } |
| 98 | |
Ben Murdoch | d386803 | 2013-07-31 10:55:33 +0100 | [diff] [blame] | 99 | #older, |
| 100 | #loading-older, |
| 101 | .item { |
| 102 | margin-top: 1em; |
| 103 | } |
| 104 | |
| 105 | .more { |
| 106 | position: absolute; |
| 107 | border: 1px solid grey; |
| 108 | background: white; |
| 109 | z-index: 1; |
| 110 | } |
| 111 | |
| 112 | .complete-size, |
| 113 | .error, |
| 114 | .removed, |
| 115 | .open-filename, |
| 116 | .progress, |
| 117 | .time-left { |
| 118 | margin-right: 0.4em; |
| 119 | } |
| 120 | |
| 121 | .error { |
| 122 | color: darkred; |
| 123 | } |
| 124 | |
| 125 | .referrer svg { |
| 126 | stroke: blue; |
| 127 | fill-opacity: 0; |
| 128 | stroke-width: 7; |
| 129 | } |
| 130 | |
| 131 | .removed, |
| 132 | .open-filename { |
| 133 | max-width: 400px; |
| 134 | overflow: hidden; |
| 135 | display: inline-block; |
| 136 | } |
| 137 | |
| 138 | .remove-file svg { |
| 139 | fill-opacity: 0; |
| 140 | stroke-width: 5; |
| 141 | } |
| 142 | |
| 143 | .remove-file svg line { |
| 144 | stroke-width: 7; |
| 145 | stroke: red; |
| 146 | } |
| 147 | |
| 148 | .erase svg ellipse, |
| 149 | .erase svg line { |
| 150 | fill-opacity: 0; |
| 151 | stroke-width: 5; |
| 152 | } |
| 153 | |
| 154 | .pause svg { |
| 155 | stroke: #333; |
| 156 | } |
| 157 | |
| 158 | .resume svg { |
| 159 | stroke: rgb(68, 187, 68); |
| 160 | fill: rgb(68, 187, 68); |
| 161 | } |
| 162 | |
| 163 | .cancel svg line { |
| 164 | stroke-width: 7; |
| 165 | } |
| 166 | |
| 167 | .cancel svg { |
| 168 | stroke: rgb(204, 68, 68); |
| 169 | } |
| 170 | |
| 171 | .meter { |
| 172 | height: 0.5em; |
| 173 | position: relative; |
| 174 | background: grey; |
| 175 | } |
| 176 | |
| 177 | .meter > span { |
| 178 | display: block; |
| 179 | height: 100%; |
| 180 | background-color: rgb(43, 194, 83); |
| 181 | background-image: -webkit-gradient( |
| 182 | linear, left bottom, left top, |
| 183 | color-stop(0, rgb(43,194,83)), |
| 184 | color-stop(1, rgb(84,240,84))); |
| 185 | position: relative; |
| 186 | overflow: hidden; |
| 187 | } |
| 188 | |
| 189 | .meter > span:after { |
| 190 | content: ''; |
| 191 | position: absolute; |
| 192 | top: 0; left: 0; bottom: 0; right: 0; |
| 193 | background-image: -webkit-gradient( |
| 194 | linear, 0 0, 100% 100%, |
| 195 | color-stop(.25, rgba(255, 255, 255, .2)), |
| 196 | color-stop(.25, transparent), |
| 197 | color-stop(.5, transparent), |
| 198 | color-stop(.5, rgba(255, 255, 255, .2)), |
| 199 | color-stop(.75, rgba(255, 255, 255, .2)), |
| 200 | color-stop(.75, transparent), |
| 201 | to(transparent)); |
| 202 | z-index: 1; |
| 203 | -webkit-background-size: 50px 50px; |
| 204 | background-size: 50px 50px; |
| 205 | -webkit-animation: move 2s linear infinite; |
| 206 | overflow: hidden; |
| 207 | } |
| 208 | |
| 209 | @-webkit-keyframes move { |
| 210 | 0% { background-position: 0 0; } |
| 211 | 100% { background-position: 50px 50px; } |
| 212 | } |
| 213 | |
| 214 | .url { |
| 215 | color: grey; |
| 216 | max-width: 700px; |
| 217 | overflow: hidden; |
| 218 | display: block; |
| 219 | } |
| 220 | |
| 221 | #text-width-probe { |
| 222 | position: absolute; |
| 223 | top: -100px; |
| 224 | left: 0; |
| 225 | } |