Browse files

BUGFIX: SSF-106 - fixed scss for export to csv button so that is more…

… general to all datagrid
  • Loading branch information...
1 parent 2ec9de1 commit 00d81889246fd63fb2c9002277a8f122de282363 jbridson committed with chillu Mar 12, 2012
Showing with 13 additions and 0 deletions.
  1. +3 −0 css/GridField.css
  2. +10 −0 scss/GridField.scss
View
3 css/GridField.css
@@ -4,6 +4,9 @@
.cms .ss-gridfield[data-selectable] td { cursor: pointer; }
.cms .ss-gridfield .add-existing-autocompleter { width: 500px; }
.cms .ss-gridfield .add-existing-autocompleter input.relation-search { width: 380px; }
+.cms .ss-gridfield p button#action_export { margin-top: 12px; }
+.cms .ss-gridfield p button#action_export span.btn-icon-download-csv { height: 17px; }
+.cms .ss-gridfield p button#action_export span.ui-button-text { padding-left: 26px; }
.cms table.ss-gridfield-table { display: table; box-shadow: none; padding: 0; border-collapse: separate; border-bottom: 0 none; width: 100%; }
.cms table.ss-gridfield-table thead { color: #1d2224; background: transparent; }
.cms table.ss-gridfield-table thead tr.filter-header .fieldgroup { max-width: 512px; }
View
10 scss/GridField.scss
@@ -52,6 +52,16 @@ $gf_grid_x: 16px;
cursor: pointer;
}
}
+
+ p button#action_export {
+ margin-top:$gf_grid_y;
+ span.btn-icon-download-csv {
+ height:17px; //exact height of icon
+ }
+ span.ui-button-text {
+ padding-left:26px; //to accomodate wider export icon
+ }
+ }
}
.ss-gridfield {

0 comments on commit 00d8188

Please sign in to comment.