empresaula-assets 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -5,8 +5,4 @@ In your gemfile:
5
5
 
6
6
  gem 'empresaula-assets'
7
7
 
8
- To see the style guide:
9
-
10
- $ empresaula-assets
11
-
12
- This will open a rails server in `http://localhost:3000`
8
+ See the [Style Guide](http://styleguide.empresaula.com)
@@ -1,2 +1,3 @@
1
- @import empresaula/variables
2
- @import empresaula/fonts
1
+ @import empresaula/base
2
+ @import empresaula/typography
3
+ @import empresaula/buttons
@@ -0,0 +1,4 @@
1
+ @import empresaula/variables
2
+ @import empresaula/fonts
3
+
4
+ @import compass/reset
@@ -0,0 +1,26 @@
1
+ @mixin big-button($color: $dark-gray)
2
+
3
+ display: inline-block
4
+ text-decoration: none
5
+ padding: 8px 20px
6
+ background: $color
7
+ cursor: pointer
8
+
9
+ @if lightness($color) > 50
10
+ +single-text-shadow(lighten($color, 20%), 0px, 1px, 0px)
11
+ color: $font-color
12
+ @else
13
+ +single-text-shadow(darken($color, 30%), 0px, -1px, 0px)
14
+ color: #fff
15
+
16
+ +border-radius(3px)
17
+
18
+ border: 1px solid transparent
19
+ top: 1px solid lighten($color, 15%)
20
+ bottom: 1px solid darken($color, 10%)
21
+ &:hover
22
+ background: lighten($color, 5%)
23
+ &:active
24
+ border: 1px solid darken($color, 15%)
25
+ +single-box-shadow(rgba(0,0,0,0.3), 0px, 0px, 5px, 0px, inset)
26
+ margin-right: 15px
@@ -0,0 +1,26 @@
1
+ @import blueprint/typography
2
+
3
+ +blueprint-typography
4
+
5
+ body
6
+ h1, h2, h3
7
+ font-family: "Museo"
8
+
9
+ h1, h2
10
+ font-weight: bold
11
+
12
+ h1
13
+ margin-top: 0px
14
+ padding-bottom: 0.1em
15
+
16
+ h2
17
+ margin-top: 1em
18
+ margin-bottom: 0.3em
19
+
20
+ h3
21
+ margin-top: 1em
22
+ margin-bottom: 0.8em
23
+
24
+ p
25
+ margin-top: 1em
26
+ margin-bottom: 1em
@@ -5,3 +5,4 @@ $dark-gray: #373737
5
5
  $light-green: #c2c85d
6
6
  $light-gray: #ebe4de
7
7
 
8
+ $blueprint-font-size: 14px !default
@@ -0,0 +1,7 @@
1
+ module EmpresaulaHelper
2
+ # Use it in your views to automatically add the favicon header tag
3
+ #
4
+ def favicon
5
+ tag :link, rel: 'shortcut icon', href: asset_path('favicon.png')
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
1
  module Empresaula
2
2
  module Assets
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: empresaula-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-26 00:00:00.000000000 Z
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &2152681820 !ruby/object:Gem::Requirement
16
+ requirement: &2156580020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152681820
24
+ version_requirements: *2156580020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: compass-rails
27
- requirement: &2152693740 !ruby/object:Gem::Requirement
27
+ requirement: &2156577880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2152693740
35
+ version_requirements: *2156577880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &2152708140 !ruby/object:Gem::Requirement
38
+ requirement: &2156576440 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152708140
46
+ version_requirements: *2156576440
47
47
  description: Assets needed to build empresaula third-party apps
48
48
  email:
49
49
  - josepjaume@gmail.com
@@ -63,8 +63,12 @@ files:
63
63
  - app/assets/images/empresaula/logo-color.png
64
64
  - app/assets/images/empresaula/logo.png
65
65
  - app/assets/stylesheets/_empresaula.sass
66
+ - app/assets/stylesheets/empresaula/_base.sass
67
+ - app/assets/stylesheets/empresaula/_buttons.sass
66
68
  - app/assets/stylesheets/empresaula/_fonts.sass
69
+ - app/assets/stylesheets/empresaula/_typography.sass
67
70
  - app/assets/stylesheets/empresaula/_variables.sass
71
+ - app/helpers/empresaula_helper.rb
68
72
  - empresaula-assets.gemspec
69
73
  - lib/empresaula-assets.rb
70
74
  - lib/empresaula-assets/railtie.rb
@@ -83,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
87
  version: '0'
84
88
  segments:
85
89
  - 0
86
- hash: -2052987045059809558
90
+ hash: -18416298093414579
87
91
  required_rubygems_version: !ruby/object:Gem::Requirement
88
92
  none: false
89
93
  requirements:
@@ -92,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
96
  version: '0'
93
97
  segments:
94
98
  - 0
95
- hash: -2052987045059809558
99
+ hash: -18416298093414579
96
100
  requirements: []
97
101
  rubyforge_project: empresaula-assets
98
102
  rubygems_version: 1.8.15