persistentgrid 0.0.1.beta.8 → 0.0.1.beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/scss/pg/grid/_behavior.scss
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
@include column-width(1/1);
|
30
30
|
}
|
31
31
|
|
32
|
-
//
|
32
|
+
// Render columns
|
33
33
|
@each $fraction in $column-widths {
|
34
34
|
$name: fraction-to-text($fraction);
|
35
35
|
@if $name {
|
@@ -43,7 +43,6 @@
|
|
43
43
|
.push-#{$name} {
|
44
44
|
@include push($fraction);
|
45
45
|
}
|
46
|
-
// Source Ordering
|
47
46
|
.pull-#{$name} {
|
48
47
|
@include pull($fraction);
|
49
48
|
}
|
data/scss/pg/grid/_settings.scss
CHANGED
@@ -5,30 +5,6 @@
|
|
5
5
|
@if $trace-imports { @debug 'imported'; }
|
6
6
|
|
7
7
|
|
8
|
-
// BASE SETTINGS
|
9
|
-
// ================================================================================================================================
|
10
|
-
// Required settings for a stand-alone implementation of the grid
|
11
|
-
// ================================================================================================================================
|
12
|
-
|
13
|
-
$base-line-height: 24px !default;
|
14
|
-
// $base-line-height is used to calculate the column spacing
|
15
|
-
|
16
|
-
$apply-border-box: false !default;
|
17
|
-
// When using the grid stand-alon, $reset-box-model should be set to true,
|
18
|
-
// unless you plan to wrap your columns in a padded container for compatibility
|
19
|
-
// with Microsoft Explorer <8 and Opera <10.
|
20
|
-
|
21
|
-
|
22
|
-
// ROOT SETTINGS
|
23
|
-
// ================================================================================================================================
|
24
|
-
// Set a max width on a root container of your choice, the content will not stretch beyond this width.
|
25
|
-
// The root container can be positioned left or center, for alternate position you can provide your own behavior.
|
26
|
-
// ================================================================================================================================
|
27
|
-
$root-selector: ".root" !default;
|
28
|
-
$root-max-width: 1152px !default;
|
29
|
-
$root-position: center !default;
|
30
|
-
|
31
|
-
|
32
8
|
// COLUMN SETTINGS
|
33
9
|
// ================================================================================================================================
|
34
10
|
// Set a max width on a root container of your choice, the content will not stretch beyond this width.
|
@@ -46,3 +22,27 @@
|
|
46
22
|
$negative-right-margin: false !default;
|
47
23
|
// If you cannot control your markup, you can assign a negative right margin to close gaps between columns to make tem fit
|
48
24
|
// This is a hack and not nescessary when your html (or column markup) is minimized.
|
25
|
+
|
26
|
+
|
27
|
+
// ROOT SETTINGS
|
28
|
+
// ================================================================================================================================
|
29
|
+
// Set a max width on a root container of your choice, the content will not stretch beyond this width.
|
30
|
+
// The root container can be positioned left or center, for alternate position you can provide your own behavior.
|
31
|
+
// ================================================================================================================================
|
32
|
+
$root-selector: ".root" !default;
|
33
|
+
$root-max-width: 72em !default;
|
34
|
+
$root-position: center !default;
|
35
|
+
|
36
|
+
|
37
|
+
// BASE SETTINGS
|
38
|
+
// ================================================================================================================================
|
39
|
+
// Required settings for a stand-alone implementation of the grid
|
40
|
+
// ================================================================================================================================
|
41
|
+
|
42
|
+
$base-line-height: 24px !default;
|
43
|
+
// $base-line-height is used to calculate the column spacing
|
44
|
+
|
45
|
+
$apply-border-box: false !default;
|
46
|
+
// When using the grid stand-alon, $reset-box-model should be set to true,
|
47
|
+
// unless you plan to wrap your columns in a padded container for compatibility
|
48
|
+
// with Microsoft Explorer <8 and Opera <10.
|
@@ -228,8 +228,8 @@
|
|
228
228
|
// ==========================================================================
|
229
229
|
// Mixin to reverse padding on a container
|
230
230
|
// --------------------------------------------------------------------------
|
231
|
-
// Use it to remove padded column spacing on columns
|
232
|
-
//
|
231
|
+
// Use it to remove padded column spacing on columns,
|
232
|
+
// helpful when nesting columns
|
233
233
|
// --------------------------------------------------------------------------
|
234
234
|
// @param (string) $fraction
|
235
235
|
// @param (boolean) $persistent
|
@@ -26,6 +26,12 @@ $trace-imports: false;
|
|
26
26
|
// ==========================================================================
|
27
27
|
@import "pg/base/settings";
|
28
28
|
@import "pg/grid/settings";
|
29
|
+
|
30
|
+
// See: pg/grid/settings
|
31
|
+
// These settings are nescessary in a stand-alone implementation of Grid
|
32
|
+
$base-line-height: 24px;
|
33
|
+
$apply-border-box: true;
|
34
|
+
|
29
35
|
// Your project settings and overrides //
|
30
36
|
|
31
37
|
// ==========================================================================
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: persistentgrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196409
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 1
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 0.0.1.beta.
|
11
|
+
- 9
|
12
|
+
version: 0.0.1.beta.9
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Babs Gosgens
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2013-
|
20
|
+
date: 2013-09-07 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: compass
|