persistentgrid 0.0.1.beta.1

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.
Files changed (129) hide show
  1. data/README.md +5 -0
  2. data/lib/persistentgrid.rb +4 -0
  3. data/scss/pg/_helpers.scss +7 -0
  4. data/scss/pg/base/_all.scss +9 -0
  5. data/scss/pg/base/_behavior.scss +10 -0
  6. data/scss/pg/base/_helpers.scss +9 -0
  7. data/scss/pg/base/_settings.scss +10 -0
  8. data/scss/pg/base/baserules/_all.scss +8 -0
  9. data/scss/pg/base/baserules/_behavior.scss +125 -0
  10. data/scss/pg/base/baserules/_settings.scss +39 -0
  11. data/scss/pg/base/reset/_all.scss +9 -0
  12. data/scss/pg/base/reset/_behavior.scss +108 -0
  13. data/scss/pg/base/reset/_helpers.scss +7 -0
  14. data/scss/pg/base/reset/_settings.scss +27 -0
  15. data/scss/pg/base/reset/helpers/_all.scss +7 -0
  16. data/scss/pg/base/reset/helpers/_mixins.scss +395 -0
  17. data/scss/pg/base/typography/_all.scss +9 -0
  18. data/scss/pg/base/typography/_behavior.scss +31 -0
  19. data/scss/pg/base/typography/_helpers.scss +7 -0
  20. data/scss/pg/base/typography/_settings.scss +52 -0
  21. data/scss/pg/base/typography/helpers/_all.scss +8 -0
  22. data/scss/pg/base/typography/helpers/_functions.scss +160 -0
  23. data/scss/pg/base/typography/helpers/_mixins.scss +121 -0
  24. data/scss/pg/grid/_all.scss +9 -0
  25. data/scss/pg/grid/_behavior.scss +51 -0
  26. data/scss/pg/grid/_helpers.scss +8 -0
  27. data/scss/pg/grid/_settings.scss +48 -0
  28. data/scss/pg/grid/helpers/_functions.scss +140 -0
  29. data/scss/pg/grid/helpers/_mixins.scss +247 -0
  30. data/scss/pg/helpers/_all.scss +11 -0
  31. data/scss/pg/helpers/_colors.scss +163 -0
  32. data/scss/pg/helpers/_fonts.scss +21 -0
  33. data/scss/pg/helpers/_functions.scss +91 -0
  34. data/scss/pg/helpers/_mixins.scss +7 -0
  35. data/scss/pg/helpers/_settings.scss +11 -0
  36. data/scss/pg/helpers/fonts/_bree-serif.scss +27 -0
  37. data/scss/pg/helpers/fonts/_example.scss +47 -0
  38. data/scss/pg/helpers/fonts/_lato.scss +36 -0
  39. data/scss/pg/helpers/fonts/_monospace.scss +43 -0
  40. data/scss/pg/helpers/fonts/_raleway.scss +35 -0
  41. data/scss/pg/helpers/fonts/_righteous.scss +27 -0
  42. data/scss/pg/helpers/fonts/_roboto.scss +38 -0
  43. data/scss/pg/helpers/fonts/_sans-serif.scss +43 -0
  44. data/scss/pg/helpers/fonts/_serif.scss +43 -0
  45. data/scss/pg/helpers/fonts/_sofia-pro.scss +44 -0
  46. data/scss/pg/helpers/fonts/_varela-round.scss +28 -0
  47. data/scss/pg/helpers/fonts/icon-fonts/_fontawesome.scss +34 -0
  48. data/scss/pg/helpers/fonts/icon-fonts/_foundation-accessability.scss +76 -0
  49. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_bootstrap.scss +84 -0
  50. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_core.scss +129 -0
  51. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_extras.scss +93 -0
  52. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_icons.scss +381 -0
  53. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_mixins.scss +48 -0
  54. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_path.scss +14 -0
  55. data/scss/pg/helpers/fonts/icon-fonts/fontawesome/_variables.scss +734 -0
  56. data/scss/pg/helpers/fonts/icon-fonts/foundation-accessability/_settings.scss +28 -0
  57. data/scss/pg/helpers/library/_lists.scss +462 -0
  58. data/scss/pg/helpers/mixins/_all.scss +15 -0
  59. data/scss/pg/helpers/mixins/_anchors.scss +125 -0
  60. data/scss/pg/helpers/mixins/_baseline.scss +53 -0
  61. data/scss/pg/helpers/mixins/_breakpoints.scss +35 -0
  62. data/scss/pg/helpers/mixins/_content.scss +19 -0
  63. data/scss/pg/helpers/mixins/_css-triangle.scss +70 -0
  64. data/scss/pg/helpers/mixins/_elements.scss +106 -0
  65. data/scss/pg/helpers/mixins/_module.scss +327 -0
  66. data/scss/pg/helpers/mixins/_text.scss +87 -0
  67. data/scss/pg/helpers/mixins/_units.scss +67 -0
  68. data/scss/pg/helpers/settings/_all.scss +7 -0
  69. data/scss/pg/helpers/settings/_breakpoints.scss +21 -0
  70. data/scss/pg/modules/_all.scss +9 -0
  71. data/scss/pg/modules/_behavior.scss +13 -0
  72. data/scss/pg/modules/_helpers.scss +13 -0
  73. data/scss/pg/modules/_settings.scss +13 -0
  74. data/scss/pg/modules/accordions/_all.scss +8 -0
  75. data/scss/pg/modules/accordions/_behavior.scss +5 -0
  76. data/scss/pg/modules/accordions/_helpers.scss +5 -0
  77. data/scss/pg/modules/accordions/_settings.scss +4 -0
  78. data/scss/pg/modules/buttons/_all.scss +8 -0
  79. data/scss/pg/modules/buttons/_behavior.scss +89 -0
  80. data/scss/pg/modules/buttons/_helpers.scss +7 -0
  81. data/scss/pg/modules/buttons/_settings.scss +153 -0
  82. data/scss/pg/modules/buttons/helpers/_mixins.scss +33 -0
  83. data/scss/pg/modules/forms/_all.scss +8 -0
  84. data/scss/pg/modules/forms/_behavior.bak.scss +215 -0
  85. data/scss/pg/modules/forms/_behavior.scss +215 -0
  86. data/scss/pg/modules/forms/_helpers.scss +8 -0
  87. data/scss/pg/modules/forms/_settings.scss +10 -0
  88. data/scss/pg/modules/forms/helpers/_mixins.scss +94 -0
  89. data/scss/pg/modules/forms/settings/forms.scss +19 -0
  90. data/scss/pg/modules/forms/settings/input.scss +256 -0
  91. data/scss/pg/modules/forms/settings/labels.scss +101 -0
  92. data/scss/pg/modules/lists/_all.scss +9 -0
  93. data/scss/pg/modules/lists/_behavior.scss +99 -0
  94. data/scss/pg/modules/lists/_helpers.scss +11 -0
  95. data/scss/pg/modules/lists/_settings.scss +49 -0
  96. data/scss/pg/modules/tables/_all.scss +8 -0
  97. data/scss/pg/modules/tables/_behavior.scss +79 -0
  98. data/scss/pg/modules/tables/_helpers.scss +7 -0
  99. data/scss/pg/modules/tables/_settings.scss +69 -0
  100. data/scss/pg/modules/tables/helpers/_mixins.scss +9 -0
  101. data/scss/pg/modules/tabs/_all.scss +8 -0
  102. data/scss/pg/modules/tabs/_behavior.scss +77 -0
  103. data/scss/pg/modules/tabs/_helpers.scss +7 -0
  104. data/scss/pg/modules/tabs/_settings.scss +8 -0
  105. data/scss/pg/modules/tabs/helpers/_mixins.scss +4 -0
  106. data/scss/pg/skins/_crossinghippos.scss +8 -0
  107. data/scss/pg/skins/crossinghippos/_all.scss +9 -0
  108. data/scss/pg/skins/crossinghippos/_behavior.scss +10 -0
  109. data/scss/pg/skins/crossinghippos/_helpers.scss +8 -0
  110. data/scss/pg/skins/crossinghippos/_settings.scss +9 -0
  111. data/scss/pg/skins/crossinghippos/buttons/_all.scss +9 -0
  112. data/scss/pg/skins/crossinghippos/buttons/_behavior.scss +25 -0
  113. data/scss/pg/skins/crossinghippos/buttons/_helpers.scss +7 -0
  114. data/scss/pg/skins/crossinghippos/buttons/_settings.scss +50 -0
  115. data/scss/pg/skins/crossinghippos/forms/_all.scss +9 -0
  116. data/scss/pg/skins/crossinghippos/forms/_base.scss +7 -0
  117. data/scss/pg/skins/crossinghippos/forms/_behavior.scss +259 -0
  118. data/scss/pg/skins/crossinghippos/forms/_settings.scss +29 -0
  119. data/scss/pg/skins/crossinghippos/linkbar/_all.scss +8 -0
  120. data/scss/pg/skins/crossinghippos/linkbar/_behavior.scss +73 -0
  121. data/scss/pg/skins/crossinghippos/linkbar/_helpers.scss +5 -0
  122. data/scss/pg/skins/crossinghippos/linkbar/_settings.scss +27 -0
  123. data/templates/base/manifest.rb +15 -0
  124. data/templates/base/screen.scss +39 -0
  125. data/templates/grid/manifest.rb +15 -0
  126. data/templates/grid/screen.scss +36 -0
  127. data/templates/modules/manifest.rb +15 -0
  128. data/templates/modules/screen.scss +44 -0
  129. metadata +210 -0
data/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # The Persistent Grid
2
+
3
+ Persistent Grid is pre-alpha.
4
+
5
+ More info can be found here: [http://www.persistentgrid.com](http://www.persistentgrid.com)
@@ -0,0 +1,4 @@
1
+ require 'compass'
2
+ Compass::Frameworks.register('persistentgrid',
3
+ :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'scss'),
4
+ :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates'))
@@ -0,0 +1,7 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ @import "helpers/all";
@@ -0,0 +1,9 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ @import "helpers";
8
+ @import "settings";
9
+ @import "behavior";
@@ -0,0 +1,10 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ // This order is important
8
+ @import "reset/behavior";
9
+ @import "typography/behavior";
10
+ @import "baserules/behavior";
@@ -0,0 +1,9 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ // This order is important
8
+ @import "reset/helpers";
9
+ @import "typography/helpers";
@@ -0,0 +1,10 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ // This order is important
8
+ @import "reset/settings";
9
+ @import "typography/settings";
10
+ @import "baserules/settings";
@@ -0,0 +1,8 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ @import "settings";
8
+ @import "behavior";
@@ -0,0 +1,125 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+
8
+ // ==========================================================================
9
+ // Anchors
10
+ // ==========================================================================
11
+
12
+ // a {
13
+ // color: $anchor-color;
14
+ // &:hover {
15
+ // @extend .is-a-hover;
16
+ // }
17
+ // &:active {
18
+ // @extend .is-a-active;
19
+ // }
20
+ // &:visited {
21
+ // // @extend .is-a-visited;
22
+ // }
23
+ // }
24
+
25
+ // .is-a-hover {
26
+ // color: $anchor-color-hover;
27
+ // }
28
+ // .is-a-active {
29
+ // color: $anchor-color-active;
30
+ // }
31
+ // .is-a-visited {
32
+ // color: $anchor-color-visited;
33
+ // }
34
+
35
+ @include anchor-color(a, $anchor-color, $anchor-color-hover, $anchor-color-active, $anchor-color-visited, true);
36
+
37
+ // ==========================================================================
38
+ // Headings
39
+ // ==========================================================================
40
+
41
+ h1,
42
+ h2,
43
+ h3,
44
+ h4,
45
+ h5,
46
+ h6 {
47
+ @extend %heading !optional;
48
+ }
49
+
50
+ %heading {
51
+ @if extract-type-family($type-heading) != extract-type-family($type-default){
52
+ @include font-family($type-heading);
53
+ }
54
+ @if extract-type-weight($type-heading) != extract-type-weight($type-default){
55
+ @include font-weight($type-heading);
56
+ }
57
+ }
58
+
59
+
60
+ // ==========================================================================
61
+ // Miscellaneous
62
+ // ==========================================================================
63
+
64
+ abbr[title] {
65
+ border-bottom: 1px dotted;
66
+ }
67
+ hr {
68
+ @include box-sizing(content-box);
69
+ height: 0;
70
+ }
71
+ code,
72
+ kbd,
73
+ pre,
74
+ samp {
75
+ @include font-family($monospace-regular);
76
+ font-size: 1em;
77
+ }
78
+ pre {
79
+ white-space: pre-wrap;
80
+ }
81
+ small {
82
+ font-size: 80%;
83
+ }
84
+ sub,
85
+ sup {
86
+ font-size: 75%;
87
+ line-height: 0;
88
+ position: relative;
89
+ vertical-align: baseline;
90
+ }
91
+ sup {
92
+ top: -0.5em;
93
+ }
94
+ sub {
95
+ bottom: -0.25em;
96
+ }
97
+
98
+ @if $base-quote-quotes
99
+ {
100
+ /**
101
+ * Set consistent quote types.
102
+ */
103
+
104
+ q {
105
+ quotes: "\201C" "\201D" "\2018" "\2019";
106
+ }
107
+ }
108
+
109
+
110
+ // ==========================================================================
111
+ // States
112
+ // ==========================================================================
113
+
114
+ .is-hidden {
115
+ @include is-hidden;
116
+ }
117
+ .is-not-hidden {
118
+ @include is-not-hidden;
119
+ }
120
+ .is-visible {
121
+ @include is-visible;
122
+ }
123
+ .is-not-visible {
124
+ @include is-not-visible;
125
+ }
@@ -0,0 +1,39 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+
8
+ // ==========================================================================
9
+ // Colors
10
+ // ==========================================================================
11
+
12
+ $color-background: $white !default;
13
+ $color-body: $black !default;
14
+ $color-theme: $grey !default;
15
+ $color-primary: $violet !default;
16
+ $color-attn-one: $orange !default;
17
+ $color-success: $green !default;
18
+ $color-info: $yellow !default;
19
+ $color-warning: $orange !default;
20
+ $color-error: $red !default;
21
+
22
+ $anchor-color: $color-primary !default;
23
+ $anchor-color-hover: darken($anchor-color, 20%) !default;
24
+ $anchor-color-active: lighten($anchor-color, 15%) !default;
25
+ $anchor-color-visited: darken($anchor-color, 30%) !default;
26
+
27
+
28
+ // ==========================================================================
29
+ // Border Radius
30
+ // ==========================================================================
31
+
32
+ $corner-radius: 0 !default;
33
+
34
+
35
+ // ==========================================================================
36
+ // Quotes
37
+ // ==========================================================================
38
+
39
+ $base-quote-quotes: true !default;
@@ -0,0 +1,9 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ @import "settings";
8
+ @import "helpers";
9
+ @import "behavior";
@@ -0,0 +1,108 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // *
5
+ // * Based on Eric Meyer's Reset and Nicolas Gallagher and Jonathan Neal's Normalize.css.
6
+ // * https://github.com/necolas/normalize.css/blob/master/LICENSE.md
7
+ // *
8
+ // * More info on Reset can be found here: http://meyerweb.com/eric/tools/css/reset/
9
+ // * More info on Normalize.css can be found here: http://necolas.github.io/normalize.css/
10
+ // */
11
+ @if $trace-imports { @debug 'imported'; }
12
+
13
+
14
+ @if $reset-box-model OR $reset-box-sizing OR $reset-font OR $reset-text-rendering {
15
+
16
+ html, body, div, span, applet, object, iframe,
17
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
18
+ a, abbr, acronym, address, big, cite, code,
19
+ del, dfn, em, img, ins, kbd, q, s, samp,
20
+ small, strike, strong, sub, sup, tt, var,
21
+ b, u, i, center,
22
+ dl, dt, dd, ol, ul, li,
23
+ fieldset, form, label, legend,
24
+ table, caption, tbody, tfoot, thead, tr, th, td,
25
+ article, aside, canvas, details, embed,
26
+ figure, figcaption, footer, header, hgroup,
27
+ menu, nav, output, ruby, section, summary,
28
+ time, mark, audio, video {
29
+ @if $reset-box-model {
30
+
31
+ /*
32
+ * Reset margin, padding and border
33
+ */
34
+
35
+ @include reset-box-model;
36
+ }
37
+ @if $reset-box-sizing {
38
+ @include reset-box-sizing;
39
+ }
40
+ @if $reset-font {
41
+
42
+ /*
43
+ * Make sure these elements inherit any font settings from their parent
44
+ */
45
+
46
+ @include reset-font;
47
+ }
48
+ @if $reset-text-rendering {
49
+ @include reset-text-rendering;
50
+ }
51
+ }
52
+ }
53
+
54
+ @if $reset-baseline {
55
+ @include reset-baseline;
56
+ }
57
+
58
+ @if $reset-html-background OR $reset-ios {
59
+ html {
60
+ @if $reset-html-background {
61
+ @include reset-html-background;
62
+ }
63
+ @if $reset-ios {
64
+ @include reset-ios;
65
+ }
66
+ }
67
+ }
68
+
69
+ @if $reset-html5 {
70
+ @include reset-html5;
71
+ }
72
+
73
+ @if $reset-anchor {
74
+ @include reset-anchor;
75
+ }
76
+
77
+ @if $reset-media {
78
+ @include reset-media;
79
+ }
80
+
81
+ @if $reset-list-style {
82
+ ol,
83
+ ul {
84
+ @include reset-list-style;
85
+ }
86
+ }
87
+
88
+ @if $reset-table {
89
+ table {
90
+ @include reset-table;
91
+ }
92
+ }
93
+
94
+ @if $reset-table-cell {
95
+ caption, th, td {
96
+ @include reset-table-cell;
97
+ }
98
+ }
99
+
100
+ @if $reset-input {
101
+ @include reset-input;
102
+ }
103
+
104
+ @if $reset-quotation {
105
+ blockquote, q {
106
+ @include reset-quotation;
107
+ }
108
+ }
@@ -0,0 +1,7 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ @import "helpers/all";
@@ -0,0 +1,27 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+
8
+ // ================================================================================================================================
9
+ // Reset settings
10
+ // ================================================================================================================================
11
+
12
+ $reset-box-model : true !default;
13
+ $reset-box-sizing : true !default;
14
+ $reset-font : true !default;
15
+ $reset-text-rendering : true !default;
16
+ $reset-html-background : true !default;
17
+ $reset-baseline : true !default;
18
+ $reset-ios : true !default;
19
+ $reset-html5 : true !default;
20
+ $reset-anchor : true !default;
21
+ $reset-media : true !default;
22
+ $reset-list-style : true !default;
23
+ $reset-table : true !default;
24
+ $reset-table-cell : true !default;
25
+ $reset-input : true !default;
26
+ $reset-quotation : false !default;
27
+
@@ -0,0 +1,7 @@
1
+ // /**
2
+ // * Copyright (C) 2013 Crossing Hippos - Babs Gösgens. All rights reserved.
3
+ // * Licensed under GNU General Public License version 2 or later; see LICENSE.txt
4
+ // */
5
+ @if $trace-imports { @debug 'imported'; }
6
+
7
+ @import "mixins";