pivotal-sass 0.0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/lib/pivotal/sass.rb +8 -0
- data/lib/pivotal/sass/version.rb +5 -0
- data/vendor/assets/stylesheets/_objects/_buttons.scss +14 -0
- data/vendor/assets/stylesheets/_objects/_rules.scss +12 -0
- data/vendor/assets/stylesheets/_setup.sass +10 -0
- data/vendor/assets/stylesheets/pivotal-containers.sass +18 -0
- data/vendor/assets/stylesheets/pivotal-typography.sass +63 -0
- data/vendor/assets/stylesheets/pivotal.sass +7 -0
- metadata +121 -0
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Robbie Clutton
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Pivotal::Sass
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'pivotal-sass'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install pivotal-sass
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/lib/pivotal/sass.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
@mixin pivotal_button_primary {
|
2
|
+
background-color: $pivotal_blue;
|
3
|
+
color: white;
|
4
|
+
border: none;
|
5
|
+
font-family: $pivotal_font_family;
|
6
|
+
font-size: 12px;
|
7
|
+
padding: .5em .75em;
|
8
|
+
&:hover {
|
9
|
+
background-color: darken($pivotal_blue,10%);
|
10
|
+
}
|
11
|
+
&:active {
|
12
|
+
background-color: darken($pivotal_blue,15%);
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@mixin pivotal_rule {
|
2
|
+
display: block;
|
3
|
+
background-color: $pivotal_dark_grey;
|
4
|
+
height: 1px;
|
5
|
+
margin: $base-spacing-unit 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin pivotal_rule_dotted {
|
9
|
+
@include pivotal_rule;
|
10
|
+
background-color: transparent;
|
11
|
+
border-top: 1px dotted $pivotal_dark_grey;
|
12
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Colors
|
2
|
+
$pivotal_red: #B90020
|
3
|
+
$pivotal_blue: #6D99D3
|
4
|
+
$pivotal_yellow: #C59E16
|
5
|
+
$pivotal_light_grey: #D3D3D3
|
6
|
+
$pivotal_dark_grey: #5D5C5C
|
7
|
+
$pivotal_font_family: ars-maquette-web, sans-serif
|
8
|
+
|
9
|
+
$base-spacing-unit: 1em
|
10
|
+
$half-spacing-unit: $base-spacing-unit/2
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@mixin pivotal_tile
|
2
|
+
background-color: white
|
3
|
+
padding: $base-spacing-unit
|
4
|
+
|
5
|
+
@mixin pivotal_tile_blue
|
6
|
+
@include pivotal_tile
|
7
|
+
background-color: $pivotal_blue
|
8
|
+
color: white
|
9
|
+
|
10
|
+
@mixin pivotal_tile_yellow
|
11
|
+
@include pivotal_tile
|
12
|
+
background-color: $pivotal_yellow
|
13
|
+
color: white
|
14
|
+
|
15
|
+
@mixin pivotal_tile_red
|
16
|
+
@include pivotal_tile
|
17
|
+
background-color: $pivotal_red
|
18
|
+
color: white
|
@@ -0,0 +1,63 @@
|
|
1
|
+
@mixin pivotal_typography
|
2
|
+
font-family: $pivotal_font_family
|
3
|
+
|
4
|
+
@mixin pivotal_text
|
5
|
+
@include pivotal_typography
|
6
|
+
font-size: 14px
|
7
|
+
font-weight: normal
|
8
|
+
font-style: normal
|
9
|
+
line-height: 24px
|
10
|
+
|
11
|
+
@mixin pivotal_heading
|
12
|
+
@include pivotal_typography
|
13
|
+
text-transform: uppercase
|
14
|
+
letter-spacing: 1px
|
15
|
+
|
16
|
+
@mixin pivotal_h1
|
17
|
+
@include pivotal_heading
|
18
|
+
font-size: 51px
|
19
|
+
line-height: 52px
|
20
|
+
font-weight: 900
|
21
|
+
letter-spacing: 1px
|
22
|
+
|
23
|
+
@mixin pivotal_h2
|
24
|
+
@include pivotal_heading
|
25
|
+
font-size: 34px
|
26
|
+
line-height: 41px
|
27
|
+
font-weight: 900
|
28
|
+
|
29
|
+
@mixin pivotal_h3
|
30
|
+
@include pivotal_heading
|
31
|
+
font-size: 19px
|
32
|
+
line-height: 27px
|
33
|
+
|
34
|
+
@mixin pivotal_anchor
|
35
|
+
color: $pivotal_blue
|
36
|
+
text-decoration: none
|
37
|
+
&:visited
|
38
|
+
color: $pivotal_blue
|
39
|
+
&:hover
|
40
|
+
color: darken($pivotal_blue,10%)
|
41
|
+
&:active
|
42
|
+
color: darken($pivotal_blue,15%)
|
43
|
+
|
44
|
+
@mixin pivotal_headers
|
45
|
+
h1
|
46
|
+
@include pivotal_h1
|
47
|
+
h2
|
48
|
+
@include pivotal_h2
|
49
|
+
h3
|
50
|
+
@include pivotal_h3
|
51
|
+
h4, h5, h6
|
52
|
+
@include pivotal_heading
|
53
|
+
|
54
|
+
@mixin pivotal_sub_header
|
55
|
+
@include pivotal_heading
|
56
|
+
color: $pivotal_dark_grey
|
57
|
+
font-weight: 900
|
58
|
+
font-size: 15px
|
59
|
+
line-height: 18px
|
60
|
+
display: inline-block
|
61
|
+
border-top: 1px dotted $pivotal_dark_grey
|
62
|
+
padding: 7px 0 9px 0
|
63
|
+
margin: 43px 0 9px
|
metadata
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pivotal-sass
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.7
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Robbie Clutton
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.2'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sass-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.2'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.2'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: bundler
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.3'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
description: Pivotal branding as SASS
|
79
|
+
email:
|
80
|
+
- robbie@pivotallabs.com
|
81
|
+
executables: []
|
82
|
+
extensions: []
|
83
|
+
extra_rdoc_files: []
|
84
|
+
files:
|
85
|
+
- lib/pivotal/sass/version.rb
|
86
|
+
- lib/pivotal/sass.rb
|
87
|
+
- vendor/assets/stylesheets/_objects/_buttons.scss
|
88
|
+
- vendor/assets/stylesheets/_objects/_rules.scss
|
89
|
+
- vendor/assets/stylesheets/_setup.sass
|
90
|
+
- vendor/assets/stylesheets/pivotal-containers.sass
|
91
|
+
- vendor/assets/stylesheets/pivotal-typography.sass
|
92
|
+
- vendor/assets/stylesheets/pivotal.sass
|
93
|
+
- LICENSE.txt
|
94
|
+
- README.md
|
95
|
+
homepage: ''
|
96
|
+
licenses:
|
97
|
+
- MIT
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
- vendor
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ! '>='
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0'
|
109
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
111
|
+
requirements:
|
112
|
+
- - ! '>='
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
requirements: []
|
116
|
+
rubyforge_project:
|
117
|
+
rubygems_version: 1.8.25
|
118
|
+
signing_key:
|
119
|
+
specification_version: 3
|
120
|
+
summary: Pivotal branding as SASS
|
121
|
+
test_files: []
|