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

Unified Diff: ui/file_manager/file_manager/foreground/css/common.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/common.css
diff --git a/ui/file_manager/file_manager/foreground/css/common.css b/ui/file_manager/file_manager/foreground/css/common.css
index 290193d5031fe25a61097c9eb6103ace2ce618e8..ca2079f73d260dee49e8b244938e2724dd7b6199 100644
--- a/ui/file_manager/file_manager/foreground/css/common.css
+++ b/ui/file_manager/file_manager/foreground/css/common.css
@@ -61,7 +61,7 @@ input.common[type='checkbox'].white:checked::after {
input.common[type='checkbox']::after {
content: '';
- display: -webkit-box;
+ display: flex;
height: 15px;
left: -2px;
position: absolute;
@@ -116,7 +116,7 @@ input.common[type='checkbox']::after {
}
.buttonbar {
- display: -webkit-box;
+ display: flex;
height: 31px;
}
@@ -365,11 +365,11 @@ html[dir='rtl'] .entry-name {
/* Pop-up dialogs. */
.cr-dialog-container {
- -webkit-box-align: center;
- -webkit-box-pack: center;
-webkit-user-select: none;
- display: -webkit-box;
+ align-items: center;
+ display: flex;
height: 100%;
+ justify-content: center;
left: 0;
overflow: hidden;
position: absolute;
@@ -380,14 +380,14 @@ html[dir='rtl'] .entry-name {
}
.cr-dialog-frame {
- -webkit-box-orient: vertical;
background-color: rgb(250, 250, 250);
border: 1px solid rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .5);
color: rgb(34, 34, 34);
cursor: default;
- display: -webkit-box;
+ display: flex;
+ flex-direction: column;
padding: 20px;
position: relative;
width: 460px;
@@ -476,9 +476,9 @@ html[dir='rtl'] .entry-name {
}
.cr-dialog-buttons {
- -webkit-box-orient: horizontal;
- -webkit-box-pack: end;
- display: -webkit-box;
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-end;
padding-top: 10px;
}

Powered by Google App Engine
This is Rietveld 408576698