middleman-oulu 0.5.10

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 (119) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +31 -0
  6. data/Rakefile +1 -0
  7. data/assets/javascripts/oulu/dev/positions-p.js.coffee +34 -0
  8. data/assets/javascripts/oulu/dev/positions-pp.js.coffee +57 -0
  9. data/assets/javascripts/oulu/dev/positions.js.coffee +6 -0
  10. data/assets/javascripts/oulu/helpers/js-autosize.js.coffee +2 -0
  11. data/assets/javascripts/oulu/helpers/js-checkbox.js.coffee +6 -0
  12. data/assets/javascripts/oulu/helpers/js-click-animate.js.coffee +8 -0
  13. data/assets/javascripts/oulu/helpers/js-delay-hidden.js.coffee +4 -0
  14. data/assets/javascripts/oulu/helpers/js-focused.js.coffee +7 -0
  15. data/assets/javascripts/oulu/helpers/js-hack.js.coffee +8 -0
  16. data/assets/javascripts/oulu/helpers/js-hide-after.j.coffee +5 -0
  17. data/assets/javascripts/oulu/helpers/js-hover-z-index.js.coffee +5 -0
  18. data/assets/javascripts/oulu/helpers/js-hovered.js.coffee +17 -0
  19. data/assets/javascripts/oulu/helpers/js-one-animate.js.coffee +5 -0
  20. data/assets/javascripts/oulu/helpers/js-open-children.js.coffee +28 -0
  21. data/assets/javascripts/oulu/helpers/js-open.js.coffee +51 -0
  22. data/assets/javascripts/oulu/helpers/js-scroll-to-top.js.coffee +11 -0
  23. data/assets/javascripts/oulu/helpers/js-scroll.js.coffee +9 -0
  24. data/assets/javascripts/oulu/helpers/js-side-slide.js.coffee +6 -0
  25. data/assets/javascripts/oulu/helpers/js-window-loading.js.coffee +15 -0
  26. data/assets/javascripts/oulu/helpers/js-window-sizes.js.coffee +6 -0
  27. data/assets/javascripts/oulu/helpers/open-close.js.coffee +23 -0
  28. data/assets/javascripts/oulu/ie/PIE_IE678.js +72 -0
  29. data/assets/javascripts/oulu/ie/PIE_IE9.js +46 -0
  30. data/assets/javascripts/oulu/ie/ie-selectors.js.coffee +3 -0
  31. data/assets/javascripts/oulu/ie/ie8-selectors.js.coffee +3 -0
  32. data/assets/javascripts/oulu/ie/ie9-selectors.js.coffee +6 -0
  33. data/assets/javascripts/oulu/ie/jquery.belatedPNG.min.js +29 -0
  34. data/assets/javascripts/oulu/ie/jquery.linkscubber.js +7 -0
  35. data/assets/javascripts/oulu/ie/svgeezy.min.js +12 -0
  36. data/assets/javascripts/oulu/plugins/check-box.js.coffee +34 -0
  37. data/assets/javascripts/oulu/plugins/footerFixed.js +74 -0
  38. data/assets/javascripts/oulu/plugins/jquery.autosize.min.js +7 -0
  39. data/assets/javascripts/oulu/plugins/jquery.cheat-code.js +63 -0
  40. data/assets/javascripts/oulu/plugins/jquery.css3form.js +195 -0
  41. data/assets/javascripts/oulu/plugins/jquery.depend.min.js +13 -0
  42. data/assets/javascripts/oulu/plugins/sns-buttons.js +339 -0
  43. data/assets/javascripts/oulu-ie8.js +6 -0
  44. data/assets/javascripts/oulu-ie9.js +2 -0
  45. data/assets/javascripts/oulu.js +2 -0
  46. data/assets/stylesheets/_oulu-base.css.sass +84 -0
  47. data/assets/stylesheets/_oulu.css.sass +13 -0
  48. data/assets/stylesheets/helper/_base-helper.css.sass +133 -0
  49. data/assets/stylesheets/helper/_click-actions.css.sass +188 -0
  50. data/assets/stylesheets/helper/_fade-actions.css.sass +30 -0
  51. data/assets/stylesheets/helper/_margin-padding.css.sass +20 -0
  52. data/assets/stylesheets/helper/_typoglaphy.css.sass +9 -0
  53. data/assets/stylesheets/options/amazlet/_amazlet.css.sass +32 -0
  54. data/assets/stylesheets/options/glitch/_glitch.css.sass +31 -0
  55. data/assets/stylesheets/options/oulu-buttons/_button-basic.css.sass +31 -0
  56. data/assets/stylesheets/options/web-fonts/_cousine.css.sass +12 -0
  57. data/assets/stylesheets/options/web-fonts/_font-awsome.css.sass +17 -0
  58. data/assets/stylesheets/options/web-fonts/_icomoon.css.sass +10 -0
  59. data/assets/stylesheets/options/web-fonts/_lato.css.sass +12 -0
  60. data/assets/stylesheets/options/web-fonts/_montserrat.css.sass +13 -0
  61. data/assets/stylesheets/options/web-fonts/_old-standard.css.sass +12 -0
  62. data/assets/stylesheets/options/web-fonts/_open-sans.css.sass +11 -0
  63. data/assets/stylesheets/options/web-fonts/_podkova.css.sass +12 -0
  64. data/assets/stylesheets/options/web-fonts/_pt-sans.css.sass +12 -0
  65. data/assets/stylesheets/options/web-fonts/_roboto-condensed.css.sass +12 -0
  66. data/assets/stylesheets/options/web-fonts/_roboto.css.sass +11 -0
  67. data/assets/stylesheets/options/web-fonts/_satisfy.css.sass +13 -0
  68. data/assets/stylesheets/options/web-fonts/_source-code-pro.css.sass +13 -0
  69. data/assets/stylesheets/options/web-fonts/_source-sans-pro.css.sass +13 -0
  70. data/assets/stylesheets/options/web-fonts/_special-elite.css.sass +12 -0
  71. data/assets/stylesheets/options/web-fonts/_tauri.css.sass +11 -0
  72. data/assets/stylesheets/options/web-fonts/_ubuntu.css.sass +12 -0
  73. data/assets/stylesheets/settings/functions/_background.css.sass +54 -0
  74. data/assets/stylesheets/settings/functions/_bool.css.sass +5 -0
  75. data/assets/stylesheets/settings/functions/_border.css.sass +45 -0
  76. data/assets/stylesheets/settings/functions/_color.css.sass +83 -0
  77. data/assets/stylesheets/settings/functions/_content.css.sass +5 -0
  78. data/assets/stylesheets/settings/functions/_cursor.css.sass +5 -0
  79. data/assets/stylesheets/settings/functions/_image.css.sass +8 -0
  80. data/assets/stylesheets/settings/functions/_length.css.sass +20 -0
  81. data/assets/stylesheets/settings/functions/_list.css.sass +11 -0
  82. data/assets/stylesheets/settings/functions/_map.css.sass +5 -0
  83. data/assets/stylesheets/settings/functions/_number.css.sass +81 -0
  84. data/assets/stylesheets/settings/functions/_position.css.sass +80 -0
  85. data/assets/stylesheets/settings/functions/_reverse.css.sass +22 -0
  86. data/assets/stylesheets/settings/functions/_string.css.sass +5 -0
  87. data/assets/stylesheets/settings/functions/_text.css.sass +34 -0
  88. data/assets/stylesheets/settings/initializers/_reset.css.sass +85 -0
  89. data/assets/stylesheets/settings/mixins/_animation.css.sass +15 -0
  90. data/assets/stylesheets/settings/mixins/_background.css.sass +33 -0
  91. data/assets/stylesheets/settings/mixins/_balloon-tale.css.sass +111 -0
  92. data/assets/stylesheets/settings/mixins/_basic-font.css.sass +45 -0
  93. data/assets/stylesheets/settings/mixins/_block.css.sass +30 -0
  94. data/assets/stylesheets/settings/mixins/_border.css.sass +28 -0
  95. data/assets/stylesheets/settings/mixins/_button-base.css.sass +27 -0
  96. data/assets/stylesheets/settings/mixins/_color.css.sass +9 -0
  97. data/assets/stylesheets/settings/mixins/_filters.css.sass +5 -0
  98. data/assets/stylesheets/settings/mixins/_form.css.sass +7 -0
  99. data/assets/stylesheets/settings/mixins/_grids.css.sass +149 -0
  100. data/assets/stylesheets/settings/mixins/_html5-input-types.scss +118 -0
  101. data/assets/stylesheets/settings/mixins/_ie-hacks.css.sass +8 -0
  102. data/assets/stylesheets/settings/mixins/_lines.css.sass +18 -0
  103. data/assets/stylesheets/settings/mixins/_link.css.sass +11 -0
  104. data/assets/stylesheets/settings/mixins/_list.css.sass +21 -0
  105. data/assets/stylesheets/settings/mixins/_margin-padding.css.sass +69 -0
  106. data/assets/stylesheets/settings/mixins/_overlay.css.sass +5 -0
  107. data/assets/stylesheets/settings/mixins/_positions.css.sass +28 -0
  108. data/assets/stylesheets/settings/mixins/_rem.css.sass +56 -0
  109. data/assets/stylesheets/settings/mixins/_resets.css.sass +43 -0
  110. data/assets/stylesheets/settings/mixins/_responsive-utilities.css.sass +160 -0
  111. data/assets/stylesheets/settings/mixins/_sassmatic.css.sass +172 -0
  112. data/assets/stylesheets/settings/mixins/_sprite-background.css.sass +18 -0
  113. data/assets/stylesheets/settings/mixins/_tables.css.sass +14 -0
  114. data/assets/stylesheets/settings/mixins/_text.css.sass +21 -0
  115. data/assets/stylesheets/settings/variables/_default.css.sass +69 -0
  116. data/lib/middleman-oulu/version.rb +5 -0
  117. data/lib/middleman-oulu.rb +13 -0
  118. data/middleman-oulu.gemspec +34 -0
  119. metadata +316 -0
@@ -0,0 +1,43 @@
1
+ =reset-margin($directions: all)
2
+ @if $directions == 'all'
3
+ margin: 0
4
+ @else if $directions == 'horizontal'
5
+ margin-left: 0
6
+ margin-right: 0
7
+ @else if $directions == 'vertical'
8
+ margin-top: 0
9
+ margin-bottom: 0
10
+ @else
11
+ @each $direction in $directions
12
+ @if $direction == 'horizontal'
13
+ margin-left: 0
14
+ margin-right: 0
15
+ @else if $direction == 'vertical'
16
+ margin-top: 0
17
+ margin-bottom: 0
18
+ @else
19
+ margin-#{$direction}: 0
20
+
21
+ =reset-padding($directions: all)
22
+ @if $directions == 'all'
23
+ padding: 0
24
+ @else if $directions == 'horizontal'
25
+ padding-left: 0
26
+ padding-right: 0
27
+ @else if $directions == 'vertical'
28
+ padding-top: 0
29
+ padding-bottom: 0
30
+ @else
31
+ @each $direction in $directions
32
+ @if $direction == 'horizontal'
33
+ padding-left: 0
34
+ padding-right: 0
35
+ @else if $direction == 'vertical'
36
+ padding-top: 0
37
+ padding-bottom: 0
38
+ @else
39
+ padding-#{$direction}: 0
40
+
41
+ =reset-text
42
+ margin: 0
43
+ padding: 0
@@ -0,0 +1,160 @@
1
+ // https://github.com/twbs/bootstrap-sass/blob/master/vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss
2
+
3
+ =responsive-visibility($parent)
4
+ #{$parent}
5
+ display: block !important
6
+ table#{$parent}
7
+ display: table
8
+ tr#{$parent}
9
+ display: table-row !important
10
+ th#{$parent},
11
+ td#{$parent}
12
+ display: table-cell !important
13
+
14
+ // [converter] $parent hack
15
+ =responsive-invisibility($parent)
16
+ #{$parent}
17
+ display: none !important
18
+
19
+ //
20
+ // Responsive: Utility classes
21
+ // --------------------------------------------------
22
+
23
+ // IE10 in Windows (Phone) 8
24
+ //
25
+ // Support for responsive views via media queries is kind of borked in IE10, for
26
+ // Surface/desktop in split view and for Windows Phone 8. This particular fix
27
+ // must be accompanied by a snippet of JavaScript to sniff the user agent and
28
+ // apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
29
+ // our Getting Started page for more information on this bug.
30
+ //
31
+ // For more information, see the following:
32
+ //
33
+ // Issue: https://github.com/twbs/bootstrap/issues/10497
34
+ // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
35
+ // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
36
+ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
37
+
38
+ @-ms-viewport
39
+ width: device-width
40
+
41
+
42
+ // Visibility utilities
43
+ // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
44
+
45
+ +responsive-invisibility(".visible-xs, .visible-sm, .visible-md, .visible-lg")
46
+
47
+ .visible-xs-block,
48
+ .visible-xs-inline,
49
+ .visible-xs-inline-block,
50
+ .visible-sm-block,
51
+ .visible-sm-inline,
52
+ .visible-sm-inline-block,
53
+ .visible-md-block,
54
+ .visible-md-inline,
55
+ .visible-md-inline-block,
56
+ .visible-lg-block,
57
+ .visible-lg-inline,
58
+ .visible-lg-inline-block
59
+ display: none !important
60
+
61
+ @media (max-width: $screen-xs-max)
62
+ +responsive-visibility(".visible-xs")
63
+
64
+ .visible-xs-block
65
+ @media (max-width: $screen-xs-max)
66
+ display: block !important
67
+
68
+ .visible-xs-inline
69
+ @media (max-width: $screen-xs-max)
70
+ display: inline !important
71
+
72
+ .visible-xs-inline-block
73
+ @media (max-width: $screen-xs-max)
74
+ display: inline-block !important
75
+
76
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max)
77
+ +responsive-visibility(".visible-sm")
78
+
79
+ .visible-sm-block
80
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max)
81
+ display: block !important
82
+
83
+ .visible-sm-inline
84
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max)
85
+ display: inline !important
86
+
87
+ .visible-sm-inline-block
88
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max)
89
+ display: inline-block !important
90
+
91
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max)
92
+ +responsive-visibility(".visible-md")
93
+
94
+ .visible-md-block
95
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max)
96
+ display: block !important
97
+
98
+ .visible-md-inline
99
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max)
100
+ display: inline !important
101
+
102
+ .visible-md-inline-block
103
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max)
104
+ display: inline-block !important
105
+
106
+ @media (min-width: $screen-lg-min)
107
+ +responsive-visibility(".visible-lg")
108
+
109
+ .visible-lg-block
110
+ @media (min-width: $screen-lg-min)
111
+ display: block !important
112
+
113
+ .visible-lg-inline
114
+ @media (min-width: $screen-lg-min)
115
+ display: inline !important
116
+
117
+ .visible-lg-inline-block
118
+ @media (min-width: $screen-lg-min)
119
+ display: inline-block !important
120
+
121
+ @media (max-width: $screen-xs-max)
122
+ +responsive-invisibility(".hidden-xs")
123
+
124
+ @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max)
125
+ +responsive-invisibility(".hidden-sm")
126
+
127
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max)
128
+ +responsive-invisibility(".hidden-md")
129
+
130
+ @media (min-width: $screen-lg-min)
131
+ +responsive-invisibility(".hidden-lg")
132
+
133
+ // Print utilities
134
+ //
135
+ // Media queries are placed on the inside to be mixin-friendly.
136
+
137
+ // Note: Deprecated .visible-print as of v3.2.0
138
+
139
+ +responsive-invisibility(".visible-print")
140
+
141
+ @media print
142
+ +responsive-visibility(".visible-print")
143
+
144
+ .visible-print-block
145
+ display: none !important
146
+ @media print
147
+ display: block !important
148
+
149
+ .visible-print-inline
150
+ display: none !important
151
+ @media print
152
+ display: inline !important
153
+
154
+ .visible-print-inline-block
155
+ display: none !important
156
+ @media print
157
+ display: inline-block !important
158
+
159
+ @media print
160
+ +responsive-invisibility(".hidden-print")
@@ -0,0 +1,172 @@
1
+ // sassmatic by
2
+ // # TEAM
3
+ // Hugo Darby-Brown -- Author -- @darbybrown
4
+ // # THANKS
5
+ // The Sass Team
6
+ // The Compass Team
7
+ // Jesse taylor for JS on the demo @Jesse__Taylor
8
+
9
+ =filter-setup
10
+ content: ""
11
+ +absolute(bottom 0, left 0, right 0, top 0, 4)
12
+ +opacity(.4)
13
+
14
+ /* =========================================
15
+ *Filter Washout
16
+ *=========================================
17
+
18
+ %filter-washout
19
+ +filter(sepia(10%) saturate(0.8) brightness(1.5) contrast(0.8))
20
+ position: relative
21
+ &:after
22
+ +background-image(radial-gradient(center, ellipse cover, rgba(white, 0) 40%, rgba(white, 0.9) 100%))
23
+ +filter-setup
24
+
25
+ /* =========================================
26
+ *Filter Nikki
27
+ *=========================================
28
+
29
+ %filter-nikki
30
+ +filter(saturate(1.3) brightness(1.1) contrast(1.1))
31
+ position: relative
32
+
33
+ /* =========================================
34
+ *Filter Deadwood
35
+ *=========================================
36
+
37
+ %filter-deadwood
38
+ +filter(sepia(40%) brightness(1.4) saturate(0.8))
39
+ position: relative
40
+ &:after
41
+ background: black
42
+ +filter-setup
43
+
44
+ /* =========================================
45
+ *Filter SanFran
46
+ *=========================================
47
+
48
+ %filter-sanfran
49
+ +filter(brightness(1.2) contrast(0.8) saturate(2) sepia(0.1))
50
+ position: relative
51
+ &:after
52
+ +background-image(radial-gradient(center, ellipse cover, rgba(white, 0) 0%, rgba(white, 0.5) 100%))
53
+ +filter-setup
54
+
55
+ /* =========================================
56
+ *Filter Noire
57
+ *=========================================
58
+
59
+ %filter-noire
60
+ +filter(grayscale(90%) contrast(1.3))
61
+ position: relative
62
+ &:after
63
+ +background-image(radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 82%, rgba(0, 0, 0, 0.69) 83%, rgba(0, 0, 0, 1) 90%))
64
+ +filter-setup
65
+ +opacity(.7)
66
+
67
+ /* =========================================
68
+ *Filter Neptune
69
+ *=========================================
70
+
71
+ %filter-neptune
72
+ +filter(brightness(1.4) contrast(1) saturate(1))
73
+ position: relative
74
+ &:after
75
+ +background-image(radial-gradient(center, ellipse cover, rgba(125, 185, 232, 0) 0%, rgba(30, 87, 153, 1) 100%))
76
+ +filter-setup
77
+
78
+ /* =========================================
79
+ *Filter Lomo
80
+ *=========================================
81
+
82
+ %filter-lomo
83
+ +filter(contrast(1.3) saturate(1.2) brightness(140%))
84
+ position: relative
85
+ &:after
86
+ -webkit-filter: radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 92%, rgba(0, 0, 0, 0.69) 93%, rgba(0, 0, 0, 1) 100%)
87
+ +filter-setup
88
+ +opacity(.9)
89
+
90
+ /* =========================================
91
+ *Filter Warming
92
+ *=========================================
93
+
94
+ %filter-warming
95
+ +filter(sepia(10%) saturate(0.9) brightness(140%))
96
+ position: relative
97
+ &:after
98
+ +rgba-background-inline(rgba(236, 138, 0, 0.2))
99
+ +filter-setup
100
+ +opacity(.6)
101
+
102
+ /* =========================================
103
+ *Filter Cooling
104
+ *=========================================
105
+
106
+ %filter-cooling
107
+ +filter(sepia(10%) saturate(0.9) brightness(140%))
108
+ position: relative
109
+ &:after
110
+ background-color: rgba(0, 109, 255, 0.35)
111
+ +background-image(radial-gradient(center, ellipse cover, rgba(125, 185, 232, 0) 0%, rgba(30, 87, 153, 1) 100%))
112
+ +filter-setup
113
+
114
+ /* =========================================
115
+ *Filter Pro
116
+ *=========================================
117
+
118
+ %filter-pro
119
+ +filter(sepia(15%) contrast(1.7) saturate(0.7))
120
+ position: relative
121
+
122
+ /* =========================================
123
+ *Filter Casablanca
124
+ *=========================================
125
+
126
+ %filter-casablanca
127
+ +filter(grayscale(90%) contrast(0.8) brightness(110%))
128
+ position: relative
129
+ &:after
130
+ +background-image(radial-gradient(center, ellipse cover, rgba(white, 0) 0%, rgba(white, 0.9) 100%))
131
+ +filter-setup
132
+
133
+ /* =========================================
134
+ *Filter Glassic
135
+ *=========================================
136
+
137
+ %filter-glassic
138
+ +filter(brightness(90%) contrast(1.2))
139
+ position: relative
140
+ &:after
141
+ +background-image(linear-gradient(left bottom, rgba(244, 244, 244, 0.3) 0%, rgba(244, 244, 244, 0.3) 60%, rgba(244, 244, 244, 0.7) 60%, rgba(255, 255, 255, 1) 100%))
142
+ +box-shadow( 0px 0px 10rem rgba(255, 255, 255, 1) inset)
143
+ +filter-setup
144
+ +opacity(.6)
145
+
146
+ /* =========================================
147
+ *Filter Custom
148
+ *=========================================
149
+
150
+ =filter-custom($var: none)
151
+ +filter($var)
152
+ position: relative
153
+ &:after
154
+ content: ""
155
+ +absolute(right 0, bottom 0, top 0, left 0, 4)
156
+
157
+ /* =========================================
158
+ *Filter Color
159
+ *=========================================
160
+
161
+ =filter-color($color: #df8800, $opacity: 0.4)
162
+ &:after
163
+ +rgba-background-inline(rgba($color, $opacity))
164
+
165
+ /* =========================================
166
+ *Filter Vignette
167
+ *=========================================
168
+
169
+ =filter-vignette($color: black, $start: 80%, $stop: 95%, $extra: 0)
170
+ &:after
171
+ +background-image(radial-gradient(center, ellipse cover, rgba($color, 0) $start, rgba($color, 0.9) $stop))
172
+ +box-shadow( 0 0 $extra rgba($color, 1) inset)
@@ -0,0 +1,18 @@
1
+ // http://qiita.com/orangemittoo/items/1c9f32296836d3ea125e
2
+
3
+ $sprite-map: sprite-map("sprites/*.png", $layout: smart)
4
+ $map-img: sprite-url($sprite-map)
5
+
6
+ =sprite-background($name, $background-size: null, $background-repeat: null)
7
+ // block;
8
+ background-image: $map-img
9
+ $pos: sprite-position($sprite-map, $name)
10
+ background-position: nth($pos, 1) / 2 nth($pos, 2) / 2
11
+ @if $background-size
12
+ +background-size($background-size)
13
+ @else
14
+ +background-size(ceil(image-width(sprite-path($sprite-map)) / 2) auto)
15
+ @if $background-repeat
16
+ background-repeat: $background-repeat
17
+ @else
18
+ background-repeat: no-repeat
@@ -0,0 +1,14 @@
1
+ =table($margin-bottom: 24px, $table-scroll: null)
2
+ min-width: 100%
3
+ +rem('margin-bottom', $margin-bottom)
4
+ @if $table-scroll
5
+ min-width: 100%
6
+ @else
7
+ width: 100%
8
+
9
+ =table-cell($vertical-align: middle, $padding: 8px 12px, $is-nowrap: null)
10
+ +rem('padding', $padding)
11
+ vertical-align: $vertical-align
12
+ +box-sizing(border-box)
13
+ @if $is-nowrap
14
+ white-space: nowrap
@@ -0,0 +1,21 @@
1
+ // どこでも font-weight と text-align と color と +top() が書ける設定
2
+ =text-block-options($value)
3
+ font-weight: if(font_weight($value), $value, null)
4
+ text-align: if(text_align($value), $value, null)
5
+ color: if(color($value), $value, null)
6
+ @if px($value)
7
+ +top($value, null)
8
+
9
+ // +text-block($font-size $line-height $margin-bottom, $font-weight $text-align $color $top)
10
+ =text-block($value1: null, $value2: null)
11
+ +rem('font-size', nth($value1, 1))
12
+ +rem('line-height', optional_nth($value1, 2))
13
+ +rem('margin-bottom', optional_nth($value1, 3))
14
+ @if ($value2)
15
+ @for $i from 1 through length($value2)
16
+ +text-block-options(nth($value2, $i))
17
+
18
+ =letter-spacing-center($space-width)
19
+ @if $space-width
20
+ +rem('letter-spacing', $space-width)
21
+ +rem('text-indent', $space-width)
@@ -0,0 +1,69 @@
1
+ /////////////////
2
+ // positions
3
+ ////////////////
4
+
5
+ $all: top right bottom left
6
+ $horizontal: left right
7
+ $vertical: top bottom
8
+
9
+ /////////////////
10
+ // compass
11
+ ////////////////
12
+
13
+ // rgbapng
14
+ $rgbapng_path: 'rgbapngs' !default
15
+ $rgbapng_px_size: 8 !default
16
+
17
+ /////////////////
18
+ // layout
19
+ ////////////////
20
+
21
+ $wrapper-class-name: wrapper !default
22
+ $wrapper-max-width: 1100px !default
23
+ $wrapper-horizontal-padding: 16px !default
24
+
25
+ /////////////////
26
+ // selection
27
+ ////////////////
28
+
29
+ $selection-bg-color: black !default
30
+ $selection-tx-color: white !default
31
+ $input-selection-bg-color: lightgray !default
32
+ $input-selection-tx-color: black !default
33
+
34
+ /////////////////
35
+ // text-color
36
+ ////////////////
37
+
38
+ $bright-text-color: white !default
39
+ $dark-text-color: black !default
40
+
41
+ /////////////////
42
+ // grids
43
+ ////////////////
44
+
45
+ // screens
46
+ $screen-xs: 480px !default
47
+ $screen-sm: 768px !default
48
+ $screen-md: 992px !default
49
+ $screen-lg: 1200px !default
50
+
51
+ // 横一列の最大カラム数
52
+ $columns-count: 12 !default
53
+
54
+ // カラムとカラムの間のスペース
55
+ $gutter-width: 50px !default
56
+
57
+ /////////////////
58
+ // font
59
+ ////////////////
60
+
61
+ $ms-base: 16px !default
62
+
63
+ $fw: 400 !default
64
+
65
+ $basic-sans-serif: "Lucida Grande", "Lucida Sans Unicode", Roboto, "Droid Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif !default
66
+ $basic-legacy-ie-sans-serif: "MS Pゴシック", "Lucida Sans Unicode", sans-serif !default
67
+ $basic-bold-sans-serif: "ヒラギノ角ゴ StdN", "Hiragino Kaku Gothic StdN", "メイリオ", Meiryo, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif !default
68
+ $basic-serif: "Times New Roman", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "HGS明朝E", "游明朝", YuMincho, Meiryo, serif !default
69
+ $basic-mono: Osaka-mono, "MS Gothic", monospace
@@ -0,0 +1,5 @@
1
+ module Middleman
2
+ module Oulu
3
+ VERSION = "0.5.10"
4
+ end
5
+ end
@@ -0,0 +1,13 @@
1
+ require "middleman-oulu/version"
2
+ require 'compass'
3
+
4
+ module Middleman
5
+ module Oulu
6
+ require 'rgbapng'
7
+ require 'SassyLists'
8
+ require 'ceaser-easing'
9
+ require 'modular-scale'
10
+ require 'toolkit'
11
+ require 'sassy-maps'
12
+ end
13
+ end
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'middleman-oulu/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "middleman-oulu"
8
+ spec.version = Middleman::Oulu::VERSION
9
+ spec.authors = ["machida"]
10
+ spec.email = ["machidanohimitsu@gmail.com"]
11
+ spec.description = %q{This gem provides assets files for Middleman Project.}
12
+ spec.summary = %q{My assets gem for middleman.}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency("bundler", "~> 1.3")
22
+ spec.add_dependency("rake")
23
+ spec.add_dependency("sass", "~> 3.4.5")
24
+ spec.add_dependency("compass", "~> 1.0.1")
25
+
26
+ spec.add_dependency("oily_png")
27
+ spec.add_dependency("ceaser-easing")
28
+ spec.add_dependency("compass-rgbapng")
29
+ spec.add_dependency("modular-scale")
30
+ spec.add_dependency("SassyLists")
31
+ spec.add_dependency("sassy-maps")
32
+ spec.add_dependency("toolkit")
33
+
34
+ end