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

Unified Diff: chrome/browser/resources/aura/app_list/app_list.css

Issue 8747021: [Aura] Polish app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: set tile-page-scrollbar color Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/aura/app_list/app_list.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/aura/app_list/app_list.css
diff --git a/chrome/browser/resources/aura/app_list/app_list.css b/chrome/browser/resources/aura/app_list/app_list.css
index 7148b623cef484674e414f1d8794805d14f6e855..63c8e1ed9c0329eaa96873933ac7c757e61e7155 100644
--- a/chrome/browser/resources/aura/app_list/app_list.css
+++ b/chrome/browser/resources/aura/app_list/app_list.css
@@ -17,42 +17,42 @@ body {
padding: 0;
}
+.tile-page-scrollbar {
+ background-color: #7f7f7f;
+}
+
.app-contents > span {
color: white;
font-size: 14px;
font-weight: bold;
+ padding: 2px; /* Extra padding for text-shadow. */
text-shadow: 0 0 2px black, 0 0 4px black;
}
-#launcher-search-container {
- position: relative;
- z-index: 5;
-}
-
-#launcher-search,
-#launcher-search::-webkit-input-placeholder {
- color: white;
-}
-
-#launcher-search {
- -webkit-padding-start: 10px;
- -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
- background-color: rgba(0, 0, 0, 0.2);
- border: none;
- font-size: 14px;
- height: 34px;
- min-width: 384px;
- outline: 1px solid rgba(0, 0, 0, 0.1);
+/*
+ * #container is used to host apps page in a fixed 900x550 area so that
+ * we don't have excessive space between app icons and nav dots. #container
+ * is center aligned with its parent. We use top:50% and left:50% to move it
+ * to parent's center and use negative margin-top and margin-left to align its
+ * center with parent's center. Because of this, margin-top must be half of
+ * the height and margin-left must be half of the width.
+ */
+#container {
+ height: 550px;
+ left: 50%;
+ margin-top: -225px;
+ margin-left: -450px;
+ position: absolute;
+ top: 50%;
+ width: 900px;
}
#card-slider-frame {
- /* Must match #footer height. 0 because footer is hidden.*/
- bottom: 0;
+ /* Must match #footer height. */
+ bottom: 50px;
overflow: hidden;
- /* We want this to fill the window except for the region used
- by footer */
- position: fixed;
- top: 0;
+ position: absolute;
+ height: 500px;
width: 100%;
}
@@ -63,10 +63,9 @@ body {
}
#footer {
- background-image: -webkit-linear-gradient(
- rgba(242, 242, 242, 0.9), rgba(222, 222, 222, 0.9));
+ background: transparent;
bottom: 0;
- position: fixed;
+ position: absolute;
width: 100%;
z-index: 5;
}
@@ -76,3 +75,30 @@ body {
display: -webkit-box;
height: 49px;
}
+
+.dot .selection-bar {
+ border-color: #7f7f7f;
+ opacity: 0.2;
+}
+
+.dot input {
+ color: #7f7f7f;
+ font-size: 12px;
+}
+
+.dot:focus input,
+.dot:hover input,
+.dot.selected input {
+ color: white;
+}
+
+.dot:focus .selection-bar,
+.dot:hover .selection-bar,
+.dot.drag-target .selection-bar {
+ border-color: #b2b2b2;
+ opacity: 1;
+}
+
+.dot.selected .selection-bar {
+ opacity: 1;
+}
« no previous file with comments | « no previous file | chrome/browser/resources/aura/app_list/app_list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698