rails_stackview 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -4
  3. data/lib/rails_stackview/version.rb +1 -1
  4. data/vendor/assets/README.md +16 -0
  5. data/vendor/assets/images/stackview/bookEnd-next.png +0 -0
  6. data/vendor/assets/images/stackview/bookEnd-prev.png +0 -0
  7. data/vendor/assets/images/stackview/gloss.png +0 -0
  8. data/vendor/assets/images/stackview/highGloss.png +0 -0
  9. data/vendor/assets/images/stackview/icon-globe.png +0 -0
  10. data/vendor/assets/images/stackview/icon-note.png +0 -0
  11. data/vendor/assets/images/stackview/nav.png +0 -0
  12. data/vendor/assets/images/stackview/placeholder.gif +0 -0
  13. data/vendor/assets/images/stackview/ribbonTab.png +0 -0
  14. data/vendor/assets/images/stackview/serials-edge.png +0 -0
  15. data/vendor/assets/images/stackview/serials.png +0 -0
  16. data/vendor/assets/images/stackview/superGloss.png +0 -0
  17. data/vendor/assets/javascripts/jquery.stackview.js +21 -0
  18. data/vendor/assets/javascripts/stackview/jquery.easing.1.3.js +205 -0
  19. data/vendor/assets/javascripts/stackview/jquery.stackview.base.js +561 -0
  20. data/vendor/assets/javascripts/stackview/jquery.stackview.infinite.js +46 -0
  21. data/vendor/assets/javascripts/stackview/jquery.stackview.ministack.js +33 -0
  22. data/vendor/assets/javascripts/stackview/jquery.stackview.navigation.js +71 -0
  23. data/vendor/assets/javascripts/stackview/jquery.stackview.stackcache.js +74 -0
  24. data/vendor/assets/javascripts/stackview/jquery.stackview.templates.js +31 -0
  25. data/vendor/assets/javascripts/stackview/microtemplating.js +40 -0
  26. data/vendor/assets/javascripts/stackview/types/book.js +184 -0
  27. data/vendor/assets/javascripts/stackview/types/my_plain.js +183 -0
  28. data/vendor/assets/javascripts/stackview/types/serial.js +40 -0
  29. data/vendor/assets/javascripts/stackview/types/soundrecording.js +42 -0
  30. data/vendor/assets/javascripts/stackview/types/videofilm.js +56 -0
  31. data/vendor/assets/javascripts/stackview/types/webpage.js +42 -0
  32. data/vendor/assets/stackview.sha +1 -0
  33. data/vendor/assets/stylesheets/stackview/_book.scss +66 -0
  34. data/vendor/assets/stylesheets/stackview/_heatmap.scss +154 -0
  35. data/vendor/assets/stylesheets/stackview/_ministack.scss +43 -0
  36. data/vendor/assets/stylesheets/stackview/_mixins.scss +100 -0
  37. data/vendor/assets/stylesheets/stackview/_navigation.scss +52 -0
  38. data/vendor/assets/stylesheets/stackview/_plain.scss +71 -0
  39. data/vendor/assets/stylesheets/stackview/_serial.scss +50 -0
  40. data/vendor/assets/stylesheets/stackview/_soundrecording.scss +83 -0
  41. data/vendor/assets/stylesheets/stackview/_videofilm.scss +74 -0
  42. data/vendor/assets/stylesheets/stackview/_webpage.scss +82 -0
  43. data/vendor/assets/stylesheets/stackview/jquery.stackview.scss +171 -0
  44. metadata +41 -1
@@ -0,0 +1,82 @@
1
+ .stack-webpage {
2
+ height:38px;
3
+ max-width:75%;
4
+
5
+ > a {
6
+ display:inline-block;
7
+ position:relative;
8
+ border-radius:6px 0 1px 0;
9
+ border-width:1px;
10
+ border-style:solid;
11
+ color:#555;
12
+ text-shadow:none;
13
+ font-size:11px;
14
+ padding:0 10px;
15
+ max-width:100%;
16
+
17
+ &:visited, &:hover, &:active {
18
+ color:#555;
19
+ }
20
+ }
21
+ }
22
+
23
+ .url-bar {
24
+ display:block;
25
+ margin:7px 0 0 0;
26
+ height:24px;
27
+ line-height:24px;
28
+ background:#fff;
29
+ padding:0 10px 0 10px;
30
+ border-radius:3px;
31
+ border:1px inset #ccc;
32
+ box-shadow:inset 0 0 5px rgba(0, 0, 0, .2);
33
+ overflow:hidden;
34
+ text-overflow:ellipsis;
35
+
36
+ &:before {
37
+ content:asset-url("stackview/icon-globe.png");
38
+ vertical-align:middle;
39
+ position:relative;
40
+ top:1px;
41
+ left:-3px;
42
+ }
43
+ }
44
+
45
+ .url-publisher {
46
+ font-variant:small-caps;
47
+ }
48
+
49
+ .url-title {
50
+ white-space:nowrap;
51
+ }
52
+
53
+ .webpage-top {
54
+ content:'';
55
+ display:block;
56
+ position:absolute;
57
+ top:-5px;
58
+ left:4px;
59
+ right:-5px;
60
+ height:3px;
61
+ border-width:1px;
62
+ border-style:solid;
63
+ @include skew(-70deg, 0);
64
+ border-radius:0 5px 0 5px;
65
+ z-index:2;
66
+ }
67
+
68
+ .webpage-edge {
69
+ content:'';
70
+ display:block;
71
+ position:absolute;
72
+ top:-3px;
73
+ bottom:1px;
74
+ right:-8px;
75
+ width:6px;
76
+ @include skew(0, -20deg);
77
+ border-width:0 1px 1px 0;
78
+ border-style:solid;
79
+ }
80
+
81
+
82
+
@@ -0,0 +1,171 @@
1
+ /*
2
+ Stack View - The jQuery virtual stack plugin
3
+ by The Harvard Library Innovation Lab
4
+
5
+ Dual licensed under MIT and GPL.
6
+ */
7
+
8
+ @import "mixins";
9
+
10
+ .stackview {
11
+ font-family:"Helvetica Neue", sans-serif;
12
+ position:relative;
13
+ height:520px;
14
+ padding:0 0 0 65px;
15
+ overflow:hidden;
16
+
17
+ * {
18
+ margin:0;
19
+ padding:0;
20
+ }
21
+ }
22
+
23
+ .stack-items {
24
+ list-style:none;
25
+ height:100%;
26
+ overflow:auto;
27
+ width:100%;
28
+ padding-right:40px;
29
+ position:relative;
30
+ z-index:2;
31
+ -webkit-overflow-scrolling:touch;
32
+
33
+ &:before {
34
+ background:asset-url("stackview/bookEnd-prev.png");
35
+ content:"";
36
+ display:block;
37
+ width:212px;
38
+ height:114px;
39
+ position:relative;
40
+ z-index:9999; // Needs to be bigger than # of books.
41
+ }
42
+
43
+ &:after {
44
+ content:"";
45
+ display:block;
46
+ width:212px;
47
+ height:114px;
48
+ background:asset-url("stackview/bookEnd-next.png");
49
+ margin:-7px 0 0 0;
50
+ }
51
+ }
52
+
53
+ .stackview-placeholder {
54
+ width:250px;
55
+ background:asset-url("stackview/placeholder.gif") no-repeat center center #ccd;
56
+ border:1px solid #bbb;
57
+ border-radius:3px;
58
+ height:40px;
59
+ position:relative;
60
+ z-index:9997;
61
+ }
62
+
63
+ .stack-item {
64
+ position:relative;
65
+ display:block;
66
+ -webkit-transform:translate3d(0,0,0);
67
+
68
+ > a {
69
+ display:block;
70
+ text-decoration:none;
71
+ height:100%;
72
+ color:#fff;
73
+ white-space:nowrap;
74
+ background:asset-url("stackview/gloss.png") repeat-x 0 47%;
75
+
76
+ &:hover, &:focus {
77
+ background-image:asset-url("stackview/highGloss.png");
78
+ text-decoration:none;
79
+ }
80
+
81
+ &:visited, &:hover, &:active {
82
+ color:#fff;
83
+ }
84
+ }
85
+ }
86
+
87
+ .spine-text {
88
+ position:absolute;
89
+ z-index:2;
90
+ overflow:hidden;
91
+ display:block;
92
+ }
93
+
94
+ .spine-title {
95
+ float:left;
96
+ font-size:13px;
97
+ line-height:13px;
98
+ vertical-align:middle;
99
+ }
100
+
101
+ .spine-author {
102
+ float:right;
103
+ font-size:10px;
104
+ line-height:13px;
105
+ vertical-align:middle;
106
+ margin-right:6px;
107
+ }
108
+
109
+ .spine-year {
110
+ position:absolute;
111
+ z-index:3;
112
+ top:50%;
113
+ right:3px;
114
+ width:28px;
115
+ height:18px;
116
+ line-height:18px;
117
+ background:#f9fceb;
118
+ font-size:9.5px;
119
+ font-family:monospace;
120
+ border-radius:2px;
121
+ text-align:center;
122
+ margin-top:-9px;
123
+ border-width:0 1px;
124
+ border-style:dotted;
125
+ border-color:#e6dec4;
126
+ text-shadow:none;
127
+ color:#555;
128
+
129
+ &:empty {
130
+ display: none;
131
+ }
132
+ }
133
+
134
+ .stackview .ribbon {
135
+ position:absolute;
136
+ z-index:3;
137
+ left:55px;
138
+ right:10px;
139
+ top:52px;
140
+ padding:8px 10px 8px 12px;
141
+ min-height:25px;
142
+ font-size:20px;
143
+ line-height:1.25;
144
+ background:rgba(252,221,94,.85);
145
+ color:#035;
146
+ border:1px solid #fe4;
147
+ border-radius:2px;
148
+ @include user-select(none);
149
+
150
+ &:after {
151
+ content:"";
152
+ position:absolute;
153
+ bottom:-10px;
154
+ left:0;
155
+ background:asset-url("stackview/ribbonTab.png") no-repeat 0 0;
156
+ width:10px;
157
+ height:10px;
158
+ }
159
+ }
160
+
161
+ @import "heatmap";
162
+ @import "navigation";
163
+
164
+ /* Types */
165
+ @import "book";
166
+ @import "serial";
167
+ @import "soundrecording";
168
+ @import "videofilm";
169
+ @import "webpage";
170
+
171
+ @import "ministack";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_stackview
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
@@ -1339,6 +1339,46 @@ files:
1339
1339
  - test/integration/navigation_test.rb
1340
1340
  - test/rails_stackview_test.rb
1341
1341
  - test/test_helper.rb
1342
+ - vendor/assets/README.md
1343
+ - vendor/assets/images/stackview/bookEnd-next.png
1344
+ - vendor/assets/images/stackview/bookEnd-prev.png
1345
+ - vendor/assets/images/stackview/gloss.png
1346
+ - vendor/assets/images/stackview/highGloss.png
1347
+ - vendor/assets/images/stackview/icon-globe.png
1348
+ - vendor/assets/images/stackview/icon-note.png
1349
+ - vendor/assets/images/stackview/nav.png
1350
+ - vendor/assets/images/stackview/placeholder.gif
1351
+ - vendor/assets/images/stackview/ribbonTab.png
1352
+ - vendor/assets/images/stackview/serials-edge.png
1353
+ - vendor/assets/images/stackview/serials.png
1354
+ - vendor/assets/images/stackview/superGloss.png
1355
+ - vendor/assets/javascripts/jquery.stackview.js
1356
+ - vendor/assets/javascripts/stackview/jquery.easing.1.3.js
1357
+ - vendor/assets/javascripts/stackview/jquery.stackview.base.js
1358
+ - vendor/assets/javascripts/stackview/jquery.stackview.infinite.js
1359
+ - vendor/assets/javascripts/stackview/jquery.stackview.ministack.js
1360
+ - vendor/assets/javascripts/stackview/jquery.stackview.navigation.js
1361
+ - vendor/assets/javascripts/stackview/jquery.stackview.stackcache.js
1362
+ - vendor/assets/javascripts/stackview/jquery.stackview.templates.js
1363
+ - vendor/assets/javascripts/stackview/microtemplating.js
1364
+ - vendor/assets/javascripts/stackview/types/book.js
1365
+ - vendor/assets/javascripts/stackview/types/my_plain.js
1366
+ - vendor/assets/javascripts/stackview/types/serial.js
1367
+ - vendor/assets/javascripts/stackview/types/soundrecording.js
1368
+ - vendor/assets/javascripts/stackview/types/videofilm.js
1369
+ - vendor/assets/javascripts/stackview/types/webpage.js
1370
+ - vendor/assets/stackview.sha
1371
+ - vendor/assets/stylesheets/stackview/_book.scss
1372
+ - vendor/assets/stylesheets/stackview/_heatmap.scss
1373
+ - vendor/assets/stylesheets/stackview/_ministack.scss
1374
+ - vendor/assets/stylesheets/stackview/_mixins.scss
1375
+ - vendor/assets/stylesheets/stackview/_navigation.scss
1376
+ - vendor/assets/stylesheets/stackview/_plain.scss
1377
+ - vendor/assets/stylesheets/stackview/_serial.scss
1378
+ - vendor/assets/stylesheets/stackview/_soundrecording.scss
1379
+ - vendor/assets/stylesheets/stackview/_videofilm.scss
1380
+ - vendor/assets/stylesheets/stackview/_webpage.scss
1381
+ - vendor/assets/stylesheets/stackview/jquery.stackview.scss
1342
1382
  homepage: https://github.com/jrochkind/rails_stackview
1343
1383
  licenses:
1344
1384
  - MIT