liqueur 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile.lock +2 -2
  3. data/app/assets/javascripts/liqueur.coffee +3 -0
  4. data/app/assets/javascripts/liqueur/datamask-applier.coffee +8 -0
  5. data/app/assets/javascripts/liqueur/footer-float-height.coffee +6 -0
  6. data/app/assets/javascripts/liqueur/lib/jquery.maskedinput.js +338 -0
  7. data/app/assets/javascripts/liqueur/lib/nprogress.js +279 -0
  8. data/app/assets/javascripts/liqueur/onload.coffee +6 -0
  9. data/app/assets/javascripts/liqueur/spinner.coffee +10 -0
  10. data/app/assets/stylesheets/_liqueur.scss +6 -1
  11. data/app/assets/stylesheets/liqueur/_form.scss +5 -0
  12. data/app/assets/stylesheets/liqueur/_grid.scss +37 -0
  13. data/app/assets/stylesheets/liqueur/_helpers.scss +9 -0
  14. data/app/assets/stylesheets/liqueur/_medias.scss +2 -0
  15. data/app/assets/stylesheets/liqueur/_snippets.scss +5 -0
  16. data/app/assets/stylesheets/liqueur/_spinner.scss +79 -0
  17. data/app/assets/stylesheets/liqueur/_tiles.scss +104 -0
  18. data/app/assets/stylesheets/liqueur/form/_input.scss +0 -0
  19. data/app/assets/stylesheets/liqueur/helpers/_block.scss +8 -0
  20. data/app/assets/stylesheets/liqueur/helpers/_border.scss +24 -0
  21. data/app/assets/stylesheets/liqueur/helpers/_description.scss +5 -0
  22. data/app/assets/stylesheets/liqueur/helpers/_float.scss +29 -0
  23. data/app/assets/stylesheets/liqueur/helpers/_li.scss +12 -0
  24. data/app/assets/stylesheets/liqueur/helpers/_padding.scss +6 -0
  25. data/app/assets/stylesheets/liqueur/helpers/_size.scss +29 -0
  26. data/app/assets/stylesheets/liqueur/helpers/_text_align.scss +15 -0
  27. data/app/assets/stylesheets/liqueur/helpers/_text_size.scss +15 -0
  28. data/app/assets/stylesheets/liqueur/medias/_display.scss +7 -0
  29. data/app/assets/stylesheets/liqueur/medias/_print.scss +17 -0
  30. data/app/assets/stylesheets/liqueur/reset/{_body_margin.css.scss → _body_margin.scss} +0 -0
  31. data/app/assets/stylesheets/liqueur/reset/{_disabling_user_zoom.css.scss → _disabling_user_zoom.scss} +0 -0
  32. data/app/assets/stylesheets/liqueur/reset/{_font_family.css.scss → _font_family.scss} +0 -0
  33. data/app/assets/stylesheets/liqueur/reset/{_fontsize_body_ie.css.scss → _fontsize_body_ie.scss} +0 -0
  34. data/app/assets/stylesheets/liqueur/reset/{_form.css.scss → _form.scss} +0 -0
  35. data/app/assets/stylesheets/liqueur/reset/{_html5.css.scss → _html5.scss} +2 -0
  36. data/app/assets/stylesheets/liqueur/reset/{_images.css.scss → _images.scss} +1 -0
  37. data/app/assets/stylesheets/liqueur/reset/{_links.css.scss → _links.scss} +5 -1
  38. data/app/assets/stylesheets/liqueur/reset/{_lists.css.scss → _lists.scss} +8 -0
  39. data/app/assets/stylesheets/liqueur/reset/{_print.css.scss → _print.scss} +0 -0
  40. data/app/assets/stylesheets/liqueur/reset/{_selection.css.scss → _selection.scss} +0 -0
  41. data/app/assets/stylesheets/liqueur/reset/{_table.css.scss → _table.scss} +0 -0
  42. data/app/assets/stylesheets/liqueur/reset/{_tap_color.css.scss → _tap_color.scss} +0 -0
  43. data/app/assets/stylesheets/liqueur/reset/{_typografy.css.scss → _typografy.scss} +0 -0
  44. data/app/assets/stylesheets/liqueur/snippets/_container.scss +28 -0
  45. data/app/assets/stylesheets/liqueur/snippets/_footer.scss +25 -0
  46. data/app/assets/stylesheets/liqueur/snippets/_link_overflow.scss +11 -0
  47. data/app/assets/stylesheets/liqueur/snippets/_menu.scss +30 -0
  48. data/app/assets/stylesheets/liqueur/snippets/_toggler.scss +3 -0
  49. data/lib/liqueur/version.rb +1 -1
  50. data/liqueur.gemspec +2 -2
  51. metadata +94 -85
@@ -0,0 +1,17 @@
1
+ [data-media=screen] {
2
+ @media screen {
3
+ }
4
+
5
+ @media print {
6
+ display: none;
7
+ }
8
+ }
9
+
10
+ [data-media=print] {
11
+ @media screen {
12
+ display: none;
13
+ }
14
+
15
+ @media print {
16
+ }
17
+ }
@@ -1,3 +1,5 @@
1
+ @import 'wiskey';
2
+
1
3
  article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
2
4
  display: block;
3
5
  }
@@ -1,4 +1,5 @@
1
1
  img {
2
+ max-width: 100%;
2
3
  border: 0;
3
4
  -ms-interpolation-mode: bicubic;
4
5
  vertical-align: middle;
@@ -1,5 +1,9 @@
1
1
  a {
2
2
 
3
+ &.with-image {
4
+ text-decoration: none;
5
+ }
6
+
3
7
  &:visited {}
4
8
 
5
9
  &:hover {}
@@ -12,4 +16,4 @@ a {
12
16
  outline: 0;
13
17
  }
14
18
 
15
- }
19
+ }
@@ -11,4 +11,12 @@ nav ul, nav ol {
11
11
  list-style-image: none;
12
12
  margin: 0;
13
13
  padding: 0;
14
+ }
15
+
16
+ ul, ol {
17
+ &.pseudolist {
18
+ list-style: none;
19
+ margin: 0;
20
+ padding: 0;
21
+ }
14
22
  }
@@ -0,0 +1,28 @@
1
+ @import "wiskey/functions/medias";
2
+
3
+ $snippet-container-width: 90% !default;
4
+ $snippet-container-handhelds-width: 95% !default;
5
+ $snippet-container-wide-handhelds-width: 90% !default;
6
+ $snippet-container-tablets-width: 90% !default;
7
+ $snippet-container-small-screens-width: 90% !default;
8
+ $snippet-container-wide-screens-width: 90% !default;
9
+
10
+ $snippet-container-max-width: 1100px !default;
11
+ $snippet-container-padding: 1em 0;
12
+
13
+ .container {
14
+ margin-left: auto;
15
+ margin-right: auto;
16
+ width: $snippet-container-width;
17
+ padding: $snippet-container-padding;
18
+ max-width: $snippet-container-max-width;
19
+ @include respond-to(handhelds) { width: $snippet-container-handhelds-width; }
20
+ @include respond-to(wide-handhelds) { width: $snippet-container-wide-handhelds-width; }
21
+ @include respond-to(tablets) { width: $snippet-container-tablets-width; }
22
+ @include respond-to(small-screens) { width: $snippet-container-small-screens-width; }
23
+ @include respond-to(wide-screens) { width: $snippet-container-wide-screens-width; }
24
+ }
25
+
26
+ ul.container {
27
+ list-style: none;
28
+ }
@@ -0,0 +1,25 @@
1
+ $footer-all-background: #f0f0f0 !default;
2
+
3
+ html, body {
4
+ height: 100%;
5
+ padding: 0;
6
+ margin: 0;
7
+ }
8
+
9
+ html > body #all {
10
+ height: auto
11
+ }
12
+
13
+ #all {
14
+ position: relative;
15
+ height: 100%;
16
+ min-height: 100%;
17
+ background: $footer-all-background;
18
+ }
19
+
20
+ footer {
21
+ position: absolute;
22
+ left: 0;
23
+ right: 0;
24
+ bottom: 0;
25
+ }
@@ -0,0 +1,11 @@
1
+ [data-link=parent] {
2
+ position: relative;
3
+
4
+ [data-link=link] {
5
+ position: absolute;
6
+ left: 0;
7
+ top: 0;
8
+ width: 100%;
9
+ height: 100%;
10
+ }
11
+ }
@@ -0,0 +1,30 @@
1
+ @import 'wiskey/css3/inline-block';
2
+
3
+ ul.menu {
4
+ padding: 0;
5
+ margin: 0;
6
+
7
+ > li {
8
+ list-style: none;
9
+ display: inline;
10
+
11
+ a {
12
+ padding: .5em;
13
+ @include inline-block;
14
+ }
15
+
16
+ &:first-child {
17
+ a {
18
+ padding-left: 0;
19
+ }
20
+ }
21
+
22
+ &:last-child {
23
+ a {
24
+ padding-right: 0;
25
+ }
26
+ }
27
+
28
+
29
+ }
30
+ }
@@ -0,0 +1,3 @@
1
+ [data-toggle] {
2
+ cursor: pointer;
3
+ }
@@ -1,3 +1,3 @@
1
1
  module Liqueur
2
- VERSION = "0.0.5"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
 
9
9
  s.authors = [ "Alexey Osipenko" ]
10
10
  s.email = [ "alexey@osipenko.in.ua" ]
11
- s.homepage = "http://aratak.github.com/liqueur/"
11
+ s.homepage = "https://github.com/cimon-io/liqueur/"
12
12
  s.description = "CSS framework with most used snippets for true cutupping. "
13
13
  s.version = Liqueur::VERSION
14
14
 
@@ -16,6 +16,6 @@ Gem::Specification.new do |s|
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
  s.require_paths = ["lib"]
18
18
 
19
- s.add_dependency "wiskey", "0.0.5"
19
+ s.add_dependency "wiskey"
20
20
  s.add_dependency 'sass', '>= 3.1'
21
21
  end
metadata CHANGED
@@ -1,89 +1,107 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: liqueur
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 5
10
- version: 0.0.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Alexey Osipenko
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-12-20 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2015-06-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: wiskey
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - "="
27
- - !ruby/object:Gem::Version
28
- hash: 21
29
- segments:
30
- - 0
31
- - 0
32
- - 5
33
- version: 0.0.5
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
34
20
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: sass
38
21
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
42
24
  - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 5
45
- segments:
46
- - 3
47
- - 1
48
- version: "3.1"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sass
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
49
34
  type: :runtime
50
- version_requirements: *id002
51
- description: "CSS framework with most used snippets for true cutupping. "
52
- email:
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '3.1'
41
+ description: 'CSS framework with most used snippets for true cutupping. '
42
+ email:
53
43
  - alexey@osipenko.in.ua
54
44
  executables: []
55
-
56
45
  extensions: []
57
-
58
46
  extra_rdoc_files: []
59
-
60
- files:
61
- - .gitignore
62
- - .rvmrc
47
+ files:
48
+ - ".gitignore"
49
+ - ".rvmrc"
63
50
  - Gemfile
64
51
  - Gemfile.lock
65
52
  - MIT-LICENSE
66
53
  - README.rdoc
67
54
  - Rakefile
55
+ - app/assets/javascripts/liqueur.coffee
56
+ - app/assets/javascripts/liqueur/datamask-applier.coffee
57
+ - app/assets/javascripts/liqueur/footer-float-height.coffee
58
+ - app/assets/javascripts/liqueur/lib/jquery.maskedinput.js
59
+ - app/assets/javascripts/liqueur/lib/nprogress.js
60
+ - app/assets/javascripts/liqueur/onload.coffee
61
+ - app/assets/javascripts/liqueur/spinner.coffee
68
62
  - app/assets/stylesheets/.gitkeep
69
63
  - app/assets/stylesheets/_liqueur.scss
64
+ - app/assets/stylesheets/liqueur/_form.scss
65
+ - app/assets/stylesheets/liqueur/_grid.scss
66
+ - app/assets/stylesheets/liqueur/_helpers.scss
67
+ - app/assets/stylesheets/liqueur/_medias.scss
70
68
  - app/assets/stylesheets/liqueur/_reset.scss
71
- - app/assets/stylesheets/liqueur/reset/_body_margin.css.scss
69
+ - app/assets/stylesheets/liqueur/_snippets.scss
70
+ - app/assets/stylesheets/liqueur/_spinner.scss
71
+ - app/assets/stylesheets/liqueur/_tiles.scss
72
+ - app/assets/stylesheets/liqueur/form/_input.scss
73
+ - app/assets/stylesheets/liqueur/helpers/_block.scss
74
+ - app/assets/stylesheets/liqueur/helpers/_border.scss
75
+ - app/assets/stylesheets/liqueur/helpers/_description.scss
76
+ - app/assets/stylesheets/liqueur/helpers/_float.scss
77
+ - app/assets/stylesheets/liqueur/helpers/_li.scss
78
+ - app/assets/stylesheets/liqueur/helpers/_padding.scss
79
+ - app/assets/stylesheets/liqueur/helpers/_size.scss
80
+ - app/assets/stylesheets/liqueur/helpers/_text_align.scss
81
+ - app/assets/stylesheets/liqueur/helpers/_text_size.scss
82
+ - app/assets/stylesheets/liqueur/medias/_display.scss
83
+ - app/assets/stylesheets/liqueur/medias/_print.scss
84
+ - app/assets/stylesheets/liqueur/reset/_body_margin.scss
72
85
  - app/assets/stylesheets/liqueur/reset/_clearfix.scss
73
- - app/assets/stylesheets/liqueur/reset/_disabling_user_zoom.css.scss
74
- - app/assets/stylesheets/liqueur/reset/_font_family.css.scss
75
- - app/assets/stylesheets/liqueur/reset/_fontsize_body_ie.css.scss
76
- - app/assets/stylesheets/liqueur/reset/_form.css.scss
86
+ - app/assets/stylesheets/liqueur/reset/_disabling_user_zoom.scss
87
+ - app/assets/stylesheets/liqueur/reset/_font_family.scss
88
+ - app/assets/stylesheets/liqueur/reset/_fontsize_body_ie.scss
89
+ - app/assets/stylesheets/liqueur/reset/_form.scss
77
90
  - app/assets/stylesheets/liqueur/reset/_hr.scss
78
- - app/assets/stylesheets/liqueur/reset/_html5.css.scss
79
- - app/assets/stylesheets/liqueur/reset/_images.css.scss
80
- - app/assets/stylesheets/liqueur/reset/_links.css.scss
81
- - app/assets/stylesheets/liqueur/reset/_lists.css.scss
82
- - app/assets/stylesheets/liqueur/reset/_print.css.scss
83
- - app/assets/stylesheets/liqueur/reset/_selection.css.scss
84
- - app/assets/stylesheets/liqueur/reset/_table.css.scss
85
- - app/assets/stylesheets/liqueur/reset/_tap_color.css.scss
86
- - app/assets/stylesheets/liqueur/reset/_typografy.css.scss
91
+ - app/assets/stylesheets/liqueur/reset/_html5.scss
92
+ - app/assets/stylesheets/liqueur/reset/_images.scss
93
+ - app/assets/stylesheets/liqueur/reset/_links.scss
94
+ - app/assets/stylesheets/liqueur/reset/_lists.scss
95
+ - app/assets/stylesheets/liqueur/reset/_print.scss
96
+ - app/assets/stylesheets/liqueur/reset/_selection.scss
97
+ - app/assets/stylesheets/liqueur/reset/_table.scss
98
+ - app/assets/stylesheets/liqueur/reset/_tap_color.scss
99
+ - app/assets/stylesheets/liqueur/reset/_typografy.scss
100
+ - app/assets/stylesheets/liqueur/snippets/_container.scss
101
+ - app/assets/stylesheets/liqueur/snippets/_footer.scss
102
+ - app/assets/stylesheets/liqueur/snippets/_link_overflow.scss
103
+ - app/assets/stylesheets/liqueur/snippets/_menu.scss
104
+ - app/assets/stylesheets/liqueur/snippets/_toggler.scss
87
105
  - lib/liqueur.rb
88
106
  - lib/liqueur/engine.rb
89
107
  - lib/liqueur/sass_extensions.rb
@@ -118,40 +136,30 @@ files:
118
136
  - test/liqueur_test.rb
119
137
  - test/support/integration_case.rb
120
138
  - test/test_helper.rb
121
- homepage: http://aratak.github.com/liqueur/
139
+ homepage: https://github.com/cimon-io/liqueur/
122
140
  licenses: []
123
-
141
+ metadata: {}
124
142
  post_install_message:
125
143
  rdoc_options: []
126
-
127
- require_paths:
144
+ require_paths:
128
145
  - lib
129
- required_ruby_version: !ruby/object:Gem::Requirement
130
- none: false
131
- requirements:
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
132
148
  - - ">="
133
- - !ruby/object:Gem::Version
134
- hash: 3
135
- segments:
136
- - 0
137
- version: "0"
138
- required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
- requirements:
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
141
153
  - - ">="
142
- - !ruby/object:Gem::Version
143
- hash: 3
144
- segments:
145
- - 0
146
- version: "0"
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
147
156
  requirements: []
148
-
149
157
  rubyforge_project:
150
- rubygems_version: 1.8.10
158
+ rubygems_version: 2.2.2
151
159
  signing_key:
152
- specification_version: 3
160
+ specification_version: 4
153
161
  summary: CSS framework
154
- test_files:
162
+ test_files:
155
163
  - test/dummy/Rakefile
156
164
  - test/dummy/app/assets/stylesheets/application.css.scss
157
165
  - test/dummy/app/controllers/application_controller.rb
@@ -179,3 +187,4 @@ test_files:
179
187
  - test/liqueur_test.rb
180
188
  - test/support/integration_case.rb
181
189
  - test/test_helper.rb
190
+ has_rdoc: