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
@@ -0,0 +1,256 @@
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
+ // Input base class
10
+ // ==========================================================================
11
+
12
+ $input-base-class: "input" !default;
13
+
14
+
15
+ // ==========================================================================
16
+ // Input default properties
17
+ // ==========================================================================
18
+
19
+ $input-field-class: $input-base-class + '-field' !default;
20
+ $input-width: 100%;
21
+ $input-height: $base-line-height;
22
+
23
+
24
+ // -----------------------------------------------------------------------
25
+ // Input margin (top, right, left, bottom)
26
+ // -----------------------------------------------------------------------
27
+
28
+ $input-margin-top: 0 !default;
29
+ $input-margin-right: 0 !default;
30
+ $input-margin-bottom: 0 !default;
31
+ $input-margin-left: 0 !default;
32
+ $input-margin:
33
+ $input-margin-top
34
+ $input-margin-right
35
+ $input-margin-bottom
36
+ $input-margin-left
37
+ !default;
38
+
39
+
40
+ // -----------------------------------------------------------------------
41
+ // Input padding (top, right, left, bottom)
42
+ // -----------------------------------------------------------------------
43
+
44
+ $input-padding-top: vertical-rhythm(.25) !default;
45
+ $input-padding-right: horizontal-rhythm(1/2) !default;
46
+ $input-padding-bottom: vertical-rhythm(.25) !default;
47
+ $input-padding-left: horizontal-rhythm(1/2) !default;
48
+ $input-padding:
49
+ $input-padding-top
50
+ $input-padding-right
51
+ $input-padding-bottom
52
+ $input-padding-left
53
+ !default;
54
+
55
+
56
+ // -----------------------------------------------------------------------
57
+ // Input background (background-color, background-image)
58
+ // -----------------------------------------------------------------------
59
+
60
+ $input-background-color: $color-background !default;
61
+ $input-background-image: false !default;
62
+ $input-background:
63
+ $input-background-color
64
+ $input-background-image
65
+ !default;
66
+
67
+
68
+ // -----------------------------------------------------------------------
69
+ // Input border (top, right, left, bottom)
70
+ // -----------------------------------------------------------------------
71
+
72
+ $input-border-width: 1px !default;
73
+ $input-border-style: solid !default;
74
+ $input-border-color: darken($color-background, 30%) !default;
75
+ $input-border:
76
+ $input-border-width
77
+ $input-border-style
78
+ $input-border-color
79
+ !default;
80
+
81
+
82
+ // -----------------------------------------------------------------------
83
+ // Input corner (top-left, top-right, bottom-left, bottom-right)
84
+ // -----------------------------------------------------------------------
85
+
86
+ $input-border-radius-top-left: $corner-radius !default;
87
+ $input-border-radius-top-right: $corner-radius !default;
88
+ $input-border-radius-bottom-right: $corner-radius !default;
89
+ $input-border-radius-bottom-left: $corner-radius !default;
90
+ $input-border-radius: $corner-radius !default;
91
+
92
+
93
+ // -----------------------------------------------------------------------
94
+ // Input shadow (box-shadow, inner-shadow)
95
+ // -----------------------------------------------------------------------
96
+
97
+ $input-shadow-box: $color-body 1px 1px 2px 0 !default;
98
+ $input-shadow-inner: darken($input-background-color, 10%) 1px 1px 1px 0 inset !default;
99
+ $input-shadow:
100
+ $input-shadow-inner
101
+ !default;
102
+
103
+
104
+ // -----------------------------------------------------------------------
105
+ // Input text (color, shadow, align, decoration)
106
+ // -----------------------------------------------------------------------
107
+
108
+ $input-text-color: $color-body !default;
109
+ $input-text-shadow: false !default;
110
+ $input-text-align: left !default;
111
+ $input-text-decoration: none !default;
112
+ $input-text:
113
+ $input-text-color
114
+ $input-text-shadow
115
+ $input-text-align
116
+ $input-text-decoration
117
+ !default;
118
+
119
+
120
+ // -----------------------------------------------------------------------
121
+ // Input type (type, size, leading)
122
+ // -----------------------------------------------------------------------
123
+
124
+ $input-type-type: $type-default !default;
125
+ $input-type-size: $base-font-size !default;
126
+ $input-type-rhythm: 1 !default;
127
+ $input-type:
128
+ $input-type-type
129
+ $input-type-size
130
+ $input-type-rhythm
131
+ !default;
132
+
133
+
134
+ // ==========================================================================
135
+ // Input Color properties
136
+ // ==========================================================================
137
+
138
+ $input-color-class: $input-base-class + '-color' !default;
139
+ $input-color-width: false;
140
+
141
+
142
+ // ==========================================================================
143
+ // Input Range properties
144
+ // ==========================================================================
145
+
146
+ $input-range-class: $input-base-class + '-range' !default;
147
+ $input-range-width: 100%;
148
+
149
+
150
+ // ==========================================================================
151
+ // Input Search properties
152
+ // ==========================================================================
153
+
154
+ $input-search-class: $input-base-class + '-search' !default;
155
+ $input-search-border-radius: $input-border-radius;
156
+
157
+
158
+ // ==========================================================================
159
+ // Input Checkbox/Radio properties
160
+ // ==========================================================================
161
+
162
+ $input-check-class: $input-base-class + '-check' !default;
163
+
164
+
165
+ // ==========================================================================
166
+ // Textarea properties
167
+ // ==========================================================================
168
+
169
+ $textarea-class: $input-base-class + '-textarea' !default;
170
+
171
+
172
+ // ==========================================================================
173
+ // Select properties
174
+ // ==========================================================================
175
+
176
+ $select-dropdown-class: $input-base-class + '-dropdown' !default;
177
+ $select-multiple-class: $input-base-class + '-selectbox' !default;
178
+
179
+ $select-appearance-default: true;
180
+ $select-webkit: false;
181
+
182
+
183
+ // ==========================================================================
184
+ // Input focus properties
185
+ // ==========================================================================
186
+
187
+
188
+ // -----------------------------------------------------------------------
189
+ // Input background (background-color, background-image)
190
+ // -----------------------------------------------------------------------
191
+
192
+ $input-focussed-background-color: $whitesmoke !default;
193
+ $input-focussed-background-image: linear-gradient(lighten($input-focussed-background-color,5), darken($input-focussed-background-color,5)) !default;
194
+ $input-focussed-background:
195
+ $input-focussed-background-color
196
+ false
197
+ !default;
198
+
199
+
200
+ // -----------------------------------------------------------------------
201
+ // Input border (top, right, left, bottom)
202
+ // -----------------------------------------------------------------------
203
+
204
+ $input-focussed-border-width: false !default; // Inherit
205
+ $input-focussed-border-style: false !default; // Inherit
206
+ $input-focussed-border-color: $color-primary !default;
207
+ $input-focussed-border:
208
+ $input-focussed-border-width
209
+ $input-focussed-border-style
210
+ $input-focussed-border-color
211
+ !default;
212
+
213
+
214
+ // -----------------------------------------------------------------------
215
+ // Input outline (top, right, left, bottom)
216
+ // -----------------------------------------------------------------------
217
+
218
+ $input-focussed-outline-border: none !default;
219
+ $input-focussed-outline-offset: if($input-focussed-outline-border==none, false, 0) !default; // disable Safari's default - we're using box-shadows cross-browser
220
+ $input-focussed-outline:
221
+ $input-focussed-outline-border
222
+ $input-focussed-outline-offset
223
+ !default;
224
+
225
+ // -----------------------------------------------------------------------
226
+ // Input corner (top-left, top-right, bottom-left, bottom-right)
227
+ // -----------------------------------------------------------------------
228
+
229
+ $input-focussed-border-radius: false !default;
230
+
231
+
232
+ // -----------------------------------------------------------------------
233
+ // Input shadow (box-shadow, inner-shadow)
234
+ // -----------------------------------------------------------------------
235
+
236
+ $input-focussed-shadow-box: 0 0 4px $input-focussed-border-color !default;
237
+ $input-focussed-shadow-inner: false !default;
238
+ $input-focussed-shadow:
239
+ $input-focussed-shadow-box
240
+ !default;
241
+
242
+
243
+ // -----------------------------------------------------------------------
244
+ // Input text (color, shadow, align, decoration)
245
+ // -----------------------------------------------------------------------
246
+
247
+ $input-focussed-text-color: $color-body !default;
248
+ $input-focussed-text-shadow: false !default;
249
+ $input-focussed-text-align: left !default;
250
+ $input-focussed-text-decoration: none !default;
251
+ $input-focussed-text:
252
+ $input-focussed-text-color
253
+ $input-focussed-text-shadow
254
+ $input-focussed-text-align
255
+ $input-focussed-text-decoration
256
+ !default;
@@ -0,0 +1,101 @@
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
+ // Label base selector
10
+ // ==========================================================================
11
+
12
+ $label-base-class: "label" !default;
13
+
14
+
15
+
16
+ // ==========================================================================
17
+ // Label default properties
18
+ // ==========================================================================
19
+
20
+ $label-width: 100%;
21
+
22
+
23
+ // -----------------------------------------------------------------------
24
+ // Label margin (top, right, left, bottom)
25
+ // -----------------------------------------------------------------------
26
+
27
+ $label-margin: $input-margin !default;
28
+
29
+
30
+ // -----------------------------------------------------------------------
31
+ // Label padding (top, right, left, bottom)
32
+ // -----------------------------------------------------------------------
33
+
34
+ $label-padding-top: vertical-rhythm(.25) !default;
35
+ $label-padding-right: 0 !default;
36
+ $label-padding-bottom: vertical-rhythm(.25) !default;
37
+ $label-padding-left: 0 !default;
38
+ $label-padding:
39
+ $label-padding-top
40
+ $label-padding-right
41
+ $label-padding-bottom
42
+ $label-padding-left
43
+ !default;
44
+
45
+
46
+ // -----------------------------------------------------------------------
47
+ // Label background (background-color, background-image)
48
+ // -----------------------------------------------------------------------
49
+
50
+ $label-background: false !default;
51
+
52
+
53
+ // -----------------------------------------------------------------------
54
+ // Label border (top, right, left, bottom)
55
+ // -----------------------------------------------------------------------
56
+
57
+ $label-border: false !default;
58
+
59
+
60
+ // -----------------------------------------------------------------------
61
+ // Label corner (top-left, top-right, bottom-left, bottom-right)
62
+ // -----------------------------------------------------------------------
63
+
64
+ $label-border-radius: false !default;
65
+
66
+
67
+ // -----------------------------------------------------------------------
68
+ // Label shadow (box-shadow, inner-shadow)
69
+ // -----------------------------------------------------------------------
70
+
71
+ $label-shadow: false !default;
72
+
73
+
74
+ // -----------------------------------------------------------------------
75
+ // Label text (color, shadow, align, decoration)
76
+ // -----------------------------------------------------------------------
77
+
78
+ $label-text-color: $color-body !default;
79
+ $label-text-shadow: false !default;
80
+ $label-text-align: left !default;
81
+ $label-text-decoration: none !default;
82
+ $label-text:
83
+ $label-text-color
84
+ $label-text-shadow
85
+ $label-text-align
86
+ $label-text-decoration
87
+ !default;
88
+
89
+
90
+ // -----------------------------------------------------------------------
91
+ // Label type (type, size, leading)
92
+ // -----------------------------------------------------------------------
93
+
94
+ $label-type-type: $type-default !default;
95
+ $label-type-size: $base-font-size !default;
96
+ $label-type-rhythm: 1 !default;
97
+ $label-type:
98
+ $label-type-type
99
+ $label-type-size
100
+ $label-type-rhythm
101
+ !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,99 @@
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
+ // List defaults
10
+ // ==========================================================================
11
+
12
+ ol {
13
+ &.#{$list-base-class} {
14
+ @extend .#{$list-base-class}-#{$list-ol-default};
15
+ }
16
+ }
17
+ ul {
18
+ &.#{$list-base-class} {
19
+ @extend .#{$list-base-class}-#{$list-ul-default};
20
+ }
21
+ }
22
+
23
+
24
+ // ==========================================================================
25
+ // List style types
26
+ // ==========================================================================
27
+
28
+ @if $list-style-type-armenian {
29
+ @include list-style-type(armenian);
30
+ }
31
+ @if $list-style-type-circle {
32
+ @include list-style-type(circle);
33
+ }
34
+ @if $list-style-type-cjk-ideographic {
35
+ @include list-style-type(armenian);
36
+ }
37
+ @if $list-style-type-decimal {
38
+ @include list-style-type(decimal);
39
+ }
40
+ @if $list-style-type-decimal-leading-zero {
41
+ @include list-style-type(decimal-leading-zero);
42
+ }
43
+ @if $list-style-type-disc {
44
+ @include list-style-type(disc);
45
+ }
46
+ @if $list-style-type-georgian {
47
+ @include list-style-type(georgian);
48
+ }
49
+ @if $list-style-type-hebrew {
50
+ @include list-style-type(hebrew);
51
+ }
52
+ @if $list-style-type-hiragana {
53
+ @include list-style-type(hiragana);
54
+ }
55
+ @if $list-style-type-hiragana-iroha {
56
+ @include list-style-type(hiragana-iroha);
57
+ }
58
+ @if $list-style-type-inherit {
59
+ @include list-style-type(inherit);
60
+ }
61
+ @if $list-style-type-katakana {
62
+ @include list-style-type(katakana);
63
+ }
64
+ @if $list-style-type-katakana-iroha {
65
+ @include list-style-type(katakana-iroha);
66
+ }
67
+ @if $list-style-type-lower-alpha {
68
+ @include list-style-type(lower-alpha);
69
+ }
70
+ @if $list-style-type-lower-greek {
71
+ @include list-style-type(lower-greek);
72
+ }
73
+ @if $list-style-type-lower-latin {
74
+ @include list-style-type(lower-latin);
75
+ }
76
+ @if $list-style-type-lower-roman {
77
+ @include list-style-type(lower-roman);
78
+ }
79
+ @if $list-style-type-none {
80
+ @include list-style-type(none);
81
+ }
82
+ @if $list-style-type-square {
83
+ @include list-style-type(square);
84
+ }
85
+ @if $list-style-type-upper-alpha {
86
+ @include list-style-type(upper-alpha);
87
+ }
88
+ @if $list-style-type-upper-latin {
89
+ @include list-style-type(upper-latin);
90
+ }
91
+ @if $list-style-type-upper-roman {
92
+ @include list-style-type(upper-roman);
93
+ }
94
+
95
+ .list-inline {
96
+ &>li {
97
+ display: inline-block;
98
+ }
99
+ }
@@ -0,0 +1,11 @@
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
+ @mixin list-style-type($type) {
8
+ .#{$list-base-class}-#{$type} {
9
+ list-style-type: $type;
10
+ }
11
+ }
@@ -0,0 +1,49 @@
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
+ // List base class
10
+ // ==========================================================================
11
+
12
+ $list-base-class: "list" !default;
13
+
14
+
15
+ // ==========================================================================
16
+ // List base style types
17
+ // ==========================================================================
18
+
19
+ $list-ul-default: disc !default;
20
+ $list-ol-default: decimal !default;
21
+
22
+
23
+ // ==========================================================================
24
+ // List Style Types
25
+ // See: http://www.w3schools.com/cssref/pr_list-style-type.asp
26
+ // ==========================================================================
27
+
28
+ $list-style-type-armenian: false !default;
29
+ $list-style-type-circle: true !default;
30
+ $list-style-type-cjk-ideographic: false !default;
31
+ $list-style-type-decimal: true !default;
32
+ $list-style-type-decimal-leading-zero: false !default;
33
+ $list-style-type-disc: true !default;
34
+ $list-style-type-georgian: false !default;
35
+ $list-style-type-hebrew: false !default;
36
+ $list-style-type-hiragana: false;
37
+ $list-style-type-hiragana-iroha: false !default;
38
+ $list-style-type-inherit: true !default;
39
+ $list-style-type-katakana: false !default;
40
+ $list-style-type-katakana-iroha: false !default;
41
+ $list-style-type-lower-alpha: true !default;
42
+ $list-style-type-lower-greek: false !default;
43
+ $list-style-type-lower-latin: true !default;
44
+ $list-style-type-lower-roman: true !default;
45
+ $list-style-type-none: false !default;
46
+ $list-style-type-square: true !default;
47
+ $list-style-type-upper-alpha: true !default;
48
+ $list-style-type-upper-latin: true !default;
49
+ $list-style-type-upper-roman: true !default;
@@ -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
+
6
+ @import "settings";
7
+ @import "helpers";
8
+ @import "behavior";
@@ -0,0 +1,79 @@
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
+ #{$table-base-class} {
6
+ @if($table-width) {
7
+ width: 100%;
8
+ }
9
+ @if($table-border) {
10
+ border: $table-border;
11
+ @if($table-border-radius) {
12
+ border-collapse: separate;
13
+ @include border-radius($table-border-radius);
14
+ }
15
+ }
16
+
17
+ @if($table-cell-padding) {
18
+ th,
19
+ td {
20
+ padding: $table-cell-padding;
21
+ }
22
+ }
23
+ .colgroup {
24
+ @if($table-colgroup-border) {
25
+ border: $table-colgroup-border;
26
+ }
27
+ @if($table-colgroup-background) {
28
+ background: $table-colgroup-background;
29
+ }
30
+ }
31
+ .col {
32
+ @if($table-col-border) {
33
+ border-collapse: collapse;
34
+ border: $table-col-border;
35
+ }
36
+ @if($table-col-background) {
37
+ background: $table-col-background;
38
+ }
39
+ }
40
+ }
41
+
42
+ #{$table-base-class}-zebra {
43
+ @if($table-row-odd-background) {
44
+ tr:nth-of-type(odd) {
45
+ @extend .row-odd;
46
+ }
47
+ }
48
+ @if($table-row-even-background) {
49
+ tr:nth-of-type(even) {
50
+ @extend .row-even;
51
+ }
52
+ }
53
+ @if($table-row-state-hover-background) {
54
+ tr:hover {
55
+ @extend .is-row-hover;
56
+ }
57
+ }
58
+ }
59
+
60
+ .table-column-header,
61
+ .table-row-header,
62
+ th {
63
+ @include module-font($table-th-type, $table-th-type-size);
64
+ }
65
+ @if($table-row-odd-background) {
66
+ .row-odd {
67
+ background: $table-row-odd-background;
68
+ }
69
+ }
70
+ @if($table-row-even-background) {
71
+ .row-even {
72
+ background: $table-row-even-background;
73
+ }
74
+ }
75
+ @if($table-row-state-hover-background) {
76
+ .is-row-hover {
77
+ background: $table-row-state-hover-background !important;
78
+ }
79
+ }
@@ -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
+
6
+ // @import "base/functions";
7
+ @import "helpers/mixins";
@@ -0,0 +1,69 @@
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
+
6
+ // ################################################################################################################################ //
7
+ // Tables //
8
+ // ################################################################################################################################ //
9
+
10
+ $tables-active-column-background-color : $color-theme;
11
+
12
+
13
+ $table-base-class : ".table";
14
+
15
+ // table
16
+ $table-width : 100%;
17
+
18
+ $table-border-width : 1px;
19
+ $table-border-style : solid;
20
+ $table-border-color : $color-theme;
21
+ $table-border-radius : $corner-radius;
22
+ $table-border : false; //$table-border-width $table-border-style $table-border-color; // Set to false if you don"t want any border to render
23
+
24
+ $table-type-size : $base-font-size;
25
+ $table-type-leading : $base-line-height;
26
+ $table-type : $lato-book, $table-type-size, $table-type-leading;
27
+
28
+ //table-caption
29
+ $table-caption-type-size : $base-font-size;
30
+ $table-caption-type-leading : $base-line-height;
31
+ $table-caption-type : $lato-ultra-light, $table-caption-type-size, $table-caption-type-leading;
32
+
33
+ $table-caption-alignment : left;
34
+
35
+ // $table-colgroup
36
+ $table-colgroup-border : 1px solid $white;
37
+ $table-colgroup-background : rgba(0,0,0,.2);
38
+
39
+ // $table-col
40
+ $table-col-border : 1px solid $white;
41
+ $table-col-background : rgba(0,0,0,.2);
42
+
43
+ // $table-head
44
+
45
+ // $table-body
46
+
47
+ // $table-footer
48
+
49
+ // $table-row
50
+ $table-row-odd-background : darken($white, 10);
51
+ $table-row-even-background : false;
52
+
53
+ $table-row-state-hover-background : lighten($color-primary, 20);
54
+
55
+ // $table-cell
56
+ $table-cell-padding-top : rhythm(.25);
57
+ $table-cell-padding-right : column-padding(.25);
58
+ $table-cell-padding-bottom : rhythm(.25);
59
+ $table-cell-padding-left : column-padding(.25);
60
+ $table-cell-padding : $table-cell-padding-top $table-cell-padding-right $table-cell-padding-bottom $table-cell-padding-left; // Set to false for no padding
61
+
62
+ // $table-th
63
+
64
+ $table-th-type : $lato-bold;
65
+
66
+ $table-th-type-size : px-to-relative-size(14px);
67
+ $table-th-type-leading : px-to-relative-size(10px);
68
+
69
+ // $table-td