bootswatch-theme-rails 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c113b953a3fbad22b40188269153298518a6708
4
- data.tar.gz: c09cbca8b126ba7b3fb02a10ec5d2f2d3946e8d4
3
+ metadata.gz: bcda60d8994daceadc048b7a3cb8cc8a6fbbfa02
4
+ data.tar.gz: 4ec5835795bbb4d17947ef2107de28383ede9808
5
5
  SHA512:
6
- metadata.gz: 6b6d313858d89f4a0e90025d6d37e5541b5ede5ca4736d5e1250480b2175d3745edeb58b44129d4ea47031443b28c5619260511b8b6bb586233282a90a63176c
7
- data.tar.gz: 7c86133f6f936af95b77a1aa8a756375d5d63b3b27727b4190c2c57635f2e2117fed3b6762edc9e275aa0d405cac3740d8c02c77cd0630a5bcdca460ba8fd598
6
+ metadata.gz: c6f00b3d2e879b7206f714c3bb71a08a3dcd3be56d8d9dc54f319c5416d07bd17a85471570a57746a266174e7812a025e5a517c03f0310ddf289eaca3fc5fda3
7
+ data.tar.gz: 1df1af4c7a369364e7fbae756d74c79b7cfee4b81200bf87f10d61f20c508460cc8d3f9af0ee00523427aabc15f9096fc77163db79eda93d0a2ea6db41f036dc
@@ -1,7 +1,7 @@
1
1
  module Bootswatch
2
2
  module Theme
3
3
  module Rails
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.5"
5
5
  end
6
6
  end
7
7
  end
@@ -0,0 +1,6 @@
1
+ /* Cupid
2
+ * Bootswatch
3
+ *= require_self
4
+ *= require cupid/loader
5
+ *= require cupid/bootswatch
6
+ */
@@ -0,0 +1,10 @@
1
+ // Cupid
2
+ // Bootswatch
3
+ // base.less
4
+ // allows access to core variables and mixins inside bootswatch.css.less
5
+
6
+ // @import "twitter/bootstrap/variables";
7
+ @import "cupid/variables";
8
+
9
+ // @import "twitter/bootstrap/mixins";
10
+ @import "shared/mixins";
@@ -0,0 +1,514 @@
1
+ @import "cupid/base";
2
+
3
+ // Cupid 3.1.0
4
+ // Bootswatch
5
+ // -----------------------------------------------------
6
+
7
+ @import url("//fonts.googleapis.com/css?family=Bitter:400,700");
8
+ @import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic");
9
+
10
+ // Navbar =====================================================================
11
+
12
+ .navbar {
13
+ font-family: @font-family-serif;
14
+
15
+ &-default {
16
+
17
+ .dropdown-menu {
18
+ background-color: @navbar-default-bg;
19
+
20
+ > li > a,
21
+ > li > a:focus {
22
+ color: @navbar-default-color;
23
+ }
24
+
25
+ > li > a:hover,
26
+ > .active > a,
27
+ > .active > a:hover {
28
+ background-color: @navbar-default-link-hover-bg;
29
+ }
30
+ }
31
+ }
32
+
33
+ &-inverse {
34
+
35
+ .dropdown-menu {
36
+ background-color: @navbar-inverse-bg;
37
+
38
+ > li > a,
39
+ > li > a:focus {
40
+ color: @navbar-inverse-color;
41
+ }
42
+
43
+ > li > a:hover,
44
+ > .active > a,
45
+ > .active > a:hover {
46
+ background-color: @navbar-inverse-link-hover-bg;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ // Buttons ====================================================================
53
+
54
+ .btn {
55
+ font-family: @font-family-serif;
56
+ }
57
+
58
+ .btn-group {
59
+
60
+ .btn ~ .dropdown-toggle {
61
+ padding-left: 16px;
62
+ padding-right: 16px;
63
+ }
64
+
65
+ .dropdown-menu {
66
+ border-top-width: 0;
67
+ }
68
+
69
+ &.dropup .dropdown-menu {
70
+ border-top-width: 1px;
71
+ border-bottom-width: 0;
72
+ margin-bottom: 0;
73
+ }
74
+
75
+ .dropdown-toggle {
76
+
77
+ &.btn-default ~ .dropdown-menu {
78
+ background-color: @btn-default-bg;
79
+ border-color: @btn-default-border;
80
+
81
+ > li > a {
82
+ color: @btn-default-color;
83
+ }
84
+
85
+ > li > a:hover {
86
+ background-color: darken(@btn-default-bg, 8%);
87
+ }
88
+ }
89
+
90
+ &.btn-primary ~ .dropdown-menu {
91
+ background-color: @btn-primary-bg;
92
+ border-color: @btn-primary-border;
93
+
94
+ > li > a {
95
+ color: @btn-primary-color;
96
+ }
97
+
98
+ > li > a:hover {
99
+ background-color: darken(@btn-primary-bg, 8%);
100
+ }
101
+ }
102
+
103
+ &.btn-success ~ .dropdown-menu {
104
+ background-color: @btn-success-bg;
105
+ border-color: @btn-success-border;
106
+
107
+ > li > a {
108
+ color: @btn-success-color;
109
+ }
110
+
111
+ > li > a:hover {
112
+ background-color: darken(@btn-success-bg, 8%);
113
+ }
114
+ }
115
+
116
+ &.btn-info ~ .dropdown-menu {
117
+ background-color: @btn-info-bg;
118
+ border-color: @btn-info-border;
119
+
120
+ > li > a {
121
+ color: @btn-info-color;
122
+ }
123
+
124
+ > li > a:hover {
125
+ background-color: darken(@btn-info-bg, 8%);
126
+ }
127
+ }
128
+
129
+ &.btn-warning ~ .dropdown-menu {
130
+ background-color: @btn-warning-bg;
131
+ border-color: @btn-warning-border;
132
+
133
+ > li > a {
134
+ color: @btn-warning-color;
135
+ }
136
+
137
+ > li > a:hover {
138
+ background-color: darken(@btn-warning-bg, 8%);
139
+ }
140
+ }
141
+
142
+ &.btn-danger ~ .dropdown-menu {
143
+ background-color: @btn-danger-bg;
144
+ border-color: @btn-danger-border;
145
+
146
+ > li > a {
147
+ color: @btn-danger-color;
148
+ }
149
+
150
+ > li > a:hover {
151
+ background-color: darken(@btn-danger-bg, 8%);
152
+ }
153
+ }
154
+ }
155
+ }
156
+
157
+ // Typography =================================================================
158
+
159
+ h1, h2 {
160
+ position: relative;
161
+ padding: 0.2em 1.2em;
162
+ margin-left: 1em;
163
+ margin-right: 50px;
164
+ margin-bottom: 0.6em;
165
+ background-color: @gray-lighter;
166
+ color: #fff;
167
+
168
+ &:before {
169
+ content: "♥";
170
+ position: absolute;
171
+ left: -0.3em;
172
+ top: -0.42em;
173
+ color: @brand-primary;
174
+ font-family: @font-family-sans-serif;
175
+ font-size: 3.6em;
176
+ }
177
+
178
+ &:after {
179
+ content:"";
180
+ position: absolute;
181
+ width: 0;
182
+ height: 0;
183
+ right: 0;
184
+ top: 0;
185
+ border-top: 0.75em solid transparent;
186
+ border-bottom: 0.75em solid transparent;
187
+ border-right: 0.75em solid @body-bg;
188
+ }
189
+ }
190
+
191
+ .lead {
192
+ font-weight: normal;
193
+ }
194
+
195
+ .text-primary,
196
+ .text-primary:hover {
197
+ color: @brand-primary;
198
+ }
199
+
200
+ .text-success,
201
+ .text-success:hover {
202
+ color: @brand-success;
203
+ }
204
+
205
+ .text-danger,
206
+ .text-danger:hover {
207
+ color: @brand-danger;
208
+ }
209
+
210
+ .text-warning,
211
+ .text-warning:hover {
212
+ color: @brand-warning;
213
+ }
214
+
215
+ .text-info,
216
+ .text-info:hover {
217
+ color: @brand-info;
218
+ }
219
+
220
+ // Tables =====================================================================
221
+
222
+ table,
223
+ .table {
224
+
225
+ > thead > tr > th,
226
+ > tbody > tr > th,
227
+ > tfoot > tr > th,
228
+ > thead > tr > td,
229
+ > tbody > tr > td,
230
+ > tfoot > tr > td {
231
+ border-color: transparent;
232
+ }
233
+ }
234
+
235
+ // Forms ======================================================================
236
+
237
+ legend {
238
+ font-family: @font-family-serif;
239
+ }
240
+
241
+ label {
242
+ font-weight: normal;
243
+ }
244
+
245
+ .help-block {
246
+ color: @text-color;
247
+ }
248
+
249
+ .form-control,
250
+ .form-control:focus {
251
+ .box-shadow(none);
252
+ }
253
+
254
+ .has-warning {
255
+ .help-block,
256
+ .control-label {
257
+ color: @brand-warning;
258
+ }
259
+
260
+ .form-control,
261
+ .form-control:focus {
262
+ border: 1px solid @brand-warning;
263
+ .box-shadow(none);
264
+ }
265
+ }
266
+
267
+ .has-error {
268
+ .help-block,
269
+ .control-label {
270
+ color: @brand-danger;
271
+ }
272
+
273
+ .form-control,
274
+ .form-control:focus {
275
+ border: 1px solid @brand-danger;
276
+ .box-shadow(none);
277
+ }
278
+ }
279
+
280
+ .has-success {
281
+ .help-block,
282
+ .control-label {
283
+ color: @brand-success;
284
+ }
285
+
286
+ .form-control,
287
+ .form-control:focus {
288
+ border: 1px solid @brand-success;
289
+ .box-shadow(none);
290
+ }
291
+ }
292
+
293
+ // Navs =======================================================================
294
+
295
+ .dropdown-menu {
296
+ margin-top: 0;
297
+ border: none;
298
+ .box-shadow(none);
299
+ }
300
+
301
+ .nav-tabs,
302
+ .nav-pills {
303
+ > li > a {
304
+ background-color: @gray-lighter;
305
+ color: #fff;
306
+ }
307
+
308
+ > li > a:hover,
309
+ > li > a:focus {
310
+ color: #fff;
311
+ }
312
+
313
+ > li.disabled > a,
314
+ > li.disabled > a:hover,
315
+ > li.disabled > a:focus {
316
+ background-color: @well-bg;
317
+ color: @gray-lighter;
318
+ }
319
+
320
+ .open > a,
321
+ .open > a:hover,
322
+ .open > a:focus {
323
+ border-color: transparent;
324
+ }
325
+
326
+ > .dropdown > .dropdown-menu {
327
+ background-color: @btn-primary-bg;
328
+ border-color: @btn-primary-border;
329
+
330
+ > li > a {
331
+ color: @btn-primary-color;
332
+ }
333
+
334
+ > li > a:hover {
335
+ background-color: darken(@btn-primary-bg, 8%);
336
+ }
337
+ }
338
+ }
339
+
340
+ .nav-pills {
341
+ > li + li {
342
+ margin-left: 0;
343
+ }
344
+ }
345
+
346
+ .nav-stacked {
347
+ > li + li {
348
+ margin-top: 0;
349
+ }
350
+ }
351
+
352
+ .breadcrumb {
353
+
354
+ a {
355
+ color: #fff;
356
+ }
357
+ }
358
+
359
+ .pager {
360
+ li > a,
361
+ li > a:hover,
362
+ li > a:focus {
363
+ color: #fff;
364
+ }
365
+
366
+ .disabled > a,
367
+ .disabled > a:hover,
368
+ .disabled > a:focus,
369
+ .disabled > span {
370
+ background-color: @pagination-disabled-bg;
371
+ }
372
+ }
373
+
374
+ // Indicators =================================================================
375
+
376
+ .alert,
377
+ .panel {
378
+ h1, h2 {
379
+ background-color: transparent;
380
+ margin-right: 0;
381
+ padding: 0;
382
+
383
+ &:before,
384
+ &:after {
385
+ content: none;
386
+ }
387
+ }
388
+ }
389
+
390
+ // Progress bars ==============================================================
391
+
392
+ .progress,
393
+ .progress-bar {
394
+ .box-shadow(none);
395
+ }
396
+
397
+ // Containers =================================================================
398
+
399
+ .well,
400
+ .jumbotron,
401
+ .list-group,
402
+ .modal {
403
+ h1, h2 {
404
+ background-color: transparent;
405
+ margin-right: 0;
406
+ padding: 0;
407
+
408
+ &:before,
409
+ &:after {
410
+ content: none;
411
+ }
412
+ }
413
+ }
414
+
415
+ .well {
416
+ .box-shadow(none);
417
+ }
418
+
419
+ a.list-group-item:hover,
420
+ a.list-group-item:focus,
421
+ a.list-group-item:hover .list-group-item-heading,
422
+ a.list-group-item:focus .list-group-item-heading {
423
+ color: #fff;
424
+ }
425
+
426
+ .panel {
427
+ border: none;
428
+ .box-shadow(none);
429
+ color: #fff;
430
+
431
+ &-heading,
432
+ &-footer {
433
+ position: relative;
434
+ text-align: center;
435
+
436
+ &:before {
437
+ z-index: -100;
438
+ content: "";
439
+ position: absolute;
440
+ left: 50%;
441
+ top: 0;
442
+ margin-left: -2em;
443
+ margin-top: -1em;
444
+ display: inline-block;
445
+ width: 4em;
446
+ height: 4em;
447
+ border-radius: 2em;
448
+ background-color: @gray-lighter;
449
+ }
450
+ }
451
+
452
+ &-footer {
453
+
454
+ &:before {
455
+ top: auto;
456
+ bottom: 0;
457
+ margin-top: 0;
458
+ margin-bottom: -1em;
459
+ }
460
+ }
461
+
462
+ &-body {
463
+ color: @text-color;
464
+ }
465
+
466
+ &-primary .panel-heading:before {
467
+ background-color: @brand-primary;
468
+ }
469
+
470
+ &-success .panel-heading:before {
471
+ background-color: @brand-success;
472
+ }
473
+
474
+ &-warning .panel-heading:before {
475
+ background-color: @brand-warning;
476
+ }
477
+
478
+ &-danger .panel-heading:before {
479
+ background-color: @brand-danger;
480
+ }
481
+
482
+ &-info .panel-heading:before {
483
+ background-color: @brand-info;
484
+ }
485
+
486
+ > .list-group {
487
+ color: @text-color;
488
+ }
489
+ }
490
+
491
+ .modal {
492
+ &-header {
493
+ background-color: @brand-primary;
494
+ color: #fff;
495
+
496
+ h1, h2, h3, h4, h5, h6 {
497
+ color: #fff;
498
+ }
499
+ }
500
+ }
501
+
502
+ .popover {
503
+ border: none;
504
+ border-radius: 0;
505
+ padding: 0;
506
+
507
+ &-title {
508
+ border-radius: 0;
509
+ }
510
+
511
+ h1, h2, h3, h4, h5, h6 {
512
+ color: #fff;
513
+ }
514
+ }