volt-semantic-ui 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -0
  3. data/Gemfile +0 -0
  4. data/LICENSE.txt +0 -0
  5. data/README.md +0 -0
  6. data/Rakefile +0 -0
  7. data/app/semanticui/assets/css/semantic.min.css +3 -3
  8. data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.eot +0 -0
  9. data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.svg +0 -0
  10. data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.ttf +0 -0
  11. data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.woff +0 -0
  12. data/app/semanticui/assets/css/themes/default/assets/fonts/icons.eot +0 -0
  13. data/app/semanticui/assets/css/themes/default/assets/fonts/icons.otf +0 -0
  14. data/app/semanticui/assets/css/themes/default/assets/fonts/icons.svg +526 -465
  15. data/app/semanticui/assets/css/themes/default/assets/fonts/icons.ttf +0 -0
  16. data/app/semanticui/assets/css/themes/default/assets/fonts/icons.woff +0 -0
  17. data/app/semanticui/assets/css/themes/default/assets/fonts/icons.woff2 +0 -0
  18. data/app/semanticui/assets/css/themes/default/assets/images/flags.png +0 -0
  19. data/app/semanticui/assets/js/components/accordion.css +256 -0
  20. data/app/semanticui/assets/js/components/accordion.js +578 -0
  21. data/app/semanticui/assets/js/components/accordion.min.css +10 -0
  22. data/app/semanticui/assets/js/components/accordion.min.js +11 -0
  23. data/app/semanticui/assets/js/components/ad.css +276 -0
  24. data/app/semanticui/assets/js/components/ad.min.css +10 -0
  25. data/app/semanticui/assets/js/components/api.js +871 -0
  26. data/app/semanticui/assets/js/components/api.min.js +11 -0
  27. data/app/semanticui/assets/js/components/breadcrumb.css +124 -0
  28. data/app/semanticui/assets/js/components/breadcrumb.min.css +10 -0
  29. data/app/semanticui/assets/js/components/button.css +2391 -0
  30. data/app/semanticui/assets/js/components/button.min.css +10 -0
  31. data/app/semanticui/assets/js/components/card.css +909 -0
  32. data/app/semanticui/assets/js/components/card.min.css +10 -0
  33. data/app/semanticui/assets/js/components/checkbox.css +513 -0
  34. data/app/semanticui/assets/js/components/checkbox.js +509 -0
  35. data/app/semanticui/assets/js/components/checkbox.min.css +10 -0
  36. data/app/semanticui/assets/js/components/checkbox.min.js +11 -0
  37. data/app/semanticui/assets/js/components/comment.css +259 -0
  38. data/app/semanticui/assets/js/components/comment.min.css +10 -0
  39. data/app/semanticui/assets/js/components/dimmer.css +186 -0
  40. data/app/semanticui/assets/js/components/dimmer.js +669 -0
  41. data/app/semanticui/assets/js/components/dimmer.min.css +10 -0
  42. data/app/semanticui/assets/js/components/dimmer.min.js +11 -0
  43. data/app/semanticui/assets/js/components/divider.css +241 -0
  44. data/app/semanticui/assets/js/components/divider.min.css +10 -0
  45. data/app/semanticui/assets/js/components/dropdown.css +1103 -0
  46. data/app/semanticui/assets/js/components/dropdown.js +1795 -0
  47. data/app/semanticui/assets/js/components/dropdown.min.css +10 -0
  48. data/app/semanticui/assets/js/components/dropdown.min.js +11 -0
  49. data/app/semanticui/assets/js/components/feed.css +276 -0
  50. data/app/semanticui/assets/js/components/feed.min.css +10 -0
  51. data/app/semanticui/assets/js/components/flag.css +1024 -0
  52. data/app/semanticui/assets/js/components/flag.min.css +10 -0
  53. data/app/semanticui/assets/js/components/form.css +891 -0
  54. data/app/semanticui/assets/js/components/form.js +1118 -0
  55. data/app/semanticui/assets/js/components/form.min.css +10 -0
  56. data/app/semanticui/assets/js/components/form.min.js +11 -0
  57. data/app/semanticui/assets/js/components/grid.css +1871 -0
  58. data/app/semanticui/assets/js/components/grid.min.css +10 -0
  59. data/app/semanticui/assets/js/components/header.css +596 -0
  60. data/app/semanticui/assets/js/components/header.min.css +10 -0
  61. data/app/semanticui/assets/js/components/icon.css +2467 -0
  62. data/app/semanticui/assets/js/components/icon.min.css +10 -0
  63. data/app/semanticui/assets/js/components/image.css +288 -0
  64. data/app/semanticui/assets/js/components/image.min.css +10 -0
  65. data/app/semanticui/assets/js/components/input.css +439 -0
  66. data/app/semanticui/assets/js/components/input.min.css +10 -0
  67. data/app/semanticui/assets/js/components/item.css +456 -0
  68. data/app/semanticui/assets/js/components/item.min.css +10 -0
  69. data/app/semanticui/assets/js/components/label.css +963 -0
  70. data/app/semanticui/assets/js/components/label.min.css +10 -0
  71. data/app/semanticui/assets/js/components/list.css +878 -0
  72. data/app/semanticui/assets/js/components/list.min.css +10 -0
  73. data/app/semanticui/assets/js/components/loader.css +284 -0
  74. data/app/semanticui/assets/js/components/loader.min.css +10 -0
  75. data/app/semanticui/assets/js/components/menu.css +1608 -0
  76. data/app/semanticui/assets/js/components/menu.min.css +10 -0
  77. data/app/semanticui/assets/js/components/message.css +421 -0
  78. data/app/semanticui/assets/js/components/message.min.css +10 -0
  79. data/app/semanticui/assets/js/components/modal.css +432 -0
  80. data/app/semanticui/assets/js/components/modal.js +860 -0
  81. data/app/semanticui/assets/js/components/modal.min.css +10 -0
  82. data/app/semanticui/assets/js/components/modal.min.js +11 -0
  83. data/app/semanticui/assets/js/components/nag.css +148 -0
  84. data/app/semanticui/assets/js/components/nag.js +477 -0
  85. data/app/semanticui/assets/js/components/nag.min.css +10 -0
  86. data/app/semanticui/assets/js/components/nag.min.js +11 -0
  87. data/app/semanticui/assets/js/components/popup.css +293 -0
  88. data/app/semanticui/assets/js/components/popup.js +1224 -0
  89. data/app/semanticui/assets/js/components/popup.min.css +10 -0
  90. data/app/semanticui/assets/js/components/popup.min.js +11 -0
  91. data/app/semanticui/assets/js/components/progress.css +461 -0
  92. data/app/semanticui/assets/js/components/progress.js +785 -0
  93. data/app/semanticui/assets/js/components/progress.min.css +10 -0
  94. data/app/semanticui/assets/js/components/progress.min.js +11 -0
  95. data/app/semanticui/assets/js/components/rail.css +124 -0
  96. data/app/semanticui/assets/js/components/rail.min.css +10 -0
  97. data/app/semanticui/assets/js/components/rating.css +251 -0
  98. data/app/semanticui/assets/js/components/rating.js +451 -0
  99. data/app/semanticui/assets/js/components/rating.min.css +10 -0
  100. data/app/semanticui/assets/js/components/rating.min.js +11 -0
  101. data/app/semanticui/assets/js/components/reset.css +429 -0
  102. data/app/semanticui/assets/js/components/reset.min.css +10 -0
  103. data/app/semanticui/assets/js/components/reveal.css +293 -0
  104. data/app/semanticui/assets/js/components/reveal.min.css +10 -0
  105. data/app/semanticui/assets/js/components/search.css +329 -0
  106. data/app/semanticui/assets/js/components/search.js +1096 -0
  107. data/app/semanticui/assets/js/components/search.min.css +10 -0
  108. data/app/semanticui/assets/js/components/search.min.js +11 -0
  109. data/app/semanticui/assets/js/components/segment.css +635 -0
  110. data/app/semanticui/assets/js/components/segment.min.css +10 -0
  111. data/app/semanticui/assets/js/components/shape.css +154 -0
  112. data/app/semanticui/assets/js/components/shape.js +830 -0
  113. data/app/semanticui/assets/js/components/shape.min.css +10 -0
  114. data/app/semanticui/assets/js/components/shape.min.js +11 -0
  115. data/app/semanticui/assets/js/components/sidebar.css +625 -0
  116. data/app/semanticui/assets/js/components/sidebar.js +1089 -0
  117. data/app/semanticui/assets/js/components/sidebar.min.css +10 -0
  118. data/app/semanticui/assets/js/components/sidebar.min.js +11 -0
  119. data/app/semanticui/assets/js/components/site.css +160 -0
  120. data/app/semanticui/assets/js/components/site.js +487 -0
  121. data/app/semanticui/assets/js/components/site.min.css +10 -0
  122. data/app/semanticui/assets/js/components/site.min.js +11 -0
  123. data/app/semanticui/assets/js/components/state.js +695 -0
  124. data/app/semanticui/assets/js/components/state.min.js +11 -0
  125. data/app/semanticui/assets/js/components/statistic.css +409 -0
  126. data/app/semanticui/assets/js/components/statistic.min.css +10 -0
  127. data/app/semanticui/assets/js/components/step.css +432 -0
  128. data/app/semanticui/assets/js/components/step.min.css +10 -0
  129. data/app/semanticui/assets/js/components/sticky.css +79 -0
  130. data/app/semanticui/assets/js/components/sticky.js +792 -0
  131. data/app/semanticui/assets/js/components/sticky.min.css +10 -0
  132. data/app/semanticui/assets/js/components/sticky.min.js +11 -0
  133. data/app/semanticui/assets/js/components/tab.css +92 -0
  134. data/app/semanticui/assets/js/components/tab.js +802 -0
  135. data/app/semanticui/assets/js/components/tab.min.css +10 -0
  136. data/app/semanticui/assets/js/components/tab.min.js +11 -0
  137. data/app/semanticui/assets/js/components/table.css +1000 -0
  138. data/app/semanticui/assets/js/components/table.min.css +10 -0
  139. data/app/semanticui/assets/js/components/transition.css +1990 -0
  140. data/app/semanticui/assets/js/components/transition.js +1038 -0
  141. data/app/semanticui/assets/js/components/transition.min.css +10 -0
  142. data/app/semanticui/assets/js/components/transition.min.js +11 -0
  143. data/app/semanticui/assets/js/components/video.css +125 -0
  144. data/app/semanticui/assets/js/components/video.js +540 -0
  145. data/app/semanticui/assets/js/components/video.min.css +10 -0
  146. data/app/semanticui/assets/js/components/video.min.js +11 -0
  147. data/app/semanticui/assets/js/components/visibility.js +1032 -0
  148. data/app/semanticui/assets/js/components/visibility.min.js +11 -0
  149. data/app/semanticui/assets/js/semantic.min.js +9 -9
  150. data/lib/volt/semanticui.rb +0 -0
  151. data/lib/volt/semanticui/version.rb +1 -1
  152. data/volt-semantic-ui-0.0.1.gem +0 -0
  153. data/volt-semanticui-0.0.1.gem +0 -0
  154. data/volt-semanticui.gemspec +0 -0
  155. metadata +141 -10
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * # Semantic UI 1.11.4 - Segment
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2014 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */.ui.segment{position:relative;background-color:#fff;box-shadow:0 0 0 1px rgba(39,41,43,.15),0 1px 2px 0 rgba(0,0,0,.05);margin:1rem 0;padding:1em;border-radius:.2857rem;border:none}.ui.segment:first-child{margin-top:0}.ui.segment:last-child{margin-bottom:0}.ui.segment:after{content:'';display:block;height:0;clear:both;visibility:hidden}.ui[class*="vertical segment"]{margin:0;padding-left:0;padding-right:0;background-color:transparent;border-radius:0;border:none;box-shadow:0 -1px 0 rgba(39,41,43,.15) inset}.ui[class*="vertical segment"]:last-child{box-shadow:none}.ui[class*="horizontal segment"]{margin:0;padding-top:0;padding-bottom:0;background-color:transparent;border-radius:0;border:none;box-shadow:1px 0 0 rgba(39,41,43,.15)}.ui.inverted.segment>.ui.header{color:#fff}.ui[class*="bottom attached"].segment>[class*="top attached"].label{border-top-left-radius:0;border-top-right-radius:0}.ui[class*="top attached"].segment>[class*="bottom attached"].label{border-bottom-left-radius:0;border-bottom-right-radius:0}.ui.attached.segment:not(.top):not(.bottom)>[class*="top attached"].label{border-top-left-radius:0;border-top-right-radius:0}.ui.attached.segment:not(.top):not(.bottom)>[class*="bottom attached"].label{border-bottom-left-radius:0;border-bottom-right-radius:0}.ui.grid .ui.segment.column,.ui.page.grid.segment{padding-top:2em;padding-bottom:2em}.ui.grid.segment{margin:1rem 0;border-radius:.2857rem}.ui.basic.table.segment{background:#fff;border:none;box-shadow:0 0 0 1px rgba(39,41,43,.15),0 1px 2px 0 rgba(0,0,0,.05)}.ui[class*="very basic"].table.segment{padding:1em}.ui.piled.segment{margin:3em 0;box-shadow:0 0 1px 1px rgba(39,41,43,.15);z-index:auto}.ui.piled.segment:first-child{margin-top:0}.ui.piled.segment:last-child{margin-bottom:0}.ui.piled.segment:after,.ui.piled.segment:before{background-color:#fff;visibility:visible;content:'';display:block;height:100%;left:0;position:absolute;width:100%;box-shadow:0 0 1px 1px rgba(39,41,43,.15)}.ui.piled.segment:after{-webkit-transform:rotate(1.2deg);-ms-transform:rotate(1.2deg);transform:rotate(1.2deg);top:0;z-index:-1}.ui.piled.segment:before{-webkit-transform:rotate(-1.2deg);-ms-transform:rotate(-1.2deg);transform:rotate(-1.2deg);top:0;z-index:-2}.ui[class*="top attached"].piled.segment{margin-top:3em;margin-bottom:0}.ui.piled.segment[class*="top attached"]:first-child{margin-top:0}.ui.piled.segment[class*="bottom attached"]{margin-top:0;margin-bottom:3em}.ui.piled.segment[class*="bottom attached"]:last-child{margin-bottom:0}.ui.stacked.segment{padding-bottom:1.4em}.ui.stacked.segment:after,.ui.stacked.segment:before{content:'';position:absolute;bottom:-3px;left:0;border-top:1px solid rgba(39,41,43,.15);background-color:rgba(0,0,0,.03);width:100%;height:6px;visibility:visible}.ui.stacked.segment:before{display:none}.ui.tall.stacked.segment:before{display:block;bottom:0}.ui.stacked.inverted.segment:after,.ui.stacked.inverted.segment:before{background-color:rgba(0,0,0,.03);border-top:1px solid rgba(39,41,43,.3)}.ui.compact.segment{display:table}.ui.circular.segment{display:table-cell;padding:2em;text-align:center;vertical-align:middle;border-radius:500em}.ui.raised.segment{box-shadow:0 0 0 1px rgba(39,41,43,.15),0 1px 4px 0 rgba(0,0,0,.15)}.ui.disabled.segment{opacity:.3;color:rgba(40,40,40,.3)}.ui.loading.segment{position:relative;cursor:default;point-events:none;text-shadow:none!important;color:transparent!important;-webkit-transition:all 0s linear;transition:all 0s linear}.ui.loading.segment:before{position:absolute;content:'';top:0;left:0;background:rgba(255,255,255,.8);width:100%;height:100%;border-radius:.2857rem;z-index:100}.ui.loading.segment:after{position:absolute;content:'';top:50%;left:50%;margin:-1.5em 0 0 -1.5em;width:3em;height:3em;-webkit-animation:segment-spin .6s linear;animation:segment-spin .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#aaa rgba(0,0,0,.1) rgba(0,0,0,.1);border-style:solid;border-width:.2em;box-shadow:0 0 0 1px transparent;visibility:visible;z-index:101}@-webkit-keyframes segment-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes segment-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ui.basic.segment{position:relative;background-color:transparent;box-shadow:none;border-radius:0}.ui.fitted.segment{padding:0}.ui.black.segment:not(.inverted){border-top:2px solid #1b1c1d}.ui.blue.segment:not(.inverted){border-top:2px solid #3b83c0}.ui.green.segment:not(.inverted){border-top:2px solid #5bbd72}.ui.orange.segment:not(.inverted){border-top:2px solid #e07b53}.ui.pink.segment:not(.inverted){border-top:2px solid #d9499a}.ui.purple.segment:not(.inverted){border-top:2px solid #564f8a}.ui.red.segment:not(.inverted){border-top:2px solid #d95c5c}.ui.teal.segment:not(.inverted){border-top:2px solid #00b5ad}.ui.yellow.segment:not(.inverted){border-top:2px solid #f2c61f}.ui.black.segment:not(.inverted):not(.attached),.ui.blue.segment:not(.inverted):not(.attached),.ui.green.segment:not(.inverted):not(.attached),.ui.orange.segment:not(.inverted):not(.attached),.ui.pink.segment:not(.inverted):not(.attached),.ui.purple.segment:not(.inverted):not(.attached),.ui.red.segment:not(.inverted):not(.attached),.ui.teal.segment:not(.inverted):not(.attached),.ui.yellow.segment:not(.inverted):not(.attached){border-top-left-radius:.2857rem!important;border-top-right-radius:.2857rem!important}.ui.inverted.black.segment,.ui.inverted.segment{background-color:#1b1c1d!important;color:#fff!important}.ui.inverted.blue.segment{background-color:#3b83c0!important;color:#fff!important}.ui.inverted.green.segment{background-color:#5bbd72!important;color:#fff!important}.ui.inverted.orange.segment{background-color:#e07b53!important;color:#fff!important}.ui.inverted.pink.segment{background-color:#d9499a!important;color:#fff!important}.ui.inverted.purple.segment{background-color:#564f8a!important;color:#fff!important}.ui.inverted.red.segment{background-color:#d95c5c!important;color:#fff!important}.ui.inverted.teal.segment{background-color:#00b5ad!important;color:#fff!important}.ui.inverted.yellow.segment{background-color:#f2c61f!important;color:#fff!important}.ui[class*="left aligned"].segment{text-align:left}.ui[class*="right aligned"].segment{text-align:right}.ui[class*="center aligned"].segment{text-align:center}.ui.floated.segment,.ui[class*="left floated"].segment{float:left;margin-right:1rem}.ui[class*="right floated"].segment{float:right;margin-left:1rem}.ui.inverted.segment{border:none;box-shadow:none}.ui.inverted.segment .segment{color:rgba(0,0,0,.8)}.ui.inverted.segment .inverted.segment{color:#fff}.ui.inverted.segment,.ui.primary.inverted.segment{background-color:#1b1c1d;color:#fff}.ui.inverted.attached.segment,.ui.inverted.block.segment{border-color:#555}.ui.secondary.segment{background:#faf9fa;color:rgba(0,0,0,.8)}.ui.tertiary.segment{background:#ebebeb;color:rgba(0,0,0,.8)}.ui.secondary.inverted.segment{background:-webkit-linear-gradient(rgba(255,255,255,.3) 0,rgba(255,255,255,.3) 100%);background:linear-gradient(rgba(255,255,255,.3) 0,rgba(255,255,255,.3) 100%);color:#fafafa}.ui.tertiary.inverted.segment{background:-webkit-linear-gradient(rgba(255,255,255,.5) 0,rgba(255,255,255,.5) 100%);background:linear-gradient(rgba(255,255,255,.5) 0,rgba(255,255,255,.5) 100%);color:#f0f0f0}.ui.segment.attached{top:0;bottom:0;margin:0 -1px;width:-webkit-calc(100% + 2px);width:calc(100% + 2px);max-width:-webkit-calc(100% + 2px);max-width:calc(100% + 2px);border-radius:0;box-shadow:none;border:1px solid #d4d4d5}.ui.segment.attached+.ui.segment.attached:not(.top){border-top:none}.ui[class*="top attached"].segment{top:0;bottom:0;margin-top:1rem;margin-bottom:0;border-radius:.2857rem .2857rem 0 0}.ui.segment[class*="top attached"]:first-child{margin-top:0}.ui.segment[class*="bottom attached"]{top:0;bottom:0;margin-top:0;margin-bottom:1rem;box-shadow:none,0 1px 2px 0 rgba(0,0,0,.05);border-radius:0 0 .2857rem .2857rem}.ui.segment[class*="bottom attached"]:last-child{margin-bottom:0}.ui.segments{margin:1rem 0}.ui.segments:first-child{margin-top:0}.ui.segments:last-child{margin-bottom:0}.ui.segments>.segment{top:0;bottom:0;margin:0 -1px;width:-webkit-calc(100% + 2px);width:calc(100% + 2px);max-width:-webkit-calc(100% + 2px);max-width:calc(100% + 2px);border-radius:0;box-shadow:none;border:1px solid #d4d4d5}.ui.segments>.segment:not(:first-child){border-top:none}.ui.segments>.segment:first-child{margin-top:0;bottom:0;margin-bottom:0;top:0;border-radius:.2857rem .2857rem 0 0}.ui.segments>.segment:last-child{bottom:0;margin-top:0;margin-bottom:0;top:0;box-shadow:none,0 1px 2px 0 rgba(0,0,0,.05);border-radius:0 0 .2857rem .2857rem}
@@ -0,0 +1,154 @@
1
+ /*!
2
+ * # Semantic UI 1.11.4 - Shape
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2014 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+
13
+ /*******************************
14
+ Shape
15
+ *******************************/
16
+
17
+ .ui.shape {
18
+ position: relative;
19
+ display: inline-block;
20
+ -webkit-perspective: 2000px;
21
+ perspective: 2000px;
22
+ }
23
+ .ui.shape .sides {
24
+ -webkit-transform-style: preserve-3d;
25
+ transform-style: preserve-3d;
26
+ }
27
+ .ui.shape .side {
28
+ opacity: 1;
29
+ width: 100%;
30
+ margin: 0em !important;
31
+ -webkit-backface-visibility: hidden;
32
+ backface-visibility: hidden;
33
+ }
34
+ .ui.shape .side {
35
+ display: none;
36
+ }
37
+ .ui.shape .side > * {
38
+ -webkit-backface-visibility: visible !important;
39
+ backface-visibility: visible !important;
40
+ }
41
+
42
+
43
+ /*******************************
44
+ Types
45
+ *******************************/
46
+
47
+ .ui.cube.shape .side {
48
+ min-width: 15em;
49
+ height: 15em;
50
+ padding: 2em;
51
+ background-color: #e6e6e6;
52
+ color: rgba(0, 0, 0, 0.8);
53
+ box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
54
+ }
55
+ .ui.cube.shape .side > .content {
56
+ width: 100%;
57
+ height: 100%;
58
+ display: table;
59
+ text-align: center;
60
+ -webkit-user-select: text;
61
+ -moz-user-select: text;
62
+ -ms-user-select: text;
63
+ user-select: text;
64
+ }
65
+ .ui.cube.shape .side > .content > div {
66
+ display: table-cell;
67
+ vertical-align: middle;
68
+ font-size: 2em;
69
+ }
70
+
71
+
72
+ /*******************************
73
+ Variations
74
+ *******************************/
75
+
76
+ .ui.text.shape.animating .sides {
77
+ position: static;
78
+ }
79
+ .ui.text.shape .side {
80
+ white-space: nowrap;
81
+ }
82
+ .ui.text.shape .side > * {
83
+ white-space: normal;
84
+ }
85
+
86
+
87
+ /*******************************
88
+ States
89
+ *******************************/
90
+
91
+
92
+ /*--------------
93
+ Loading
94
+ ---------------*/
95
+
96
+ .ui.loading.shape {
97
+ position: absolute;
98
+ top: -9999px;
99
+ left: -9999px;
100
+ }
101
+
102
+ /*--------------
103
+ Animating
104
+ ---------------*/
105
+
106
+ .ui.shape .animating.side {
107
+ position: absolute;
108
+ top: 0px;
109
+ left: 0px;
110
+ z-index: 100;
111
+ }
112
+ .ui.shape .hidden.side {
113
+ opacity: 0.4;
114
+ }
115
+
116
+ /*--------------
117
+ CSS
118
+ ---------------*/
119
+
120
+ .ui.shape.animating {
121
+ -webkit-transition: all 0.6s ease-in-out;
122
+ transition: all 0.6s ease-in-out;
123
+ }
124
+ .ui.shape.animating .sides {
125
+ position: absolute;
126
+ }
127
+ .ui.shape.animating .sides {
128
+ -webkit-transition: all 0.6s ease-in-out;
129
+ transition: all 0.6s ease-in-out;
130
+ }
131
+ .ui.shape.animating .side {
132
+ -webkit-transition: opacity 0.6s ease-in-out;
133
+ transition: opacity 0.6s ease-in-out;
134
+ }
135
+
136
+ /*--------------
137
+ Active
138
+ ---------------*/
139
+
140
+ .ui.shape .active.side {
141
+ display: block;
142
+ }
143
+
144
+
145
+ /*******************************
146
+ Theme Overrides
147
+ *******************************/
148
+
149
+
150
+
151
+ /*******************************
152
+ User Overrides
153
+ *******************************/
154
+
@@ -0,0 +1,830 @@
1
+ /*!
2
+ * # Semantic UI 1.11.4 - Shape
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2014 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+ ;(function ( $, window, document, undefined ) {
13
+
14
+ "use strict";
15
+
16
+ $.fn.shape = function(parameters) {
17
+ var
18
+ $allModules = $(this),
19
+ $body = $('body'),
20
+
21
+ time = new Date().getTime(),
22
+ performance = [],
23
+
24
+ query = arguments[0],
25
+ methodInvoked = (typeof query == 'string'),
26
+ queryArguments = [].slice.call(arguments, 1),
27
+
28
+ requestAnimationFrame = window.requestAnimationFrame
29
+ || window.mozRequestAnimationFrame
30
+ || window.webkitRequestAnimationFrame
31
+ || window.msRequestAnimationFrame
32
+ || function(callback) { setTimeout(callback, 0); },
33
+
34
+ returnedValue
35
+ ;
36
+
37
+ $allModules
38
+ .each(function() {
39
+ var
40
+ moduleSelector = $allModules.selector || '',
41
+ settings = $.extend(true, {}, $.fn.shape.settings, parameters),
42
+
43
+ // internal aliases
44
+ namespace = settings.namespace,
45
+ selector = settings.selector,
46
+ error = settings.error,
47
+ className = settings.className,
48
+
49
+ // define namespaces for modules
50
+ eventNamespace = '.' + namespace,
51
+ moduleNamespace = 'module-' + namespace,
52
+
53
+ // selector cache
54
+ $module = $(this),
55
+ $sides = $module.find(selector.sides),
56
+ $side = $module.find(selector.side),
57
+
58
+ // private variables
59
+ nextIndex = false,
60
+ $activeSide,
61
+ $nextSide,
62
+
63
+ // standard module
64
+ element = this,
65
+ instance = $module.data(moduleNamespace),
66
+ module
67
+ ;
68
+
69
+ module = {
70
+
71
+ initialize: function() {
72
+ module.verbose('Initializing module for', element);
73
+ module.set.defaultSide();
74
+ module.instantiate();
75
+ },
76
+
77
+ instantiate: function() {
78
+ module.verbose('Storing instance of module', module);
79
+ instance = module;
80
+ $module
81
+ .data(moduleNamespace, instance)
82
+ ;
83
+ },
84
+
85
+ destroy: function() {
86
+ module.verbose('Destroying previous module for', element);
87
+ $module
88
+ .removeData(moduleNamespace)
89
+ .off(eventNamespace)
90
+ ;
91
+ },
92
+
93
+ refresh: function() {
94
+ module.verbose('Refreshing selector cache for', element);
95
+ $module = $(element);
96
+ $sides = $(this).find(selector.shape);
97
+ $side = $(this).find(selector.side);
98
+ },
99
+
100
+ repaint: function() {
101
+ module.verbose('Forcing repaint event');
102
+ var
103
+ shape = $sides.get(0) || document.createElement('div'),
104
+ fakeAssignment = shape.offsetWidth
105
+ ;
106
+ },
107
+
108
+ animate: function(propertyObject, callback) {
109
+ module.verbose('Animating box with properties', propertyObject);
110
+ callback = callback || function(event) {
111
+ module.verbose('Executing animation callback');
112
+ if(event !== undefined) {
113
+ event.stopPropagation();
114
+ }
115
+ module.reset();
116
+ module.set.active();
117
+ };
118
+ settings.beforeChange.call($nextSide.get());
119
+ if(module.get.transitionEvent()) {
120
+ module.verbose('Starting CSS animation');
121
+ $module
122
+ .addClass(className.animating)
123
+ ;
124
+ $sides
125
+ .css(propertyObject)
126
+ .one(module.get.transitionEvent(), callback)
127
+ ;
128
+ module.set.duration(settings.duration);
129
+ requestAnimationFrame(function() {
130
+ $module
131
+ .addClass(className.animating)
132
+ ;
133
+ $activeSide
134
+ .addClass(className.hidden)
135
+ ;
136
+ });
137
+ }
138
+ else {
139
+ callback();
140
+ }
141
+ },
142
+
143
+ queue: function(method) {
144
+ module.debug('Queueing animation of', method);
145
+ $sides
146
+ .one(module.get.transitionEvent(), function() {
147
+ module.debug('Executing queued animation');
148
+ setTimeout(function(){
149
+ $module.shape(method);
150
+ }, 0);
151
+ })
152
+ ;
153
+ },
154
+
155
+ reset: function() {
156
+ module.verbose('Animating states reset');
157
+ $module
158
+ .removeClass(className.animating)
159
+ .attr('style', '')
160
+ .removeAttr('style')
161
+ ;
162
+ // removeAttr style does not consistently work in safari
163
+ $sides
164
+ .attr('style', '')
165
+ .removeAttr('style')
166
+ ;
167
+ $side
168
+ .attr('style', '')
169
+ .removeAttr('style')
170
+ .removeClass(className.hidden)
171
+ ;
172
+ $nextSide
173
+ .removeClass(className.animating)
174
+ .attr('style', '')
175
+ .removeAttr('style')
176
+ ;
177
+ },
178
+
179
+ is: {
180
+ complete: function() {
181
+ return ($side.filter('.' + className.active)[0] == $nextSide[0]);
182
+ },
183
+ animating: function() {
184
+ return $module.hasClass(className.animating);
185
+ }
186
+ },
187
+
188
+ set: {
189
+
190
+ defaultSide: function() {
191
+ $activeSide = $module.find('.' + settings.className.active);
192
+ $nextSide = ( $activeSide.next(selector.side).length > 0 )
193
+ ? $activeSide.next(selector.side)
194
+ : $module.find(selector.side).first()
195
+ ;
196
+ nextIndex = false;
197
+ module.verbose('Active side set to', $activeSide);
198
+ module.verbose('Next side set to', $nextSide);
199
+ },
200
+
201
+ duration: function(duration) {
202
+ duration = duration || settings.duration;
203
+ duration = (typeof duration == 'number')
204
+ ? duration + 'ms'
205
+ : duration
206
+ ;
207
+ module.verbose('Setting animation duration', duration);
208
+ $sides.add($side)
209
+ .css({
210
+ '-webkit-transition-duration': duration,
211
+ '-moz-transition-duration': duration,
212
+ '-ms-transition-duration': duration,
213
+ '-o-transition-duration': duration,
214
+ 'transition-duration': duration
215
+ })
216
+ ;
217
+ },
218
+
219
+ stageSize: function() {
220
+ var
221
+ $clone = $module.clone().addClass(className.loading),
222
+ $activeSide = $clone.find('.' + settings.className.active),
223
+ $nextSide = (nextIndex)
224
+ ? $clone.find(selector.side).eq(nextIndex)
225
+ : ( $activeSide.next(selector.side).length > 0 )
226
+ ? $activeSide.next(selector.side)
227
+ : $clone.find(selector.side).first(),
228
+ newSize = {}
229
+ ;
230
+ $activeSide.removeClass(className.active);
231
+ $nextSide.addClass(className.active);
232
+ $clone.insertAfter($module);
233
+ newSize = {
234
+ width : $nextSide.outerWidth(),
235
+ height : $nextSide.outerHeight()
236
+ };
237
+ $clone.remove();
238
+ $module
239
+ .css(newSize)
240
+ ;
241
+ module.verbose('Resizing stage to fit new content', newSize);
242
+ },
243
+
244
+ nextSide: function(selector) {
245
+ nextIndex = selector;
246
+ $nextSide = $side.filter(selector);
247
+ nextIndex = $side.index($nextSide);
248
+ if($nextSide.length === 0) {
249
+ module.set.defaultSide();
250
+ module.error(error.side);
251
+ }
252
+ module.verbose('Next side manually set to', $nextSide);
253
+ },
254
+
255
+ active: function() {
256
+ module.verbose('Setting new side to active', $nextSide);
257
+ $side
258
+ .removeClass(className.active)
259
+ ;
260
+ $nextSide
261
+ .addClass(className.active)
262
+ ;
263
+ settings.onChange.call($nextSide.get());
264
+ module.set.defaultSide();
265
+ }
266
+ },
267
+
268
+ flip: {
269
+
270
+ up: function() {
271
+ if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
272
+ module.debug('Side already visible', $nextSide);
273
+ return;
274
+ }
275
+ if( !module.is.animating()) {
276
+ module.debug('Flipping up', $nextSide);
277
+ module.set.stageSize();
278
+ module.stage.above();
279
+ module.animate( module.get.transform.up() );
280
+ }
281
+ else {
282
+ module.queue('flip up');
283
+ }
284
+ },
285
+
286
+ down: function() {
287
+ if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
288
+ module.debug('Side already visible', $nextSide);
289
+ return;
290
+ }
291
+ if( !module.is.animating()) {
292
+ module.debug('Flipping down', $nextSide);
293
+ module.set.stageSize();
294
+ module.stage.below();
295
+ module.animate( module.get.transform.down() );
296
+ }
297
+ else {
298
+ module.queue('flip down');
299
+ }
300
+ },
301
+
302
+ left: function() {
303
+ if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
304
+ module.debug('Side already visible', $nextSide);
305
+ return;
306
+ }
307
+ if( !module.is.animating()) {
308
+ module.debug('Flipping left', $nextSide);
309
+ module.set.stageSize();
310
+ module.stage.left();
311
+ module.animate(module.get.transform.left() );
312
+ }
313
+ else {
314
+ module.queue('flip left');
315
+ }
316
+ },
317
+
318
+ right: function() {
319
+ if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
320
+ module.debug('Side already visible', $nextSide);
321
+ return;
322
+ }
323
+ if( !module.is.animating()) {
324
+ module.debug('Flipping right', $nextSide);
325
+ module.set.stageSize();
326
+ module.stage.right();
327
+ module.animate(module.get.transform.right() );
328
+ }
329
+ else {
330
+ module.queue('flip right');
331
+ }
332
+ },
333
+
334
+ over: function() {
335
+ if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
336
+ module.debug('Side already visible', $nextSide);
337
+ return;
338
+ }
339
+ if( !module.is.animating()) {
340
+ module.debug('Flipping over', $nextSide);
341
+ module.set.stageSize();
342
+ module.stage.behind();
343
+ module.animate(module.get.transform.over() );
344
+ }
345
+ else {
346
+ module.queue('flip over');
347
+ }
348
+ },
349
+
350
+ back: function() {
351
+ if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
352
+ module.debug('Side already visible', $nextSide);
353
+ return;
354
+ }
355
+ if( !module.is.animating()) {
356
+ module.debug('Flipping back', $nextSide);
357
+ module.set.stageSize();
358
+ module.stage.behind();
359
+ module.animate(module.get.transform.back() );
360
+ }
361
+ else {
362
+ module.queue('flip back');
363
+ }
364
+ }
365
+
366
+ },
367
+
368
+ get: {
369
+
370
+ transform: {
371
+ up: function() {
372
+ var
373
+ translate = {
374
+ y: -(($activeSide.outerHeight() - $nextSide.outerHeight()) / 2),
375
+ z: -($activeSide.outerHeight() / 2)
376
+ }
377
+ ;
378
+ return {
379
+ transform: 'translateY(' + translate.y + 'px) translateZ('+ translate.z + 'px) rotateX(-90deg)'
380
+ };
381
+ },
382
+
383
+ down: function() {
384
+ var
385
+ translate = {
386
+ y: -(($activeSide.outerHeight() - $nextSide.outerHeight()) / 2),
387
+ z: -($activeSide.outerHeight() / 2)
388
+ }
389
+ ;
390
+ return {
391
+ transform: 'translateY(' + translate.y + 'px) translateZ('+ translate.z + 'px) rotateX(90deg)'
392
+ };
393
+ },
394
+
395
+ left: function() {
396
+ var
397
+ translate = {
398
+ x : -(($activeSide.outerWidth() - $nextSide.outerWidth()) / 2),
399
+ z : -($activeSide.outerWidth() / 2)
400
+ }
401
+ ;
402
+ return {
403
+ transform: 'translateX(' + translate.x + 'px) translateZ(' + translate.z + 'px) rotateY(90deg)'
404
+ };
405
+ },
406
+
407
+ right: function() {
408
+ var
409
+ translate = {
410
+ x : -(($activeSide.outerWidth() - $nextSide.outerWidth()) / 2),
411
+ z : -($activeSide.outerWidth() / 2)
412
+ }
413
+ ;
414
+ return {
415
+ transform: 'translateX(' + translate.x + 'px) translateZ(' + translate.z + 'px) rotateY(-90deg)'
416
+ };
417
+ },
418
+
419
+ over: function() {
420
+ var
421
+ translate = {
422
+ x : -(($activeSide.outerWidth() - $nextSide.outerWidth()) / 2)
423
+ }
424
+ ;
425
+ return {
426
+ transform: 'translateX(' + translate.x + 'px) rotateY(180deg)'
427
+ };
428
+ },
429
+
430
+ back: function() {
431
+ var
432
+ translate = {
433
+ x : -(($activeSide.outerWidth() - $nextSide.outerWidth()) / 2)
434
+ }
435
+ ;
436
+ return {
437
+ transform: 'translateX(' + translate.x + 'px) rotateY(-180deg)'
438
+ };
439
+ }
440
+ },
441
+
442
+ transitionEvent: function() {
443
+ var
444
+ element = document.createElement('element'),
445
+ transitions = {
446
+ 'transition' :'transitionend',
447
+ 'OTransition' :'oTransitionEnd',
448
+ 'MozTransition' :'transitionend',
449
+ 'WebkitTransition' :'webkitTransitionEnd'
450
+ },
451
+ transition
452
+ ;
453
+ for(transition in transitions){
454
+ if( element.style[transition] !== undefined ){
455
+ return transitions[transition];
456
+ }
457
+ }
458
+ },
459
+
460
+ nextSide: function() {
461
+ return ( $activeSide.next(selector.side).length > 0 )
462
+ ? $activeSide.next(selector.side)
463
+ : $module.find(selector.side).first()
464
+ ;
465
+ }
466
+
467
+ },
468
+
469
+ stage: {
470
+
471
+ above: function() {
472
+ var
473
+ box = {
474
+ origin : (($activeSide.outerHeight() - $nextSide.outerHeight()) / 2),
475
+ depth : {
476
+ active : ($nextSide.outerHeight() / 2),
477
+ next : ($activeSide.outerHeight() / 2)
478
+ }
479
+ }
480
+ ;
481
+ module.verbose('Setting the initial animation position as above', $nextSide, box);
482
+ $activeSide
483
+ .css({
484
+ 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'
485
+ })
486
+ ;
487
+ $nextSide
488
+ .addClass(className.animating)
489
+ .css({
490
+ 'display' : 'block',
491
+ 'top' : box.origin + 'px',
492
+ 'transform' : 'rotateX(90deg) translateZ(' + box.depth.next + 'px)'
493
+ })
494
+ ;
495
+ },
496
+
497
+ below: function() {
498
+ var
499
+ box = {
500
+ origin : (($activeSide.outerHeight() - $nextSide.outerHeight()) / 2),
501
+ depth : {
502
+ active : ($nextSide.outerHeight() / 2),
503
+ next : ($activeSide.outerHeight() / 2)
504
+ }
505
+ }
506
+ ;
507
+ module.verbose('Setting the initial animation position as below', $nextSide, box);
508
+ $activeSide
509
+ .css({
510
+ 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'
511
+ })
512
+ ;
513
+ $nextSide
514
+ .addClass(className.animating)
515
+ .css({
516
+ 'display' : 'block',
517
+ 'top' : box.origin + 'px',
518
+ 'transform' : 'rotateX(-90deg) translateZ(' + box.depth.next + 'px)'
519
+ })
520
+ ;
521
+ },
522
+
523
+ left: function() {
524
+ var
525
+ box = {
526
+ origin : ( ( $activeSide.outerWidth() - $nextSide.outerWidth() ) / 2),
527
+ depth : {
528
+ active : ($nextSide.outerWidth() / 2),
529
+ next : ($activeSide.outerWidth() / 2)
530
+ }
531
+ }
532
+ ;
533
+ module.verbose('Setting the initial animation position as left', $nextSide, box);
534
+ $activeSide
535
+ .css({
536
+ 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'
537
+ })
538
+ ;
539
+ $nextSide
540
+ .addClass(className.animating)
541
+ .css({
542
+ 'display' : 'block',
543
+ 'left' : box.origin + 'px',
544
+ 'transform' : 'rotateY(-90deg) translateZ(' + box.depth.next + 'px)'
545
+ })
546
+ ;
547
+ },
548
+
549
+ right: function() {
550
+ var
551
+ box = {
552
+ origin : ( ( $activeSide.outerWidth() - $nextSide.outerWidth() ) / 2),
553
+ depth : {
554
+ active : ($nextSide.outerWidth() / 2),
555
+ next : ($activeSide.outerWidth() / 2)
556
+ }
557
+ }
558
+ ;
559
+ module.verbose('Setting the initial animation position as left', $nextSide, box);
560
+ $activeSide
561
+ .css({
562
+ 'transform' : 'rotateY(0deg) translateZ(' + box.depth.active + 'px)'
563
+ })
564
+ ;
565
+ $nextSide
566
+ .addClass(className.animating)
567
+ .css({
568
+ 'display' : 'block',
569
+ 'left' : box.origin + 'px',
570
+ 'transform' : 'rotateY(90deg) translateZ(' + box.depth.next + 'px)'
571
+ })
572
+ ;
573
+ },
574
+
575
+ behind: function() {
576
+ var
577
+ box = {
578
+ origin : ( ( $activeSide.outerWidth() - $nextSide.outerWidth() ) / 2),
579
+ depth : {
580
+ active : ($nextSide.outerWidth() / 2),
581
+ next : ($activeSide.outerWidth() / 2)
582
+ }
583
+ }
584
+ ;
585
+ module.verbose('Setting the initial animation position as behind', $nextSide, box);
586
+ $activeSide
587
+ .css({
588
+ 'transform' : 'rotateY(0deg)'
589
+ })
590
+ ;
591
+ $nextSide
592
+ .addClass(className.animating)
593
+ .css({
594
+ 'display' : 'block',
595
+ 'left' : box.origin + 'px',
596
+ 'transform' : 'rotateY(-180deg)'
597
+ })
598
+ ;
599
+ }
600
+ },
601
+ setting: function(name, value) {
602
+ module.debug('Changing setting', name, value);
603
+ if( $.isPlainObject(name) ) {
604
+ $.extend(true, settings, name);
605
+ }
606
+ else if(value !== undefined) {
607
+ settings[name] = value;
608
+ }
609
+ else {
610
+ return settings[name];
611
+ }
612
+ },
613
+ internal: function(name, value) {
614
+ if( $.isPlainObject(name) ) {
615
+ $.extend(true, module, name);
616
+ }
617
+ else if(value !== undefined) {
618
+ module[name] = value;
619
+ }
620
+ else {
621
+ return module[name];
622
+ }
623
+ },
624
+ debug: function() {
625
+ if(settings.debug) {
626
+ if(settings.performance) {
627
+ module.performance.log(arguments);
628
+ }
629
+ else {
630
+ module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');
631
+ module.debug.apply(console, arguments);
632
+ }
633
+ }
634
+ },
635
+ verbose: function() {
636
+ if(settings.verbose && settings.debug) {
637
+ if(settings.performance) {
638
+ module.performance.log(arguments);
639
+ }
640
+ else {
641
+ module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');
642
+ module.verbose.apply(console, arguments);
643
+ }
644
+ }
645
+ },
646
+ error: function() {
647
+ module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
648
+ module.error.apply(console, arguments);
649
+ },
650
+ performance: {
651
+ log: function(message) {
652
+ var
653
+ currentTime,
654
+ executionTime,
655
+ previousTime
656
+ ;
657
+ if(settings.performance) {
658
+ currentTime = new Date().getTime();
659
+ previousTime = time || currentTime;
660
+ executionTime = currentTime - previousTime;
661
+ time = currentTime;
662
+ performance.push({
663
+ 'Name' : message[0],
664
+ 'Arguments' : [].slice.call(message, 1) || '',
665
+ 'Element' : element,
666
+ 'Execution Time' : executionTime
667
+ });
668
+ }
669
+ clearTimeout(module.performance.timer);
670
+ module.performance.timer = setTimeout(module.performance.display, 100);
671
+ },
672
+ display: function() {
673
+ var
674
+ title = settings.name + ':',
675
+ totalTime = 0
676
+ ;
677
+ time = false;
678
+ clearTimeout(module.performance.timer);
679
+ $.each(performance, function(index, data) {
680
+ totalTime += data['Execution Time'];
681
+ });
682
+ title += ' ' + totalTime + 'ms';
683
+ if(moduleSelector) {
684
+ title += ' \'' + moduleSelector + '\'';
685
+ }
686
+ if($allModules.length > 1) {
687
+ title += ' ' + '(' + $allModules.length + ')';
688
+ }
689
+ if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
690
+ console.groupCollapsed(title);
691
+ if(console.table) {
692
+ console.table(performance);
693
+ }
694
+ else {
695
+ $.each(performance, function(index, data) {
696
+ console.log(data['Name'] + ': ' + data['Execution Time']+'ms');
697
+ });
698
+ }
699
+ console.groupEnd();
700
+ }
701
+ performance = [];
702
+ }
703
+ },
704
+ invoke: function(query, passedArguments, context) {
705
+ var
706
+ object = instance,
707
+ maxDepth,
708
+ found,
709
+ response
710
+ ;
711
+ passedArguments = passedArguments || queryArguments;
712
+ context = element || context;
713
+ if(typeof query == 'string' && object !== undefined) {
714
+ query = query.split(/[\. ]/);
715
+ maxDepth = query.length - 1;
716
+ $.each(query, function(depth, value) {
717
+ var camelCaseValue = (depth != maxDepth)
718
+ ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
719
+ : query
720
+ ;
721
+ if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {
722
+ object = object[camelCaseValue];
723
+ }
724
+ else if( object[camelCaseValue] !== undefined ) {
725
+ found = object[camelCaseValue];
726
+ return false;
727
+ }
728
+ else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {
729
+ object = object[value];
730
+ }
731
+ else if( object[value] !== undefined ) {
732
+ found = object[value];
733
+ return false;
734
+ }
735
+ else {
736
+ return false;
737
+ }
738
+ });
739
+ }
740
+ if ( $.isFunction( found ) ) {
741
+ response = found.apply(context, passedArguments);
742
+ }
743
+ else if(found !== undefined) {
744
+ response = found;
745
+ }
746
+ if($.isArray(returnedValue)) {
747
+ returnedValue.push(response);
748
+ }
749
+ else if(returnedValue !== undefined) {
750
+ returnedValue = [returnedValue, response];
751
+ }
752
+ else if(response !== undefined) {
753
+ returnedValue = response;
754
+ }
755
+ return found;
756
+ }
757
+ };
758
+
759
+ if(methodInvoked) {
760
+ if(instance === undefined) {
761
+ module.initialize();
762
+ }
763
+ module.invoke(query);
764
+ }
765
+ else {
766
+ if(instance !== undefined) {
767
+ instance.invoke('destroy');
768
+ }
769
+ module.initialize();
770
+ }
771
+ })
772
+ ;
773
+
774
+ return (returnedValue !== undefined)
775
+ ? returnedValue
776
+ : this
777
+ ;
778
+ };
779
+
780
+ $.fn.shape.settings = {
781
+
782
+ // module info
783
+ name : 'Shape',
784
+
785
+ // debug content outputted to console
786
+ debug : false,
787
+
788
+ // verbose debug output
789
+ verbose : true,
790
+
791
+ // performance data output
792
+ performance: true,
793
+
794
+ // event namespace
795
+ namespace : 'shape',
796
+
797
+ // callback occurs on side change
798
+ beforeChange : function() {},
799
+ onChange : function() {},
800
+
801
+ // allow animation to same side
802
+ allowRepeats: false,
803
+
804
+ // animation duration
805
+ duration : 700,
806
+
807
+ // possible errors
808
+ error: {
809
+ side : 'You tried to switch to a side that does not exist.',
810
+ method : 'The method you called is not defined'
811
+ },
812
+
813
+ // classnames used
814
+ className : {
815
+ animating : 'animating',
816
+ hidden : 'hidden',
817
+ loading : 'loading',
818
+ active : 'active'
819
+ },
820
+
821
+ // selectors used
822
+ selector : {
823
+ sides : '.sides',
824
+ side : '.side'
825
+ }
826
+
827
+ };
828
+
829
+
830
+ })( jQuery, window , document );