r_kit 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YzU1Yzk2ZWRmZTUzYTM2ODI2MTdmM2FiZWM0YjkyMTQ5MmE2M2NjYw==
5
+ data.tar.gz: !binary |-
6
+ OGU5NzNlZWI1OGE1ZDZjMmMwNzkwYWNlNGM5N2NhYTE3ZTU3YjY5Nw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NWMwMThjMTRjODYzODdhM2M5ZDQyNjE1Y2YyNGQ0YjYzNDE1YjM0MDU3YTY5
10
+ ZTg5MjBlZjg4ZGZlMWNiM2Y3ZjE2YTgyZTlmMTBlZmE1MzgwZmQ0YzJiYTcx
11
+ YTMyZmQ1NjBkYjE1NzkwNTQyNzk0MjI1MWE5OTZiOThjMmQ2OGY=
12
+ data.tar.gz: !binary |-
13
+ NDU2ZDI1NDg5MjQ2NjNkODg5ZWQ2NjQwZjdmOWQ3MTFjM2Y1MTIzYjM5MDMx
14
+ NTA1NDU0MzkzMmU3YmY5YTdhMjc3Nzc4NTIwMTM3ZTU1ZWQ0NzE5MzBmMDc2
15
+ MjJkNDcyNWYzODBjMjljY2IzODAzNzI4YmNkZTdmZDk5NWI3MDM=
File without changes
@@ -0,0 +1,11 @@
1
+ @include keyframes(fast-load){
2
+ from{
3
+ margin: {
4
+ left: 2em;
5
+ right: -2em;
6
+ }
7
+ }
8
+ to {
9
+ margin: 0;
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ @import "animations/fast_load";
@@ -0,0 +1,9 @@
1
+ .btn{
2
+ @include unstyled-link();
3
+ display: inline-block;
4
+
5
+ padding: .625em;
6
+
7
+ background-color: $primary-color;
8
+ color: $application-background-color;
9
+ }
@@ -0,0 +1 @@
1
+ @import "components/btn";
@@ -0,0 +1,3 @@
1
+ .text-left{ text-align: left; }
2
+ .text-center{ text-align: center; }
3
+ .text-right{ text-align: right; }
@@ -0,0 +1,11 @@
1
+ html{
2
+ font: 16px "Helvetica Neue","Helvetica","Arial", sans-serif;
3
+ -webkit-transform: translateZ(0); /* using GPU for render - webkit only */
4
+ }
5
+
6
+ body{
7
+ background-color: $application-background-color;
8
+ color: $typography-text-color;
9
+
10
+ margin: 0 0 1em;
11
+ }
@@ -0,0 +1,8 @@
1
+ a{
2
+ color: $typography-link-color;
3
+ text-decoration: none;
4
+
5
+ &:hover{
6
+ text-decoration: underline;
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ p{
2
+ font-weight: 200;
3
+ line-height: 1.4em;
4
+ text-align: justify;
5
+
6
+ margin: 1.75em 0;
7
+ }
@@ -0,0 +1,26 @@
1
+ h1,
2
+ h2,
3
+ h3{
4
+ font-weight: 200;
5
+ margin: 1em 0;
6
+
7
+ a{
8
+ @include unstyled-link();
9
+
10
+ &:hover{
11
+ text-decoration: none;
12
+ }
13
+ }
14
+ }
15
+
16
+ h1{
17
+ font-size: 4em;
18
+ }
19
+
20
+ h2{
21
+ font-size: 2em;
22
+ }
23
+
24
+ h3{
25
+ font-size: 1.75em;
26
+ }
@@ -0,0 +1,3 @@
1
+ @import "typography/links";
2
+ @import "typography/paragraphs";
3
+ @import "typography/titles";
@@ -0,0 +1,3 @@
1
+ @import "css/alignments";
2
+ @import "css/html";
3
+ @import "css/typography";
@@ -0,0 +1,6 @@
1
+ @mixin animation($value){
2
+ -webkit-animation: $value;
3
+ -moz-animation: $value;
4
+ -o-animation: $value;
5
+ animation: $value;
6
+ }
@@ -0,0 +1,14 @@
1
+ @mixin keyframes($name) {
2
+ @-webkit-keyframes #{$name} {
3
+ @content;
4
+ }
5
+ @-moz-keyframes #{$name} {
6
+ @content;
7
+ }
8
+ @-ms-keyframes #{$name} {
9
+ @content;
10
+ }
11
+ @keyframes #{$name} {
12
+ @content;
13
+ }
14
+ }
@@ -0,0 +1,2 @@
1
+ @import "mixins/keyframes";
2
+ @import "mixins/animation";
@@ -0,0 +1 @@
1
+ $application-background-color: $background-color !default;
@@ -0,0 +1,34 @@
1
+ $primary-color: #b62b2b !default;
2
+ $secondary-color: skyblue !default;
3
+
4
+ // need here defaults colors
5
+ // colors needed : success - warning - danger - info - muted
6
+ // for each of : classic - text - background
7
+
8
+ /*
9
+ $success-color
10
+ $warning-color
11
+ $danger-color
12
+ $info-color
13
+ $muted-color
14
+ */
15
+ $text-color: #888 !default;
16
+ /*$text-success-color
17
+ $text-warning-color
18
+ $text-danger-color
19
+ $text-info-color
20
+ $text-muted-color
21
+ */
22
+ $background-color: #111 !default;
23
+ /*$background-success-color
24
+ $background-warning-color
25
+ $background-danger-color
26
+ $background-info-color
27
+ $background-muted-color
28
+ */
29
+
30
+ // constants
31
+ $white: #fbfbfb !default;
32
+ $black: #111 !default;
33
+
34
+ $shadow: rgba(black, .6) !default;
@@ -0,0 +1,2 @@
1
+ $typography-text-color: $text-color !default;
2
+ $typography-link-color: $secondary-color !default;
@@ -0,0 +1,4 @@
1
+ @import "variables/colors";
2
+
3
+ @import "variables/application";
4
+ @import "variables/typography";
@@ -0,0 +1,6 @@
1
+ @import "r_kit/variables";
2
+
3
+ @import "r_kit/mixins";
4
+ @import "r_kit/animations";
5
+ @import "r_kit/css";
6
+ @import "r_kit/components";
@@ -0,0 +1,6 @@
1
+ module RKit
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
data/lib/r_kit/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RKit
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
data/lib/r_kit.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "r_kit/version"
2
+ require "r_kit/engine"
2
3
 
3
4
  module RKit
4
5
  # Your code goes here...
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Thomas Petrachi
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-22 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Basics css / js and rails helpers
15
14
  email:
@@ -23,31 +22,51 @@ files:
23
22
  - LICENSE.txt
24
23
  - README.md
25
24
  - Rakefile
25
+ - lib/assets/.gitkeep
26
+ - lib/assets/stylesheets/r_kit.scss
27
+ - lib/assets/stylesheets/r_kit/animations.scss
28
+ - lib/assets/stylesheets/r_kit/animations/fast_load.scss
29
+ - lib/assets/stylesheets/r_kit/components.scss
30
+ - lib/assets/stylesheets/r_kit/components/btn.scss
31
+ - lib/assets/stylesheets/r_kit/css.scss
32
+ - lib/assets/stylesheets/r_kit/css/alignments.scss
33
+ - lib/assets/stylesheets/r_kit/css/html.scss
34
+ - lib/assets/stylesheets/r_kit/css/typography.scss
35
+ - lib/assets/stylesheets/r_kit/css/typography/links.scss
36
+ - lib/assets/stylesheets/r_kit/css/typography/paragraphs.scss
37
+ - lib/assets/stylesheets/r_kit/css/typography/titles.scss
38
+ - lib/assets/stylesheets/r_kit/mixins.scss
39
+ - lib/assets/stylesheets/r_kit/mixins/animation.scss
40
+ - lib/assets/stylesheets/r_kit/mixins/keyframes.scss
41
+ - lib/assets/stylesheets/r_kit/variables.scss
42
+ - lib/assets/stylesheets/r_kit/variables/application.scss
43
+ - lib/assets/stylesheets/r_kit/variables/colors.scss
44
+ - lib/assets/stylesheets/r_kit/variables/typography.scss
26
45
  - lib/r_kit.rb
46
+ - lib/r_kit/engine.rb
27
47
  - lib/r_kit/version.rb
28
48
  - r_kit.gemspec
29
49
  homepage: ''
30
50
  licenses: []
51
+ metadata: {}
31
52
  post_install_message:
32
53
  rdoc_options: []
33
54
  require_paths:
34
55
  - lib
35
56
  required_ruby_version: !ruby/object:Gem::Requirement
36
- none: false
37
57
  requirements:
38
58
  - - ! '>='
39
59
  - !ruby/object:Gem::Version
40
60
  version: '0'
41
61
  required_rubygems_version: !ruby/object:Gem::Requirement
42
- none: false
43
62
  requirements:
44
63
  - - ! '>='
45
64
  - !ruby/object:Gem::Version
46
65
  version: '0'
47
66
  requirements: []
48
67
  rubyforge_project:
49
- rubygems_version: 1.8.23
68
+ rubygems_version: 2.1.6
50
69
  signing_key:
51
- specification_version: 3
70
+ specification_version: 4
52
71
  summary: Provide CSS bases, JS classic functions and rails helpers
53
72
  test_files: []