bootswatch-rails 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -42,8 +42,9 @@ Here's approximately how your `application.css.scss` file should look like, cons
42
42
 
43
43
  I'm converting/updating them as time permits. Here's what's included at this point.
44
44
 
45
- * [amelia](http://bootswatch.com/amelia/)
46
- * [journal](http://bootswatch.com/journal/)
45
+ * [Amelia](http://bootswatch.com/amelia/)
46
+ * [Cerulean](http://bootswatch.com/cerulean/)
47
+ * [Journal](http://bootswatch.com/journal/)
47
48
 
48
49
  ## Contributing
49
50
 
@@ -1,5 +1,5 @@
1
1
  module Bootswatch
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -1,4 +1,3 @@
1
- // Bootswatch.less
2
1
  // Swatch: Amelia
3
2
  // Version: 2.0.2
4
3
  // -----------------------------------------------------
@@ -1,4 +1,3 @@
1
- // Variables.less
2
1
  // Variables to customize the look and feel of Bootstrap
3
2
  // Swatch: Amelia
4
3
  // Version: 2.0.2
@@ -0,0 +1,96 @@
1
+ // Swatch: Cerulean
2
+ // Version: 2.0.2
3
+ // -----------------------------------------------------
4
+
5
+ // TYPOGRAPHY
6
+ // -----------------------------------------------------
7
+
8
+ @import url("http://fonts.googleapis.com/css?family=Telex");
9
+
10
+ .navbar, .subnav {
11
+ font-family: $headingsFontFamily;
12
+ }
13
+
14
+ // NAVBAR
15
+ // -----------------------------------------------------
16
+
17
+ .navbar-inner {
18
+ @include gradient-vertical-three-colors($navbarBackground, $navbarBackground, 90%, $navbarBackgroundHighlight);
19
+ }
20
+
21
+ .navbar .nav .active > a,
22
+ .navbar .nav .active > a:hover {
23
+ background-color: $navbarBackground;
24
+ background-color: rgba(0,0,0,.2);
25
+ }
26
+
27
+ .navbar .search-query {
28
+ border: 1px solid darken($linkColor, 10%);
29
+ }
30
+
31
+ // responsive menu colors
32
+
33
+ .navbar .nav-collapse.in > .nav > li .dropdown-menu a {
34
+ color: $white;
35
+
36
+ &:hover {
37
+ color: $white;
38
+ }
39
+ }
40
+
41
+ .navbar .nav-collapse.in .nav li > a {
42
+ color: $white;
43
+
44
+ &:hover {
45
+ background-color: #2B7CAC;
46
+ }
47
+ }
48
+
49
+ .btn-navbar:hover {
50
+ background-color: darken($white, 20%);
51
+ }
52
+
53
+ // BUTTONS
54
+ // -----------------------------------------------------
55
+
56
+ .btn {
57
+ @include gradient-vertical-three-colors($white, $white, 5%, darken($white, 0%));
58
+ $shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
59
+ @include box-shadow($shadow);
60
+
61
+ &:hover {
62
+ background-position: 0 0;
63
+ }
64
+ }
65
+
66
+ .btn-primary {
67
+ @include buttonBackground(lighten($btnPrimaryBackground, 5%), $btnPrimaryBackground);
68
+ }
69
+
70
+ .btn-info {
71
+ @include buttonBackground(lighten($btnInfoBackground, 5%), $btnInfoBackground);
72
+ }
73
+
74
+ .btn-success {
75
+ @include buttonBackground(lighten($btnSuccessBackground, 5%), $btnSuccessBackground);
76
+ }
77
+
78
+ .btn-warning {
79
+ @include buttonBackground(lighten($btnWarningBackground, 5%), $btnWarningBackground);
80
+ }
81
+
82
+ .btn-danger {
83
+ @include buttonBackground(lighten($btnDangerBackground, 5%), $btnDangerBackground);
84
+ }
85
+
86
+ .btn-inverse {
87
+ @include buttonBackground(lighten($btnInverseBackground, 5%), $btnInverseBackground);
88
+ }
89
+
90
+ // ICONS
91
+ // -----------------------------------------------------
92
+
93
+ // Make icons gray
94
+ i[class^="icon-"]{
95
+ opacity: 0.8;
96
+ }
@@ -0,0 +1,202 @@
1
+ // Variables to customize the look and feel of Bootstrap
2
+ // Swatch: Cerulean
3
+ // Version: 2.0.2
4
+ // -----------------------------------------------------
5
+
6
+
7
+
8
+ // GLOBAL VALUES
9
+ // --------------------------------------------------
10
+
11
+
12
+ // Grays
13
+ // -------------------------
14
+ $black: #000;
15
+ $grayDarker: #222;
16
+ $grayDark: #333;
17
+ $gray: #555;
18
+ $grayLight: #999;
19
+ $grayLighter: #eee;
20
+ $white: #fff;
21
+
22
+
23
+ // Accent colors
24
+ // -------------------------
25
+ $blue: #3E78B3;
26
+ $blueDark: #033C73;
27
+ $green: #73A839;
28
+ $red: #C71C22;
29
+ $yellow: #F7B42C;
30
+ $orange: #DD5600;
31
+ $pink: #F49AC1;
32
+ $purple: #9760B3;
33
+
34
+
35
+ // Scaffolding
36
+ // -------------------------
37
+ $bodyBackground: $white;
38
+ $textColor: $gray;
39
+
40
+
41
+ // Links
42
+ // -------------------------
43
+ $linkColor: #369BD7;
44
+ $linkColorHover: darken($linkColor, 15%);
45
+
46
+
47
+ // Typography
48
+ // -------------------------
49
+ $baseFontSize: 13px;
50
+ $baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
51
+ $baseLineHeight: 18px;
52
+ $altFontFamily: Georgia, "Times New Roman", Times, serif;
53
+
54
+ $headingsFontFamily: 'Telex', sans-serif; // empty to use BS default, $baseFontFamily
55
+ $headingsFontWeight: bold; // instead of browser default, bold
56
+ $headingsColor: #317EAC; // empty to use BS default, $textColor
57
+
58
+
59
+ // Tables
60
+ // -------------------------
61
+ $tableBackground: transparent; // overall background-color
62
+ $tableBackgroundAccent: #f9f9f9; // for striping
63
+ $tableBackgroundHover: #f5f5f5; // for hover
64
+ $tableBorder: #ddd; // table and cell border
65
+
66
+
67
+ // Buttons
68
+ // -------------------------
69
+ $btnBackground: $white;
70
+ $btnBackgroundHighlight: darken($white, 10%);
71
+ $btnBorder: darken($white, 20%);
72
+
73
+ $btnPrimaryBackground: $linkColor;
74
+ $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%);
75
+
76
+ $btnInfoBackground: $purple;
77
+ $btnInfoBackgroundHighlight: #2f96b4;
78
+
79
+ $btnSuccessBackground: $green;
80
+ $btnSuccessBackgroundHighlight: #51a351;
81
+
82
+ $btnWarningBackground: $orange;
83
+ $btnWarningBackgroundHighlight: $orange;
84
+
85
+ $btnDangerBackground: $red;
86
+ $btnDangerBackgroundHighlight: #bd362f;
87
+
88
+ $btnInverseBackground: $yellow;
89
+ $btnInverseBackgroundHighlight: $grayDarker;
90
+
91
+
92
+ // Forms
93
+ // -------------------------
94
+ $inputBackground: $white;
95
+ $inputBorder: #ccc;
96
+ $inputDisabledBackground: $grayLighter;
97
+
98
+
99
+ // Dropdowns
100
+ // -------------------------
101
+ $dropdownBackground: $white;
102
+ $dropdownBorder: rgba(0,0,0,.2);
103
+ $dropdownLinkColor: $grayDark;
104
+ $dropdownLinkColorHover: $white;
105
+ $dropdownLinkBackgroundHover: $linkColor;
106
+
107
+
108
+
109
+
110
+ // COMPONENT VARIABLES
111
+ // --------------------------------------------------
112
+
113
+ // Z-index master list
114
+ // -------------------------
115
+ // Used for a bird's eye view of components dependent on the z-axis
116
+ // Try to avoid customizing these :)
117
+ $zindexDropdown: 1000;
118
+ $zindexPopover: 1010;
119
+ $zindexTooltip: 1020;
120
+ $zindexFixedNavbar: 1030;
121
+ $zindexModalBackdrop: 1040;
122
+ $zindexModal: 1050;
123
+
124
+
125
+ // Sprite icons path
126
+ // -------------------------
127
+ $iconSpritePath: "../img/glyphicons-halflings.png";
128
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
129
+
130
+
131
+ // Input placeholder text color
132
+ // -------------------------
133
+ $placeholderText: $grayLight;
134
+
135
+
136
+ // Hr border color
137
+ // -------------------------
138
+ $hrBorder: $grayLighter;
139
+
140
+
141
+ // Navbar
142
+ // -------------------------
143
+ $navbarHeight: 40px;
144
+ $navbarBackground: $linkColor;
145
+ $navbarBackgroundHighlight: lighten($linkColor, 10%);
146
+
147
+ $navbarText: $grayLighter;
148
+ $navbarLinkColor: $grayLighter;
149
+ $navbarLinkColorHover: $white;
150
+ $navbarLinkColorActive: $navbarLinkColorHover;
151
+ $navbarLinkBackgroundHover: transparent;
152
+ $navbarLinkBackgroundActive: $navbarBackground;
153
+
154
+ $navbarSearchBackground: lighten($navbarBackground, 25%);
155
+ $navbarSearchBackgroundFocus: $white;
156
+ $navbarSearchBorder: darken($navbarSearchBackground, 30%);
157
+ $navbarSearchPlaceholderColor: $white;
158
+
159
+
160
+ // Hero unit
161
+ // -------------------------
162
+ $heroUnitBackground: $grayLighter;
163
+ $heroUnitHeadingColor: inherit;
164
+ $heroUnitLeadColor: inherit;
165
+
166
+
167
+ // Form states and alerts
168
+ // -------------------------
169
+ $warningText: darken($linkColor, 20%);
170
+ $warningBackground: lighten($linkColor, 20%);
171
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
172
+
173
+ $errorText: darken(#C45559, 5%);
174
+ $errorBackground: #EDDBE3;
175
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
176
+
177
+ $successText: darken($green, 5%);
178
+ $successBackground: #CDB;
179
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
180
+
181
+ $infoText: darken(#908A62, 5%);
182
+ $infoBackground: #EDEBE1;
183
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
184
+
185
+
186
+
187
+
188
+ // GRID
189
+ // --------------------------------------------------
190
+
191
+ // Default 940px grid
192
+ // -------------------------
193
+ $gridColumns: 12;
194
+ $gridColumnWidth: 60px;
195
+ $gridGutterWidth: 20px;
196
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
197
+
198
+
199
+ // Fluid grid
200
+ // -------------------------
201
+ $fluidGridColumnWidth: 6.382978723%;
202
+ $fluidGridGutterWidth: 2.127659574%;
@@ -1,4 +1,3 @@
1
- // Bootswatch.less
2
1
  // Swatch: Journal
3
2
  // Version: 2.0.2
4
3
  // -----------------------------------------------------
@@ -1,4 +1,3 @@
1
- // Variables.less
2
1
  // Variables to customize the look and feel of Bootstrap
3
2
  // Swatch: Journal
4
3
  // Version: 2.0.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70287634966560 !ruby/object:Gem::Requirement
16
+ requirement: &70276482387540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70287634966560
24
+ version_requirements: *70276482387540
25
25
  description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
26
26
  email:
27
27
  - max@bitsonnet.com
@@ -39,6 +39,8 @@ files:
39
39
  - lib/bootswatch-rails/version.rb
40
40
  - vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss
41
41
  - vendor/assets/stylesheets/bootswatch/amelia/_variables.scss
42
+ - vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss
43
+ - vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss
42
44
  - vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss
43
45
  - vendor/assets/stylesheets/bootswatch/journal/_variables.scss
44
46
  homepage: http://github.com/maxim/bootswatch-rails