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

Side by Side Diff: chrome/browser/resources/ntp/apps.css

Issue 3363001: Different approach to NTP layout (Closed)
Patch Set: cleanup Created 10 years, 3 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 /* Apps */ 1 /* Apps */
2 2
3 #apps-section .app, 3 .app,
4 #apps-section .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;
11 position: relative; 11 position: relative;
12 height: 136px; 12 height: 136px;
13 width: 124px; /* 920 / 7 - margin * 2 */ 13 width: 124px; /* 920 / 7 - margin * 2 */
14 } 14 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 60% { 107 60% {
108 -webkit-transform: scale(1.2, 1.2); 108 -webkit-transform: scale(1.2, 1.2);
109 } 109 }
110 110
111 100% { 111 100% {
112 -webkit-transform: scale(1, 1); 112 -webkit-transform: scale(1, 1);
113 } 113 }
114 } 114 }
115 115
116 #apps-section .app[new=new] { 116 .app[new=new] {
117 opacity: 0; 117 opacity: 0;
118 } 118 }
119 119
120 #apps-section .app[new=installed] { 120 .app[new=installed] {
121 -webkit-animation: bounce .5s ease-in-out; 121 -webkit-animation: bounce .5s ease-in-out;
122 -webkit-transition: opacity .5s; 122 -webkit-transition: opacity .5s;
123 } 123 }
124 124
125 a[app_id=web-store-entry] { 125 a[app_id=web-store-entry] {
126 background-image: url("web_store_icon.png"); 126 background-image: url("web_store_icon.png");
127 } 127 }
128 128
129 /* Make items on the wrong side non focusable by hiding them. */ 129 /* Make items on the wrong side non focusable by hiding them. */
130 .app:not(.config) > .back button, 130 .app:not(.config) > .back button,
(...skipping 18 matching lines...) Expand all
149 display: none; 149 display: none;
150 } 150 }
151 151
152 html[has_3d=false] .app > .back { 152 html[has_3d=false] .app > .back {
153 display: none; 153 display: none;
154 } 154 }
155 155
156 html[has_3d=false] .app.config > .back { 156 html[has_3d=false] .app.config > .back {
157 display: block; 157 display: block;
158 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698