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

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

Issue 10068007: Implement Content Security Policy for the File Manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: 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 5644f471090e4300452081908bc7018a872a659c..d2623d68cd60432062c8b0ac63591735654f69e8 100644
--- a/chrome/browser/resources/file_manager/css/file_manager.css
+++ b/chrome/browser/resources/file_manager/css/file_manager.css
@@ -517,10 +517,10 @@ div.thumbnail-view {
button.settings {
display: none;
+ /* Temporary solution not to uglify settings button */
+ height: 30px;
margin-left: 8px;
width: 57px;
- /* Temporary solution not to uglify settings button */
- height:30px;
}
[gdata] button.settings {
@@ -974,43 +974,6 @@ li.table-row {
background-image: url(../images/filetype_gtable.png);
}
-/* The filename text in the preview pane. */
-.preview-filename {
dgozman 2012/04/12 11:18:14 Is this not used?
Vladislav Kaznacheev 2012/04/12 12:47:32 Yes, this is not used since we removed the right p
- -webkit-margin-start: 8px;
- color: #666;
- font-weight: bold;
- margin-top: 10px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-/* The preview image. */
-.preview-img {
- margin-top: 10px;
- max-height: 300px;
- max-width: 190px;
-}
-
-.preview-img.thumbnail {
- -webkit-background-clip: content-box;
- /* Checkboard background to distinguish images with alpha channels, from
- * ../images/preview-background.png
- */
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAOTQAADiYBwNzaZQAAAAd0SU1FB9sDExUSAaQ/5TMAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQ0lEQVRYw+3VsQkAMQwDQOfJRt7r9/FQ3ilDuAiBUy84UKFVVX8M0t2TenxxOQAAAAAAAAB7+ueZaQIAAAAAAIC3AQceAAfi8EmRSgAAAABJRU5ErkJggg==);
- border: 1px #666 solid;
- padding: 1px;
-}
-
-.preview-img[src=''] {
- visibility: hidden;
-}
-
-/* Decoration when multiple images are selected. */
-.preview-img.multiple-selected {
- -webkit-box-shadow: 5px 5px 0 #aaa;
-}
-
.metadata-item {
-webkit-box-flex: 1;
-webkit-box-orient: horizontal;
@@ -1247,3 +1210,12 @@ div.unmounted-panel > div {
.unmounted-panel:not([retry]) > .gdata.learn-more {
display: none;
}
+
+body[ash] .dialog-title,
+body[type='full-page'] [invisibleif='full-page'],
dgozman 2012/04/12 11:18:14 I'm wondering whether css selectors have something
Vladislav Kaznacheev 2012/04/12 12:47:32 Not that I know of. On 2012/04/12 11:18:14, dgozma
+body:not([type='full-page']) [visibleif='full-page'],
+body:not([type='saveas-file']) [visibleif='saveas-file'],
+body:not([type='saveas-file']):not([type='full-page'])
+ [visibleif='saveas-file full-page'] {
+ display: none;
+}

Powered by Google App Engine
This is Rietveld 408576698