Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Apps */ | 1 /* Apps */ |
| 2 | 2 |
| 3 .app, | 3 .app, |
| 4 .app[new=installed] { | 4 .app[new=installed] { |
| 5 -webkit-box-sizing: border-box; | 5 -webkit-box-sizing: border-box; |
| 6 -webkit-perspective: 400; | 6 -webkit-perspective: 400; |
| 7 border-radius: 10px; | 7 border-radius: 10px; |
| 8 color: black; | 8 color: black; |
| 9 display: inline-block; | 9 display: inline-block; |
| 10 margin: 5px 3px; | 10 margin: 5px 3px; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 83 | 83 |
| 84 html[install-animation-enabled=true] .app[new=new] { | 84 html[install-animation-enabled=true] .app[new=new] { |
| 85 opacity: 0; | 85 opacity: 0; |
| 86 } | 86 } |
| 87 | 87 |
| 88 html[install-animation-enabled=true] .app[new=installed] { | 88 html[install-animation-enabled=true] .app[new=installed] { |
| 89 -webkit-animation: bounce .5s ease-in-out; | 89 -webkit-animation: bounce .5s ease-in-out; |
| 90 -webkit-transition: opacity .5s; | 90 -webkit-transition: opacity .5s; |
| 91 } | 91 } |
| 92 | 92 |
| 93 a[app-id=web-store-entry] { | 93 .app[app-id=web-store-entry] > a { |
| 94 background-image: url("web_store_icon.png"); | 94 background-image: url("web_store_icon.png"); |
| 95 } | 95 } |
| 96 | 96 |
| 97 menu > button.default { | 97 menu > button.default { |
| 98 font-weight: bold; | 98 font-weight: bold; |
| 99 } | 99 } |
| 100 | |
| 101 #apps-promo { | |
| 102 display: none; | |
| 103 } | |
| 104 | |
| 105 html[appspromovisible=true] #apps-promo { | |
| 106 display: block; | |
| 107 } | |
| 108 | |
| 109 #apps-promo > h3 { | |
|
Bons
2010/10/06 20:04:06
do we care that this is inefficient as a selector?
arv (Not doing code reviews)
2010/10/06 20:48:36
This is not inefficient. Direct descendant selecto
| |
| 110 font-size: 16px; | |
| 111 margin-top: 1em; | |
| 112 margin-bottom: 0.25em; | |
| 113 } | |
| 114 | |
| 115 #apps-promo-text1 { | |
| 116 margin-top: 0; | |
| 117 } | |
| 118 | |
| 119 #apps-promo-hide { | |
| 120 float: right; | |
| 121 -webkit-appearance: none; | |
| 122 -webkit-transition: opacity .15s; | |
| 123 background-color: transparent; | |
| 124 border: 0; | |
| 125 cursor: pointer; | |
| 126 font-family: inherit; | |
| 127 font-size: 90%; | |
| 128 text-decoration: underline; | |
| 129 } | |
| 130 | |
| 131 html[dir=rtl] #apps-promo-hide { | |
| 132 float: left; | |
| 133 } | |
| 134 | |
| 135 html[appspromovisible=true] .app[app-id=web-store-entry] { | |
| 136 left: 25px; | |
| 137 } | |
| 138 | |
| 139 html[appspromovisible=true][dir=rtl] .app[app-id=web-store-entry] { | |
| 140 right: 25px; | |
| 141 } | |
| 142 | |
| 143 html[appspromovisible=true] .app[app-id=web-store-entry] a { | |
|
Bons
2010/10/06 20:04:06
this too
| |
| 144 font-weight: bold; | |
| 145 } | |
| 146 | |
| OLD | NEW |