shipyard-framework 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/shipyard/modal.js +2 -2
  3. data/assets/stylesheets/shipyard/_components.sass +4 -0
  4. data/assets/stylesheets/shipyard/_mixins.sass +2 -0
  5. data/assets/stylesheets/shipyard/_utilities.sass +22 -8
  6. data/assets/stylesheets/shipyard/_variables.sass +1 -3
  7. data/assets/stylesheets/shipyard/{utilities → components}/_accordion.sass +4 -4
  8. data/assets/stylesheets/shipyard/components/_alerts.sass +8 -10
  9. data/assets/stylesheets/shipyard/components/_boxes.sass +1 -15
  10. data/assets/stylesheets/shipyard/components/_bullet.sass +6 -0
  11. data/assets/stylesheets/shipyard/components/_buttons.sass +0 -3
  12. data/assets/stylesheets/shipyard/components/_container.sass +6 -0
  13. data/assets/stylesheets/shipyard/components/_forms.sass +1 -1
  14. data/assets/stylesheets/shipyard/components/_grid.sass +62 -0
  15. data/assets/stylesheets/shipyard/components/_hamburger.sass +4 -4
  16. data/assets/stylesheets/shipyard/components/_header.sass +14 -14
  17. data/assets/stylesheets/shipyard/components/_horizontal-rules.sass +1 -1
  18. data/assets/stylesheets/shipyard/components/_input-radio-checkbox.sass +1 -1
  19. data/assets/stylesheets/shipyard/components/_input-select.sass +1 -1
  20. data/assets/stylesheets/shipyard/components/_input-text.sass +1 -1
  21. data/assets/stylesheets/shipyard/components/_modals.sass +2 -3
  22. data/assets/stylesheets/shipyard/components/_notes.sass +6 -6
  23. data/assets/stylesheets/shipyard/components/_tables.sass +1 -1
  24. data/assets/stylesheets/shipyard/components/_tooltips.sass +8 -4
  25. data/assets/stylesheets/shipyard/core/_typography.sass +0 -19
  26. data/assets/stylesheets/shipyard/functions/_color.sass +4 -7
  27. data/assets/stylesheets/shipyard/mixins/_components.sass +0 -6
  28. data/assets/stylesheets/shipyard/mixins/_grid.sass +17 -0
  29. data/assets/stylesheets/shipyard/mixins/_responsive.sass +38 -42
  30. data/assets/stylesheets/shipyard/mixins/_utility.sass +50 -0
  31. data/assets/stylesheets/shipyard/utilities/_border-radius.sass +29 -39
  32. data/assets/stylesheets/shipyard/utilities/_box-shadow.sass +1 -0
  33. data/assets/stylesheets/shipyard/utilities/_center.sass +8 -14
  34. data/assets/stylesheets/shipyard/utilities/_colors.sass +2 -12
  35. data/assets/stylesheets/shipyard/utilities/_cursor.sass +1 -0
  36. data/assets/stylesheets/shipyard/utilities/_display.sass +1 -14
  37. data/assets/stylesheets/shipyard/utilities/_flex-direction.sass +1 -0
  38. data/assets/stylesheets/shipyard/utilities/_float.sass +4 -0
  39. data/assets/stylesheets/shipyard/utilities/_font-family.sass +1 -0
  40. data/assets/stylesheets/shipyard/utilities/_font-size.sass +1 -0
  41. data/assets/stylesheets/shipyard/utilities/_font-style.sass +1 -0
  42. data/assets/stylesheets/shipyard/utilities/_font-weight.sass +1 -0
  43. data/assets/stylesheets/shipyard/utilities/_height.sass +1 -0
  44. data/assets/stylesheets/shipyard/utilities/_margin.sass +1 -0
  45. data/assets/stylesheets/shipyard/utilities/_opacity.sass +1 -4
  46. data/assets/stylesheets/shipyard/utilities/_overflow.sass +3 -11
  47. data/assets/stylesheets/shipyard/utilities/_padding.sass +1 -0
  48. data/assets/stylesheets/shipyard/utilities/_position.sass +1 -4
  49. data/assets/stylesheets/shipyard/utilities/_text-align.sass +1 -0
  50. data/assets/stylesheets/shipyard/utilities/_text-decoration.sass +1 -0
  51. data/assets/stylesheets/shipyard/utilities/_text-overflow.sass +1 -0
  52. data/assets/stylesheets/shipyard/utilities/_text-shadow.sass +1 -0
  53. data/assets/stylesheets/shipyard/utilities/_text-transform.sass +1 -0
  54. data/assets/stylesheets/shipyard/utilities/_transform.sass +1 -0
  55. data/assets/stylesheets/shipyard/utilities/_transition.sass +1 -0
  56. data/assets/stylesheets/shipyard/utilities/_white-space.sass +1 -0
  57. data/assets/stylesheets/shipyard/utilities/_z-index.sass +1 -0
  58. data/assets/stylesheets/shipyard/variables/_color_utilities.sass +54 -54
  59. data/assets/stylesheets/shipyard/variables/_colors.scss +101 -88
  60. data/assets/stylesheets/shipyard/variables/_components.scss +0 -1
  61. data/assets/stylesheets/shipyard/variables/_options.scss +322 -0
  62. data/assets/stylesheets/shipyard/variables/_typography.sass +3 -2
  63. data/lib/shipyard-framework.rb +0 -3
  64. data/lib/shipyard-framework/helpers/alert_helper.rb +1 -1
  65. data/lib/shipyard-framework/version.rb +1 -1
  66. metadata +29 -11
  67. data/assets/stylesheets/shipyard/utilities/_grid.sass +0 -74
  68. data/assets/stylesheets/shipyard/utilities/_margin-padding.sass +0 -40
  69. data/assets/stylesheets/shipyard/utilities/_typography.sass +0 -104
  70. data/assets/stylesheets/shipyard/variables/_grid.sass +0 -2
  71. data/assets/stylesheets/shipyard/variables/_opacities.scss +0 -22
  72. data/assets/stylesheets/shipyard/variables/_z-index.scss +0 -9
  73. data/lib/shipyard-framework/helpers/button_helper.rb +0 -39
  74. data/lib/shipyard-framework/jekyll/tags/button_tag.rb +0 -21
@@ -1,21 +0,0 @@
1
- require 'shipyard-framework/helpers/button_helper'
2
-
3
- module Shipyard
4
- module Jekyll
5
- class Button < Liquid::Tag
6
- include Shipyard::ButtonHelper
7
-
8
- def initialize(tag_name, params, options)
9
- super
10
- @params = params.split(',')
11
- @text = @params[0].strip
12
- @args = @params[1].to_s.tr(':','').split(' ').map(&:to_sym)
13
- @args << eval("{#{@params[2]}}") if @params[2]
14
- end
15
-
16
- def render(context)
17
- btn @text, *@args
18
- end
19
- end
20
- end
21
- end