Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 .hbox { | |
|
csilv
2011/09/02 17:41:11
As discussed, add TODO to move these to a common l
Finnur
2011/09/02 18:01:39
Done.
| |
| 8 display: -webkit-box; | |
| 9 -webkit-box-orient: horizontal; | |
| 10 } | |
| 11 | |
| 12 .vbox { | |
| 13 display: -webkit-box; | |
| 14 -webkit-box-orient: vertical; | |
| 15 } | |
| 16 | |
| 17 .stretch { | |
| 18 padding-right: 10px; | |
| 19 -webkit-box-flex: 1; | |
| 20 } | |
| 21 | |
| 22 .extension-list-item { | |
| 23 padding-bottom: 7px; | |
| 24 padding-top: 7px; | |
| 25 width: 100%; | |
| 26 -webkit-user-select: auto; | |
| 27 } | |
| 28 | |
| 29 /* List items have a fixed height, whereas we want variable height depending on | |
| 30 content */ | |
| 31 list > * { | |
|
csilv
2011/09/02 17:41:11
this item and the next will conflict with other op
Finnur
2011/09/02 18:01:39
Done.
| |
| 32 height: auto; | |
| 33 } | |
| 34 | |
| 35 /* Get rid of the light-blue background on list item hover. */ | |
| 36 list:not([disabled]) > :hover { | |
| 37 background-color: white; | |
| 38 border-color: #CDCDCD; | |
| 39 } | |
| 40 | |
| 41 /* Get rid of display: table, which causes width issues. */ | |
| 42 .displaytable { | |
| 43 display: block; | |
| 44 } | |
| 45 /* Get rid of display: table row, which causes width issues. */ | |
| 46 .displaytable > section { | |
| 47 display: block; | |
| 48 } | |
| 49 /* Get rid of display: table cell, which causes width issues. */ | |
| 50 .displaytable > section > * { | |
| 51 display: block; | |
| 52 } | |
| 53 | |
| 54 .content { | |
|
csilv
2011/09/02 17:41:11
Please rename this one, it's just too general of a
Finnur
2011/09/02 18:01:39
Done.
| |
| 55 border-bottom : 0px solid #eee; | |
| 56 margin-top: 3px; | |
| 57 } | |
| 58 | |
| 59 .big-list { | |
| 60 overflow-y: hidden; | |
| 61 } | |
| 62 | |
| 63 .butter-bar { | |
| 64 background: #FFF299; | |
| 65 padding: 2px 5px; | |
| 66 border-radius: 3px; | |
| 67 white-space: normal; | |
| 68 } | |
| 69 | |
| 70 .page list { | |
|
csilv
2011/09/02 17:41:11
This conflicts with the .page list rule in options
Finnur
2011/09/02 18:01:39
I don't think this was used anymore. Removed.
On
| |
| 71 min-height: 0; | |
| 72 } | |
| 73 | |
| 74 .search-suppress { | |
| 75 display: none; | |
| 76 height: 0; | |
| 77 } | |
| 78 | |
| 79 .extension-list-item-collaped { | |
| 80 margin-bottom: 16px; | |
| 81 -webkit-transition: padding 300ms, overflow 300ms, opacity 700ms; | |
| 82 } | |
| 83 | |
| 84 .extension-list-item-expanded { | |
| 85 margin-bottom: 16px; | |
| 86 overflow: visible; | |
| 87 -webkit-transition: padding 300ms, overflow 300ms, opacity 700ms; | |
| 88 } | |
| 89 | |
| 90 .extension-settings { | |
| 91 overflow-x: hidden; | |
| 92 } | |
| 93 | |
| 94 .extension-icon { | |
| 95 height: 48px; | |
| 96 padding-left: 15px; | |
| 97 padding-right: 15px; | |
| 98 vertical-align: text-top; | |
| 99 width: 48px; | |
| 100 -webkit-user-select: none; | |
| 101 } | |
| 102 | |
| 103 .extension-title { | |
| 104 font-size: 16px; | |
| 105 font-weight: 500; | |
| 106 padding-right: 20px; | |
| 107 } | |
| 108 | |
| 109 .extension-version { | |
| 110 font-size: 13px; | |
| 111 font-weight: 400; | |
| 112 } | |
| 113 | |
| 114 .extension-description { | |
| 115 font-size: 13px; | |
| 116 white-space: normal; | |
| 117 padding-right: 5px; | |
| 118 } | |
| 119 | |
| 120 .extension-checkbox-span { | |
| 121 margin-left: 7px; | |
| 122 } | |
| 123 | |
| 124 .extension-checkbox-label { | |
| 125 margin-right: 10px; | |
| 126 } | |
| 127 | |
| 128 .extension-delete { | |
| 129 margin-left: 5px; | |
| 130 } | |
| 131 | |
| 132 .extension-details-hidden { | |
| 133 opacity: 0; | |
| 134 max-height: 0; | |
| 135 -webkit-transition: max-height 400ms, opacity 200ms; | |
| 136 } | |
| 137 | |
| 138 .extension-details-visible { | |
| 139 opacity: 1; | |
| 140 max-height: 100px; | |
| 141 -webkit-transition: max-height 200ms, opacity 300ms; | |
| 142 } | |
| 143 | |
| 144 .extension-links-view { | |
| 145 padding-left: 15px; | |
| 146 } | |
| 147 | |
| 148 .extension-links-trailing { | |
| 149 padding-right: 7px; | |
| 150 } | |
| 151 | |
| 152 .extension-zippy-container { | |
| 153 cursor: pointer; | |
| 154 width: 20px; | |
| 155 -webkit-user-select: none; | |
| 156 } | |
| 157 | |
| 158 .informative-text { | |
| 159 color: gray; | |
| 160 } | |
| 161 | |
| 162 .extension-zippy-default { | |
| 163 background-image: url('zippy.png'); | |
| 164 background-repeat: no-repeat; | |
| 165 background-position: center top; | |
| 166 position: absolute; | |
| 167 left: 12px; | |
| 168 top: 25px; | |
| 169 width: 6px; | |
| 170 height: 16px; | |
| 171 opacity: .25; | |
| 172 } | |
| 173 | |
| 174 .extension-zippy-collapsed { | |
| 175 -webkit-transition: -webkit-transform .1s; | |
| 176 -webkit-transform: rotate(0deg); | |
| 177 } | |
| 178 | |
| 179 .extension-zippy-collapsed:hover { | |
| 180 -webkit-transition: -webkit-transform .1s, opacity .1s; | |
| 181 opacity: .5; | |
| 182 -webkit-transform: rotate(5deg); | |
| 183 } | |
| 184 | |
| 185 .extension-zippy-expanded { | |
| 186 -webkit-transition: -webkit-transform .1s; | |
| 187 -webkit-transform: rotate(90deg); | |
| 188 } | |
| 189 | |
| 190 .extension-zippy-expanded:hover { | |
| 191 -webkit-transition: -webkit-transform .1s; | |
| 192 -webkit-transform: rotate(85deg); | |
| 193 } | |
| 194 | |
| 195 .extension-enabling { | |
| 196 position: relative; | |
| 197 top: 3px; | |
| 198 } | |
| 199 | |
| 200 .extension-enabling-label { | |
| 201 padding-left: 3px; | |
| 202 padding-right: 9px; | |
| 203 color: black; | |
| 204 } | |
| 205 | |
| 206 .extension-enabling-label-bold { | |
| 207 font-weight: bold; | |
| 208 } | |
| 209 | |
| 210 .extension-inspect-table { | |
| 211 padding: 0; | |
| 212 border-spacing: 0; | |
| 213 } | |
| 214 | |
| 215 .extension-inspect-left-column { | |
| 216 vertical-align: text-top; | |
| 217 } | |
| 218 | |
| 219 /* Dev */ | |
| 220 | |
| 221 .dev-open { | |
| 222 border-bottom: 1px solid rgb(205, 205, 205); | |
| 223 height: 32px; | |
| 224 padding-bottom: 7px; | |
| 225 padding-left: 4px; | |
| 226 padding-right: 3px; | |
| 227 padding-top: 4px; | |
| 228 -webkit-transition: padding 300ms, height 300ms, opacity 700ms; | |
| 229 } | |
| 230 .dev-closed { | |
| 231 height: 0; | |
| 232 opacity: 0; | |
| 233 padding-left: 4px; | |
| 234 padding-right: 3px; | |
| 235 -webkit-transition: padding 300ms, height 700ms, opacity 200ms; | |
| 236 } | |
| 237 | |
| 238 .dev-button-visible { | |
| 239 display: inherit; | |
| 240 opacity: 1; | |
| 241 -webkit-transition: opacity 200ms; | |
| 242 } | |
| 243 | |
| 244 .dev-button-hidden { | |
| 245 display: none; | |
| 246 } | |
| 247 | |
| 248 #suggest-gallery { | |
| 249 padding-left: 10px; | |
| 250 } | |
| 251 | |
| 252 #dev-toggle { | |
| 253 display: block; | |
| 254 float: right; | |
| 255 margin-top: -28px; | |
| 256 margin-right: 8px; | |
| 257 } | |
| 258 | |
| 259 #get-more-extensions { | |
| 260 display: -webkit-box; | |
| 261 padding-left: 10px; | |
| 262 padding-top: 5px; | |
| 263 font-size: 15px; | |
| 264 } | |
| OLD | NEW |