bootswitch 0.0.1
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.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/.travis.yml +5 -0
- data/Gemfile +19 -0
- data/LICENSE.txt +177 -0
- data/README.rdoc +38 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/app/assets/stylesheets/bootswatch/amelia/bootswatch.css.scss +136 -0
- data/app/assets/stylesheets/bootswatch/amelia/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/amelia/variables.css.scss +624 -0
- data/app/assets/stylesheets/bootswatch/cerulean/bootswatch.css.scss +159 -0
- data/app/assets/stylesheets/bootswatch/cerulean/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/cerulean/variables.css.scss +621 -0
- data/app/assets/stylesheets/bootswatch/cosmo/bootswatch.css.scss +138 -0
- data/app/assets/stylesheets/bootswatch/cosmo/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/cosmo/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/custom/bootswatch.css.scss +22 -0
- data/app/assets/stylesheets/bootswatch/custom/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/custom/variables.css.scss +620 -0
- data/app/assets/stylesheets/bootswatch/cyborg/bootswatch.css.scss +141 -0
- data/app/assets/stylesheets/bootswatch/cyborg/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/cyborg/variables.css.scss +624 -0
- data/app/assets/stylesheets/bootswatch/darkly/bootswatch.css.scss +234 -0
- data/app/assets/stylesheets/bootswatch/darkly/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/darkly/variables.css.scss +831 -0
- data/app/assets/stylesheets/bootswatch/flatly/bootswatch.css.scss +177 -0
- data/app/assets/stylesheets/bootswatch/flatly/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/flatly/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/global/build.css.scss +3 -0
- data/app/assets/stylesheets/bootswatch/global/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/journal/bootswatch.css.scss +96 -0
- data/app/assets/stylesheets/bootswatch/journal/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/journal/variables.css.scss +622 -0
- data/app/assets/stylesheets/bootswatch/readable/bootswatch.css.scss +83 -0
- data/app/assets/stylesheets/bootswatch/readable/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/readable/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/simplex/bootswatch.css.scss +127 -0
- data/app/assets/stylesheets/bootswatch/simplex/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/simplex/variables.css.scss +624 -0
- data/app/assets/stylesheets/bootswatch/slate/bootswatch.css.scss +328 -0
- data/app/assets/stylesheets/bootswatch/slate/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/slate/variables.css.scss +622 -0
- data/app/assets/stylesheets/bootswatch/spacelab/bootswatch.css.scss +115 -0
- data/app/assets/stylesheets/bootswatch/spacelab/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/spacelab/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/superhero/bootswatch.css.scss +250 -0
- data/app/assets/stylesheets/bootswatch/superhero/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/superhero/variables.css.scss +833 -0
- data/app/assets/stylesheets/bootswatch/united/bootswatch.css.scss +31 -0
- data/app/assets/stylesheets/bootswatch/united/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/united/variables.css.scss +623 -0
- data/app/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss +408 -0
- data/app/assets/stylesheets/bootswatch/yeti/theme.css.scss +9 -0
- data/app/assets/stylesheets/bootswatch/yeti/variables.css.scss +831 -0
- data/app/controllers/bootswitch_controller.rb +2 -0
- data/app/controllers/theme_controller.rb +17 -0
- data/app/helpers/theme_helper.rb +9 -0
- data/app/views/theme/_stylesheet_link_tag.html.haml +1 -0
- data/bootswitch.gemspec +156 -0
- data/config/routes.rb +4 -0
- data/lib/bootswitch/configuration.rb +20 -0
- data/lib/bootswitch/engine.rb +5 -0
- data/lib/bootswitch/railtie.rb +4 -0
- data/lib/bootswitch/version.rb +7 -0
- data/lib/bootswitch.rb +11 -0
- data/lib/generators/bootswitch/install/install_generator.rb +23 -0
- data/lib/generators/bootswitch/install/templates/initializer.rb +4 -0
- data/lib/generators/bootswitch/utils.rb +16 -0
- data/script/rails +6 -0
- data/spec/dummy/.rspec +1 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +14 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +5 -0
- data/spec/dummy/config/application.rb +27 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +23 -0
- data/spec/dummy/config/environments/test.rb +17 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/bootswitch.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/routes.rb +53 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/index.html +101 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/helpers/theme_helper_spec.rb +14 -0
- data/spec/spec_helper.rb +18 -0
- metadata +243 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
// Darkly 3.1.1
|
|
2
|
+
// Bootswatch
|
|
3
|
+
// -----------------------------------------------------
|
|
4
|
+
|
|
5
|
+
@import url($web-font);
|
|
6
|
+
|
|
7
|
+
// Navbar =====================================================================
|
|
8
|
+
|
|
9
|
+
.navbar {
|
|
10
|
+
border-width: 0;
|
|
11
|
+
|
|
12
|
+
&.navbar-brand {
|
|
13
|
+
padding: 18.5px 15px 20.5px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.navbar-form {
|
|
17
|
+
.form-control {
|
|
18
|
+
background-color: white;
|
|
19
|
+
|
|
20
|
+
&:focus {
|
|
21
|
+
border-color: white;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Buttons ====================================================================
|
|
28
|
+
|
|
29
|
+
.btn:active {
|
|
30
|
+
@include box-shadow(none);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.btn-group.open .dropdown-toggle {
|
|
34
|
+
@include box-shadow(none);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Typography =================================================================
|
|
38
|
+
|
|
39
|
+
.text-primary,
|
|
40
|
+
.text-primary:hover {
|
|
41
|
+
color: lighten($brand-primary, 10%);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.text-success,
|
|
45
|
+
.text-success:hover {
|
|
46
|
+
color: $brand-success;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.text-danger,
|
|
50
|
+
.text-danger:hover {
|
|
51
|
+
color: $brand-danger;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.text-warning,
|
|
55
|
+
.text-warning:hover {
|
|
56
|
+
color: $brand-warning;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.text-info,
|
|
60
|
+
.text-info:hover {
|
|
61
|
+
color: $brand-info;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Tables =====================================================================
|
|
65
|
+
|
|
66
|
+
table,
|
|
67
|
+
.table {
|
|
68
|
+
|
|
69
|
+
a {
|
|
70
|
+
text-decoration: underline;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.success,
|
|
74
|
+
.warning,
|
|
75
|
+
.danger,
|
|
76
|
+
.info {
|
|
77
|
+
color: #fff;
|
|
78
|
+
|
|
79
|
+
a {
|
|
80
|
+
color: #fff;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
> thead > tr > th,
|
|
85
|
+
> tbody > tr > th,
|
|
86
|
+
> tfoot > tr > th,
|
|
87
|
+
> thead > tr > td,
|
|
88
|
+
> tbody > tr > td,
|
|
89
|
+
> tfoot > tr > td {
|
|
90
|
+
border: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.table-bordered > thead > tr > th,
|
|
94
|
+
&.table-bordered > tbody > tr > th,
|
|
95
|
+
&.table-bordered > tfoot > tr > th,
|
|
96
|
+
&.table-bordered > thead > tr > td,
|
|
97
|
+
&.table-bordered > tbody > tr > td,
|
|
98
|
+
&.table-bordered > tfoot > tr > td {
|
|
99
|
+
border: 1px solid $table-border-color;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Forms ======================================================================
|
|
104
|
+
|
|
105
|
+
.form-control,
|
|
106
|
+
input {
|
|
107
|
+
border: none;
|
|
108
|
+
@include box-shadow(none);
|
|
109
|
+
|
|
110
|
+
&:focus {
|
|
111
|
+
@include box-shadow(none);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.has-warning {
|
|
116
|
+
.help-block,
|
|
117
|
+
.control-label {
|
|
118
|
+
color: $brand-warning;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.form-control,
|
|
122
|
+
.form-control:focus {
|
|
123
|
+
@include box-shadow(none);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.has-error {
|
|
128
|
+
.help-block,
|
|
129
|
+
.control-label {
|
|
130
|
+
color: $brand-danger;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.form-control,
|
|
134
|
+
.form-control:focus {
|
|
135
|
+
@include box-shadow(none);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.has-success {
|
|
140
|
+
.help-block,
|
|
141
|
+
.control-label {
|
|
142
|
+
color: $brand-success;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.form-control,
|
|
146
|
+
.form-control:focus {
|
|
147
|
+
@include box-shadow(none);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.input-group-addon {
|
|
152
|
+
color: $text-color;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// Navs =======================================================================
|
|
156
|
+
|
|
157
|
+
.nav {
|
|
158
|
+
.open > a,
|
|
159
|
+
.open > a:hover,
|
|
160
|
+
.open > a:focus {
|
|
161
|
+
border-color: $nav-tabs-border-color;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.nav-tabs > li > a,
|
|
166
|
+
.nav-pills > li > a {
|
|
167
|
+
color: #fff;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.pager {
|
|
171
|
+
a,
|
|
172
|
+
a:hover {
|
|
173
|
+
color: #fff;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.disabled {
|
|
177
|
+
&>a,
|
|
178
|
+
&>a:hover,
|
|
179
|
+
&>a:focus,
|
|
180
|
+
&>span {
|
|
181
|
+
background-color: $pagination-disabled-bg;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// Indicators =================================================================
|
|
187
|
+
|
|
188
|
+
.alert {
|
|
189
|
+
|
|
190
|
+
a,
|
|
191
|
+
.alert-link {
|
|
192
|
+
color: #fff;
|
|
193
|
+
text-decoration: underline;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// Progress bars ==============================================================
|
|
198
|
+
|
|
199
|
+
.progress {
|
|
200
|
+
height: 10px;
|
|
201
|
+
@include box-shadow(none);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// Containers =================================================================
|
|
205
|
+
|
|
206
|
+
.well {
|
|
207
|
+
@include box-shadow(none);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.popover,
|
|
211
|
+
.modal {
|
|
212
|
+
color: $gray-dark;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.breadcrumb a {
|
|
216
|
+
color: #fff;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.panel-default > .panel-heading {
|
|
220
|
+
background-color: $panel-footer-bg;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.modal {
|
|
224
|
+
color: $text-color;
|
|
225
|
+
|
|
226
|
+
&.modal-header,
|
|
227
|
+
&.modal-footer {
|
|
228
|
+
border-color: $gray;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.popover {
|
|
233
|
+
color: $text-color;
|
|
234
|
+
}
|