bootswatch-rails 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -49,6 +49,7 @@ I'm converting/updating them as time permits. Here's what's included at this poi
49
49
  * [Readable](http://bootswatch.com/readable/)
50
50
  * [Simplex](http://bootswatch.com/simplex/)
51
51
  * [Slate](http://bootswatch.com/slate/)
52
+ * [Spacelab](http://bootswatch.com/spacelab/)
52
53
  * [United](http://bootswatch.com/united/)
53
54
 
54
55
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  module Bootswatch
2
2
  module Rails
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
@@ -0,0 +1,169 @@
1
+ // Swatch: Spacelab
2
+ // Version: 2.0.2
3
+ // -----------------------------------------------------
4
+
5
+ // NAVBAR
6
+ // -----------------------------------------------------
7
+
8
+ // navbar style
9
+ .navbar {
10
+ border-bottom: 1px solid #CACACA;
11
+
12
+ .brand {
13
+ font-size: 20px;
14
+ font-weight: bold;
15
+ color: $textColor;
16
+
17
+ &:hover {
18
+ color: $linkColor;
19
+ }
20
+ }
21
+ }
22
+
23
+ // navbar dropshadow
24
+ .navbar .navbar-inner {
25
+ @include box-shadow(0 1px 0 rgba(255,255,255,0.4));
26
+ @include box-shadow(0 0 10px rgba(0,0,0,0.1));
27
+ }
28
+
29
+ // nav item typography
30
+ .navbar .nav > li > a {
31
+ font-weight: bold;
32
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
33
+ }
34
+
35
+ .navbar .nav .active > a {
36
+ background-color: transparent;
37
+ color: $textColor;
38
+
39
+ &:hover {
40
+ background-color: transparent;
41
+ color: $linkColor;
42
+ }
43
+ }
44
+
45
+ .navbar .nav > li > a:hover,
46
+ .navbar .nav .open.dropdown .dropdown-toggle {
47
+ color: $linkColor !important;
48
+ }
49
+
50
+ .navbar .nav .dropdown-toggle .caret {
51
+ border-top-color: $textColor;
52
+ opacity: 1;
53
+ }
54
+
55
+ .nav .open.dropdown .caret,
56
+ .nav .dropdown-toggle:hover .caret {
57
+ border-top-color: $linkColor !important;
58
+ }
59
+
60
+ div.subnav .nav > li > a {
61
+ font-weight: bold;
62
+ color: #777;
63
+
64
+ &:hover {
65
+ color: $linkColor;
66
+ }
67
+ }
68
+
69
+ div.subnav .nav > li.active > a {
70
+ color: $textColor;
71
+
72
+ &:hover {
73
+ color: $grayDark;
74
+ }
75
+ }
76
+
77
+ div.subnav .nav > li > .dropdown-toggle {
78
+ background-color: transparent;
79
+ color: $linkColor;
80
+ }
81
+
82
+ .navbar-search .search-query,
83
+ .navbar-search .search-query:hover {
84
+ border: none;
85
+ color: $grayLight;
86
+ @include placeholder($grayLight);
87
+ @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.5));
88
+
89
+ &:focus,
90
+ &.focused {
91
+ @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.5));
92
+ color: $textColor;
93
+ }
94
+ }
95
+
96
+ .navbar .nav-collapse.in > .nav li > a {
97
+
98
+ color: $textColor;
99
+
100
+ .caret {
101
+ border-top-color: $grayLight;
102
+ }
103
+ }
104
+
105
+
106
+ .navbar .nav-collapse.in > .nav li > a:hover {
107
+ text-shadow: none;
108
+ color: $linkColor;
109
+ background-color: transparent;
110
+
111
+ .caret {
112
+ border-top-color: $white;
113
+ }
114
+ }
115
+
116
+ // BUTTON
117
+ // -----------------------------------------------------
118
+
119
+ .btn {
120
+ @include buttonBackground(#F4F4F4, #ECECEC);
121
+ }
122
+
123
+ .btn-primary {
124
+ @include buttonBackground(#909090, #3F3F3F);
125
+ }
126
+
127
+ .btn-warning {
128
+ @include buttonBackground(lighten($yellow, 15%), $yellow);
129
+ }
130
+
131
+ .btn-danger {
132
+ @include buttonBackground(lighten(#DA2D2D, 15%), #DA2D2D);
133
+ }
134
+
135
+ .btn-success {
136
+ @include buttonBackground(#8ADD6D, #60B044);
137
+ }
138
+
139
+ .btn-info {
140
+ @include buttonBackground(lighten(#4488BB, 15%), #4488BB);
141
+ }
142
+
143
+ .btn-inverse {
144
+ @include buttonBackground(lighten($purple, 5%), $purple);
145
+ }
146
+
147
+ // FORMS
148
+ // -----------------------------------------------------
149
+
150
+ .control-group.warning {
151
+ @include formFieldState(#E29235, #E29235, $warningBackground);
152
+ }
153
+
154
+ .control-group.error {
155
+ @include formFieldState(#C00, #C00, $errorBackground);
156
+ }
157
+
158
+ .control-group.success {
159
+ @include formFieldState(#2BA949, #2BA949, $successBackground);
160
+ }
161
+
162
+
163
+ // LABELS
164
+ // -----------------------------------------------------
165
+
166
+ .label-important { background-color: #BD2C00; }
167
+ .label-warning { background-color: #E3E84D; }
168
+ .label-success { background-color: #6CC644; }
169
+ .label-info { background-color: #4183C4; }
@@ -0,0 +1,202 @@
1
+ // Variables to customize the look and feel of Bootstrap
2
+ // Swatch: Spacelab
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: #4183C4;
26
+ $blueDark: #405A6A;
27
+ $green: #84DE81;
28
+ $red: #E5322C;
29
+ $yellow: #F4CA00;
30
+ $orange: #FF7D00;
31
+ $pink: #F44B8C;
32
+ $purple: #405A6A;
33
+
34
+
35
+ // Scaffolding
36
+ // -------------------------
37
+ $bodyBackground: $white;
38
+ $textColor: $grayDark;
39
+
40
+
41
+ // Links
42
+ // -------------------------
43
+ $linkColor: #4183C4;
44
+ $linkColorHover: $linkColor;
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: inherit; // empty to use BS default, $baseFontFamily
55
+ $headingsFontWeight: bold; // instead of browser default, bold
56
+ $headingsColor: inherit; // 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: #5bc0de;
77
+ $btnInfoBackgroundHighlight: #2f96b4;
78
+
79
+ $btnSuccessBackground: #62c462;
80
+ $btnSuccessBackgroundHighlight: #51a351;
81
+
82
+ $btnWarningBackground: lighten($orange, 15%);
83
+ $btnWarningBackgroundHighlight: $orange;
84
+
85
+ $btnDangerBackground: #ee5f5b;
86
+ $btnDangerBackgroundHighlight: #bd362f;
87
+
88
+ $btnInverseBackground: $gray;
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: #EAEAEA;
145
+ $navbarBackgroundHighlight: lighten($navbarBackground, 15%);
146
+
147
+ $navbarText: $grayDarker;
148
+ $navbarLinkColor: $grayDarker;
149
+ $navbarLinkColorHover: $linkColor;
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: #ccc;
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: #393939;
170
+ $warningBackground: #F5F3B4;
171
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
172
+
173
+ $errorText: $warningText;
174
+ $errorBackground: #FFE9E9;
175
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
176
+
177
+ $successText: #333;
178
+ $successBackground: #BEDEBE;
179
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
180
+
181
+ $infoText: #1B3650;
182
+ $infoBackground: #E4F0FF;
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%;
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.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70211734833240 !ruby/object:Gem::Requirement
16
+ requirement: &70217166556280 !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: *70211734833240
24
+ version_requirements: *70217166556280
25
25
  description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
26
26
  email:
27
27
  - max@bitsonnet.com
@@ -51,6 +51,8 @@ files:
51
51
  - vendor/assets/stylesheets/bootswatch/simplex/_variables.scss
52
52
  - vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss
53
53
  - vendor/assets/stylesheets/bootswatch/slate/_variables.scss
54
+ - vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss
55
+ - vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss
54
56
  - vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss
55
57
  - vendor/assets/stylesheets/bootswatch/united/_variables.scss
56
58
  homepage: http://github.com/maxim/bootswatch-rails