hashup 0.0.5

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 (166) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +45 -0
  6. data/Rakefile +5 -0
  7. data/bin/hashup +4 -0
  8. data/hashup.gemspec +28 -0
  9. data/lib/hashup.rb +14 -0
  10. data/lib/hashup/configuration.rb +26 -0
  11. data/lib/hashup/generator.rb +103 -0
  12. data/lib/hashup/post.rb +22 -0
  13. data/lib/hashup/site.rb +74 -0
  14. data/lib/hashup/templates/config.yml +8 -0
  15. data/lib/hashup/templates/contents/_pages/about.ma +7 -0
  16. data/lib/hashup/templates/contents/_posts/markascend.ma +54 -0
  17. data/lib/hashup/templates/contents/data.yml +9 -0
  18. data/lib/hashup/templates/themes/_layout/_footer.slim +11 -0
  19. data/lib/hashup/templates/themes/_layout/_header.slim +12 -0
  20. data/lib/hashup/templates/themes/_layout/_layout.slim +5 -0
  21. data/lib/hashup/templates/themes/_layout/_nav.slim +7 -0
  22. data/lib/hashup/templates/themes/assets/flat-ui/_config.sass +16 -0
  23. data/lib/hashup/templates/themes/assets/flat-ui/_icon-font-24.sass +91 -0
  24. data/lib/hashup/templates/themes/assets/flat-ui/_icon-font.sass +91 -0
  25. data/lib/hashup/templates/themes/assets/flat-ui/_mixins.sass +96 -0
  26. data/lib/hashup/templates/themes/assets/flat-ui/_spaces.sass +129 -0
  27. data/lib/hashup/templates/themes/assets/flat-ui/flat-ui.sass +39 -0
  28. data/lib/hashup/templates/themes/assets/flat-ui/modules/_btn.sass +73 -0
  29. data/lib/hashup/templates/themes/assets/flat-ui/modules/_checkbox-and-radio.sass +86 -0
  30. data/lib/hashup/templates/themes/assets/flat-ui/modules/_demo.sass +228 -0
  31. data/lib/hashup/templates/themes/assets/flat-ui/modules/_footer.sass +57 -0
  32. data/lib/hashup/templates/themes/assets/flat-ui/modules/_input.sass +66 -0
  33. data/lib/hashup/templates/themes/assets/flat-ui/modules/_login.sass +95 -0
  34. data/lib/hashup/templates/themes/assets/flat-ui/modules/_navbar.sass +152 -0
  35. data/lib/hashup/templates/themes/assets/flat-ui/modules/_pager.sass +56 -0
  36. data/lib/hashup/templates/themes/assets/flat-ui/modules/_pagination.sass +75 -0
  37. data/lib/hashup/templates/themes/assets/flat-ui/modules/_palette.sass +88 -0
  38. data/lib/hashup/templates/themes/assets/flat-ui/modules/_progress.sass +29 -0
  39. data/lib/hashup/templates/themes/assets/flat-ui/modules/_select.sass +163 -0
  40. data/lib/hashup/templates/themes/assets/flat-ui/modules/_share.sass +34 -0
  41. data/lib/hashup/templates/themes/assets/flat-ui/modules/_tagsinput.sass +91 -0
  42. data/lib/hashup/templates/themes/assets/flat-ui/modules/_tile.sass +42 -0
  43. data/lib/hashup/templates/themes/assets/flat-ui/modules/_todo.sass +77 -0
  44. data/lib/hashup/templates/themes/assets/flat-ui/modules/_toggle.sass +85 -0
  45. data/lib/hashup/templates/themes/assets/flat-ui/modules/_tooltip.sass +45 -0
  46. data/lib/hashup/templates/themes/assets/flat-ui/modules/_type.sass +43 -0
  47. data/lib/hashup/templates/themes/assets/flat-ui/modules/_ui-slider.sass +44 -0
  48. data/lib/hashup/templates/themes/assets/flat-ui/modules/_video.sass +358 -0
  49. data/lib/hashup/templates/themes/index.slim +9 -0
  50. data/lib/hashup/templates/themes/post.slim +3 -0
  51. data/lib/hashup/templates/themes/static/css/bootstrap.css +6039 -0
  52. data/lib/hashup/templates/themes/static/css/custom.css +11 -0
  53. data/lib/hashup/templates/themes/static/css/flat-ui.css +2533 -0
  54. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.dev.svg +112 -0
  55. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.eot +0 -0
  56. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.svg +112 -0
  57. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.ttf +0 -0
  58. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.woff +0 -0
  59. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.dev.svg +111 -0
  60. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.eot +0 -0
  61. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.svg +111 -0
  62. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.ttf +0 -0
  63. data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.woff +0 -0
  64. data/lib/hashup/templates/themes/static/images/checkbox-2x.png +0 -0
  65. data/lib/hashup/templates/themes/static/images/checkbox.png +0 -0
  66. data/lib/hashup/templates/themes/static/images/demo/browser-2x.png +0 -0
  67. data/lib/hashup/templates/themes/static/images/demo/browser-author.jpg +0 -0
  68. data/lib/hashup/templates/themes/static/images/demo/browser-pic-1.jpg +0 -0
  69. data/lib/hashup/templates/themes/static/images/demo/browser-pic-2.jpg +0 -0
  70. data/lib/hashup/templates/themes/static/images/demo/browser-pic-3.jpg +0 -0
  71. data/lib/hashup/templates/themes/static/images/demo/browser-pic-4.jpg +0 -0
  72. data/lib/hashup/templates/themes/static/images/demo/browser-pic-5.jpg +0 -0
  73. data/lib/hashup/templates/themes/static/images/demo/browser-pic-6.jpg +0 -0
  74. data/lib/hashup/templates/themes/static/images/demo/browser.png +0 -0
  75. data/lib/hashup/templates/themes/static/images/demo/html-icon.png +0 -0
  76. data/lib/hashup/templates/themes/static/images/demo/logo-mask-2x.png +0 -0
  77. data/lib/hashup/templates/themes/static/images/demo/logo-mask.png +0 -0
  78. data/lib/hashup/templates/themes/static/images/demo/video.jpg +0 -0
  79. data/lib/hashup/templates/themes/static/images/favicon.ico +0 -0
  80. data/lib/hashup/templates/themes/static/images/footer/logo.png +0 -0
  81. data/lib/hashup/templates/themes/static/images/illustrations/bag.png +0 -0
  82. data/lib/hashup/templates/themes/static/images/illustrations/book.png +0 -0
  83. data/lib/hashup/templates/themes/static/images/illustrations/calendar.png +0 -0
  84. data/lib/hashup/templates/themes/static/images/illustrations/clipboard.png +0 -0
  85. data/lib/hashup/templates/themes/static/images/illustrations/colors.png +0 -0
  86. data/lib/hashup/templates/themes/static/images/illustrations/compass.png +0 -0
  87. data/lib/hashup/templates/themes/static/images/illustrations/gift.png +0 -0
  88. data/lib/hashup/templates/themes/static/images/illustrations/infinity.png +0 -0
  89. data/lib/hashup/templates/themes/static/images/illustrations/mail.png +0 -0
  90. data/lib/hashup/templates/themes/static/images/illustrations/map.png +0 -0
  91. data/lib/hashup/templates/themes/static/images/illustrations/paper.png +0 -0
  92. data/lib/hashup/templates/themes/static/images/illustrations/retina.png +0 -0
  93. data/lib/hashup/templates/themes/static/images/illustrations/share.png +0 -0
  94. data/lib/hashup/templates/themes/static/images/illustrations/time.png +0 -0
  95. data/lib/hashup/templates/themes/static/images/login/icon.png +0 -0
  96. data/lib/hashup/templates/themes/static/images/login/imac-2x.png +0 -0
  97. data/lib/hashup/templates/themes/static/images/login/imac.png +0 -0
  98. data/lib/hashup/templates/themes/static/images/pager/next.png +0 -0
  99. data/lib/hashup/templates/themes/static/images/pager/previous.png +0 -0
  100. data/lib/hashup/templates/themes/static/images/radio-2x.png +0 -0
  101. data/lib/hashup/templates/themes/static/images/radio.png +0 -0
  102. data/lib/hashup/templates/themes/static/images/select/toggle.png +0 -0
  103. data/lib/hashup/templates/themes/static/images/tile/ribbon-2x.png +0 -0
  104. data/lib/hashup/templates/themes/static/images/tile/ribbon.png +0 -0
  105. data/lib/hashup/templates/themes/static/images/todo/done-2x.png +0 -0
  106. data/lib/hashup/templates/themes/static/images/todo/done.png +0 -0
  107. data/lib/hashup/templates/themes/static/images/todo/search-2x.png +0 -0
  108. data/lib/hashup/templates/themes/static/images/todo/search.png +0 -0
  109. data/lib/hashup/templates/themes/static/images/todo/todo-2x.png +0 -0
  110. data/lib/hashup/templates/themes/static/images/todo/todo.png +0 -0
  111. data/lib/hashup/templates/themes/static/images/toggle/block-off.png +0 -0
  112. data/lib/hashup/templates/themes/static/images/toggle/block-on.png +0 -0
  113. data/lib/hashup/templates/themes/static/images/toggle/icon-off-2x.png +0 -0
  114. data/lib/hashup/templates/themes/static/images/toggle/icon-off.png +0 -0
  115. data/lib/hashup/templates/themes/static/images/toggle/icon-on-2x.png +0 -0
  116. data/lib/hashup/templates/themes/static/images/toggle/icon-on.png +0 -0
  117. data/lib/hashup/templates/themes/static/images/video/fullscreen-2x.png +0 -0
  118. data/lib/hashup/templates/themes/static/images/video/fullscreen.png +0 -0
  119. data/lib/hashup/templates/themes/static/images/video/pause-2x.png +0 -0
  120. data/lib/hashup/templates/themes/static/images/video/pause.png +0 -0
  121. data/lib/hashup/templates/themes/static/images/video/play-2x.png +0 -0
  122. data/lib/hashup/templates/themes/static/images/video/play.png +0 -0
  123. data/lib/hashup/templates/themes/static/images/video/poster.jpg +0 -0
  124. data/lib/hashup/templates/themes/static/images/video/volume-full-2x.png +0 -0
  125. data/lib/hashup/templates/themes/static/images/video/volume-full.png +0 -0
  126. data/lib/hashup/templates/themes/static/images/video/volume-off-2x.png +0 -0
  127. data/lib/hashup/templates/themes/static/images/video/volume-off.png +0 -0
  128. data/lib/hashup/templates/themes/static/js/application.js +51 -0
  129. data/lib/hashup/templates/themes/static/js/bootstrap-tooltip.js +353 -0
  130. data/lib/hashup/templates/themes/static/js/custom_checkbox_and_radio.js +53 -0
  131. data/lib/hashup/templates/themes/static/js/custom_radio.js +28 -0
  132. data/lib/hashup/templates/themes/static/js/html5shiv.js +8 -0
  133. data/lib/hashup/templates/themes/static/js/icon-font-ie7.js +44 -0
  134. data/lib/hashup/templates/themes/static/js/jquery-1.8.2.min.js +2 -0
  135. data/lib/hashup/templates/themes/static/js/jquery-ui-1.10.0.custom.min.js +6 -0
  136. data/lib/hashup/templates/themes/static/js/jquery.dropkick-1.0.0.js +400 -0
  137. data/lib/hashup/templates/themes/static/js/jquery.placeholder.js +157 -0
  138. data/lib/hashup/templates/themes/static/js/jquery.tagsinput.js +354 -0
  139. data/lib/hashup/templates/themes/static/js/lte-ie7-24.js +44 -0
  140. data/lib/hashup/templates/themes/static/pygments-css/README.rst +27 -0
  141. data/lib/hashup/templates/themes/static/pygments-css/autumn.css +58 -0
  142. data/lib/hashup/templates/themes/static/pygments-css/borland.css +46 -0
  143. data/lib/hashup/templates/themes/static/pygments-css/bw.css +34 -0
  144. data/lib/hashup/templates/themes/static/pygments-css/colorful.css +61 -0
  145. data/lib/hashup/templates/themes/static/pygments-css/default.css +62 -0
  146. data/lib/hashup/templates/themes/static/pygments-css/emacs.css +61 -0
  147. data/lib/hashup/templates/themes/static/pygments-css/friendly.css +61 -0
  148. data/lib/hashup/templates/themes/static/pygments-css/fruity.css +69 -0
  149. data/lib/hashup/templates/themes/static/pygments-css/github.css +61 -0
  150. data/lib/hashup/templates/themes/static/pygments-css/manni.css +61 -0
  151. data/lib/hashup/templates/themes/static/pygments-css/monokai.css +59 -0
  152. data/lib/hashup/templates/themes/static/pygments-css/murphy.css +61 -0
  153. data/lib/hashup/templates/themes/static/pygments-css/native.css +69 -0
  154. data/lib/hashup/templates/themes/static/pygments-css/pastie.css +60 -0
  155. data/lib/hashup/templates/themes/static/pygments-css/perldoc.css +58 -0
  156. data/lib/hashup/templates/themes/static/pygments-css/tango.css +69 -0
  157. data/lib/hashup/templates/themes/static/pygments-css/trac.css +59 -0
  158. data/lib/hashup/templates/themes/static/pygments-css/vim.css +69 -0
  159. data/lib/hashup/templates/themes/static/pygments-css/vs.css +33 -0
  160. data/lib/hashup/templates/themes/static/pygments-css/zenburn.css +1 -0
  161. data/lib/hashup/templates/themes/stylesheets/style.css +0 -0
  162. data/lib/hashup/version.rb +3 -0
  163. data/spec/generator_spec.rb +11 -0
  164. data/spec/hashup_spec.rb +12 -0
  165. data/spec/spec_helper.rb +9 -0
  166. metadata +310 -0
@@ -0,0 +1,9 @@
1
+ ---
2
+ site_title: "Welcome to the real world"
3
+ site_banner: "Start from here"
4
+ footer_text: "Built with <a href=\"http://krazylee.github.io/hashup\">Hashup</a> proundly"
5
+ navbar:
6
+ - name: "home"
7
+ href: "/"
8
+ - name: "about"
9
+ href: "/about.html"
@@ -0,0 +1,11 @@
1
+ footer
2
+ .container
3
+ .row
4
+ .span7
5
+ h3.footer-title
6
+ == footer_text
7
+ p
8
+ | Do you like this freebie? Want to get more stuff like this?
9
+ br
10
+ | Subscribe to designmodo news and updates to stay tuned on great designs.
11
+ br
@@ -0,0 +1,12 @@
1
+ doctype 5
2
+ html lang="en"
3
+ head
4
+ meta charset="UTF-8"
5
+ title == site_title
6
+ link rel="stylesheet" href="static/css/bootstrap.css"
7
+ link rel="stylesheet" href="static/css/flat-ui.css"
8
+ link rel="stylesheet" href="static/css/custom.css"
9
+ link rel="stylesheet" href="static/pygments-css/github.css"
10
+ link rel="shortcut icon" href="static/images/favicon.ico"
11
+ body
12
+
@@ -0,0 +1,5 @@
1
+ == render_file("_header.slim")
2
+ .container
3
+ == render_file("_nav.slim")
4
+ == yield
5
+ == render_file("_footer.slim")
@@ -0,0 +1,7 @@
1
+ h1 == site_banner
2
+ .row
3
+ - for nav in navbar
4
+ .span6
5
+ a.btn.btn-large.btn-block href="#{nav['href']}" = nav["name"]
6
+ hr
7
+
@@ -0,0 +1,16 @@
1
+ // Colors
2
+ $base: #34495e
3
+ $firm: #1abc9c
4
+
5
+ $gray: #95a5a6
6
+ $lightgray: #ecf0f1
7
+ $inverse: #fff
8
+
9
+ $success: #2ecc71
10
+ $danger: #e74c3c
11
+ $warning: #f1c40f
12
+ $info: #3498db
13
+
14
+ // Font
15
+ $base-font-family: 'Lato', sans-serif
16
+ $base-font-size: 14px
@@ -0,0 +1,91 @@
1
+ @font-face
2
+ font-family: 'Flat-UI-Icons-24'
3
+ src: url('../fonts/Flat-UI-Icons-24.eot')
4
+ src: url('../fonts/Flat-UI-Icons-24.eot?#iefix') format("embedded-opentype"), url('../fonts/Flat-UI-Icons-24.woff') format("woff"), url('../fonts/Flat-UI-Icons-24.ttf') format("truetype"), url('../fonts/Flat-UI-Icons-24.svg#Flat-UI-Icons-24') format("svg")
5
+ font-weight: normal
6
+ font-style: normal
7
+
8
+
9
+ /* Use the following CSS code if you want to use data attributes for inserting your icons
10
+
11
+ [data-icon]:before
12
+ font-family: 'Flat-UI-Icons-24'
13
+ content: attr(data-icon)
14
+ speak: none
15
+ font-weight: normal
16
+ line-height: 1
17
+ -webkit-font-smoothing: antialiased
18
+
19
+ /* Use the following CSS code if you want to have a class per icon
20
+ /*
21
+ *Instead of a list of all class selectors,
22
+ *you can use the generic selector below, but it's slower:
23
+ *[class*="fui-"]:before {
24
+
25
+ .fui-video-24:before, .fui-time-24:before, .fui-settings-24:before, .fui-plus-24:before, .fui-new-24:before, .fui-menu-24:before, .fui-man-24:before, .fui-mail-24:before, .fui-lock-24:before, .fui-location-24:before, .fui-heart-24:before, .fui-eye-24:before, .fui-cross-24:before, .fui-cmd-24:before, .fui-checkround-24:before, .fui-checkmark-24:before, .fui-calendar-24:before, .fui-bubble-24:before, .fui-volume-24:before, .fui-camera-24:before
26
+ font-family: 'Flat-UI-Icons-24'
27
+ speak: none
28
+ font-style: normal
29
+ font-weight: normal
30
+ line-height: 1
31
+ -webkit-font-smoothing: antialiased
32
+
33
+ .fui-video-24:before
34
+ content: "\e000"
35
+
36
+ .fui-time-24:before
37
+ content: "\e001"
38
+
39
+ .fui-settings-24:before
40
+ content: "\e002"
41
+
42
+ .fui-plus-24:before
43
+ content: "\e003"
44
+
45
+ .fui-new-24:before
46
+ content: "\e005"
47
+
48
+ .fui-menu-24:before
49
+ content: "\e006"
50
+
51
+ .fui-man-24:before
52
+ content: "\e007"
53
+
54
+ .fui-mail-24:before
55
+ content: "\e008"
56
+
57
+ .fui-lock-24:before
58
+ content: "\e009"
59
+
60
+ .fui-location-24:before
61
+ content: "\e00a"
62
+
63
+ .fui-heart-24:before
64
+ content: "\e00b"
65
+
66
+ .fui-eye-24:before
67
+ content: "\e00c"
68
+
69
+ .fui-cross-24:before
70
+ content: "\e00d"
71
+
72
+ .fui-cmd-24:before
73
+ content: "\e00e"
74
+
75
+ .fui-checkround-24:before
76
+ content: "\e00f"
77
+
78
+ .fui-checkmark-24:before
79
+ content: "\e010"
80
+
81
+ .fui-calendar-24:before
82
+ content: "\e011"
83
+
84
+ .fui-bubble-24:before
85
+ content: "\e012"
86
+
87
+ .fui-volume-24:before
88
+ content: "\e013"
89
+
90
+ .fui-camera-24:before
91
+ content: "\e004"
@@ -0,0 +1,91 @@
1
+ @font-face
2
+ font-family: 'Flat-UI-Icons-16'
3
+ src: url('../fonts/Flat-UI-Icons-16.eot')
4
+ src: url('../fonts/Flat-UI-Icons-16.eot?#iefix') format("embedded-opentype"), url('../fonts/Flat-UI-Icons-16.woff') format("woff"), url('../fonts/Flat-UI-Icons-16.ttf') format("truetype"), url('../fonts/Flat-UI-Icons-16.svg#Flat-UI-Icons-16') format("svg")
5
+ font-weight: normal
6
+ font-style: normal
7
+
8
+
9
+ /* Use the following CSS code if you want to use data attributes for inserting your icons
10
+
11
+ [data-icon]:before
12
+ font-family: 'Flat-UI-Icons-16'
13
+ content: attr(data-icon)
14
+ speak: none
15
+ font-weight: normal
16
+ line-height: 1
17
+ -webkit-font-smoothing: antialiased
18
+
19
+ /* Use the following CSS code if you want to have a class per icon
20
+ /*
21
+ *Instead of a list of all class selectors,
22
+ *you can use the generic selector below, but it's slower:
23
+ *[class*="fui-"]:before {
24
+
25
+ .fui-volume-16:before, .fui-video-16:before, .fui-time-16:before, .fui-settings-16:before, .fui-plus-16:before, .fui-new-16:before, .fui-menu-16:before, .fui-man-16:before, .fui-mail-16:before, .fui-lock-16:before, .fui-location-16:before, .fui-heart-16:before, .fui-eye-16:before, .fui-cross-16:before, .fui-cmd-16:before, .fui-checkround-16:before, .fui-checkmark-16:before, .fui-camera-16:before, .fui-calendar-16:before, .fui-bubble-16:before
26
+ font-family: 'Flat-UI-Icons-16'
27
+ speak: none
28
+ font-style: normal
29
+ font-weight: normal
30
+ line-height: 1
31
+ -webkit-font-smoothing: antialiased
32
+
33
+ .fui-volume-16:before
34
+ content: "\e000"
35
+
36
+ .fui-video-16:before
37
+ content: "\e001"
38
+
39
+ .fui-time-16:before
40
+ content: "\e002"
41
+
42
+ .fui-settings-16:before
43
+ content: "\e003"
44
+
45
+ .fui-plus-16:before
46
+ content: "\e004"
47
+
48
+ .fui-new-16:before
49
+ content: "\e005"
50
+
51
+ .fui-menu-16:before
52
+ content: "\e006"
53
+
54
+ .fui-man-16:before
55
+ content: "\e007"
56
+
57
+ .fui-mail-16:before
58
+ content: "\e008"
59
+
60
+ .fui-lock-16:before
61
+ content: "\e009"
62
+
63
+ .fui-location-16:before
64
+ content: "\e00a"
65
+
66
+ .fui-heart-16:before
67
+ content: "\e00b"
68
+
69
+ .fui-eye-16:before
70
+ content: "\e00c"
71
+
72
+ .fui-cross-16:before
73
+ content: "\e00d"
74
+
75
+ .fui-cmd-16:before
76
+ content: "\e00e"
77
+
78
+ .fui-checkround-16:before
79
+ content: "\e00f"
80
+
81
+ .fui-checkmark-16:before
82
+ content: "\e010"
83
+
84
+ .fui-camera-16:before
85
+ content: "\e011"
86
+
87
+ .fui-calendar-16:before
88
+ content: "\e012"
89
+
90
+ .fui-bubble-16:before
91
+ content: "\e013"
@@ -0,0 +1,96 @@
1
+ // Mixins
2
+ =animation($properties)
3
+ -webkit-animation: $properties
4
+ -moz-animation: $properties
5
+ -o-animation: $properties
6
+ animation: $properties
7
+
8
+ =border-radius($radius)
9
+ -webkit-border-radius: $radius
10
+ -moz-border-radius: $radius
11
+ border-radius: $radius
12
+
13
+ =box-sizing
14
+ -webkit-box-sizing: border-box
15
+ -moz-box-sizing: border-box
16
+ box-sizing: border-box
17
+ // *behavior: url('../js/boxsizing.htc')
18
+
19
+ =box-shadow($properties)
20
+ -webkit-box-shadow: $properties
21
+ -moz-box-shadow: $properties
22
+ box-shadow: $properties
23
+
24
+ =inline-block
25
+ display: inline-block
26
+ zoom: 1
27
+ *display: inline
28
+
29
+ =opacity($value)
30
+ opacity: $value
31
+ filter: alpha(opacity=$value*100)
32
+ zoom: 1
33
+
34
+ =placeholder-color($color)
35
+ &:-moz-placeholder
36
+ color: $color
37
+ &::-webkit-input-placeholder
38
+ color: $color
39
+ &.placeholder
40
+ color: $color
41
+
42
+ =transition($properties)
43
+ -webkit-transition: $properties
44
+ -moz-transition: $properties
45
+ -o-transition: $properties
46
+ transition: $properties
47
+ -webkit-backface-visibility: hidden
48
+
49
+ =transform($properties)
50
+ -webkit-transform: $properties
51
+ -moz-transform: $properties
52
+ -ms-transform: $properties
53
+ -o-transform: $properties
54
+ transform: $properties
55
+
56
+ =vertical-gradient($from, $to)
57
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $from), color-stop(100%, $to))
58
+ background: -webkit-linear-gradient(top, $from, $to)
59
+ background: -moz-linear-gradient(top, $from, $to)
60
+ background: -ms-linear-gradient(top, $from, $to)
61
+ background: -o-linear-gradient(top, $from, $to)
62
+ background: linear-gradient(to bottom, $from, $to)
63
+
64
+ =selection($color)
65
+ &::selection
66
+ background: $color
67
+
68
+ &::-moz-selection
69
+ background: $color
70
+
71
+ =clearfix
72
+ *zoom: 1
73
+ &:before,
74
+ &:after
75
+ display: table
76
+ content: ''
77
+ &:after
78
+ clear: both
79
+
80
+ =dropdown-arrow($color: $base, $top: 5px, $left: 15px, $size: 9px)
81
+ &:before
82
+ content: ''
83
+ border-style: solid
84
+ border-width: 0 $size $size $size
85
+ border-color: transparent transparent $color transparent
86
+ height: 0px
87
+ position: absolute
88
+ left: $left
89
+ top: $top
90
+ width: 0px
91
+ // Make corners smooth
92
+ -webkit-transform: rotate(360deg)
93
+
94
+ =drop-ie-gradient
95
+ filter: unquote('progid:DXImageTransform.Microsoft.gradient(enabled = false)')
96
+
@@ -0,0 +1,129 @@
1
+ // Should be used to modify the default spacing between objects (not between nodes of * the same object)
2
+ // p,m = padding,margin
3
+ // a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical
4
+ // x,s,m,l,n = extra-small($x),small($s),medium($m),large($l),none(0px)
5
+ $x: 3px
6
+ $s: 5px
7
+ $m: 10px
8
+ $l: 20px
9
+
10
+ .ptn, .pvn, .pan
11
+ padding-top: 0
12
+
13
+ .ptx, .pvx, .pax
14
+ padding-top: $x
15
+
16
+ .pts, .pvs, .pas
17
+ padding-top: $s
18
+
19
+ .ptm, .pvm, .pam
20
+ padding-top: $m
21
+
22
+ .ptl, .pvl, .pal
23
+ padding-top: $l
24
+
25
+ .prn, .phn, .pan
26
+ padding-right: 0
27
+
28
+ .prx, .phx, .pax
29
+ padding-right: $x
30
+
31
+ .prs, .phs, .pas
32
+ padding-right: $s
33
+
34
+ .prm, .phm, .pam
35
+ padding-right: $m
36
+
37
+ .prl, .phl, .pal
38
+ padding-right: $l
39
+
40
+ .pbn, .pvn, .pan
41
+ padding-bottom: 0
42
+
43
+ .pbx, .pvx, .pax
44
+ padding-bottom: $x
45
+
46
+ .pbs, .pvs, .pas
47
+ padding-bottom: $s
48
+
49
+ .pbm, .pvm, .pam
50
+ padding-bottom: $m
51
+
52
+ .pbl, .pvl, .pal
53
+ padding-bottom: $l
54
+
55
+ .pln, .phn, .pan
56
+ padding-left: 0
57
+
58
+ .plx, .phx, .pax
59
+ padding-left: $x
60
+
61
+ .pls, .phs, .pas
62
+ padding-left: $s
63
+
64
+ .plm, .phm, .pam
65
+ padding-left: $m
66
+
67
+ .pll, .phl, .pal
68
+ padding-left: $l
69
+
70
+ .mtn, .mvn, .man
71
+ margin-top: 0px
72
+
73
+ .mtx, .mvx, .max
74
+ margin-top: $x
75
+
76
+ .mts, .mvs, .mas
77
+ margin-top: $s
78
+
79
+ .mtm, .mvm, .mam
80
+ margin-top: $m
81
+
82
+ .mtl, .mvl, .mal
83
+ margin-top: $l
84
+
85
+ .mrn, .mhn, .man
86
+ margin-right: 0px
87
+
88
+ .mrx, .mhx, .max
89
+ margin-right: $x
90
+
91
+ .mrs, .mhs, .mas
92
+ margin-right: $s
93
+
94
+ .mrm, .mhm, .mam
95
+ margin-right: $m
96
+
97
+ .mrl, .mhl, .mal
98
+ margin-right: $l
99
+
100
+ .mbn, .mvn, .man
101
+ margin-bottom: 0px
102
+
103
+ .mbx, .mvx, .max
104
+ margin-bottom: $x
105
+
106
+ .mbs, .mvs, .mas
107
+ margin-bottom: $s
108
+
109
+ .mbm, .mvm, .mam
110
+ margin-bottom: $m
111
+
112
+ .mbl, .mvl, .mal
113
+ margin-bottom: $l
114
+
115
+ .mln, .mhn, .man
116
+ margin-left: 0px
117
+
118
+ .mlx, .mhx, .max
119
+ margin-left: $x
120
+
121
+ .mls, .mhs, .mas
122
+ margin-left: $s
123
+
124
+ .mlm, .mhm, .mam
125
+ margin-left: $m
126
+
127
+ .mll, .mhl, .mal
128
+ margin-left: $l
129
+