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 +4 -4
- data/stylesheets/base/_base.scss +24 -0
- data/stylesheets/{bitters → base}/_buttons.scss +1 -0
- data/stylesheets/{bitters → base}/_flashes.scss +4 -0
- data/stylesheets/{bitters → base}/_forms.scss +0 -0
- data/stylesheets/{bitters → base}/_grid-settings.scss +2 -2
- data/stylesheets/{bitters → base}/_lists.scss +0 -1
- data/stylesheets/{bitters → base}/_tables.scss +0 -0
- data/stylesheets/{bitters → base}/_typography.scss +5 -22
- data/stylesheets/{bitters → base}/_variables.scss +9 -12
- data/stylesheets/base/extends/_button.scss +17 -0
- data/stylesheets/{bitters → base}/extends/_clearfix.scss +0 -0
- data/stylesheets/{bitters → base}/extends/_hide-text.scss +0 -0
- data/stylesheets/{bitters → base}/mixins/_flash.scss +0 -0
- metadata +15 -18
- data/stylesheets/bitters/_bitters.scss +0 -16
- data/stylesheets/bitters/extends/_button.scss +0 -7
- data/stylesheets/bitters/extends/_ellipsis.scss +0 -3
- data/stylesheets/bitters/extends/_extends.scss +0 -4
- data/stylesheets/bitters/mixins/_mixins.scss +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef1fd081ae2df558d4050a2b6b6a03bb38dad10a
|
4
|
+
data.tar.gz: 326275109ea50bbde5898d20dc3940ee9ebd8a7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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';
|
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
|
|
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
|
-
-
|
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:
|
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
|
-
//
|
27
|
-
$base-
|
23
|
+
// Background Color
|
24
|
+
$base-background-color: white;
|
28
25
|
|
29
|
-
//
|
26
|
+
// Font Colors
|
30
27
|
$base-font-color: $dark-gray;
|
31
28
|
$base-accent-color: $blue;
|
32
29
|
|
33
|
-
//
|
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
|
File without changes
|
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.
|
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-
|
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/
|
77
|
-
- stylesheets/
|
78
|
-
- stylesheets/
|
79
|
-
- stylesheets/
|
80
|
-
- stylesheets/
|
81
|
-
- stylesheets/
|
82
|
-
- stylesheets/
|
83
|
-
- stylesheets/
|
84
|
-
- stylesheets/
|
85
|
-
- stylesheets/
|
86
|
-
- stylesheets/
|
87
|
-
- stylesheets/
|
88
|
-
- stylesheets/
|
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 +0,0 @@
|
|
1
|
-
@import 'flash';
|