bitters 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +156 -0
- data/README.md +1 -1
- data/RELEASING.md +29 -0
- data/circle.yml +7 -0
- data/core/_base.scss +1 -1
- data/core/_buttons.scss +1 -0
- data/core/_forms.scss +4 -9
- data/core/_layout.scss +5 -0
- data/lib/bitters/version.rb +1 -1
- data/package.json +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5f82bfc048d8b942c79ba7fda58ccc988ea6b89
|
4
|
+
data.tar.gz: d0f72f8e5936945a3f1216aa199c3180e208869c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44a0022fdfd6279d27529010c8f792b82dbdfc2e65f791fa8eb523cc77f292f373ccf4203a4e6fb0a2357d0f59bdf211aaeda53d2a5d10b0ec1161aa6721f71d
|
7
|
+
data.tar.gz: 63640ebc7eb6f4e0515799651ae2c41a23056918194dff93cf53959236e7c50b0c8dd47a436e32e93fb7856b7d9076615f1c78bce82df0c3e2ac18d71b2216a7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file. This
|
4
|
+
project adheres to [Semantic Versioning](http://semver.org).
|
5
|
+
|
6
|
+
## [Unreleased]
|
7
|
+
|
8
|
+
[Unreleased]: https://github.com/thoughtbot/bitters/compare/v1.4.0...HEAD
|
9
|
+
|
10
|
+
## [1.4.0] - 2016-08-10
|
11
|
+
|
12
|
+
### Added
|
13
|
+
|
14
|
+
- Added `text-align: center;` to buttons.
|
15
|
+
- Added `width: 100%;` to `select` elements.
|
16
|
+
- Added `appearance: none;` to text inputs.
|
17
|
+
- Added `height: 100%;` to `html` and `body` elements.
|
18
|
+
|
19
|
+
### Changed
|
20
|
+
|
21
|
+
- Changed the text color for `::placeholder` styles to be based on
|
22
|
+
`$base-font-color` instead of using `$medium-gray`.
|
23
|
+
|
24
|
+
### Removed
|
25
|
+
|
26
|
+
- Removed `select[multiple]` selector.
|
27
|
+
|
28
|
+
[1.4.0]: https://github.com/thoughtbot/bitters/compare/v1.3.2...v1.4.0
|
29
|
+
|
30
|
+
## [1.3.2] - 2016-06-21
|
31
|
+
|
32
|
+
### Added
|
33
|
+
|
34
|
+
- Added `::placeholder` styles for forms.
|
35
|
+
|
36
|
+
### Fixed
|
37
|
+
|
38
|
+
- Fixed file permissions on the core Sass files.
|
39
|
+
|
40
|
+
### Changed
|
41
|
+
|
42
|
+
- Update Bourbon dependency to 5.0.0.beta.6.
|
43
|
+
|
44
|
+
[1.3.2]: https://github.com/thoughtbot/bitters/compare/v1.3.1...v1.3.2
|
45
|
+
|
46
|
+
## [1.3.1] - 2016-03-04
|
47
|
+
|
48
|
+
### Fixed
|
49
|
+
|
50
|
+
- Fixed an issue with the Bitters executable which broke using the Bitters CLI
|
51
|
+
to install the Bitters files.
|
52
|
+
|
53
|
+
### Changed
|
54
|
+
|
55
|
+
- Update Bourbon dependency to 5.0.0.beta.3.
|
56
|
+
|
57
|
+
[1.3.1]: https://github.com/thoughtbot/bitters/compare/v1.3.0...v1.3.1
|
58
|
+
|
59
|
+
## [1.3.0] - 2016-03-03
|
60
|
+
|
61
|
+
### Added
|
62
|
+
|
63
|
+
- Added `margin: 0;` to `dl` and `dt` elements in `_lists.scss`.
|
64
|
+
- Set global `box-sizing` to `border-box`.
|
65
|
+
- Added `figure` styles, setting `margin: 0;`.
|
66
|
+
|
67
|
+
### Changed
|
68
|
+
|
69
|
+
- Moved Bitters’ core Sass files from the `app/assets/stylesheets/` directory to
|
70
|
+
a `core/` directory.
|
71
|
+
- Un-nested `dt` and `dd` elements outside the `dl` declaration
|
72
|
+
in `_lists.scss`.
|
73
|
+
- Consolidated input styles and selectors.
|
74
|
+
- Increased the font size on headings.
|
75
|
+
- Update Bourbon dependency to 5.0.0.beta.1.
|
76
|
+
- Changed `$base-font-family` from Helvetica to system fonts.
|
77
|
+
- Moved `img` and `picture` styles to a `_media.scss` partial.
|
78
|
+
- Changed the `margin-bottom` on `select` elements from `$base-spacing` to
|
79
|
+
`$small-spacing`.
|
80
|
+
|
81
|
+
### Removed
|
82
|
+
|
83
|
+
- Removed grid settings for [Neat], which includes removal of the following
|
84
|
+
variables:
|
85
|
+
- `$medium-screen-up`
|
86
|
+
- `$large-screen-up`
|
87
|
+
- `$column`
|
88
|
+
- `$gutter`
|
89
|
+
- `$grid-columns`
|
90
|
+
- `$max-width`
|
91
|
+
|
92
|
+
[1.3.0]: https://github.com/thoughtbot/bitters/compare/v1.2.0...v1.3.0
|
93
|
+
[Neat]: https://github.com/thoughtbot/neat
|
94
|
+
|
95
|
+
## [1.2.0] - 2016-01-04
|
96
|
+
|
97
|
+
### Added
|
98
|
+
|
99
|
+
- Added base `legend` styles.
|
100
|
+
|
101
|
+
### Fixed
|
102
|
+
|
103
|
+
- Fixed the `select` `multiple` selector syntax.
|
104
|
+
|
105
|
+
### Changed
|
106
|
+
|
107
|
+
- Darkened the color value of `$blue` to improve contrast.
|
108
|
+
- `background-color`, `border`, `margin` and `padding` are now “cleared” on
|
109
|
+
the `fieldset` element.
|
110
|
+
- Changed input selectors to be less-specific:
|
111
|
+
- `input[type="search"]` is now `[type="search"]`
|
112
|
+
- `input[type="checkbox"]` is now `[type="checkbox"]`
|
113
|
+
- `input[type="radio"]` is now `[type="radio"]`
|
114
|
+
- `input[type="file"]` is now `[type="file"]`
|
115
|
+
|
116
|
+
### Removed
|
117
|
+
|
118
|
+
- Removed `font-feature-settings` from `table` and `body`.
|
119
|
+
- Removed placeholder selectors for default list styling: `%default-ul`
|
120
|
+
& `%default-ol`.
|
121
|
+
- `abbr` elements within `label` elements are no longer hidden.
|
122
|
+
- `label`’s with a class of `required` no longer have an `*` inserted via
|
123
|
+
`content` to the `::after` pseudo element.
|
124
|
+
- `label` siblings of `input[type="checkbox"]` and `input[type="radio"]`
|
125
|
+
elements are no longer set to `display: inline-block;`.
|
126
|
+
|
127
|
+
[1.2.0]: https://github.com/thoughtbot/bitters/compare/v1.1.0...v1.2.0
|
128
|
+
|
129
|
+
## [1.1.0] - 2015-08-28
|
130
|
+
|
131
|
+
### Added
|
132
|
+
|
133
|
+
- Added a `$secondary-background-color` variable.
|
134
|
+
- Added `:disabled` styles for text inputs.
|
135
|
+
- Added `$base-duration` and `$base-timing` variables.
|
136
|
+
- Added `display: inline-block;` to `label` siblings of `input[type="checkbox"]`
|
137
|
+
and `input[type="radio"]` elements.
|
138
|
+
|
139
|
+
### Changed
|
140
|
+
|
141
|
+
- Swapped `padding-bottom` for `margin-bottom` on the `input[type="file"]`
|
142
|
+
selector.
|
143
|
+
- Changed values for the `$max-width`, `$medium-screen` and `$large-screen`
|
144
|
+
variables.
|
145
|
+
- Padding on button elements was tweaked.
|
146
|
+
|
147
|
+
### Removed
|
148
|
+
|
149
|
+
- Dropped support for Sass versions below than 3.4.
|
150
|
+
- Dropped support for LibSass versions below than 3.0.
|
151
|
+
- Dropped support for Bourbon versions below than 4.2.
|
152
|
+
- Removed prefixes for `appearance` and `font-feature-settings`.
|
153
|
+
- Removed `-webkit-font-smoothing` on `body`.
|
154
|
+
- Removed `outline: none;` on `:active` and `:focus` on `a` elements.
|
155
|
+
|
156
|
+
[1.1.0]: https://github.com/thoughtbot/bitters/compare/v1.0.0...v1.1.0
|
data/README.md
CHANGED
@@ -71,7 +71,7 @@ This houses all variables that are used, or will be used, in more than one file
|
|
71
71
|
All type is based on `$base-font-size` which is set to 1em (16px) by default. The spacing around type is based on `$base-line-height` so as to keep a semi-baseline grid. All sizes are scaled up or down by a factor of `0.25`.
|
72
72
|
|
73
73
|
### Lists
|
74
|
-
All lists have stripped out styles. No bullets, no left padding.
|
74
|
+
All lists have stripped out styles. No bullets, no left padding.
|
75
75
|
|
76
76
|
### Forms
|
77
77
|
Adds basic styles all form elements. The variables at the top of the file all inherit from the variables file but make it really easy to be overridden.
|
data/RELEASING.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Releasing
|
2
|
+
|
3
|
+
1. Update the version number in these places:
|
4
|
+
- `lib/bitters/version.rb`
|
5
|
+
- `core/_base.scss`
|
6
|
+
- `package.json`
|
7
|
+
|
8
|
+
1. Update `CHANGELOG.md`. We follow the guidelines from [Keep a CHANGELOG].
|
9
|
+
|
10
|
+
1. Commit changes. Use the convention “Bitters vX.X.X” in your commit message.
|
11
|
+
There shouldn’t be code changes, and thus CI doesn’t need to run.
|
12
|
+
|
13
|
+
1. Run `bundle exec rake release`, which tags the release, pushes the tag to
|
14
|
+
GitHub, and pushes the gem to RubyGems.org.
|
15
|
+
|
16
|
+
1. Draft a [new GitHub release][github-release]. Upon publishing, a tweet will
|
17
|
+
_automatically be sent_ on the [@bourbonsass] Twitter account via [Zapier].
|
18
|
+
It will look like this:
|
19
|
+
|
20
|
+
> We’ve released Bitters {release_title}: {release_link}
|
21
|
+
|
22
|
+
1. If needed, update the [contributing page] and [website example page].
|
23
|
+
|
24
|
+
[Keep a CHANGELOG]: http://keepachangelog.com
|
25
|
+
[github-release]: https://github.com/thoughtbot/bitters/releases/new
|
26
|
+
[@bourbonsass]: https://twitter.com/bourbonsass
|
27
|
+
[Zapier]: https://zapier.com
|
28
|
+
[contributing page]: https://github.com/thoughtbot/bitters/blob/master/contrib/index.html
|
29
|
+
[website example page]: https://github.com/thoughtbot/bitters/blob/gh-pages/example.html
|
data/circle.yml
ADDED
data/core/_base.scss
CHANGED
data/core/_buttons.scss
CHANGED
data/core/_forms.scss
CHANGED
@@ -25,8 +25,8 @@ textarea {
|
|
25
25
|
font-size: $base-font-size;
|
26
26
|
}
|
27
27
|
|
28
|
-
#{$all-text-inputs}
|
29
|
-
|
28
|
+
#{$all-text-inputs} {
|
29
|
+
appearance: none;
|
30
30
|
background-color: $base-background-color;
|
31
31
|
border: $base-border;
|
32
32
|
border-radius: $base-border-radius;
|
@@ -57,7 +57,7 @@ select[multiple] {
|
|
57
57
|
}
|
58
58
|
|
59
59
|
&::placeholder {
|
60
|
-
color: $
|
60
|
+
color: tint($base-font-color, 40%);
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
@@ -65,10 +65,6 @@ textarea {
|
|
65
65
|
resize: vertical;
|
66
66
|
}
|
67
67
|
|
68
|
-
[type="search"] {
|
69
|
-
appearance: none;
|
70
|
-
}
|
71
|
-
|
72
68
|
[type="checkbox"],
|
73
69
|
[type="radio"] {
|
74
70
|
display: inline;
|
@@ -82,6 +78,5 @@ textarea {
|
|
82
78
|
|
83
79
|
select {
|
84
80
|
margin-bottom: $small-spacing;
|
85
|
-
|
86
|
-
width: auto;
|
81
|
+
width: 100%;
|
87
82
|
}
|
data/core/_layout.scss
CHANGED
data/lib/bitters/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Fiedler
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -126,14 +126,17 @@ files:
|
|
126
126
|
- ".gitignore"
|
127
127
|
- ".hound.yml"
|
128
128
|
- ".scss-lint.yml"
|
129
|
+
- CHANGELOG.md
|
129
130
|
- CONTRIBUTING.md
|
130
131
|
- Gemfile
|
131
132
|
- Gulpfile.js
|
132
133
|
- LICENSE.md
|
133
134
|
- README.md
|
135
|
+
- RELEASING.md
|
134
136
|
- Rakefile
|
135
137
|
- bin/bitters
|
136
138
|
- bitters.gemspec
|
139
|
+
- circle.yml
|
137
140
|
- contrib/index.html
|
138
141
|
- contrib/styles.scss
|
139
142
|
- core/_base.scss
|
@@ -173,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
176
|
version: '0'
|
174
177
|
requirements: []
|
175
178
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.5.1
|
177
180
|
signing_key:
|
178
181
|
specification_version: 4
|
179
182
|
summary: Scaffold styles, variables and structure for Bourbon projects.
|