Permalink
Browse files

MINOR:SSF-106 - edited the SCSS so that measurements use increments o…

…f $gf_gridy/x
  • Loading branch information...
1 parent 349794a commit 2095743a688fa5da6baaa70be6f19fb5abcaf01d jbridson committed Mar 8, 2012
Showing with 8 additions and 8 deletions.
  1. +3 −2 css/GridField.css
  2. +5 −6 scss/GridField.scss
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -67,7 +67,7 @@ $gf_grid_x: 16px;
background: transparent;
tr.filter-header {
.fieldgroup {
- max-width:512px;
+ max-width:$gf_grid_x*32;
}
}
}
@@ -78,7 +78,7 @@ $gf_grid_x: 16px;
button {
border: none;
background: none;
- margin: 0 0 0 2px;
+ margin: 0 0 0 $gf_grid_x/8;
padding: 0;
width: auto;
text-shadow: none;
@@ -128,15 +128,15 @@ $gf_grid_x: 16px;
background: $gf_colour_gradient_dark;
border-top: 1px solid $gf_colour_border;
padding: 5px;
- min-height: 40px;
+ min-height: $gf_grid_y*3 + 4;
@include background-image(linear-gradient($gf_colour_gradient_light, $gf_colour_gradient_dark));
@include border-top-radius($gf_border_radius);
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
h2{
padding: 0px;
font-size: $gf_grid_y*1.4;
color:#fff;
- margin:3px $gf_grid_x/2 0;
+ margin:$gf_grid_y/4 $gf_grid_x/2 0;
display:inline-block;
}
.new{
@@ -209,7 +209,6 @@ $gf_grid_x: 16px;
span{
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
}
-
}
&.extra {
background: $gf_colour_subheader;
@@ -255,7 +254,7 @@ $gf_grid_x: 16px;
border:none;
width:100%;
text-align: left;
- padding: 4px 0;
+ padding: $gf_grid_y/3 0;
@include single-text-shadow($gf_colour_text_shadow, 0px, -1px, 0);
color: #fff;
@include border-radius(0);

0 comments on commit 2095743

Please sign in to comment.