bootswatch-rails 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -47,6 +47,7 @@ I'm converting/updating them as time permits. Here's what's included at this poi
|
|
47
47
|
* [Cyborg](http://bootswatch.com/cyborg/)
|
48
48
|
* [Journal](http://bootswatch.com/journal/)
|
49
49
|
* [Readable](http://bootswatch.com/readable/)
|
50
|
+
* [United](http://bootswatch.com/united/)
|
50
51
|
|
51
52
|
## Contributing
|
52
53
|
|
@@ -0,0 +1,87 @@
|
|
1
|
+
// Swatch: United
|
2
|
+
// Version: 2.0.2
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
// TYPOGRAPHY
|
6
|
+
// -----------------------------------------------------
|
7
|
+
|
8
|
+
@import url("https://fonts.googleapis.com/css?family=Ubuntu");
|
9
|
+
|
10
|
+
// NAVBAR
|
11
|
+
// -----------------------------------------------------
|
12
|
+
|
13
|
+
.navbar .nav > li > a {
|
14
|
+
border-right: 1px solid #C03D14;
|
15
|
+
border-left: 1px solid #E6633A;
|
16
|
+
|
17
|
+
&:hover {
|
18
|
+
background-color: $linkColorHover;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
// Lightened color of active item
|
23
|
+
.navbar .nav .active > a,
|
24
|
+
.navbar .nav .active > a:hover {
|
25
|
+
background-color: rgba(0,0,0,.2);
|
26
|
+
}
|
27
|
+
|
28
|
+
// Styled item divider
|
29
|
+
.navbar .divider-vertical {
|
30
|
+
background-color: inherit;
|
31
|
+
border-right: 0px solid #CE4213;
|
32
|
+
}
|
33
|
+
|
34
|
+
.navbar .navbar-text > a {
|
35
|
+
color: $white;
|
36
|
+
text-decoration: underline;
|
37
|
+
|
38
|
+
&:hover {
|
39
|
+
color: #ddd;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.navbar-search .search-query {
|
44
|
+
border: 1px solid darken($navbarBackground, 15%);
|
45
|
+
}
|
46
|
+
|
47
|
+
.navbar .nav-collapse.in > .nav li > a {
|
48
|
+
color: $white;
|
49
|
+
border-left: 0px solid $orange;
|
50
|
+
border-right: 0px solid $orange;
|
51
|
+
|
52
|
+
&:hover {
|
53
|
+
background-color: $linkColorHover;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.navbar .nav-collapse.in .navbar-form,
|
58
|
+
.navbar .nav-collapse.in .navbar-search {
|
59
|
+
border-top: 0px solid $orange;
|
60
|
+
border-bottom: 0px solid $orange;
|
61
|
+
@include box-shadow(none);
|
62
|
+
}
|
63
|
+
|
64
|
+
// BUTTONS
|
65
|
+
// -----------------------------------------------------
|
66
|
+
|
67
|
+
.btn-primary {
|
68
|
+
@include buttonBackground(lighten($btnPrimaryBackground, 15%), $btnPrimaryBackground);
|
69
|
+
}
|
70
|
+
|
71
|
+
.btn-warning {
|
72
|
+
@include buttonBackground(lighten($yellow, 15%), $yellow);
|
73
|
+
}
|
74
|
+
|
75
|
+
// ALERTS
|
76
|
+
// -----------------------------------------------------
|
77
|
+
|
78
|
+
.alert {
|
79
|
+
text-shadow: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
// FORMS
|
83
|
+
// -----------------------------------------------------
|
84
|
+
|
85
|
+
.form-actions {
|
86
|
+
background-color: transparent;
|
87
|
+
}
|
@@ -0,0 +1,202 @@
|
|
1
|
+
// Variables to customize the look and feel of Bootstrap
|
2
|
+
// Swatch: United
|
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: #19B6EE;
|
26
|
+
$blueDark: #0064cd;
|
27
|
+
$green: #38B44A;
|
28
|
+
$red: #DF382C;
|
29
|
+
$yellow: #EFB73E;
|
30
|
+
$orange: #DD4814;
|
31
|
+
$pink: #c3325f;
|
32
|
+
$purple: #772953;
|
33
|
+
|
34
|
+
|
35
|
+
// Scaffolding
|
36
|
+
// -------------------------
|
37
|
+
$bodyBackground: $white;
|
38
|
+
$textColor: $grayDark;
|
39
|
+
|
40
|
+
|
41
|
+
// Links
|
42
|
+
// -------------------------
|
43
|
+
$linkColor: $orange;
|
44
|
+
$linkColorHover: darken($linkColor, 15%);
|
45
|
+
|
46
|
+
|
47
|
+
// Typography
|
48
|
+
// -------------------------
|
49
|
+
$baseFontSize: 13px;
|
50
|
+
$baseFontFamily: 'Ubuntu', Tahoma, 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: lighten($purple, 15%);
|
77
|
+
$btnInfoBackgroundHighlight: $purple;
|
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: $linkColor;
|
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: $orange;
|
145
|
+
$navbarBackgroundHighlight: #CE4213;
|
146
|
+
|
147
|
+
$navbarText: $white;
|
148
|
+
$navbarLinkColor: $white;
|
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: #ccc;
|
158
|
+
|
159
|
+
|
160
|
+
// Hero unit
|
161
|
+
// -------------------------
|
162
|
+
$heroUnitBackground: lighten($purple, 20%);
|
163
|
+
$heroUnitHeadingColor: inherit;
|
164
|
+
$heroUnitLeadColor: inherit;
|
165
|
+
|
166
|
+
|
167
|
+
// Form states and alerts
|
168
|
+
// -------------------------
|
169
|
+
$warningText: #ECA918;
|
170
|
+
$warningBackground: lighten($warningText, 40%);
|
171
|
+
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
|
172
|
+
|
173
|
+
$errorText: #DF382C;
|
174
|
+
$errorBackground: lighten($errorText, 40%);
|
175
|
+
$errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
|
176
|
+
|
177
|
+
$successText: #38B44A;
|
178
|
+
$successBackground: lighten($successText, 40%);
|
179
|
+
$successBorder: darken(adjust-hue($successBackground, -10), 5%);
|
180
|
+
|
181
|
+
$infoText: $purple;
|
182
|
+
$infoBackground: lighten($purple, 50%);
|
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.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &70268190198640 !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: *
|
24
|
+
version_requirements: *70268190198640
|
25
25
|
description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
|
26
26
|
email:
|
27
27
|
- max@bitsonnet.com
|
@@ -47,6 +47,8 @@ files:
|
|
47
47
|
- vendor/assets/stylesheets/bootswatch/journal/_variables.scss
|
48
48
|
- vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss
|
49
49
|
- vendor/assets/stylesheets/bootswatch/readable/_variables.scss
|
50
|
+
- vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss
|
51
|
+
- vendor/assets/stylesheets/bootswatch/united/_variables.scss
|
50
52
|
homepage: http://github.com/maxim/bootswatch-rails
|
51
53
|
licenses: []
|
52
54
|
post_install_message:
|