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

Unified Diff: ui/file_manager/file_manager/foreground/css/drive_welcome.css

Issue 376783002: Use CSS3 flex to lay out Files.app components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/foreground/css/drive_welcome.css
diff --git a/ui/file_manager/file_manager/foreground/css/drive_welcome.css b/ui/file_manager/file_manager/foreground/css/drive_welcome.css
index a3c5ddb8999d110ff754bb76fca72822c7d40e21..c8e2f044dfbab4b364de33d9b700162a80bc6a36 100644
--- a/ui/file_manager/file_manager/foreground/css/drive_welcome.css
+++ b/ui/file_manager/file_manager/foreground/css/drive_welcome.css
@@ -18,8 +18,8 @@
}
.drive-welcome-links {
- -webkit-box-orient: horizontal;
- display: -webkit-box;
+ display: flex;
+ flex-direction: row;
}
.drive-welcome-button {
@@ -70,7 +70,7 @@
/* Header welcome banner. */
.drive-welcome.header {
- -webkit-box-flex: 0;
+ flex: none;
height: 100px;
overflow: hidden;
position: relative;
@@ -83,10 +83,10 @@
}
.drive-welcome.header .drive-welcome-wrapper {
- -webkit-box-orient: horizontal;
background-size: 308px 100px;
bottom: 0;
- display: -webkit-box;
+ display: flex;
+ flex-direction: row;
left: 0;
position: absolute;
right: 0;
@@ -100,9 +100,9 @@
}
.drive-welcome.header .drive-welcome-message {
- -webkit-box-flex: 1;
- -webkit-box-orient: vertical;
- display: -webkit-box;
+ display: flex;
+ flex: auto;
+ flex-direction: column;
}
.drive-welcome.header .drive-welcome-title {
@@ -122,6 +122,7 @@
/* Full page welcome banner. */
.drive-welcome.page {
bottom: 0;
+ flex: none;
left: 0;
position: absolute;
right: 0;
@@ -137,11 +138,11 @@
}
.drive-welcome.page .drive-welcome-wrapper {
- -webkit-box-align: center;
- -webkit-box-orient: vertical;
+ align-items: center;
background-size: 520px 173px;
bottom: 0;
- display: -webkit-box;
+ display: flex;
+ flex-direction: column;
font-size: 120%;
left: 0;
overflow: hidden;

Powered by Google App Engine
This is Rietveld 408576698