Skip to content

Commit

Permalink
ENHANCEMENT gridfield styling improvements, asset admin style improve…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
clarkepaul committed May 22, 2012
1 parent a9cbea3 commit d522b81
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
12 changes: 6 additions & 6 deletions css/GridField.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions scss/GridField.scss
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $gf_grid_x: 16px;


table.ss-gridfield-table { table.ss-gridfield-table {
display: table; display: table;
box-shadow: none; @include box-shadow-none;
padding: 0; padding: 0;
border-collapse: separate; border-collapse: separate;
border-bottom: 0 none; border-bottom: 0 none;
Expand Down Expand Up @@ -270,7 +270,7 @@ $gf_grid_x: 16px;
padding: 0px; padding: 0px;
font-size: $gf_grid_y*1.4; font-size: $gf_grid_y*1.4;
color:#fff; color:#fff;
margin:3px 8px 0; margin: 1px 8px 0;
display:inline-block; display:inline-block;
} }
.right > * { .right > * {
Expand Down Expand Up @@ -344,6 +344,8 @@ $gf_grid_x: 16px;
border-bottom: 1px solid $gf_colour_border; border-bottom: 1px solid $gf_colour_border;
span{ span{
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0); @include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
padding-left: $gf_grid_x/2;
padding-right: $gf_grid_x/2;
} }
&.col-listChildrenLink { &.col-listChildrenLink {
border-right:none; border-right:none;
Expand Down Expand Up @@ -452,7 +454,7 @@ $gf_grid_x: 16px;
} }
&:hover{ &:hover{
@include background ($bgImage -17px -38px); @include background ($bgImage -17px -38px);
box-shadow: none; @include box-shadow-none;
span{//dropdown arrow span{//dropdown arrow
opacity:0.9; opacity:0.9;


Expand Down Expand Up @@ -529,19 +531,19 @@ $gf_grid_x: 16px;
} }


span.non-sortable { span.non-sortable {
padding: 0 1em;
display:block; display:block;
} }
} }


td { td {
border-right: 1px solid $gf_colour_border; border-right: 1px solid $gf_colour_border;
padding: $gf_grid_x/2.5 $gf_grid_y; padding: $gf_grid_x/2 $gf_grid_x/2;
color: $gf_colour_font; color: $gf_colour_font;
&.bottom-all { &.bottom-all {
@include border-bottom-radius($gf_border_radius); @include border-bottom-radius($gf_border_radius);
@include background-image(linear-gradient($color-base, $gf_colour_gradient_dark)); @include background-image(linear-gradient($color-base, $gf_colour_gradient_dark));
padding: $gf_grid_x/4 $gf_grid_y; padding: $gf_grid_x/4 $gf_grid_y;

.datagrid-footer-message { .datagrid-footer-message {
text-align: center; text-align: center;
padding-top: 6px; padding-top: 6px;
Expand Down Expand Up @@ -598,6 +600,7 @@ $gf_grid_x: 16px;
} }
} }
} }

&.last td { &.last td {
border-bottom: 0 none; border-bottom: 0 none;
} }
Expand Down

0 comments on commit d522b81

Please sign in to comment.