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

Unified Diff: chrome/browser/resources/file_manager/css/file_manager.css

Issue 8720006: Moving file selection checkbox to the field name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fix. Created 9 years, 1 month 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: chrome/browser/resources/file_manager/css/file_manager.css
diff --git a/chrome/browser/resources/file_manager/css/file_manager.css b/chrome/browser/resources/file_manager/css/file_manager.css
index 78f27a42784fa7e0ec26a6e3dc9df2e3158d930d..f8ed460ac1d428c0564b36d6930d739377cfb409 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -392,29 +392,33 @@ div.img-container > img {
/* The first child of a list cell. */
.table-row-cell > * {
-webkit-margin-start: 5px;
+ -webkit-box-align: center;
-webkit-box-orient: horizontal;
-webkit-box-flex: 1;
display: -webkit-box;
}
-.detail-table li.table-row .table-row-cell:first-child div {
- margin: 0px;
-}
-
.file-checkbox {
position: relative;
z-index: 2;
-webkit-margin-end: 0px;
- margin-top: 6px;
- margin-left: 7px;
opacity: 0.1;
}
#select-all-checkbox {
- margin: 0;
+ -webkit-margin-start: 0;
+ -webkit-margin-end: 6px;
+ margin-top: 0;
+ margin-bottom: 0;
+
+ /* 1px below text */
+ position: relative;
+ top: 1px;
}
li.thumbnail-item .file-checkbox {
+ -webkit-margin-start: 7px;
+ margin-top: 6px;
opacity: 0;
}
@@ -429,15 +433,9 @@ li.thumbnail-item[selected] .file-checkbox {
opacity: 1 !important;
}
-/* Column text containers. */
-.detail-name, .detail-size, .detail-type, .detail-date {
- padding-top: 2px;
-}
-
-.detail-icon-container {
- -webkit-box-orient: horizontal;
- -webkit-box-pack: end;
- display: -webkit-box;
+li.table-row {
+ padding-top: 1px;
+ padding-bottom: 1px;
}
/* The icon in the name column. */
@@ -589,6 +587,15 @@ li.thumbnail-item[selected] .file-checkbox {
padding-right: 4px;
}
+.detail-name > * {
+ display: -webkit-box;
+ -webkit-box-align: center;
+}
+
+.detail-name > input[type=checkbox] {
+ margin: 0 2px;
+}
+
.filename-input {
-webkit-box-orient: horizontal;
-webkit-box-flex: 1;

Powered by Google App Engine
This is Rietveld 408576698