bitters 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e22cad3ebff50fe64932c8c6f4408ebcb17e759
4
- data.tar.gz: 99e265432c657f9e6a817e34b911755f01e2cdbd
3
+ metadata.gz: 55da48d092aba563e925debd5754187cb9755eff
4
+ data.tar.gz: cbeb715ff4032828585e874be97a9927757928ff
5
5
  SHA512:
6
- metadata.gz: b84ceea5d1509e266b468203c85e2d3f50fac2fe63a69e360a57980c92596fccdb9bdc303531bf3fc4a188b140cebc7c5722aea75530df2d88578d42e3823697
7
- data.tar.gz: ae066809a3152dca0c72abc10633120608eb5f14cb43d6185dcce2860dcd3ecafe7174c9fe38c57e3d1824f43ce0cbd987363a4833346cfb43e6037c5fd66e94
6
+ metadata.gz: a432ad479ee7b9ca027f229301e27ec4192b6614e691cc564a6d9c3d8dd972077b421b405f86ac1db2f79ffdf6c78ff37d6c2be1ffc73d4d90df83150c618286
7
+ data.tar.gz: 5769a169d94e32f27c52f8f1bff3a0163002a171ccc8cb816ae1bb501770467d452713ac56fbecacc8f9afc3f010606dee8bf1d6e98f70483c6012ffa69b9ebc
@@ -1,14 +1,235 @@
1
+ # Up-to-date with SCSS-Lint v0.43.2
2
+
1
3
  scss_files: "app/assets/stylesheets/**/*.scss"
4
+
2
5
  linters:
6
+ BangFormat:
7
+ enabled: true
8
+ space_before_bang: true
9
+ space_after_bang: false
10
+
11
+ BemDepth:
12
+ enabled: false
13
+
14
+ BorderZero:
15
+ enabled: true
16
+ convention: zero
17
+
18
+ ChainedClasses:
19
+ enabled: false
20
+
21
+ ColorKeyword:
22
+ enabled: true
23
+
3
24
  ColorVariable:
25
+ enabled: true
26
+
27
+ Comment:
28
+ enabled: true
29
+ style: silent
30
+
31
+ DebugStatement:
32
+ enabled: true
33
+
34
+ DeclarationOrder:
35
+ enabled: true
36
+
37
+ DisableLinterReason:
38
+ enabled: false
39
+
40
+ DuplicateProperty:
41
+ enabled: true
42
+
43
+ ElsePlacement:
44
+ enabled: true
45
+ style: same_line
46
+
47
+ EmptyLineBetweenBlocks:
48
+ enabled: true
49
+ ignore_single_line_blocks: true
50
+
51
+ EmptyRule:
52
+ enabled: true
53
+
54
+ ExtendDirective:
4
55
  enabled: false
56
+
57
+ FinalNewline:
58
+ enabled: true
59
+ present: true
60
+
61
+ HexLength:
62
+ enabled: true
63
+ style: short
64
+
65
+ HexNotation:
66
+ enabled: true
67
+ style: lowercase
68
+
69
+ HexValidation:
70
+ enabled: true
71
+
72
+ IdSelector:
73
+ enabled: true
74
+
75
+ ImportantRule:
76
+ enabled: true
77
+
78
+ ImportPath:
79
+ enabled: true
80
+ leading_underscore: false
81
+ filename_extension: false
82
+
83
+ Indentation:
84
+ enabled: true
85
+ allow_non_nested_indentation: false
86
+ character: space
87
+ width: 2
88
+
5
89
  LeadingZero:
6
90
  enabled: true
7
91
  style: include_zero
92
+
93
+ MergeableSelector:
94
+ enabled: true
95
+ force_nesting: true
96
+
97
+ NameFormat:
98
+ enabled: true
99
+ allow_leading_underscore: true
100
+ convention: hyphenated_lowercase
101
+
102
+ NestingDepth:
103
+ enabled: true
104
+ max_depth: 3
105
+ ignore_parent_selectors: false
106
+
107
+ PlaceholderInExtend:
108
+ enabled: true
109
+
8
110
  PropertyCount:
9
111
  enabled: false
112
+
113
+ PropertySortOrder:
114
+ enabled: true
115
+ ignore_unspecified: false
116
+ min_properties: 2
117
+ separate_groups: false
118
+
119
+ PropertySpelling:
120
+ enabled: true
121
+ extra_properties: []
122
+ disabled_properties: []
123
+
124
+ PropertyUnits:
125
+ enabled: true
126
+ global: [
127
+ 'ch', 'em', 'ex', 'rem',
128
+ 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q',
129
+ 'vh', 'vw', 'vmin', 'vmax',
130
+ 'deg', 'grad', 'rad', 'turn',
131
+ 'ms', 's',
132
+ 'Hz', 'kHz',
133
+ 'dpi', 'dpcm', 'dppx',
134
+ '%']
135
+ properties:
136
+ line-height: []
137
+
138
+ PseudoElement:
139
+ enabled: true
140
+
10
141
  QualifyingElement:
11
- enabled: false
142
+ enabled: true
143
+ allow_element_with_attribute: false
144
+ allow_element_with_class: false
145
+ allow_element_with_id: false
146
+
147
+ SelectorDepth:
148
+ enabled: true
149
+ max_depth: 3
150
+
151
+ SelectorFormat:
152
+ enabled: true
153
+ convention: hyphenated_lowercase
154
+
155
+ Shorthand:
156
+ enabled: true
157
+ allowed_shorthands: [1, 2, 3]
158
+
159
+ SingleLinePerProperty:
160
+ enabled: true
161
+ allow_single_line_rule_sets: true
162
+
163
+ SingleLinePerSelector:
164
+ enabled: true
165
+
166
+ SpaceAfterComma:
167
+ enabled: true
168
+ style: one_space
169
+
170
+ SpaceAfterPropertyColon:
171
+ enabled: true
172
+ style: one_space
173
+
174
+ SpaceAfterPropertyName:
175
+ enabled: true
176
+
177
+ SpaceAfterVariableName:
178
+ enabled: true
179
+
180
+ SpaceAroundOperator:
181
+ enabled: true
182
+ style: one_space
183
+
184
+ SpaceBeforeBrace:
185
+ enabled: true
186
+ style: space
187
+ allow_single_line_padding: false
188
+
189
+ SpaceBetweenParens:
190
+ enabled: true
191
+ spaces: 0
192
+
12
193
  StringQuotes:
13
194
  enabled: true
14
195
  style: double_quotes
196
+
197
+ TrailingSemicolon:
198
+ enabled: true
199
+
200
+ TrailingWhitespace:
201
+ enabled: true
202
+
203
+ TrailingZero:
204
+ enabled: false
205
+
206
+ TransitionAll:
207
+ enabled: false
208
+
209
+ UnnecessaryMantissa:
210
+ enabled: true
211
+
212
+ UnnecessaryParentReference:
213
+ enabled: true
214
+
215
+ UrlFormat:
216
+ enabled: true
217
+
218
+ UrlQuotes:
219
+ enabled: true
220
+
221
+ VariableForProperty:
222
+ enabled: false
223
+ properties: []
224
+
225
+ VendorPrefix:
226
+ enabled: true
227
+ identifier_list: base
228
+ additional_identifiers: []
229
+ excluded_identifiers: []
230
+
231
+ ZeroUnit:
232
+ enabled: true
233
+
234
+ Compass::*:
235
+ enabled: false
@@ -5,7 +5,10 @@ var gulp = require("gulp"),
5
5
  bourbon = require("node-bourbon").includePaths;
6
6
 
7
7
  var paths = {
8
- scss: "./contrib/*.scss"
8
+ scss: [
9
+ "./app/assets/stylesheets/**/*.scss",
10
+ "./contrib/*.scss"
11
+ ]
9
12
  };
10
13
 
11
14
  gulp.task("sass", function () {
@@ -1,4 +1,4 @@
1
- // Bitters 1.1.0
1
+ // Bitters 1.2.0
2
2
  // http://bitters.bourbon.io
3
3
  // Copyright 2013-2015 thoughtbot, inc.
4
4
  // MIT License
@@ -1,33 +1,31 @@
1
1
  fieldset {
2
- background-color: $secondary-background-color;
3
- border: $base-border;
4
- margin: 0 0 $small-spacing;
5
- padding: $base-spacing;
2
+ background-color: transparent;
3
+ border: 0;
4
+ margin: 0;
5
+ padding: 0;
6
6
  }
7
7
 
8
- input,
9
- label,
10
- select {
11
- display: block;
12
- font-family: $base-font-family;
13
- font-size: $base-font-size;
8
+ legend {
9
+ font-weight: 600;
10
+ margin-bottom: $small-spacing / 2;
11
+ padding: 0;
14
12
  }
15
13
 
16
14
  label {
15
+ display: block;
17
16
  font-weight: 600;
18
17
  margin-bottom: $small-spacing / 2;
18
+ }
19
19
 
20
- &.required::after {
21
- content: "*";
22
- }
23
-
24
- abbr {
25
- display: none;
26
- }
20
+ input,
21
+ select {
22
+ display: block;
23
+ font-family: $base-font-family;
24
+ font-size: $base-font-size;
27
25
  }
28
26
 
29
27
  #{$all-text-inputs},
30
- select[multiple=multiple] {
28
+ select[multiple] {
31
29
  background-color: $base-background-color;
32
30
  border: $base-border;
33
31
  border-radius: $base-border-radius;
@@ -64,21 +62,17 @@ textarea {
64
62
  resize: vertical;
65
63
  }
66
64
 
67
- input[type="search"] {
65
+ [type="search"] {
68
66
  appearance: none;
69
67
  }
70
68
 
71
- input[type="checkbox"],
72
- input[type="radio"] {
69
+ [type="checkbox"],
70
+ [type="radio"] {
73
71
  display: inline;
74
72
  margin-right: $small-spacing / 2;
75
-
76
- + label {
77
- display: inline-block;
78
- }
79
73
  }
80
74
 
81
- input[type="file"] {
75
+ [type="file"] {
82
76
  margin-bottom: $small-spacing;
83
77
  width: 100%;
84
78
  }
@@ -3,25 +3,13 @@ ol {
3
3
  list-style-type: none;
4
4
  margin: 0;
5
5
  padding: 0;
6
-
7
- &%default-ul {
8
- list-style-type: disc;
9
- margin-bottom: $small-spacing;
10
- padding-left: $base-spacing;
11
- }
12
-
13
- &%default-ol {
14
- list-style-type: decimal;
15
- margin-bottom: $small-spacing;
16
- padding-left: $base-spacing;
17
- }
18
6
  }
19
7
 
20
8
  dl {
21
9
  margin-bottom: $small-spacing;
22
10
 
23
11
  dt {
24
- font-weight: bold;
12
+ font-weight: 600;
25
13
  margin-top: $small-spacing;
26
14
  }
27
15
 
@@ -1,6 +1,5 @@
1
1
  table {
2
2
  border-collapse: collapse;
3
- font-feature-settings: "kern", "liga", "tnum";
4
3
  margin: $small-spacing 0;
5
4
  table-layout: fixed;
6
5
  width: 100%;
@@ -1,7 +1,6 @@
1
1
  body {
2
2
  color: $base-font-color;
3
3
  font-family: $base-font-family;
4
- font-feature-settings: "kern", "liga", "pnum";
5
4
  font-size: $base-font-size;
6
5
  line-height: $base-line-height;
7
6
  }
@@ -16,7 +16,7 @@ $small-spacing: $base-spacing / 2;
16
16
  $base-z-index: 0;
17
17
 
18
18
  // Colors
19
- $blue: #477dca;
19
+ $blue: #1565c0;
20
20
  $dark-gray: #333;
21
21
  $medium-gray: #999;
22
22
  $light-gray: #ddd;
@@ -26,7 +26,7 @@ design and brand requirements.
26
26
  s.add_development_dependency 'bundler', '~> 1.3'
27
27
  s.add_development_dependency 'rake'
28
28
  s.add_development_dependency 'rspec'
29
- s.add_development_dependency 'scss_lint', '~> 0.40'
29
+ s.add_development_dependency 'scss_lint', '~> 0.43'
30
30
 
31
31
  s.add_dependency 'bourbon', '>= 4.2'
32
32
  s.add_dependency 'sass', '>= 3.4'
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1">
7
7
  <title>Have fun ♥️</title>
8
8
  <link rel="stylesheet" href="styles.css">
@@ -69,26 +69,14 @@
69
69
  <dt>Definition Term Title 3</dt>
70
70
  <dd>Definition term description</dd>
71
71
  </dl>
72
- <h2><code>%default-ol</code> Ordered List</h2>
73
- <ol class="default-ol">
74
- <li>List Item 1</li>
75
- <li>List Item 2</li>
76
- <li>List Item 3</li>
77
- </ol>
78
- <h2><code>%default-ul</code> Unordered List</h2>
79
- <ul class="default-ul">
80
- <li>List Item 1</li>
81
- <li>List Item 2</li>
82
- <li>List Item 3</li>
83
- </ul>
84
72
  <hr>
85
73
  <form>
86
- <label for="text_field">Text Field</label>
87
- <input id="text_field" type="text">
88
- <label for="text_field">Disabled Text Field</label>
89
- <input id="text_field" type="text" disabled>
90
- <label for="text_area">Text Area</label>
91
- <textarea id="text_area"></textarea>
74
+ <label for="text-field">Text Field</label>
75
+ <input id="text-field" type="text">
76
+ <label for="disabled-text-field">Disabled Text Field</label>
77
+ <input id="disabled-text-field" type="text" disabled>
78
+ <label for="text-area">Text Area</label>
79
+ <textarea id="text-area"></textarea>
92
80
  <label for="password">Password</label>
93
81
  <input id="password" type="password">
94
82
  <label for="search">Search</label>
@@ -108,56 +96,48 @@
108
96
  <option value="3">Option 3</option>
109
97
  </optgroup>
110
98
  </select>
111
- <label for="select_multiple">Select Multiple</label>
112
- <select id="select_multiple" multiple>
99
+ <label for="select-multiple">Select Multiple</label>
100
+ <select id="select-multiple" multiple>
113
101
  <option value="1">Option 1</option>
114
102
  <option value="2">Option 2</option>
115
103
  <option value="3">Option 3</option>
116
104
  </select>
117
105
  <fieldset>
118
106
  <legend>Fieldset</legend>
119
- <label for="first_name">First Name</label>
120
- <input type="text" id="first_name" placeholder="Bill">
121
- <label for="last_name">Last Name</label>
122
- <input type="text" id="last_name" placeholder="Murray">
107
+ <label for="first-name">First Name</label>
108
+ <input type="text" id="first-name" placeholder="Bill">
109
+ <label for="last-name">Last Name</label>
110
+ <input type="text" id="last-name" placeholder="Murray">
123
111
  </fieldset>
124
112
  <fieldset>
125
- <legend>Fieldset</legend>
126
- <label for="radio_buttons">Radio Buttons</label>
113
+ <legend>Radio Fieldset</legend>
127
114
  <label>
128
- <input type="radio" value="radio_1">
129
- Radio 1
115
+ <input type="radio" name="radio-buttons" value="radio-1"> Radio 1
130
116
  </label>
131
117
  <label>
132
- <input type="radio" value="radio_2">
133
- Radio 2
118
+ <input type="radio" name="radio-buttons" value="radio-2"> Radio 2
134
119
  </label>
135
120
  <label>
136
- <input type="radio" value="radio_3">
137
- Radio 3
121
+ <input type="radio" name="radio-buttons" value="radio-3"> Radio 3
138
122
  </label>
139
123
  </fieldset>
140
124
  <fieldset>
141
- <legend>Fieldset</legend>
142
- <label for="checkboxes">Checkboxes</label>
125
+ <legend>Checkbox Fieldset</legend>
143
126
  <label>
144
- <input type="checkbox" value="check_1" checked>
145
- Checkbox 1
127
+ <input type="checkbox" name="checkboxes" value="check-1" checked> Checkbox 1
146
128
  </label>
147
129
  <label>
148
- <input type="checkbox" value="check_2">
149
- Checkbox 2
130
+ <input type="checkbox" name="checkboxes" value="check-2"> Checkbox 2
150
131
  </label>
151
132
  <label>
152
- <input type="checkbox" value="check_3">
153
- Checkbox 3
133
+ <input type="checkbox" name="checkboxes" value="check-3"> Checkbox 3
154
134
  </label>
155
135
  </fieldset>
156
136
  <input type="submit" value="Submit">
157
137
  <input type="submit" value="Disabled" disabled>
158
138
  </form>
159
139
  <hr>
160
- <table cellspacing="0" cellpadding="0">
140
+ <table>
161
141
  <tr>
162
142
  <th>Table Header 1</th>
163
143
  <th>Table Header 2</th>
@@ -11,14 +11,6 @@ body {
11
11
  max-width: 500px;
12
12
  }
13
13
 
14
- .default-ol {
15
- @extend %default-ol;
16
- }
17
-
18
- .default-ul {
19
- @extend %default-ul;
20
- }
21
-
22
14
  .welcome-message {
23
15
  @include padding($base-spacing null);
24
16
  background-color: #f2f2f2;
@@ -1,3 +1,3 @@
1
1
  module Bitters
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Bitters",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Scaffold styles, variables and structure for Bourbon projects.",
5
5
  "main": "Gulpfile.js",
6
6
  "repository": {
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.1.0
4
+ version: 1.2.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: 2015-08-28 00:00:00.000000000 Z
14
+ date: 2016-01-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -61,14 +61,14 @@ dependencies:
61
61
  requirements:
62
62
  - - "~>"
63
63
  - !ruby/object:Gem::Version
64
- version: '0.40'
64
+ version: '0.43'
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - "~>"
70
70
  - !ruby/object:Gem::Version
71
- version: '0.40'
71
+ version: '0.43'
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: bourbon
74
74
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.2.2
175
+ rubygems_version: 2.4.5.1
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Scaffold styles, variables and structure for Bourbon projects.
@@ -180,3 +180,4 @@ test_files:
180
180
  - spec/bitters_spec.rb
181
181
  - spec/fixtures/application.scss
182
182
  - spec/spec_helper.rb
183
+ has_rdoc: