bitters-compass 0.9.5 → 0.10.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: 9108df917004d85821503f28f9f3839b79903be1
4
- data.tar.gz: 8d84f186f71fa30fb1cd49e731b98d4d59b07156
3
+ metadata.gz: ef1fd081ae2df558d4050a2b6b6a03bb38dad10a
4
+ data.tar.gz: 326275109ea50bbde5898d20dc3940ee9ebd8a7f
5
5
  SHA512:
6
- metadata.gz: 326d83d1a20155b15e0214b6dde47e2e2b31d56dd05a321fb7d7ea0255baf2cfbb245eba5029be0d9be5bf1571a3bc183acc5e7d4dd26711f6c294ebfaa09fcc
7
- data.tar.gz: 9cfa4a1b622a0fcc8972d430658c3ff67fac5d416b30ecb090e96082ad9a609f2d164719d7ee4f36ebb424f7e373ce2510bf2c6e3ada436e66a098708939aaf0
6
+ metadata.gz: 3f05d05011e7121db5d7a37b95061180e192fb227889d654438dab10e517c5f537e1e51a2f20d71b81193062f874c2e05fe0bbf050ac5366b39876c34a88452f
7
+ data.tar.gz: d56d607158aeb76ba119530dcddcd9f8d9b45714aaa0029f434effeedb05844b877ffd55e3acd623b094fb1b13aea577d3e40b3ab3b978b90ae3dc8dbac042b2
@@ -0,0 +1,24 @@
1
+ // Bitters v0.10.0
2
+ // http://bitters.bourbon.io
3
+
4
+ // Variables
5
+ @import 'variables';
6
+
7
+ // Neat Settings -- uncomment if using Neat -- must be imported before Neat
8
+ // @import 'grid-settings';
9
+
10
+ // Mixins
11
+ @import 'mixins/flash';
12
+
13
+ // Extends
14
+ @import 'extends/button';
15
+ @import 'extends/clearfix';
16
+ @import 'extends/hide-text';
17
+
18
+ // Typography and Elements
19
+ @import 'typography';
20
+ @import 'forms';
21
+ @import 'tables';
22
+ @import 'lists';
23
+ @import 'flashes';
24
+ @import 'buttons';
@@ -2,6 +2,7 @@ button,
2
2
  input[type="submit"] {
3
3
  @extend %button;
4
4
  @include appearance(none);
5
+ border: none;
5
6
  cursor: pointer;
6
7
  user-select: none;
7
8
  vertical-align: middle;
@@ -1,3 +1,7 @@
1
+ %flash-alert {
2
+ @include flash($alert-color);
3
+ }
4
+
1
5
  %flash-error {
2
6
  @include flash($error-color);
3
7
  }
File without changes
@@ -1,12 +1,12 @@
1
+ @import 'neat-helpers'; // or '../neat/neat-helpers' when not in Rails
2
+
1
3
  // Neat Overrides
2
- ///////////////////////////////////////////////////////////////////////////////
3
4
  // $column: 90px;
4
5
  // $gutter: 30px;
5
6
  // $grid-columns: 12;
6
7
  // $max-width: em(1088);
7
8
 
8
9
  // Neat Breakpoints
9
- ///////////////////////////////////////////////////////////////////////////////
10
10
  $medium-screen: em(640);
11
11
  $large-screen: em(860);
12
12
 
@@ -17,7 +17,6 @@ ul, ol {
17
17
  }
18
18
 
19
19
  dl {
20
- line-height: $base-line-height;
21
20
  margin-bottom: $base-line-height / 2;
22
21
 
23
22
  dt {
File without changes
@@ -1,14 +1,15 @@
1
1
  body {
2
+ -webkit-font-smoothing: antialiased;
3
+ background-color: $base-background-color;
2
4
  color: $base-font-color;
3
5
  font-family: $base-font-family;
4
6
  font-size: $base-font-size;
5
- -webkit-font-smoothing: antialiased;
6
- line-height: $base-line-height;
7
+ line-height: $unitless-line-height;
7
8
  }
8
9
 
9
10
  h1, h2, h3, h4, h5, h6 {
10
11
  font-family: $header-font-family;
11
- line-height: 1.25em;
12
+ line-height: $header-line-height;
12
13
  margin: 0;
13
14
  text-rendering: optimizeLegibility; // Fix the character spacing for headings
14
15
  }
@@ -42,9 +43,9 @@ p {
42
43
  }
43
44
 
44
45
  a {
46
+ @include transition(color 0.1s linear);
45
47
  color: $base-link-color;
46
48
  text-decoration: none;
47
- @include transition(color 0.1s linear);
48
49
 
49
50
  &:hover {
50
51
  color: $hover-link-color;
@@ -69,24 +70,6 @@ img {
69
70
  max-width: 100%;
70
71
  }
71
72
 
72
- abbr, acronym {
73
- border-bottom: 1px dotted $base-border-color;
74
- cursor: help;
75
- }
76
-
77
- address {
78
- display: block;
79
- margin: 0 0 ($base-line-height / 2);
80
- }
81
-
82
- hgroup {
83
- margin-bottom: $base-line-height / 2;
84
- }
85
-
86
- del {
87
- color: lighten($base-font-color, 15);
88
- }
89
-
90
73
  blockquote {
91
74
  border-left: 2px solid $base-border-color;
92
75
  color: lighten($base-font-color, 15);
@@ -1,20 +1,17 @@
1
1
  // Typography
2
- ///////////////////////////////////////////////////////////////////////////////
3
2
  $sans-serif: $helvetica;
4
3
  $serif: $georgia;
5
-
6
4
  $base-font-family: $sans-serif;
7
5
  $header-font-family: $base-font-family;
8
6
 
9
7
  // Sizes
10
- ///////////////////////////////////////////////////////////////////////////////
11
8
  $base-font-size: 1em;
12
9
  $base-line-height: $base-font-size * 1.5;
10
+ $unitless-line-height: $base-line-height / ($base-line-height * 0 + 1); // Strip units from line-height: https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#Prefer_unitless_numbers_for_line-height_values
11
+ $header-line-height: $base-font-size * 1.25;
13
12
  $base-border-radius: em(3);
14
13
 
15
14
  // Colors
16
- ///////////////////////////////////////////////////////////////////////////////
17
-
18
15
  $blue: #477DCA;
19
16
  $dark-gray: #333;
20
17
  $medium-gray: #999;
@@ -23,21 +20,24 @@ $light-red: #FBE3E4;
23
20
  $light-yellow: #FFF6BF;
24
21
  $light-green: #E6EFC2;
25
22
 
26
- // Body Color
27
- $base-body-color: white;
23
+ // Background Color
24
+ $base-background-color: white;
28
25
 
29
- // Font Colors
26
+ // Font Colors
30
27
  $base-font-color: $dark-gray;
31
28
  $base-accent-color: $blue;
32
29
 
33
- // Text Link Colors
30
+ // Link Colors
34
31
  $base-link-color: $base-accent-color;
35
32
  $hover-link-color: darken($base-accent-color, 15);
33
+ $base-button-color: $base-link-color;
34
+ $hover-button-color: $hover-link-color;
36
35
 
37
36
  // Border color
38
37
  $base-border-color: $light-gray;
39
38
 
40
39
  // Flash Colors
40
+ $alert-color: $light-yellow;
41
41
  $error-color: $light-red;
42
42
  $notice-color: $light-yellow;
43
43
  $success-color: $light-green;
@@ -51,6 +51,3 @@ $form-box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
51
51
  $form-box-shadow-focus: $form-box-shadow, 0 0 5px rgba(darken($form-border-color-focus, 5), 0.7);
52
52
  $form-font-size: $base-font-size;
53
53
  $form-font-family: $base-font-family;
54
-
55
- // Buttons
56
- $button-style: simple;
@@ -0,0 +1,17 @@
1
+ %button {
2
+ -webkit-font-smoothing: antialiased;
3
+ background-color: $base-button-color;
4
+ border-radius: $base-border-radius;
5
+ color: white;
6
+ display: inline-block;
7
+ font-size: $base-font-size;
8
+ font-weight: bold;
9
+ line-height: 1;
10
+ padding: .75em 1em;
11
+ text-decoration: none;
12
+
13
+ &:hover {
14
+ background-color: $hover-button-color;
15
+ color: white;
16
+ }
17
+ }
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitters-compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Foster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass
@@ -73,22 +73,19 @@ extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
75
  - lib/bitters-compass.rb
76
- - stylesheets/bitters/_bitters.scss
77
- - stylesheets/bitters/_buttons.scss
78
- - stylesheets/bitters/_flashes.scss
79
- - stylesheets/bitters/_forms.scss
80
- - stylesheets/bitters/_grid-settings.scss
81
- - stylesheets/bitters/_lists.scss
82
- - stylesheets/bitters/_tables.scss
83
- - stylesheets/bitters/_typography.scss
84
- - stylesheets/bitters/_variables.scss
85
- - stylesheets/bitters/extends/_button.scss
86
- - stylesheets/bitters/extends/_clearfix.scss
87
- - stylesheets/bitters/extends/_ellipsis.scss
88
- - stylesheets/bitters/extends/_extends.scss
89
- - stylesheets/bitters/extends/_hide-text.scss
90
- - stylesheets/bitters/mixins/_flash.scss
91
- - stylesheets/bitters/mixins/_mixins.scss
76
+ - stylesheets/base/_base.scss
77
+ - stylesheets/base/_buttons.scss
78
+ - stylesheets/base/_flashes.scss
79
+ - stylesheets/base/_forms.scss
80
+ - stylesheets/base/_grid-settings.scss
81
+ - stylesheets/base/_lists.scss
82
+ - stylesheets/base/_tables.scss
83
+ - stylesheets/base/_typography.scss
84
+ - stylesheets/base/_variables.scss
85
+ - stylesheets/base/extends/_button.scss
86
+ - stylesheets/base/extends/_clearfix.scss
87
+ - stylesheets/base/extends/_hide-text.scss
88
+ - stylesheets/base/mixins/_flash.scss
92
89
  homepage: https://github.com/jedfoster/bitters-compass
93
90
  licenses: []
94
91
  metadata: {}
@@ -1,16 +0,0 @@
1
- // Neat Settings -- uncomment if using Neat
2
- ///////////////////////////////////////////////////////////////////////////////
3
- // @import 'neat-helpers'; // or '../neat/neat-helpers' when not in Rails
4
- // @import 'grid-settings';
5
-
6
-
7
- // Bitters
8
- ///////////////////////////////////////////////////////////////////////////////
9
- @import 'variables';
10
- @import 'extends/extends';
11
- @import 'mixins/mixins';
12
- @import 'typography';
13
- @import 'forms';
14
- @import 'tables';
15
- @import 'lists';
16
- @import 'flashes';
@@ -1,7 +0,0 @@
1
- %button {
2
- @include button($button-style, $base-accent-color);
3
- -webkit-font-smoothing: antialiased;
4
- font-size: $base-font-size;
5
- font-weight: bold;
6
- line-height: 1em;
7
- }
@@ -1,3 +0,0 @@
1
- %ellipsis {
2
- @include ellipsis;
3
- }
@@ -1,4 +0,0 @@
1
- @import 'button';
2
- @import 'clearfix';
3
- @import 'ellipsis';
4
- @import 'hide-text';
@@ -1 +0,0 @@
1
- @import 'flash';