bard-sass 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -17
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +35 -0
- data/LICENSE.txt +17 -18
- data/README.md +17 -7
- data/Rakefile +5 -0
- data/bard-sass.gemspec +21 -14
- data/bin/setup +4 -0
- data/lib/bard/sass.rb +13 -3
- data/lib/bard/sass/version.rb +5 -0
- data/sass/bard-sass.scss +95 -0
- metadata +80 -99
- data/app/assets/stylesheets/bard/sass.sass +0 -53
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: df30c23fafd978a0bff78fe553581f34e19027c2
|
4
|
+
data.tar.gz: a68c8eb70863aa6b5db38a96735c07334d983308
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ed090ae7d322a51610bb96b3ac94fb2936b578afe0a4abd08dd46fcaace835cc88d0009c26851e157e90aa8cdab14f9629111a36265a6f4b17cce8a0c5ba6c17
|
7
|
+
data.tar.gz: b98259aaddac836ebe17c0b751589826252a5dc297caafb70a04733b06041b67a74f96b45f08831e68e039c09a242681e057ebfc498d11f8db20676b65c06fa4
|
data/.gitignore
CHANGED
@@ -1,17 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/_yardoc/
|
4
|
+
/coverage/
|
5
|
+
/doc/
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/tmp/
|
9
|
+
/.ruby-version
|
10
|
+
|
11
|
+
# rspec failure tracking
|
12
|
+
.rspec_status
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
bard-sass (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.3)
|
10
|
+
rake (10.5.0)
|
11
|
+
rspec (3.7.0)
|
12
|
+
rspec-core (~> 3.7.0)
|
13
|
+
rspec-expectations (~> 3.7.0)
|
14
|
+
rspec-mocks (~> 3.7.0)
|
15
|
+
rspec-core (3.7.1)
|
16
|
+
rspec-support (~> 3.7.0)
|
17
|
+
rspec-expectations (3.7.0)
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
+
rspec-support (~> 3.7.0)
|
20
|
+
rspec-mocks (3.7.0)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.7.0)
|
23
|
+
rspec-support (3.7.1)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
|
28
|
+
DEPENDENCIES
|
29
|
+
bard-sass!
|
30
|
+
bundler (~> 1.16)
|
31
|
+
rake (~> 10.0)
|
32
|
+
rspec (~> 3.0)
|
33
|
+
|
34
|
+
BUNDLED WITH
|
35
|
+
1.16.1
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
2
|
|
3
|
-
|
3
|
+
Copyright (c) 2018 Micah Geisel
|
4
4
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
the following conditions:
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
12
11
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
15
14
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
OF
|
22
|
-
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
# Bard::Sass
|
2
2
|
|
3
|
-
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bard/sass`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
8
10
|
|
9
|
-
|
11
|
+
```ruby
|
12
|
+
gem 'bard-sass'
|
13
|
+
```
|
10
14
|
|
11
15
|
And then execute:
|
12
16
|
|
@@ -20,10 +24,16 @@ Or install it yourself as:
|
|
20
24
|
|
21
25
|
TODO: Write usage instructions here
|
22
26
|
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
23
33
|
## Contributing
|
24
34
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bard-sass.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
data/bard-sass.gemspec
CHANGED
@@ -1,22 +1,29 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "bard/sass/version"
|
5
|
+
|
1
6
|
Gem::Specification.new do |spec|
|
2
7
|
spec.name = "bard-sass"
|
3
|
-
spec.version =
|
4
|
-
spec.authors = ["Michael Gubitosa"]
|
5
|
-
spec.email = ["
|
6
|
-
|
7
|
-
spec.summary =
|
8
|
-
spec.
|
8
|
+
spec.version = Bard::Sass::VERSION
|
9
|
+
spec.authors = ["Michael Gubitosa", "Micah Geisel"]
|
10
|
+
spec.email = ["gubs@botandrose.com"]
|
11
|
+
|
12
|
+
spec.summary = "Sass files across all Bot and Rose projects"
|
13
|
+
spec.description = "Sass files across all Bot and Rose projects"
|
14
|
+
spec.homepage = "https://github.com/botandrose/bard-sass"
|
9
15
|
spec.license = "MIT"
|
10
16
|
|
11
|
-
spec.files = `git ls-files`.split(
|
12
|
-
|
13
|
-
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
14
22
|
spec.require_paths = ["lib"]
|
15
23
|
|
16
|
-
spec.add_dependency "
|
17
|
-
spec.add_dependency "rails", ">= 3.1.0"
|
24
|
+
spec.add_dependency "sass"
|
18
25
|
|
19
|
-
spec.add_development_dependency "bundler", "~> 1.
|
20
|
-
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
21
29
|
end
|
22
|
-
|
data/bin/setup
ADDED
data/lib/bard/sass.rb
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
+
require "sass"
|
1
2
|
require "bard/sass/version"
|
2
3
|
|
3
|
-
module
|
4
|
-
|
5
|
-
|
4
|
+
module Bard
|
5
|
+
module Sass
|
6
|
+
SASS_PATH = File.expand_path("../../sass", __dir__)
|
7
|
+
|
8
|
+
if defined?(Rails) && defined?(Rails::Engine)
|
9
|
+
class Engine < Rails::Engine
|
10
|
+
config.assets.paths << SASS_PATH
|
11
|
+
end
|
12
|
+
else
|
13
|
+
Sass.load_paths << SASS_PATH
|
14
|
+
end
|
6
15
|
end
|
7
16
|
end
|
17
|
+
|
data/sass/bard-sass.scss
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/// Generates an `@font-face` declaration. You can choose the specific file
|
4
|
+
/// formats you need to output; the mixin supports `eot`, `ttf`, `svg`, `woff2`
|
5
|
+
/// and `woff`.
|
6
|
+
///
|
7
|
+
/// @argument {string} $font-family
|
8
|
+
///
|
9
|
+
/// @argument {string} $file-path
|
10
|
+
///
|
11
|
+
/// @argument {string | list} $file-formats [("ttf", "woff2", "woff")]
|
12
|
+
/// List of the font file formats to include.
|
13
|
+
///
|
14
|
+
/// @content
|
15
|
+
/// Any additional CSS properties that are included in the `@include`
|
16
|
+
/// directive will be output within the `@font-face` declaration, e.g. you can
|
17
|
+
/// pass in `font-weight`, `font-style` and/or `unicode-range`.
|
18
|
+
///
|
19
|
+
/// @example scss
|
20
|
+
/// @include font-face(
|
21
|
+
/// "source-sans-pro",
|
22
|
+
/// "fonts/source-sans-pro-regular",
|
23
|
+
/// ("woff2", "woff")
|
24
|
+
/// ) {
|
25
|
+
/// font-style: normal;
|
26
|
+
/// font-weight: 400;
|
27
|
+
/// }
|
28
|
+
///
|
29
|
+
/// // CSS Output
|
30
|
+
/// @font-face {
|
31
|
+
/// font-family: "source-sans-pro";
|
32
|
+
/// src: url("fonts/source-sans-pro-regular.woff2") format("woff2"),
|
33
|
+
/// url("fonts/source-sans-pro-regular.woff") format("woff");
|
34
|
+
/// font-style: normal;
|
35
|
+
/// font-weight: 400;
|
36
|
+
/// }
|
37
|
+
|
38
|
+
@mixin font-face(
|
39
|
+
$font-family,
|
40
|
+
$file-path,
|
41
|
+
$file-formats,
|
42
|
+
) {
|
43
|
+
@font-face {
|
44
|
+
font-family: $font-family;
|
45
|
+
src: _font-source-declaration(
|
46
|
+
$font-family,
|
47
|
+
$file-path,
|
48
|
+
$file-formats
|
49
|
+
);
|
50
|
+
@content;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
/// Builds the `src` list for an `@font-face` declaration.
|
55
|
+
///
|
56
|
+
/// @link https://goo.gl/Ru1bKP
|
57
|
+
///
|
58
|
+
/// @argument {string} $font-family
|
59
|
+
///
|
60
|
+
/// @argument {string} $file-path
|
61
|
+
///
|
62
|
+
/// @argument {list} $file-formats
|
63
|
+
///
|
64
|
+
/// @return {list}
|
65
|
+
///
|
66
|
+
/// @require {function} _contains
|
67
|
+
///
|
68
|
+
/// @access private
|
69
|
+
|
70
|
+
@function _font-source-declaration(
|
71
|
+
$font-family,
|
72
|
+
$file-path,
|
73
|
+
$file-formats
|
74
|
+
) {
|
75
|
+
$src: ();
|
76
|
+
|
77
|
+
$formats-map: (
|
78
|
+
eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
|
79
|
+
woff2: "#{$file-path}.woff2" format("woff2"),
|
80
|
+
woff: "#{$file-path}.woff" format("woff"),
|
81
|
+
ttf: "#{$file-path}.ttf" format("truetype"),
|
82
|
+
svg: "#{$file-path}.svg##{$font-family}" format("svg"),
|
83
|
+
);
|
84
|
+
|
85
|
+
@each $key, $values in $formats-map {
|
86
|
+
@if _contains($file-formats, $key) {
|
87
|
+
$file-path: nth($values, 1);
|
88
|
+
$font-format: nth($values, 2);
|
89
|
+
$src: append($src, font-url($file-path) $font-format, comma);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
@return $src;
|
94
|
+
}
|
95
|
+
|
metadata
CHANGED
@@ -1,133 +1,114 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard-sass
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Michael Gubitosa
|
8
|
+
- Micah Geisel
|
14
9
|
autorequire:
|
15
|
-
bindir:
|
10
|
+
bindir: exe
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 43
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 12
|
32
|
-
- 2
|
33
|
-
version: 0.12.2
|
12
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sass
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
34
21
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rails
|
38
22
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
requirements:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
42
25
|
- - ">="
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
- 3
|
47
|
-
- 1
|
48
|
-
- 0
|
49
|
-
version: 3.1.0
|
50
|
-
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
53
29
|
name: bundler
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 9
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 3
|
64
|
-
version: "1.3"
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.16'
|
65
35
|
type: :development
|
66
|
-
|
67
|
-
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.16'
|
42
|
+
- !ruby/object:Gem::Dependency
|
68
43
|
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '10.0'
|
49
|
+
type: :development
|
69
50
|
prerelease: false
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
79
63
|
type: :development
|
80
|
-
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
81
70
|
description: Sass files across all Bot and Rose projects
|
82
|
-
email:
|
83
|
-
-
|
71
|
+
email:
|
72
|
+
- gubs@botandrose.com
|
84
73
|
executables: []
|
85
|
-
|
86
74
|
extensions: []
|
87
|
-
|
88
75
|
extra_rdoc_files: []
|
89
|
-
|
90
|
-
|
91
|
-
- .
|
76
|
+
files:
|
77
|
+
- ".gitignore"
|
78
|
+
- ".rspec"
|
79
|
+
- ".travis.yml"
|
92
80
|
- Gemfile
|
81
|
+
- Gemfile.lock
|
93
82
|
- LICENSE.txt
|
94
83
|
- README.md
|
95
84
|
- Rakefile
|
96
|
-
- app/assets/stylesheets/bard/sass.sass
|
97
85
|
- bard-sass.gemspec
|
86
|
+
- bin/setup
|
98
87
|
- lib/bard/sass.rb
|
99
|
-
|
100
|
-
|
88
|
+
- lib/bard/sass/version.rb
|
89
|
+
- sass/bard-sass.scss
|
90
|
+
homepage: https://github.com/botandrose/bard-sass
|
91
|
+
licenses:
|
101
92
|
- MIT
|
93
|
+
metadata: {}
|
102
94
|
post_install_message:
|
103
95
|
rdoc_options: []
|
104
|
-
|
105
|
-
require_paths:
|
96
|
+
require_paths:
|
106
97
|
- lib
|
107
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
-
|
109
|
-
requirements:
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
110
100
|
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
version: "0"
|
116
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
|
-
requirements:
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
119
105
|
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
|
122
|
-
segments:
|
123
|
-
- 0
|
124
|
-
version: "0"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
125
108
|
requirements: []
|
126
|
-
|
127
109
|
rubyforge_project:
|
128
|
-
rubygems_version:
|
110
|
+
rubygems_version: 2.4.8
|
129
111
|
signing_key:
|
130
|
-
specification_version:
|
112
|
+
specification_version: 4
|
131
113
|
summary: Sass files across all Bot and Rose projects
|
132
114
|
test_files: []
|
133
|
-
|
@@ -1,53 +0,0 @@
|
|
1
|
-
@import "blueprint"
|
2
|
-
@import "compass/reset"
|
3
|
-
@import "compass/utilities"
|
4
|
-
@import "compass/layout"
|
5
|
-
@import "compass/css3"
|
6
|
-
|
7
|
-
=blueprint($body_selector: "body")
|
8
|
-
+blueprint-typography($body_selector)
|
9
|
-
+blueprint-utilities
|
10
|
-
+blueprint-debug
|
11
|
-
+blueprint-interaction
|
12
|
-
+blueprint-colors
|
13
|
-
|
14
|
-
// BUTTONS
|
15
|
-
|
16
|
-
@mixin button( $bg: $primaryColor, $text-color: #fcfcfc, $hover: true )
|
17
|
-
display: inline-block
|
18
|
-
font: bold 1.6em $font
|
19
|
-
line-height: 3.0em
|
20
|
-
color: $text-color
|
21
|
-
border: 2px solid darken( $bg, 5% )
|
22
|
-
background: $bg
|
23
|
-
+background-image(linear-gradient( $bg, darken( $bg, 5% ) ) )
|
24
|
-
+border-radius( 2px )
|
25
|
-
+box-shadow(#999 0px 0px 3px)
|
26
|
-
padding: 0 20px
|
27
|
-
cursor: pointer
|
28
|
-
text-align: center
|
29
|
-
text-decoration: none
|
30
|
-
margin: 0px
|
31
|
-
min-width: 300px
|
32
|
-
cursor: default
|
33
|
-
&:focus
|
34
|
-
display: inline-block
|
35
|
-
font: bold 1.6em $font
|
36
|
-
line-height: 3.0em
|
37
|
-
color: $text-color
|
38
|
-
border: 2px solid darken( $bg, 5% )
|
39
|
-
background: $bg
|
40
|
-
+background-image(linear-gradient( $bg, darken( $bg, 5% ) ) )
|
41
|
-
+border-radius( 2px )
|
42
|
-
+box-shadow(#999 0px 0px 3px)
|
43
|
-
padding: 0 20px
|
44
|
-
cursor: pointer
|
45
|
-
text-align: center
|
46
|
-
text-decoration: none
|
47
|
-
margin: 0px 6px
|
48
|
-
min-width: 300px
|
49
|
-
cursor: default
|
50
|
-
@if $hover
|
51
|
-
cursor: pointer
|
52
|
-
&:hover
|
53
|
-
background: darken( $bg, 5% )
|