bitters 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -2,7 +2,7 @@ LICENSE
2
2
 
3
3
  The MIT License
4
4
 
5
- Copyright (c) 2013 thoughtbot, inc.
5
+ Copyright (c) 2014 thoughtbot, inc.
6
6
 
7
7
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  Bitters
2
2
  ===
3
- Add a dash of predefined style to get your [Bourbon](http://bourbon.io) stylesheets started off in the right direction.
3
+ Scaffold styles, variables and structure for [Bourbon](http://bourbon.io) projects.
4
4
 
5
- Bitters is meant to help designers get projects started on new projects faster. It adds enough predefined structure and style to get started quickly but bland enough so that it doesn't dictate any style moving forward. Bitters should live in your projects sass root folder and be **modified** and extended while you design your project.
5
+ Bitters is meant to help designers start projects faster by defining a basic set of variables and project structure. After you have Bitters installed, jump in and start customizing the styles and variables to your design and brand requirements.
6
+
7
+ Bitters should live in your project's sass root folder and be **modified** and extended while you design your project.
6
8
 
7
9
  Install Instructions
8
10
  ===
@@ -40,12 +42,10 @@ Getting Started
40
42
  ===
41
43
 
42
44
  ### Sass structure & default style
43
- The base folder should contain styles for all the basic elements used throughout the sites style. Feel free to add code to the existing files or add new files to customize Bitters for your site.
44
-
45
- The default style is meant to get out of the way and give you a good starting place for new projects. It shouldn't dictate any design decisions, only make the styles not look terrible from the start.
45
+ The Bitters folder should contain styles for all the basic elements used throughout the project. It also contains folders for custom mixins and extends for your site as well. Add code to the existing files or add new files to the folders. Customize Bitters for your site as you see fit.
46
46
 
47
47
  ### Variables
48
- This houses all variables that are used, or will be used, in more than one file in your site. For variable names we try to use the most semantic name possible in our Scss.
48
+ This houses all variables that are used, or will be used, in more than one file in your site. Variable names in Bitters that are used outside of the variables file start with $base to indicate that they are the most basic variables.
49
49
 
50
50
  ### Grid settings
51
51
  Variables specifically created for Neat resets and breakpoints. To be used, these need to be imported separately from the rest of your base file above Neat in your main stylesheet. Otherwise just remove the file.
@@ -77,4 +77,4 @@ Bitters is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/comm
77
77
  License
78
78
  ===
79
79
 
80
- Bitters is Copyright © 2013 thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
80
+ Bitters is Copyright © 2014 thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
@@ -1,11 +1,11 @@
1
- .error, #flash_failure {
1
+ %flash-error {
2
2
  @include flash($error-color);
3
3
  }
4
4
 
5
- .notice, #flash_notice {
5
+ %flash-notice {
6
6
  @include flash($notice-color);
7
7
  }
8
8
 
9
- .success, #flash_success {
9
+ %flash-success {
10
10
  @include flash($success-color);
11
11
  }
@@ -36,7 +36,8 @@ label {
36
36
  }
37
37
 
38
38
  textarea,
39
- #{$all-text-inputs} {
39
+ #{$all-text-inputs},
40
+ select[multiple=multiple] {
40
41
  @include box-sizing(border-box);
41
42
  @include transition(border-color);
42
43
  background-color: white;
@@ -47,7 +48,6 @@ textarea,
47
48
  font-size: $form-font-size;
48
49
  margin-bottom: $base-line-height / 2;
49
50
  padding: ($base-line-height / 3) ($base-line-height / 3);
50
- resize: vertical;
51
51
  width: 100%;
52
52
 
53
53
  &:hover {
@@ -61,6 +61,10 @@ textarea,
61
61
  }
62
62
  }
63
63
 
64
+ textarea {
65
+ resize: vertical;
66
+ }
67
+
64
68
  input[type="search"] {
65
69
  @include appearance(none);
66
70
  }
@@ -76,6 +80,7 @@ input[type="file"] {
76
80
 
77
81
  select {
78
82
  width: auto;
83
+ max-width: 100%;
79
84
  margin-bottom: $base-line-height;
80
85
  }
81
86
 
@@ -7,6 +7,8 @@
7
7
 
8
8
  // Neat Breakpoints
9
9
  ///////////////////////////////////////////////////////////////////////////////
10
- $small-screen: new-breakpoint(min-width em(540) 2);
11
- $medium-screen: new-breakpoint(min-width em(760) 4);
12
- $large-screen: new-breakpoint(min-width em(920) 8);
10
+ $medium-screen: em(640);
11
+ $large-screen: em(860);
12
+
13
+ $medium-screen-up: new-breakpoint(min-width $medium-screen 4);
14
+ $large-screen-up: new-breakpoint(min-width $large-screen 8);
@@ -1,4 +1,7 @@
1
1
  %button {
2
2
  @include button(simple, $base-accent-color);
3
+ -webkit-font-smoothing: antialiased;
3
4
  font-size: $base-font-size;
5
+ font-weight: bold;
6
+ line-height: 1em;
4
7
  }
@@ -1,3 +1,3 @@
1
1
  module Bitters
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
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: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-12-06 00:00:00.000000000 Z
13
+ date: 2014-03-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -137,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  segments:
139
139
  - 0
140
- hash: -4024612642079917483
140
+ hash: -2718350553411047732
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  none: false
143
143
  requirements:
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  segments:
148
148
  - 0
149
- hash: -4024612642079917483
149
+ hash: -2718350553411047732
150
150
  requirements: []
151
151
  rubyforge_project:
152
152
  rubygems_version: 1.8.25