Skip to content

Commit

Permalink
Item13646: make css configurable via configure
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Aug 31, 2015
1 parent f53fdd5 commit 08d7fc2
Show file tree
Hide file tree
Showing 6 changed files with 150 additions and 118 deletions.
1 change: 1 addition & 0 deletions data/System/GridLayoutPlugin.txt
Expand Up @@ -456,6 +456,7 @@ jQuery(function($) {
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 31 Aug 2015 | css classes are configurable now |
| 19 Feb 2015 | initial release |
| Dependencies: | %$DEPENDENCIES% |
| Home page: | Foswiki:Extensions/%TOPIC% |
Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/GridLayoutPlugin.pm
Expand Up @@ -20,8 +20,8 @@ use warnings;

use Foswiki::Func ();

our $VERSION = '1.00';
our $RELEASE = '1.00';
our $VERSION = '2.00';
our $RELEASE = '31 Aug 2015';
our $SHORTDESCRIPTION = 'A 12er grid system for responsive layouts';
our $NO_PREFS_IN_TOPIC = 1;
our $core;
Expand Down
25 changes: 20 additions & 5 deletions lib/Foswiki/Plugins/GridLayoutPlugin/Config.spec
Expand Up @@ -2,13 +2,28 @@
# ---++ GridLayoutPlugin
# This is the configuration used by the <b>GridLayoutPlugin</b>.

# **BOOLEAN**
$Foswiki::cfg{GridLayoutPlugin}{Flag} = 1;
# **STRING**
# CSS class for the grid container
$Foswiki:cfg{GridLayoutPlugin}{GridClass} = "foswikiGrid";

# **STRING**
# CSS class for grid rows
$Foswiki:cfg{GridLayoutPlugin}{RowClasses} = "foswikiRow";

# **STRING**
# CSS class for grid columns
$Foswiki:cfg{GridLayoutPlugin}{ColClass} = "foswikiCol";

# **STRING**
# CSS class to indicate the column size; %n will be replaced with values 1-12
$Foswiki:cfg{GridLayoutPlugin}{ColSizeClass} = "foswikiCol%n";

# **STRING**
$Foswiki::cfg{GridLayoutPlugin}{String} = '';
# CSS class for the grid gutter; %n will be repalced with values 1-5
$Foswiki:cfg{GridLayoutPlugin}{GutterClass} = "foswikiGutter%n";

# **SELECT foo,bar**
$Foswiki::cfg{GridLayoutPlugin}{Select} = 'foo';
# **STRING**
# CSS class for border styles added to rows and/or columns
$Foswiki:cfg{GridLayoutPlugin}{BorderClass} = "foswikiBorder";

1;
3 changes: 2 additions & 1 deletion lib/Foswiki/Plugins/GridLayoutPlugin/Core.pm
Expand Up @@ -45,6 +45,7 @@ sub new {
$this->{stack} = [];
$this->{doneCss} = 0;


return $this;
}

Expand Down Expand Up @@ -80,7 +81,7 @@ sub addCss {
return if $this->{doneCss};
$this->{doneCss} = 1;

Foswiki::Func::addToZone('head', 'GRIDLAYOUT', <<HERE);
Foswiki::Func::addToZone('head', 'GRIDLAYOUT', <<HERE);
<link rel='stylesheet' href='%PUBURL%/%SYSTEMWEB%/GridLayoutPlugin/grid.css' media='all' />
HERE
}
Expand Down
23 changes: 19 additions & 4 deletions lib/Foswiki/Plugins/GridLayoutPlugin/Grid.pm
Expand Up @@ -31,11 +31,20 @@ sub new {
my $class = shift;

my $this = bless({
classes => {
grid => $Foswiki::cfg{GridLayoutPlugin}{GridClass} || "foswikiGrid",
row => $Foswiki::cfg{GridLayoutPlugin}{RowClasses} || "foswikiRow",
col => $Foswiki::cfg{GridLayoutPlugin}{ColClass} || "foswikiCol",
colSize => $Foswiki::cfg{GridLayoutPlugin}{ColSizeClass} || "foswikiCol%n",
gutter => $Foswiki::cfg{GridLayoutPlugin}{GutterClass} || "foswikiGutter%n",
border => $Foswiki::cfg{GridLayoutPlugin}{BorderClass} || "foswikiBorder",
},
border => 0,
gutter => 4,
insideRow => 0,
insideCol => 0,
rowWidth => 0,

@_
}, $class);

Expand All @@ -57,7 +66,10 @@ sub begin {

$this->{gutter} = $gutter;

return "<div class='foswikiGrid gutter$gutter$class'$style>";
my $gutterClass = $this->{classes}{gutter} || '';
$gutterClass =~ s/%n/$gutter/g;

return "<div class='$this->{classes}{grid} $gutterClass$class'$style>";
}

sub end {
Expand All @@ -77,7 +89,7 @@ sub beginRow {

my $border = Foswiki::Func::isTrue($params->{border}, $this->{border});
$result .= '<hr />' if $border && $insideRow;
$result .= "<div class='foswikiRow$class'$style>";
$result .= "<div class='$this->{classes}{row}$class'$style>";

$this->{rowWidth} = 0;
$this->{insideRow} = 1;
Expand Down Expand Up @@ -108,7 +120,7 @@ sub beginCol {
if ($width =~ /[^\d]/ || $width < 1 || $width > 12);

my $class = $params->{class} ? ' '.$params->{class}:'';
my $border = Foswiki::Func::isTrue($params->{border}, $this->{border}) ? ' border': '';
my $border = Foswiki::Func::isTrue($params->{border}, $this->{border}) ? ' '.$this->{classes}{border}: '';
my $style = $params->{style} ? " style='".$params->{style}."'":'';

# close previous col
Expand All @@ -129,7 +141,10 @@ sub beginCol {
$this->{rowWidth} += $width;

$this->{insideCol} = 1;
$result .= "<div class='foswikiCol foswikiCol$width$border$class'$style>";
my $colSizeClass = $this->{classes}{colSize};
$colSizeClass =~ s/%n/$width/g;

$result .= "<div class='$this->{classes}{col} $colSizeClass$border$class'$style>";

return $result;
}
Expand Down
212 changes: 106 additions & 106 deletions pub/System/GridLayoutPlugin/grid.uncompressed.css
Expand Up @@ -22,7 +22,7 @@
border:0;
}

.foswikiGrid .border {
.foswikiGrid .foswikiBorder {
border-color:#ddd;
border-style:solid;
border-left-width:1px;
Expand All @@ -40,92 +40,92 @@
}

/* gutter = 0 */
.foswikiGrid.gutter0 .foswikiCol1, .foswikiGrid.gutter0 .foswikiCol2,
.foswikiGrid.gutter0 .foswikiCol3, .foswikiGrid.gutter0 .foswikiCol4,
.foswikiGrid.gutter0 .foswikiCol5, .foswikiGrid.gutter0 .foswikiCol6,
.foswikiGrid.gutter0 .foswikiCol7,.foswikiGrid.gutter0 .foswikiCol8,
.foswikiGrid.gutter0 .foswikiCol9, .foswikiGrid.gutter0 .foswikiCol10,
.foswikiGrid.gutter0 .foswikiCol11 { margin-left:0%; }
.foswikiGrid.gutter0 .border { padding-left: 0; margin-left: -1px; }
.foswikiGrid.gutter0 .foswikiCol1 { width: 8.3333%; }
.foswikiGrid.gutter0 .foswikiCol2 { width: 16.6667%; }
.foswikiGrid.gutter0 .foswikiCol3 { width: 25%; }
.foswikiGrid.gutter0 .foswikiCol4 { width: 33.3333%; }
.foswikiGrid.gutter0 .foswikiCol5 { width: 41.6667%; }
.foswikiGrid.gutter0 .foswikiCol6 { width: 50%; }
.foswikiGrid.gutter0 .foswikiCol7 { width: 58.3333%; }
.foswikiGrid.gutter0 .foswikiCol8 { width: 66.6667%; }
.foswikiGrid.gutter0 .foswikiCol9 { width: 75%; }
.foswikiGrid.gutter0 .foswikiCol10 { width: 83.3333%; }
.foswikiGrid.gutter0 .foswikiCol11 { width: 91.6667%; }
.foswikiGrid.gutter0 hr { margin-bottom:0; margin-top:0; }
.foswikiGrid.gutter0 .foswikiRow { margin-top:0;}
.foswikiGrid.foswikiGutter0 .foswikiCol1, .foswikiGrid.foswikiGutter0 .foswikiCol2,
.foswikiGrid.foswikiGutter0 .foswikiCol3, .foswikiGrid.foswikiGutter0 .foswikiCol4,
.foswikiGrid.foswikiGutter0 .foswikiCol5, .foswikiGrid.foswikiGutter0 .foswikiCol6,
.foswikiGrid.foswikiGutter0 .foswikiCol7,.foswikiGrid.foswikiGutter0 .foswikiCol8,
.foswikiGrid.foswikiGutter0 .foswikiCol9, .foswikiGrid.foswikiGutter0 .foswikiCol10,
.foswikiGrid.foswikiGutter0 .foswikiCol11 { margin-left:0%; }
.foswikiGrid.foswikiGutter0 .foswikiBorder { padding-left: 0; margin-left: -1px; }
.foswikiGrid.foswikiGutter0 .foswikiCol1 { width: 8.3333%; }
.foswikiGrid.foswikiGutter0 .foswikiCol2 { width: 16.6667%; }
.foswikiGrid.foswikiGutter0 .foswikiCol3 { width: 25%; }
.foswikiGrid.foswikiGutter0 .foswikiCol4 { width: 33.3333%; }
.foswikiGrid.foswikiGutter0 .foswikiCol5 { width: 41.6667%; }
.foswikiGrid.foswikiGutter0 .foswikiCol6 { width: 50%; }
.foswikiGrid.foswikiGutter0 .foswikiCol7 { width: 58.3333%; }
.foswikiGrid.foswikiGutter0 .foswikiCol8 { width: 66.6667%; }
.foswikiGrid.foswikiGutter0 .foswikiCol9 { width: 75%; }
.foswikiGrid.foswikiGutter0 .foswikiCol10 { width: 83.3333%; }
.foswikiGrid.foswikiGutter0 .foswikiCol11 { width: 91.6667%; }
.foswikiGrid.foswikiGutter0 hr { margin-bottom:0; margin-top:0; }
.foswikiGrid.foswikiGutter0 .foswikiRow { margin-top:0;}

/* gutter = 1 */
.foswikiGrid.gutter1 .foswikiCol1, .foswikiGrid.gutter1 .foswikiCol2,
.foswikiGrid.gutter1 .foswikiCol3, .foswikiGrid.gutter1 .foswikiCol4,
.foswikiGrid.gutter1 .foswikiCol5, .foswikiGrid.gutter1 .foswikiCol6,
.foswikiGrid.gutter1 .foswikiCol7,.foswikiGrid.gutter1 .foswikiCol8,
.foswikiGrid.gutter1 .foswikiCol9, .foswikiGrid.gutter1 .foswikiCol10,
.foswikiGrid.gutter1 .foswikiCol11 { margin-left:1%; }
.foswikiGrid.gutter1 .border { padding-left: 0.4%; margin-left: 0.4%; }
.foswikiGrid.gutter1 .foswikiCol1 { width: 7.4167%; }
.foswikiGrid.gutter1 .foswikiCol2 { width: 15.8333%; }
.foswikiGrid.gutter1 .foswikiCol3 { width: 24.25%; }
.foswikiGrid.gutter1 .foswikiCol4 { width: 32.6667%; }
.foswikiGrid.gutter1 .foswikiCol5 { width: 41.0833%; }
.foswikiGrid.gutter1 .foswikiCol6 { width: 49.5%; }
.foswikiGrid.gutter1 .foswikiCol7 { width: 57.9167%; }
.foswikiGrid.gutter1 .foswikiCol8 { width: 66.3333%; }
.foswikiGrid.gutter1 .foswikiCol9 { width: 74.75%; }
.foswikiGrid.gutter1 .foswikiCol10 { width: 83.1667%; }
.foswikiGrid.gutter1 .foswikiCol11 { width: 91.5833%; }
.foswikiGrid.gutter1 hr { margin-top:0.3462em;margin-bottom:0.3462em;} /* 4.5px */
.foswikiGrid.gutter1 .foswikiRow { margin-top:0.3462em;} /* 4.5px */
.foswikiGrid.foswikiGutter1 .foswikiCol1, .foswikiGrid.foswikiGutter1 .foswikiCol2,
.foswikiGrid.foswikiGutter1 .foswikiCol3, .foswikiGrid.foswikiGutter1 .foswikiCol4,
.foswikiGrid.foswikiGutter1 .foswikiCol5, .foswikiGrid.foswikiGutter1 .foswikiCol6,
.foswikiGrid.foswikiGutter1 .foswikiCol7,.foswikiGrid.foswikiGutter1 .foswikiCol8,
.foswikiGrid.foswikiGutter1 .foswikiCol9, .foswikiGrid.foswikiGutter1 .foswikiCol10,
.foswikiGrid.foswikiGutter1 .foswikiCol11 { margin-left:1%; }
.foswikiGrid.foswikiGutter1 .foswikiBorder { padding-left: 0.4%; margin-left: 0.4%; }
.foswikiGrid.foswikiGutter1 .foswikiCol1 { width: 7.4167%; }
.foswikiGrid.foswikiGutter1 .foswikiCol2 { width: 15.8333%; }
.foswikiGrid.foswikiGutter1 .foswikiCol3 { width: 24.25%; }
.foswikiGrid.foswikiGutter1 .foswikiCol4 { width: 32.6667%; }
.foswikiGrid.foswikiGutter1 .foswikiCol5 { width: 41.0833%; }
.foswikiGrid.foswikiGutter1 .foswikiCol6 { width: 49.5%; }
.foswikiGrid.foswikiGutter1 .foswikiCol7 { width: 57.9167%; }
.foswikiGrid.foswikiGutter1 .foswikiCol8 { width: 66.3333%; }
.foswikiGrid.foswikiGutter1 .foswikiCol9 { width: 74.75%; }
.foswikiGrid.foswikiGutter1 .foswikiCol10 { width: 83.1667%; }
.foswikiGrid.foswikiGutter1 .foswikiCol11 { width: 91.5833%; }
.foswikiGrid.foswikiGutter1 hr { margin-top:0.3462em;margin-bottom:0.3462em;} /* 4.5px */
.foswikiGrid.foswikiGutter1 .foswikiRow { margin-top:0.3462em;} /* 4.5px */

/* gutter = 2 */
.foswikiGrid.gutter2 .foswikiCol1, .foswikiGrid.gutter2 .foswikiCol2,
.foswikiGrid.gutter2 .foswikiCol3, .foswikiGrid.gutter2 .foswikiCol4,
.foswikiGrid.gutter2 .foswikiCol5, .foswikiGrid.gutter2 .foswikiCol6,
.foswikiGrid.gutter2 .foswikiCol7,.foswikiGrid.gutter2 .foswikiCol8,
.foswikiGrid.gutter2 .foswikiCol9, .foswikiGrid.gutter2 .foswikiCol10,
.foswikiGrid.gutter2 .foswikiCol11 { margin-left:2%; }
.foswikiGrid.gutter2 .border { padding-left: 0.9%; margin-left: 0.9%; }
.foswikiGrid.gutter2 .foswikiCol1 { width: 6.5%; }
.foswikiGrid.gutter2 .foswikiCol2 { width: 15%; }
.foswikiGrid.gutter2 .foswikiCol3 { width: 23.5%; }
.foswikiGrid.gutter2 .foswikiCol4 { width: 32%; }
.foswikiGrid.gutter2 .foswikiCol5 { width: 40.5%; }
.foswikiGrid.gutter2 .foswikiCol6 { width: 49%; }
.foswikiGrid.gutter2 .foswikiCol7 { width: 57.5%; }
.foswikiGrid.gutter2 .foswikiCol8 { width: 66%; }
.foswikiGrid.gutter2 .foswikiCol9 { width: 74.5%; }
.foswikiGrid.gutter2 .foswikiCol10 { width: 83%; }
.foswikiGrid.gutter2 .foswikiCol11 { width: 91.5%; }
.foswikiGrid.gutter2 hr { margin-top:0.6925em; margin-bottom:0.6925em;} /* 9px */
.foswikiGrid.gutter2 .foswikiRow { margin-top:0.6925em;} /* 9px */
.foswikiGrid.foswikiGutter2 .foswikiCol1, .foswikiGrid.foswikiGutter2 .foswikiCol2,
.foswikiGrid.foswikiGutter2 .foswikiCol3, .foswikiGrid.foswikiGutter2 .foswikiCol4,
.foswikiGrid.foswikiGutter2 .foswikiCol5, .foswikiGrid.foswikiGutter2 .foswikiCol6,
.foswikiGrid.foswikiGutter2 .foswikiCol7,.foswikiGrid.foswikiGutter2 .foswikiCol8,
.foswikiGrid.foswikiGutter2 .foswikiCol9, .foswikiGrid.foswikiGutter2 .foswikiCol10,
.foswikiGrid.foswikiGutter2 .foswikiCol11 { margin-left:2%; }
.foswikiGrid.foswikiGutter2 .foswikiBorder { padding-left: 0.9%; margin-left: 0.9%; }
.foswikiGrid.foswikiGutter2 .foswikiCol1 { width: 6.5%; }
.foswikiGrid.foswikiGutter2 .foswikiCol2 { width: 15%; }
.foswikiGrid.foswikiGutter2 .foswikiCol3 { width: 23.5%; }
.foswikiGrid.foswikiGutter2 .foswikiCol4 { width: 32%; }
.foswikiGrid.foswikiGutter2 .foswikiCol5 { width: 40.5%; }
.foswikiGrid.foswikiGutter2 .foswikiCol6 { width: 49%; }
.foswikiGrid.foswikiGutter2 .foswikiCol7 { width: 57.5%; }
.foswikiGrid.foswikiGutter2 .foswikiCol8 { width: 66%; }
.foswikiGrid.foswikiGutter2 .foswikiCol9 { width: 74.5%; }
.foswikiGrid.foswikiGutter2 .foswikiCol10 { width: 83%; }
.foswikiGrid.foswikiGutter2 .foswikiCol11 { width: 91.5%; }
.foswikiGrid.foswikiGutter2 hr { margin-top:0.6925em; margin-bottom:0.6925em;} /* 9px */
.foswikiGrid.foswikiGutter2 .foswikiRow { margin-top:0.6925em;} /* 9px */

/* gutter = 3 */
.foswikiGrid.gutter3 .foswikiCol1, .foswikiGrid.gutter3 .foswikiCol2,
.foswikiGrid.gutter3 .foswikiCol3, .foswikiGrid.gutter3 .foswikiCol4,
.foswikiGrid.gutter3 .foswikiCol5, .foswikiGrid.gutter3 .foswikiCol6,
.foswikiGrid.gutter3 .foswikiCol7,.foswikiGrid.gutter3 .foswikiCol8,
.foswikiGrid.gutter3 .foswikiCol9, .foswikiGrid.gutter3 .foswikiCol10,
.foswikiGrid.gutter3 .foswikiCol11 { margin-left:3%; }
.foswikiGrid.gutter3 .border { padding-left: 1.4%; margin-left: 1.4%; }
.foswikiGrid.gutter3 .foswikiCol1 { width: 5.5833%; }
.foswikiGrid.gutter3 .foswikiCol2 { width: 14.1667%; }
.foswikiGrid.gutter3 .foswikiCol3 { width: 22.75%; }
.foswikiGrid.gutter3 .foswikiCol4 { width: 31.3333%; }
.foswikiGrid.gutter3 .foswikiCol5 { width: 39.9167%; }
.foswikiGrid.gutter3 .foswikiCol6 { width: 48.5%; }
.foswikiGrid.gutter3 .foswikiCol7 { width: 57.0833%; }
.foswikiGrid.gutter3 .foswikiCol8 { width: 65.6667%; }
.foswikiGrid.gutter3 .foswikiCol9 { width: 74.25%; }
.foswikiGrid.gutter3 .foswikiCol10 { width: 82.8333%; }
.foswikiGrid.gutter3 .foswikiCol11 { width: 91.4167%; }
.foswikiGrid.gutter3 hr { margin-top:1.0384em; margin-bottom:1.0384em;} /* 13.5px */
.foswikiGrid.gutter3 .foswikiRow { margin-top:1.0384em;} /* 13.5px */
.foswikiGrid.foswikiGutter3 .foswikiCol1, .foswikiGrid.foswikiGutter3 .foswikiCol2,
.foswikiGrid.foswikiGutter3 .foswikiCol3, .foswikiGrid.foswikiGutter3 .foswikiCol4,
.foswikiGrid.foswikiGutter3 .foswikiCol5, .foswikiGrid.foswikiGutter3 .foswikiCol6,
.foswikiGrid.foswikiGutter3 .foswikiCol7,.foswikiGrid.foswikiGutter3 .foswikiCol8,
.foswikiGrid.foswikiGutter3 .foswikiCol9, .foswikiGrid.foswikiGutter3 .foswikiCol10,
.foswikiGrid.foswikiGutter3 .foswikiCol11 { margin-left:3%; }
.foswikiGrid.foswikiGutter3 .foswikiBorder { padding-left: 1.4%; margin-left: 1.4%; }
.foswikiGrid.foswikiGutter3 .foswikiCol1 { width: 5.5833%; }
.foswikiGrid.foswikiGutter3 .foswikiCol2 { width: 14.1667%; }
.foswikiGrid.foswikiGutter3 .foswikiCol3 { width: 22.75%; }
.foswikiGrid.foswikiGutter3 .foswikiCol4 { width: 31.3333%; }
.foswikiGrid.foswikiGutter3 .foswikiCol5 { width: 39.9167%; }
.foswikiGrid.foswikiGutter3 .foswikiCol6 { width: 48.5%; }
.foswikiGrid.foswikiGutter3 .foswikiCol7 { width: 57.0833%; }
.foswikiGrid.foswikiGutter3 .foswikiCol8 { width: 65.6667%; }
.foswikiGrid.foswikiGutter3 .foswikiCol9 { width: 74.25%; }
.foswikiGrid.foswikiGutter3 .foswikiCol10 { width: 82.8333%; }
.foswikiGrid.foswikiGutter3 .foswikiCol11 { width: 91.4167%; }
.foswikiGrid.foswikiGutter3 hr { margin-top:1.0384em; margin-bottom:1.0384em;} /* 13.5px */
.foswikiGrid.foswikiGutter3 .foswikiRow { margin-top:1.0384em;} /* 13.5px */

/* gutter = 4 */
.foswikiGrid .foswikiCol1, .foswikiGrid .foswikiCol2,
Expand All @@ -134,7 +134,7 @@
.foswikiGrid .foswikiCol7,.foswikiGrid .foswikiCol8,
.foswikiGrid .foswikiCol9, .foswikiGrid .foswikiCol10,
.foswikiGrid .foswikiCol11 { margin-left:4%; }
.foswikiGrid .border { padding-left: 1.9%; margin-left: 1.9%; }
.foswikiGrid .foswikiBorder { padding-left: 1.9%; margin-left: 1.9%; }
.foswikiGrid .foswikiCol1 { width: 4.6667%; }
.foswikiGrid .foswikiCol2 { width: 13.3333%; }
.foswikiGrid .foswikiCol3 { width: 22%; }
Expand All @@ -149,26 +149,26 @@
.foswikiRow { margin-top:1.385em; } /* 18px */

/* gutter = 5 */
.foswikiGrid.gutter5 .foswikiCol1, .foswikiGrid.gutter5 .foswikiCol2,
.foswikiGrid.gutter5 .foswikiCol3, .foswikiGrid.gutter5 .foswikiCol4,
.foswikiGrid.gutter5 .foswikiCol5, .foswikiGrid.gutter5 .foswikiCol6,
.foswikiGrid.gutter5 .foswikiCol7,.foswikiGrid.gutter5 .foswikiCol8,
.foswikiGrid.gutter5 .foswikiCol9, .foswikiGrid.gutter5 .foswikiCol10,
.foswikiGrid.gutter5 .foswikiCol11 { margin-left:5%; }
.foswikiGrid.gutter5 .border { padding-left: 2.4%; margin-left: 2.4%; }
.foswikiGrid.gutter5 .foswikiCol1 { width: 3.75%; }
.foswikiGrid.gutter5 .foswikiCol2 { width: 12.5%; }
.foswikiGrid.gutter5 .foswikiCol3 { width: 21.25%; }
.foswikiGrid.gutter5 .foswikiCol4 { width: 30%; }
.foswikiGrid.gutter5 .foswikiCol5 { width: 38.75%; }
.foswikiGrid.gutter5 .foswikiCol6 { width: 47.5%; }
.foswikiGrid.gutter5 .foswikiCol7 { width: 56.25%; }
.foswikiGrid.gutter5 .foswikiCol8 { width: 65%; }
.foswikiGrid.gutter5 .foswikiCol9 { width: 73.75%; }
.foswikiGrid.gutter5 .foswikiCol10 { width: 82.5%; }
.foswikiGrid.gutter5 .foswikiCol11 { width: 91.25%; }
.foswikiGrid.gutter5 hr { margin-top:1.7307em; margin-bottom:1.7307em; } /* 22.5px */
.foswikiGrid.gutter5 .foswikiRow { margin-top:1.7307em; } /* 22.5px */
.foswikiGrid.foswikiGutter5 .foswikiCol1, .foswikiGrid.foswikiGutter5 .foswikiCol2,
.foswikiGrid.foswikiGutter5 .foswikiCol3, .foswikiGrid.foswikiGutter5 .foswikiCol4,
.foswikiGrid.foswikiGutter5 .foswikiCol5, .foswikiGrid.foswikiGutter5 .foswikiCol6,
.foswikiGrid.foswikiGutter5 .foswikiCol7,.foswikiGrid.foswikiGutter5 .foswikiCol8,
.foswikiGrid.foswikiGutter5 .foswikiCol9, .foswikiGrid.foswikiGutter5 .foswikiCol10,
.foswikiGrid.foswikiGutter5 .foswikiCol11 { margin-left:5%; }
.foswikiGrid.foswikiGutter5 .foswikiBorder { padding-left: 2.4%; margin-left: 2.4%; }
.foswikiGrid.foswikiGutter5 .foswikiCol1 { width: 3.75%; }
.foswikiGrid.foswikiGutter5 .foswikiCol2 { width: 12.5%; }
.foswikiGrid.foswikiGutter5 .foswikiCol3 { width: 21.25%; }
.foswikiGrid.foswikiGutter5 .foswikiCol4 { width: 30%; }
.foswikiGrid.foswikiGutter5 .foswikiCol5 { width: 38.75%; }
.foswikiGrid.foswikiGutter5 .foswikiCol6 { width: 47.5%; }
.foswikiGrid.foswikiGutter5 .foswikiCol7 { width: 56.25%; }
.foswikiGrid.foswikiGutter5 .foswikiCol8 { width: 65%; }
.foswikiGrid.foswikiGutter5 .foswikiCol9 { width: 73.75%; }
.foswikiGrid.foswikiGutter5 .foswikiCol10 { width: 82.5%; }
.foswikiGrid.foswikiGutter5 .foswikiCol11 { width: 91.25%; }
.foswikiGrid.foswikiGutter5 hr { margin-top:1.7307em; margin-bottom:1.7307em; } /* 22.5px */
.foswikiGrid.foswikiGutter5 .foswikiRow { margin-top:1.7307em; } /* 22.5px */

.foswikiRow:first-child {
margin-top:0px !important;
Expand Down Expand Up @@ -206,12 +206,12 @@
.foswikiGrid .foswikiCol11,
.foswikiGrid .foswikiCol12 {
float:none;
width:100%;
padding-left:0;
width:100% !important;
padding-left:0 !important;
min-height:0;
margin:1.385em 0 0 0;
margin:1.385em 0 0 0 !important;
}
.foswikiGrid .border {
.foswikiGrid .foswikiBorder {
border-left-width:0;
border-top-width:1px;
padding-top:1.385em;
Expand Down

0 comments on commit 08d7fc2

Please sign in to comment.