From 97489b6b18d05701bb90df2446c612f436fe03a8 Mon Sep 17 00:00:00 2001 From: jonom Date: Fri, 31 May 2013 18:12:19 -0500 Subject: [PATCH 1/2] Allow asset admin styles to be used in 'Choose another file' dialogue of UploadField I've added thumbnails to the 'Choose another file' dialogue, this style change allows for that gridfield to be styled the same way with compact rows --- scss/_AssetAdmin.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_AssetAdmin.scss b/scss/_AssetAdmin.scss index 5bd1599b..94422781 100644 --- a/scss/_AssetAdmin.scss +++ b/scss/_AssetAdmin.scss @@ -37,7 +37,7 @@ } } - #Form_EditForm_File { + .cms table.ss-gridfield-table { td { // Taken care of by minimum image sizes padding-top: 0; From d8885d0b31499875696a6a3973306d95c0d6ab66 Mon Sep 17 00:00:00 2001 From: jonom Date: Fri, 31 May 2013 18:31:42 -0500 Subject: [PATCH 2/2] Reflect changes in scss file --- css/screen.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/css/screen.css b/css/screen.css index d15591d5..1a5b6ea7 100644 --- a/css/screen.css +++ b/css/screen.css @@ -38,9 +38,9 @@ .cms .AssetAdmin .cms-content-toolbar .cms-page-add-button span.btn-icon-add { height: 17px; } .cms .AssetAdmin .cms-content-toolbar .cms-page-add-button span.ui-button-text { color: #393939; text-shadow: white 0 1px 1px; } .cms .AssetAdmin #Root_TreeView .cms-tree ul .class-Folder a span.text span.jstree-foldericon { background: url(../images/blue-folder-horizontal.png) no-repeat; width: 16px; height: 16px; float: left; display: block; margin-right: 4px; } -.cms .AssetAdmin #Form_EditForm_File td { padding-top: 0; padding-bottom: 0; } -.cms .AssetAdmin #Form_EditForm_File td.bottom-all { padding: 0.7em; } -.cms .AssetAdmin #Form_EditForm_File td.col-StripThumbnail { padding: 1px 5px; width: 32px; height: 32px; } -.cms .AssetAdmin #Form_EditForm_File td.col-StripThumbnail img { width: 32px; height: 32px; } -.cms .AssetAdmin #Form_EditForm_File tr[data-class=Folder] td.col-StripThumbnail { background: transparent url(../images/treeicons/blue-folder-horizontal.png) no-repeat center; } -.cms .AssetAdmin #Form_EditForm_File tr[data-class=File] td.col-StripThumbnail { background: transparent url(../images/treeicons/blue-document.png) no-repeat center; } +.cms table.ss-gridfield-table td { padding-top: 0; padding-bottom: 0; } +.cms table.ss-gridfield-table td.bottom-all { padding: 0.7em; } +.cms table.ss-gridfield-table td.col-StripThumbnail { padding: 1px 5px; width: 32px; height: 32px; } +.cms table.ss-gridfield-table td.col-StripThumbnail img { width: 32px; height: 32px; } +.cms table.ss-gridfield-table tr[data-class=Folder] td.col-StripThumbnail { background: transparent url(../images/treeicons/blue-folder-horizontal.png) no-repeat center; } +.cms table.ss-gridfield-table tr[data-class=File] td.col-StripThumbnail { background: transparent url(../images/treeicons/blue-document.png) no-repeat center; }