Skip to content
This repository was archived by the owner on Jan 8, 2023. It is now read-only.

Commit 6b0aea6

Browse files
Merge commit '529f8b9596556b80c9388f63b5a75b25e92af9ed'
Conflicts: lib/bootswatch-rails/version.rb
2 parents af99dec + 529f8b9 commit 6b0aea6

37 files changed

+3404
-1043
lines changed

HISTORY.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 3.2.3 (2014-08-31)
2+
3+
* Fix syntax error in Darkly and Flatly.
4+
5+
## 3.2.2 (2014-08-30)
6+
7+
* Add Paper theme
8+
* Add Sandstone theme
9+
110
## 3.2.0 (2014-07-12)
211

312
* Update all themes to current bootswatch versions (3.2.0)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ Included bootswatches
7171
* [Flatly](http://bootswatch.com/flatly/)
7272
* [Journal](http://bootswatch.com/journal/)
7373
* [Lumen](http://bootswatch.com/lumen/)
74+
* [Paper](http://bootswatch.com/paper/)
7475
* [Readable](http://bootswatch.com/readable/)
76+
* [Sandstone](http://bootswatch.com/sandstone/)
7577
* [Simplex](http://bootswatch.com/simplex/)
7678
* [Slate](http://bootswatch.com/slate/)
7779
* [Spacelab](http://bootswatch.com/spacelab/)

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ THEMES = %w(
1010
flatly
1111
journal
1212
lumen
13+
paper
1314
readable
15+
sandstone
1416
simplex
1517
slate
1618
spacelab
17-
spruce
1819
superhero
1920
united
2021
yeti

rearranges

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Variable
4949
end
5050

5151
def section_name
52-
section_header.split("\n").first.sub('// ', '')
52+
section_header.split("\n").first.sub('//== ', '')
5353
end
5454

5555
def to_s
@@ -61,16 +61,16 @@ class Variable
6161
end
6262
end
6363

64-
Variable.sections = body.split(/(\/\/\s+\w[^\/]+\/\/\s+-+)/m)
64+
Variable.sections = body.split(/(\/\/==\s+\w+[\/\s]+##[\W\w]$)/m)
6565

6666
tokens = []
6767
in_section = false
6868

6969
Variable.sections.each.with_index do |section, index|
7070
if in_section
71-
tokens[index] = section.scan(/\$\w+\s*\:?/)
71+
tokens[index] = section.scan(/\$[\w-]+\s*\:?/)
7272
in_section = false
73-
elsif section =~ /(\/\/\s+\w[^\/]+\/\/\s+-+)/m
73+
elsif section =~ /(\/\/==\s+\w+[\/\s]+##[\W\w]$)/m
7474
tokens[index] = []
7575
in_section = true
7676
else

vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,3 @@ a.thumbnail:focus,
186186
a.thumbnail.active {
187187
border-color: $thumbnail-border;
188188
}
189-
190-
.popover {
191-
color: $gray-dark;
192-
}

vendor/assets/stylesheets/bootswatch/amelia/_variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
//
88
//## Gray and brand colors for use across Bootstrap.
99

10+
$gray: lighten(#000, 33.5%) !default; // #555
1011
$gray-darker: #111 !default; // #222
1112
$gray-dark: #444 !default; // #333
12-
$gray: lighten(#000, 33.5%) !default; // #555
1313
$gray-light: #bbb !default; // #999
1414
$gray-lighter: #ddd !default; // #eee
1515

@@ -540,7 +540,7 @@ $tooltip-arrow-color: $tooltip-bg !default;
540540
//##
541541

542542
//** Popover body background color
543-
$popover-bg: #fff !default;
543+
$popover-bg: lighten($body-bg, 5%) !default;
544544
//** Popover maximum width
545545
$popover-max-width: 276px !default;
546546
//** Popover border color
@@ -554,7 +554,7 @@ $popover-title-bg: darken($popover-bg, 3%) !default;
554554
//** Popover arrow width
555555
$popover-arrow-width: 10px !default;
556556
//** Popover arrow color
557-
$popover-arrow-color: #fff !default;
557+
$popover-arrow-color: lighten($body-bg, 5%) !default;
558558

559559
//** Popover outer arrow width
560560
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;

vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
//
88
//## Gray and brand colors for use across Bootstrap.
99

10+
$gray: lighten(#000, 33.5%) !default; // #555
1011
$gray-darker: lighten(#000, 13.5%) !default; // #222
1112
$gray-dark: lighten(#000, 20%) !default; // #333
12-
$gray: lighten(#000, 33.5%) !default; // #555
1313
$gray-light: lighten(#000, 60%) !default; // #999
1414
$gray-lighter: lighten(#000, 93.5%) !default; // #eee
1515

@@ -79,31 +79,6 @@ $icon-font-name: "glyphicons-halflings-regular" !default;
7979
$icon-font-svg-id: "glyphicons_halflingsregular" !default;
8080

8181

82-
//== Type
83-
//
84-
//##
85-
86-
//** Horizontal offset for forms and lists.
87-
$component-offset-horizontal: 180px !default;
88-
//** Text muted color
89-
$text-muted: $gray-light !default;
90-
//** Abbreviations and acronyms border color
91-
$abbr-border-color: $gray-light !default;
92-
//** Headings small color
93-
$headings-small-color: $gray-light !default;
94-
//** Blockquote small color
95-
$blockquote-small-color: $gray-light !default;
96-
//** Blockquote font size
97-
$blockquote-font-size: ($font-size-base * 1.25) !default;
98-
//** Blockquote border color
99-
$blockquote-border-color: $gray-lighter !default;
100-
//** Page header border color
101-
$page-header-border-color: $gray-lighter !default;
102-
//** Width of horizontal description list titles
103-
$dl-horizontal-offset: $component-offset-horizontal !default;
104-
//** Horizontal line color.
105-
$hr-border: $gray-lighter !default;
106-
10782
//== Components
10883
//
10984
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
@@ -148,7 +123,7 @@ $table-cell-padding: 8px !default;
148123
$table-condensed-cell-padding: 5px !default;
149124

150125
//** Default background color used for all tables.
151-
$table-bg: hsla(0, 100%, 100%, 0) !default;
126+
$table-bg: transparent !default;
152127
//** Background color used for `.table-striped`.
153128
$table-bg-accent: #f9f9f9 !default;
154129
//** Background color used for `.table-hover`.
@@ -228,6 +203,30 @@ $input-group-addon-bg: $gray-lighter !default;
228203
//** Border color for textual input addons
229204
$input-group-addon-border-color: $input-border !default;
230205

206+
//== Type
207+
//
208+
//##
209+
210+
//** Horizontal offset for forms and lists.
211+
$component-offset-horizontal: 180px !default;
212+
//** Text muted color
213+
$text-muted: $gray-light !default;
214+
//** Abbreviations and acronyms border color
215+
$abbr-border-color: $gray-light !default;
216+
//** Headings small color
217+
$headings-small-color: $gray-light !default;
218+
//** Blockquote small color
219+
$blockquote-small-color: $gray-light !default;
220+
//** Blockquote font size
221+
$blockquote-font-size: ($font-size-base * 1.25) !default;
222+
//** Blockquote border color
223+
$blockquote-border-color: $gray-lighter !default;
224+
//** Page header border color
225+
$page-header-border-color: $gray-lighter !default;
226+
//** Width of horizontal description list titles
227+
$dl-horizontal-offset: $component-offset-horizontal !default;
228+
//** Horizontal line color.
229+
$hr-border: $gray-lighter !default;
231230

232231
//== Dropdowns
233232
//
@@ -242,12 +241,12 @@ $dropdown-fallback-border: #ccc !default;
242241
//** Divider color for between dropdown items.
243242
$dropdown-divider-bg: #e5e5e5 !default;
244243

244+
//** Active dropdown menu item background color.
245+
$dropdown-link-active-bg: $component-active-bg !default;
245246
//** Dropdown link text color.
246247
$dropdown-link-color: $gray-dark !default;
247248
//** Hover color for dropdown links.
248249
$dropdown-link-hover-color: #fff !default;
249-
//** Active dropdown menu item background color.
250-
$dropdown-link-active-bg: $component-active-bg !default;
251250
//** Hover background for dropdown links.
252251
$dropdown-link-hover-bg: $dropdown-link-active-bg !default;
253252

@@ -377,7 +376,7 @@ $navbar-default-link-hover-bg: darken($navbar-default-bg, 10%) !defa
377376
$navbar-default-link-active-color: #fff !default;
378377
$navbar-default-link-active-bg: darken($navbar-default-bg, 10%) !default;
379378
$navbar-default-link-disabled-color: #ddd !default;
380-
$navbar-default-link-disabled-bg: hsla(0, 100%, 100%, 0) !default;
379+
$navbar-default-link-disabled-bg: transparent !default;
381380

382381
// Navbar brand label
383382
$navbar-default-brand-color: $navbar-default-link-color !default;
@@ -403,7 +402,7 @@ $navbar-inverse-link-hover-bg: darken($navbar-inverse-bg, 5%) !defa
403402
$navbar-inverse-link-active-color: #fff !default;
404403
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 5%) !default;
405404
$navbar-inverse-link-disabled-color: #ccc !default;
406-
$navbar-inverse-link-disabled-bg: hsla(0, 100%, 100%, 0) !default;
405+
$navbar-inverse-link-disabled-bg: transparent !default;
407406

408407
// Inverted navbar brand label
409408
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;

vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Bootswatch
33
// -----------------------------------------------------
44

5-
@import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");
5+
@import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");
66

77
// Navbar =====================================================================
88

@@ -16,12 +16,13 @@
1616

1717
// Buttons ====================================================================
1818

19-
.btn-lg {
20-
padding-top: 19px;
21-
}
2219

2320
// Typography =================================================================
2421

22+
body {
23+
-webkit-font-smoothing: antialiased;
24+
}
25+
2526
.text-primary,
2627
.text-primary:hover {
2728
color: $brand-primary;
@@ -52,7 +53,7 @@
5253
table,
5354
.table {
5455

55-
a {
56+
a:not(.btn) {
5657
text-decoration: underline;
5758
}
5859

@@ -132,27 +133,26 @@ table,
132133

133134
// Indicators =================================================================
134135

135-
.alert {
136-
border: none;
137-
138-
.alert-link {
139-
text-decoration: underline;
140-
color: #fff;
141-
}
142-
}
143-
144136
.close {
145-
color: #fff;
146137
text-decoration: none;
138+
text-shadow: none;
147139
opacity: 0.4;
148140

149141
&:hover,
150142
&:focus {
151-
color: #fff;
152143
opacity: 1;
153144
}
154145
}
155146

147+
.alert {
148+
border: none;
149+
150+
.alert-link {
151+
text-decoration: underline;
152+
color: #fff;
153+
}
154+
}
155+
156156
.label {
157157
border-radius: 0;
158158
}
@@ -175,3 +175,19 @@ table,
175175
border-top-right-radius: 0;
176176
border-top-left-radius: 0;
177177
}
178+
179+
.panel-default {
180+
.close {
181+
color: $text-color;
182+
}
183+
}
184+
185+
.modal {
186+
.close {
187+
color: $text-color;
188+
}
189+
}
190+
191+
.popover {
192+
color: $text-color;
193+
}

0 commit comments

Comments
 (0)