bootstrap-honoka-rails 3.3.7.5 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -94
  3. data/Rakefile +17 -39
  4. data/assets/stylesheets/_honoka.scss +5 -0
  5. data/assets/stylesheets/_nico.scss +5 -0
  6. data/assets/stylesheets/_umi.scss +5 -0
  7. data/assets/stylesheets/honoka/_honoka.scss +25 -36
  8. data/assets/stylesheets/honoka/_mixins.scss +1 -60
  9. data/assets/stylesheets/honoka/_override.scss +35 -63
  10. data/assets/stylesheets/honoka/_variables.scss +729 -710
  11. data/assets/stylesheets/nico/_honoka.scss +25 -36
  12. data/assets/stylesheets/nico/_mixins.scss +1 -60
  13. data/assets/stylesheets/nico/_override.scss +66 -68
  14. data/assets/stylesheets/nico/_variables.scss +730 -710
  15. data/assets/stylesheets/umi/_bootswatch.scss +193 -0
  16. data/assets/stylesheets/umi/_honoka.scss +28 -36
  17. data/assets/stylesheets/umi/_mixins.scss +1 -60
  18. data/assets/stylesheets/umi/_override.scss +35 -63
  19. data/assets/stylesheets/umi/_variables.scss +730 -710
  20. data/lib/bootstrap/honoka/rails.rb +0 -5
  21. data/lib/bootstrap/honoka/rails/engine.rb +4 -2
  22. data/lib/bootstrap/honoka/rails/version.rb +1 -5
  23. data/test/dummy/app/assets/javascripts/application.js +2 -2
  24. data/test/dummy/app/assets/stylesheets/application.css +1 -0
  25. data/test/dummy/app/assets/stylesheets/honoka.css +0 -1
  26. data/test/dummy/app/assets/stylesheets/nico.css +0 -1
  27. data/test/dummy/app/assets/stylesheets/umi.css +0 -1
  28. data/test/dummy/app/controllers/pages_controller.rb +6 -4
  29. data/test/dummy/app/views/layouts/application.html.erb +1 -1
  30. data/test/dummy/app/views/pages/honoka.html.erb +1108 -682
  31. data/test/dummy/app/views/pages/nico.html.erb +994 -685
  32. data/test/dummy/app/views/pages/umi.html.erb +993 -684
  33. data/test/dummy/config/application.rb +4 -1
  34. data/test/dummy/config/environments/development.rb +24 -0
  35. data/test/dummy/config/environments/production.rb +8 -4
  36. data/test/dummy/config/initializers/assets.rb +1 -17
  37. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  38. data/test/dummy/config/initializers/inflections.rb +16 -0
  39. data/test/dummy/config/initializers/mime_types.rb +4 -0
  40. data/test/dummy/config/routes.rb +3 -3
  41. data/test/honoka_test.rb +4 -41
  42. data/test/test_helper.rb +5 -49
  43. metadata +16 -117
  44. data/VERSIONS.md +0 -10
  45. data/assets/stylesheets/_rin.scss +0 -3
  46. data/assets/stylesheets/honoka/_font.scss +0 -58
  47. data/assets/stylesheets/nico/_font.scss +0 -58
  48. data/assets/stylesheets/rin/_font.scss +0 -58
  49. data/assets/stylesheets/rin/_honoka.scss +0 -60
  50. data/assets/stylesheets/rin/_mixins.scss +0 -60
  51. data/assets/stylesheets/rin/_override.scss +0 -372
  52. data/assets/stylesheets/rin/_variables.scss +0 -877
  53. data/assets/stylesheets/umi/_font.scss +0 -58
  54. data/test/dummy/app/assets/stylesheets/rin.css +0 -4
  55. data/test/dummy/app/views/pages/rin.html.erb +0 -1278
  56. data/test/dummy/bin/rails +0 -4
  57. data/test/dummy/production_key_generate.sh +0 -4
  58. data/test/dummy/public/favicon.ico +0 -0
  59. data/test/support/dummy_integration.rb +0 -57
  60. data/test/support/dummy_reporters.rb +0 -61
data/VERSIONS.md DELETED
@@ -1,10 +0,0 @@
1
- # Support Version
2
-
3
- - O ... Supported and test completed(使用可能)
4
- - X ... Not supported(使用不可)
5
-
6
- | Gem | Honoka | Nico | Umi | Rin |
7
- | ----- | ------ | ---- | --- | --- |
8
- | 4.3.1 | O | X | X | X |
9
- | 4.0.0 | O | O | O | X |
10
- | 3.3.7 | O | O | O | O |
@@ -1,3 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @import "rin/honoka";
@@ -1,58 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- // Open Sans
4
- @import url(#{$font-family-open-sans-import-path});
5
-
6
- // Yu Gothic (for Windows)
7
- @font-face {
8
- font-family: "Yu Gothic";
9
- src: local("Yu Gothic Medium");
10
- font-weight: 100;
11
- }
12
- @font-face {
13
- font-family: "Yu Gothic";
14
- src: local("Yu Gothic Medium");
15
- font-weight: 200;
16
- }
17
- @font-face {
18
- font-family: "Yu Gothic";
19
- src: local("Yu Gothic Medium");
20
- font-weight: 300;
21
- }
22
- @font-face {
23
- font-family: "Yu Gothic";
24
- src: local("Yu Gothic Medium");
25
- font-weight: 400;
26
- }
27
- @font-face {
28
- font-family: "Yu Gothic";
29
- src: local("Yu Gothic Bold");
30
- font-weight: bold;
31
- }
32
-
33
- // Yu Mincho (for Windows)
34
- @font-face {
35
- font-family: "Yu Mincho";
36
- src: local("Yu Mincho Medium");
37
- font-weight: 100;
38
- }
39
- @font-face {
40
- font-family: "Yu Mincho";
41
- src: local("Yu Mincho Medium");
42
- font-weight: 200;
43
- }
44
- @font-face {
45
- font-family: "Yu Mincho";
46
- src: local("Yu Mincho Medium");
47
- font-weight: 300;
48
- }
49
- @font-face {
50
- font-family: "Yu Mincho";
51
- src: local("Yu Mincho Medium");
52
- font-weight: 400;
53
- }
54
- @font-face {
55
- font-family: "Yu Mincho";
56
- src: local("Yu Mincho Bold");
57
- font-weight: bold;
58
- }
@@ -1,58 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- // Open Sans
4
- @import url(#{$font-family-open-sans-import-path});
5
-
6
- // Yu Gothic (for Windows)
7
- @font-face {
8
- font-family: "Yu Gothic";
9
- src: local("Yu Gothic Medium");
10
- font-weight: 100;
11
- }
12
- @font-face {
13
- font-family: "Yu Gothic";
14
- src: local("Yu Gothic Medium");
15
- font-weight: 200;
16
- }
17
- @font-face {
18
- font-family: "Yu Gothic";
19
- src: local("Yu Gothic Medium");
20
- font-weight: 300;
21
- }
22
- @font-face {
23
- font-family: "Yu Gothic";
24
- src: local("Yu Gothic Medium");
25
- font-weight: 400;
26
- }
27
- @font-face {
28
- font-family: "Yu Gothic";
29
- src: local("Yu Gothic Bold");
30
- font-weight: bold;
31
- }
32
-
33
- // Yu Mincho (for Windows)
34
- @font-face {
35
- font-family: "Yu Mincho";
36
- src: local("Yu Mincho Medium");
37
- font-weight: 100;
38
- }
39
- @font-face {
40
- font-family: "Yu Mincho";
41
- src: local("Yu Mincho Medium");
42
- font-weight: 200;
43
- }
44
- @font-face {
45
- font-family: "Yu Mincho";
46
- src: local("Yu Mincho Medium");
47
- font-weight: 300;
48
- }
49
- @font-face {
50
- font-family: "Yu Mincho";
51
- src: local("Yu Mincho Medium");
52
- font-weight: 400;
53
- }
54
- @font-face {
55
- font-family: "Yu Mincho";
56
- src: local("Yu Mincho Bold");
57
- font-weight: bold;
58
- }
@@ -1,58 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- // Open Sans
4
- @import url(#{$font-family-open-sans-import-path});
5
-
6
- // Yu Gothic (for Windows)
7
- @font-face {
8
- font-family: "Yu Gothic";
9
- src: local("Yu Gothic Medium");
10
- font-weight: 100;
11
- }
12
- @font-face {
13
- font-family: "Yu Gothic";
14
- src: local("Yu Gothic Medium");
15
- font-weight: 200;
16
- }
17
- @font-face {
18
- font-family: "Yu Gothic";
19
- src: local("Yu Gothic Medium");
20
- font-weight: 300;
21
- }
22
- @font-face {
23
- font-family: "Yu Gothic";
24
- src: local("Yu Gothic Medium");
25
- font-weight: 400;
26
- }
27
- @font-face {
28
- font-family: "Yu Gothic";
29
- src: local("Yu Gothic Bold");
30
- font-weight: bold;
31
- }
32
-
33
- // Yu Mincho (for Windows)
34
- @font-face {
35
- font-family: "Yu Mincho";
36
- src: local("Yu Mincho Medium");
37
- font-weight: 100;
38
- }
39
- @font-face {
40
- font-family: "Yu Mincho";
41
- src: local("Yu Mincho Medium");
42
- font-weight: 200;
43
- }
44
- @font-face {
45
- font-family: "Yu Mincho";
46
- src: local("Yu Mincho Medium");
47
- font-weight: 300;
48
- }
49
- @font-face {
50
- font-family: "Yu Mincho";
51
- src: local("Yu Mincho Medium");
52
- font-weight: 400;
53
- }
54
- @font-face {
55
- font-family: "Yu Mincho";
56
- src: local("Yu Mincho Bold");
57
- font-weight: bold;
58
- }
@@ -1,60 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- // Core variables
4
- @import "./variables";
5
- // Core mixins
6
- @import "bootstrap/mixins";
7
- @import "./mixins";
8
-
9
- // Honoka Font Setting
10
- @import "./font";
11
-
12
- @import "bootstrap/normalize";
13
- @import "bootstrap/grid";
14
- @import "bootstrap/print";
15
- @import "bootstrap/glyphicons";
16
-
17
- // Core CSS
18
- @import "bootstrap/scaffolding";
19
- @import "bootstrap/type";
20
- @import "bootstrap/code";
21
- @import "bootstrap/grid";
22
- @import "bootstrap/tables";
23
- @import "bootstrap/forms";
24
- @import "bootstrap/buttons";
25
-
26
- // Components
27
- @import "bootstrap/component-animations";
28
- @import "bootstrap/dropdowns";
29
- @import "bootstrap/button-groups";
30
- @import "bootstrap/input-groups";
31
- @import "bootstrap/navs";
32
- @import "bootstrap/navbar";
33
- @import "bootstrap/breadcrumbs";
34
- @import "bootstrap/pagination";
35
- @import "bootstrap/pager";
36
- @import "bootstrap/labels";
37
- @import "bootstrap/badges";
38
- @import "bootstrap/jumbotron";
39
- @import "bootstrap/thumbnails";
40
- @import "bootstrap/alerts";
41
- @import "bootstrap/progress-bars";
42
- @import "bootstrap/media";
43
- @import "bootstrap/list-group";
44
- @import "bootstrap/panels";
45
- @import "bootstrap/responsive-embed";
46
- @import "bootstrap/wells";
47
- @import "bootstrap/close";
48
-
49
- // Components w/ JavaScript
50
- @import "bootstrap/modals";
51
- @import "bootstrap/tooltip";
52
- @import "bootstrap/popovers";
53
- @import "bootstrap/carousel";
54
-
55
- // Utility classes
56
- @import "bootstrap/utilities";
57
- @import "bootstrap/responsive-utilities";
58
-
59
- // Honoka Original Setting
60
- @import "./override";
@@ -1,60 +0,0 @@
1
- //== buttons
2
- @mixin button-variant($color, $background, $border) {
3
- color: $color;
4
- background-color: $background;
5
- border-color: $border;
6
-
7
- transition-property: all;
8
- transition-duration: 0.3s;
9
- transition-timing-function: ease;
10
-
11
- &:focus,
12
- &.focus {
13
- color: $color;
14
- background-color: darken($background, 10%);
15
- border-color: darken($border, 25%);
16
- }
17
- &:hover {
18
- color: $color;
19
- background-color: darken($background, 10%);
20
- border-color: darken($border, 12%);
21
- }
22
- &:active,
23
- &.active,
24
- .open > &.dropdown-toggle {
25
- color: $color;
26
- background-color: darken($background, 5%);
27
- border-color: darken($border, 6%);
28
-
29
- &:hover,
30
- &:focus,
31
- &.focus {
32
- color: $color;
33
- background-color: darken($background, 17%);
34
- border-color: darken($border, 25%);
35
- }
36
- }
37
- &:active,
38
- &.active,
39
- .open > &.dropdown-toggle {
40
- background-image: none;
41
- }
42
- &.disabled,
43
- &[disabled],
44
- fieldset[disabled] & {
45
- &,
46
- &:hover,
47
- &:focus,
48
- &.focus,
49
- &:active,
50
- &.active {
51
- background-color: $background;
52
- border-color: $border;
53
- }
54
- }
55
-
56
- .badge {
57
- color: $background;
58
- background-color: $color;
59
- }
60
- }
@@ -1,372 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- $brand-colors: (
4
- primary: $brand-primary,
5
- success: $brand-success,
6
- info: $brand-info,
7
- warning: $brand-warning,
8
- danger: $brand-danger
9
- );
10
-
11
- // animation
12
- a {
13
- transition-timing-function: ease;
14
- transition-duration: 0.3s;
15
- transition-property: all;
16
- }
17
-
18
- // buttons
19
- .btn {
20
- position: relative;
21
- border-width: 0;
22
- border-radius: 2px;
23
- outline: none;
24
- box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
25
- &::before {
26
- position: absolute;
27
- top: 50%;
28
- left: 50%;
29
- display: block;
30
- width: 0;
31
- padding-top: 0;
32
- content: "";
33
- background-color: rgba(236, 240, 241, .3);
34
- border-radius: 100%;
35
- transform: translate(-50%, -50%);
36
- }
37
- &.active,
38
- &:active {
39
- box-shadow: none;
40
- }
41
- &.btn-link {
42
- background-color: transparent;
43
- box-shadow: none;
44
- }
45
- }
46
- .dropdown-menu {
47
- margin: 0;
48
- background-color: rgba($dropdown-bg, 0.9);
49
- border: 0;
50
- box-shadow: none;
51
- }
52
-
53
- .btn-group,
54
- .dropdown-toggle,
55
- .btn-group-vertical {
56
- box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
57
- .btn-group,
58
- .btn {
59
- border-left: 1px solid $gray-lighter;
60
- box-shadow: none;
61
- }
62
- }
63
-
64
- .dropdown {
65
- .dropdown-toggle {
66
- box-shadow: none;
67
- }
68
- }
69
-
70
- // navbar
71
- .navbar {
72
- &.navbar-default,
73
- &.navbar-inverse {
74
- background-color: rgba(#fff, .9);
75
- border: 0;
76
- border-bottom: 1px solid $brand-primary;
77
- .navbar-nav {
78
- > li:not(.active) {
79
- > a:hover {
80
- background-color: transparent;
81
- }
82
- }
83
- @media (min-width: $grid-float-breakpoint) {
84
- > li {
85
- > a {
86
- padding-top: ($navbar-padding-vertical / 4);
87
- padding-bottom: ($navbar-padding-vertical / 4);
88
- margin-top: ($navbar-padding-vertical / 4 * 3);
89
- margin-bottom: ($navbar-padding-vertical / 4 * 3);
90
- background-color: transparent;
91
- // underbar(hover animation)
92
- &::after {
93
- position: absolute;
94
- bottom: 0;
95
- left: 0;
96
- width: 100%;
97
- height: 1px;
98
- content: "";
99
- background-color: $brand-primary;
100
- transition: all .3s ease;
101
- transform: scaleX(0);
102
- }
103
- &:hover {
104
- &::after {
105
- transform: scaleX(1);
106
- }
107
- }
108
- }
109
- > .dropdown-menu {
110
- margin-top: (-$navbar-padding-vertical / 4 * 3);
111
- li {
112
- a {
113
- &:hover {
114
- color: $brand-primary;
115
- background-color: transparent;
116
- }
117
- }
118
- }
119
- }
120
- // active nav
121
- &.active {
122
- > a {
123
- color: $text-color;
124
- background-color: transparent;
125
- &::after {
126
- position: absolute;
127
- bottom: 0;
128
- left: 0;
129
- width: 100%;
130
- height: 1px;
131
- content: "";
132
- background-color: $brand-primary;
133
- transform: scaleX(1);
134
- }
135
- &:hover {
136
- color: $text-color;
137
- background-color: transparent;
138
- }
139
- }
140
- }
141
- &.open {
142
- > a {
143
- color: $text-color;
144
- background-color: transparent;
145
- &:focus {
146
- color: $text-color;
147
- background-color: transparent;
148
- &::after {
149
- position: absolute;
150
- bottom: 0;
151
- left: 0;
152
- width: 100%;
153
- height: 1px;
154
- content: "";
155
- background-color: $brand-primary;
156
- transform: scaleX(1);
157
- }
158
- }
159
- }
160
- }
161
- }
162
- > li:not(:last-child) {
163
- margin-right: ($navbar-padding-horizontal / 3);
164
- }
165
- }
166
- // smartphones
167
- @media (max-width: $screen-sm) {
168
- > li {
169
- &.open,
170
- &.active {
171
- > a {
172
- color: $brand-primary;
173
- background-color: transparent;
174
- }
175
- }
176
- }
177
- }
178
- }
179
- }
180
- &.navbar-inverse {
181
- background-color: rgba($gray-darker, .8);
182
- border: 0;
183
- border-bottom: 1px solid $brand-primary;
184
- @media (min-width: $grid-float-breakpoint) {
185
- .navbar-nav {
186
- li {
187
- &.active {
188
- > a {
189
- color: $gray-lighter;
190
- &:hover {
191
- color: #fff;
192
- &::after {
193
- background-color: #fff;
194
- }
195
- }
196
- }
197
- }
198
- &.open {
199
- > a {
200
- color: $gray-lighter;
201
- background-color: transparent;
202
- &:focus {
203
- color: $text-color;
204
- background-color: transparent;
205
- &::after {
206
- position: absolute;
207
- bottom: 0;
208
- left: 0;
209
- width: 100%;
210
- height: 1px;
211
- content: "";
212
- background-color: $brand-primary;
213
- transform: scaleX(1);
214
- }
215
- }
216
- &:focus {
217
- color: $gray-lighter;
218
- }
219
- }
220
- }
221
- > .dropdown-menu {
222
- li {
223
- a {
224
- color: $gray-lighter;
225
- }
226
- }
227
- background-color: rgba($gray-darker, .9);
228
- }
229
- }
230
- }
231
- }
232
- .btn {
233
- &:hover {
234
- color: $gray-lighter;
235
- }
236
- &.btn-default {
237
- &:hover {
238
- background-color: $gray-darker;
239
- }
240
- }
241
- }
242
- }
243
-
244
- .navbar-brand {
245
- margin-right: ($navbar-padding-horizontal / 3);
246
- font-size: $font-size-large;
247
- }
248
- }
249
-
250
- // label
251
- .label {
252
- vertical-align: 2px;
253
- }
254
-
255
- // form
256
- .form-group,
257
- [class*="has-"] {
258
- .form-control {
259
- box-shadow: none;
260
- &:focus {
261
- box-shadow: none;
262
- }
263
- }
264
- .input-group {
265
- .input-group-btn {
266
- .btn {
267
- border-width: 1px;
268
- box-shadow: none;
269
- }
270
- }
271
- }
272
- }
273
-
274
- // modal
275
- .modal {
276
- .modal-dialog {
277
- .modal-content {
278
- border-radius: 0;
279
- }
280
- }
281
- }
282
-
283
- // label
284
- .label {
285
- border-radius: 0;
286
- }
287
-
288
- // Tabs
289
- .nav-tabs {
290
- > li {
291
- > a {
292
- border-radius: 0;
293
- }
294
- }
295
- }
296
-
297
- // Pills
298
- .nav-pills {
299
- > li {
300
- > a {
301
- border-radius: 0;
302
- }
303
- &:not(.active) {
304
- > a:hover {
305
- background-color: transparent;
306
- }
307
- }
308
- &.active {
309
- > a {
310
- color: $text-color;
311
- background-color: transparent;
312
- &::after {
313
- position: absolute;
314
- bottom: 0;
315
- left: 0;
316
- width: 100%;
317
- height: 1px;
318
- content: "";
319
- background-color: $brand-primary;
320
- transform: scaleX(1);
321
- }
322
- &:hover {
323
- color: $text-color;
324
- background-color: transparent;
325
- }
326
- }
327
- }
328
- &.open {
329
- > a {
330
- color: $text-color;
331
- background-color: transparent;
332
- &:focus {
333
- color: $text-color;
334
- background-color: transparent;
335
- &::after {
336
- position: absolute;
337
- bottom: 0;
338
- left: 0;
339
- width: 100%;
340
- height: 1px;
341
- content: "";
342
- background-color: $brand-primary;
343
- transform: scaleX(1);
344
- }
345
- }
346
- }
347
- }
348
- }
349
- }
350
-
351
- // フォント指定
352
- .no-thank-yu,
353
- .navbar,
354
- .btn,
355
- .form-control,
356
- .input-gruop,
357
- .breadcrumb,
358
- .nav-tabs,
359
- .nav-pills,
360
- .panel-title,
361
- .list-group,
362
- .pagination,
363
- .pager,
364
- .alert,
365
- .label,
366
- .badge,
367
- .panel-heading,
368
- .lead,
369
- .tooltip,
370
- .popover {
371
- font-family: $font-family-sans-serif;
372
- }