Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moving google code prettify and jquery to fobo sub modules/projects.

Some build system cleanup.
  • Loading branch information...
commit 0acc21ef97efdb5a59ec3a31d6eb8d1193e64737 1 parent 5de2335
@karma4u101 authored
Showing with 342 additions and 6,086 deletions.
  1. +0 −2  DataTables/build.sbt
  2. +0 −2  FoBo-Less/build.sbt
  3. +0 −2  Font-Awesome/build.sbt
  4. +0 −2  Foundation/build.sbt
  5. +0 −2  Google-Code-Prettify/build.sbt
  6. +0 −6 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/css/foundation-ie.css
  7. +0 −1,119 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/css/foundation.css
  8. +0 −241 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/css/orbit.css
  9. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/button-gloss.png
  10. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/button-overlay.png
  11. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/custom-form-sprites.png
  12. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/input-bg-outset.png
  13. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/input-bg.png
  14. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/modal-gloss.png
  15. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/table-sorter.png
  16. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/bullets.jpg
  17. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/left-arrow-smal.png
  18. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/left-arrow.png
  19. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/loading.gif
  20. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/mask-black.png
  21. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/pause-black.png
  22. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/right-arrow-smal.png
  23. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/right-arrow.png
  24. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/rotator-black.png
  25. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/spinner.gif
  26. BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/timer-black.png
  27. +0 −12 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/js/foundation.js
  28. +0 −607 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/js/jquery.orbit.js
  29. +0 −4 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/js/modernizr.foundation.js
  30. +0 −2  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/LICENSE.txt
  31. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/LICENSE.txt
  32. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/css/desert.css
  33. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/css/prettify.css
  34. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/css/sunburst.css
  35. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-apollo.js
  36. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-clj.js
  37. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-css.js
  38. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-go.js
  39. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-hs.js
  40. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-lisp.js
  41. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-lua.js
  42. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-ml.js
  43. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-n.js
  44. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-proto.js
  45. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-scala.js
  46. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-sql.js
  47. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-tex.js
  48. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-vb.js
  49. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-vhdl.js
  50. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-wiki.js
  51. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-xq.js
  52. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/lang-yaml.js
  53. 0  { → Google-Code-Prettify}/src/main/resources/toserve/fobo/google-code/js/prettify.js
  54. +0 −2  JQuery-Mobile/build.sbt
  55. +4 −0 JQuery/.gitignore
  56. 0  {src/main/resources/toserve/fobo/foundation → JQuery}/LICENSE.txt
  57. +106 −0 JQuery/README.md
  58. +143 −0 JQuery/build.sbt
  59. +80 −0 JQuery/src/main/scala/net/liftmodules/FoBoJQ/FoBoJQ.scala
  60. +0 −2  Knockout/build.sbt
  61. +0 −2  Twitter-Bootstrap/build.sbt
  62. +3 −3 build.sbt
  63. +4 −1 project/LiftModuleBuild.scala
  64. +0 −6 src/main/resources/toserve/fobo/foundation/2.1.4/css/foundation-ie.css
  65. +0 −1,124 src/main/resources/toserve/fobo/foundation/2.1.4/css/foundation.css
  66. +0 −228 src/main/resources/toserve/fobo/foundation/2.1.4/css/orbit.css
  67. +0 −13 src/main/resources/toserve/fobo/foundation/2.1.4/js/foundation.js
  68. +0 −597 src/main/resources/toserve/fobo/foundation/2.1.4/js/jquery.orbit.js
  69. +0 −6 src/main/resources/toserve/fobo/foundation/2.1.5/css/foundation-ie.css
  70. +0 −1,119 src/main/resources/toserve/fobo/foundation/2.1.5/css/foundation.css
  71. +0 −241 src/main/resources/toserve/fobo/foundation/2.1.5/css/orbit.css
  72. +0 −12 src/main/resources/toserve/fobo/foundation/2.1.5/js/foundation.js
  73. +0 −607 src/main/resources/toserve/fobo/foundation/2.1.5/js/jquery.orbit.js
  74. +0 −4 src/main/resources/toserve/fobo/foundation/2.1.5/js/modernizr.foundation.js
  75. BIN  src/main/resources/toserve/fobo/images/ajax-loader.gif
  76. BIN  src/main/resources/toserve/fobo/images/bootstrap/glyphicons-halflings-white.png
  77. BIN  src/main/resources/toserve/fobo/images/bootstrap/glyphicons-halflings.png
  78. BIN  src/main/resources/toserve/fobo/images/misc/button-gloss.png
  79. BIN  src/main/resources/toserve/fobo/images/misc/button-overlay.png
  80. BIN  src/main/resources/toserve/fobo/images/misc/custom-form-sprites.png
  81. BIN  src/main/resources/toserve/fobo/images/misc/input-bg-outset.png
  82. BIN  src/main/resources/toserve/fobo/images/misc/input-bg.png
  83. BIN  src/main/resources/toserve/fobo/images/misc/modal-gloss.png
  84. BIN  src/main/resources/toserve/fobo/images/misc/table-sorter.png
  85. BIN  src/main/resources/toserve/fobo/images/orbit/bullets.jpg
  86. BIN  src/main/resources/toserve/fobo/images/orbit/left-arrow-smal.png
  87. BIN  src/main/resources/toserve/fobo/images/orbit/left-arrow.png
  88. BIN  src/main/resources/toserve/fobo/images/orbit/loading.gif
  89. BIN  src/main/resources/toserve/fobo/images/orbit/mask-black.png
  90. BIN  src/main/resources/toserve/fobo/images/orbit/pause-black.png
  91. BIN  src/main/resources/toserve/fobo/images/orbit/right-arrow-smal.png
  92. BIN  src/main/resources/toserve/fobo/images/orbit/right-arrow.png
  93. BIN  src/main/resources/toserve/fobo/images/orbit/rotator-black.png
  94. BIN  src/main/resources/toserve/fobo/images/orbit/spinner.gif
  95. BIN  src/main/resources/toserve/fobo/images/orbit/timer-black.png
  96. +2 −118 src/main/scala/net/liftmodules/FoBo/FoBo.scala
View
2  DataTables/build.sbt
@@ -8,8 +8,6 @@ name <<= (name, liftVName) { (n, v) => n + "_" + v }
crossScalaVersions := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")
-logLevel := Level.Info //Level.Info.Debug
-
scalacOptions ++= Seq("-deprecation")
EclipseKeys.withSource := true
View
2  FoBo-Less/build.sbt
@@ -6,8 +6,6 @@ version := "0.5-SNAPSHOT"
//scalaVersion := "2.9.1"
-logLevel := Level.Info
-//Level.Info.Debug
//#########################################################################
//#### THE LESS BUILD
View
2  Font-Awesome/build.sbt
@@ -8,8 +8,6 @@ name <<= (name, liftVName) { (n, v) => n + "_" + v }
crossScalaVersions := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")
-logLevel := Level.Info //Level.Info.Debug
-
scalacOptions ++= Seq("-deprecation")
EclipseKeys.withSource := true
View
2  Foundation/build.sbt
@@ -8,8 +8,6 @@ name <<= (name, liftVName) { (n, v) => n + "_" + v }
crossScalaVersions := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")
-logLevel := Level.Info //Level.Info.Debug
-
scalacOptions ++= Seq("-deprecation")
EclipseKeys.withSource := true
View
2  Google-Code-Prettify/build.sbt
@@ -8,8 +8,6 @@ name <<= (name, liftVName) { (n, v) => n + "_" + v }
crossScalaVersions := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")
-logLevel := Level.Info //Level.Info.Debug
-
scalacOptions ++= Seq("-deprecation")
EclipseKeys.withSource := true
View
6 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/css/foundation-ie.css
@@ -1,6 +0,0 @@
-/* Foundation v2.1.5 http://foundation.zurb.com */
-/* This is for all IE specfific style less than IE9. We hate IE. */
-
- div.panel { border: 1px solid #ccc; }
- .lt-ie8 .nav-bar li.has-flyout a { padding-right: 20px; }
- .lt-ie8 .nav-bar li.has-flyout a:after { border-top: none; }
View
1,119 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/css/foundation.css
@@ -1,1119 +0,0 @@
-/* Foundation v2.1.5 http://foundation.zurb.com */
-/* Artfully Masterminded by ZURB */
-
-/* --------------------------------------------------
- Table of Contents
------------------------------------------------------
-:: Reset & Standards
-:: Links
-:: Lists
-:: Tables
-:: Misc
-*/
-
-
-/* --------------------------------------------------
- :: Global Reset & Standards
- -------------------------------------------------- */
-
- /*
- Eric Meyer's CSS Reset
- http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
- */
-
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- b, u, i, center,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td,
- article, aside, canvas, details, embed,
- figure, figcaption, footer, header, hgroup,
- menu, nav, output, ruby, section, summary,
- time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- font: inherit;
- vertical-align: baseline;
- }
- html {
- font-size: 62.5%;
- }
- /* HTML5 display-role reset for older browsers */
- article, aside, details, figcaption, figure,
- footer, header, hgroup, menu, nav, section {
- display: block;
- }
- body {
- line-height: 1;
- }
- ol, ul {
- list-style: none;
- }
- blockquote, q {
- quotes: none;
- }
- blockquote:before, blockquote:after,
- q:before, q:after {
- content: '';
- content: none;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
-
-
-
- body { background: #fff; font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 13px; line-height: 18px; color: #555; position: relative; -webkit-font-smoothing: antialiased; }
-
-
-
-/* --------------------------------------------------
- :: Links
- -------------------------------------------------- */
- a { color: #2a85e8; text-decoration: none; line-height: inherit; }
- a:hover { color: #11639d; }
- a:focus { color: #cc4714; outline: none; }
- p a, p a:visited { line-height: inherit; }
-
-
-/* --------------------------------------------------
- :: Lists
- -------------------------------------------------- */
- ul, ol { margin-bottom: 18px; }
- ul { list-style: none outside; }
- ol { list-style: decimal; }
- ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
- ul.square { list-style: square outside; }
- ul.circle { list-style: circle outside; }
- ul.disc { list-style: disc outside; }
- li { margin-bottom: 12px; }
- ul.large li { line-height: 21px; }
-
-
-/* --------------------------------------------------
- :: Tables
- -------------------------------------------------- */
- table { background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin: 0 0 18px; border: 1px solid #ddd; }
-
- table thead, table tfoot { background: #f5f5f5; }
- table thead tr th,
- table tfoot tr th,
- table tbody tr td,
- table tr td,
- table tfoot tr td { font-size: 12px; line-height: 18px; text-align: left; }
- table thead tr th,
- table tfoot tr td { padding: 8px 10px 9px; font-size: 14px; font-weight: bold; color: #222; }
- table thead tr th:first-child, table tfoot tr td:first-child { border-left: none; }
- table thead tr th:last-child, table tfoot tr td:last-child { border-right: none; }
-
- table tbody tr.even,
- table tbody tr.alt { background: #f9f9f9; }
- table tbody tr:nth-child(even) { background: #f9f9f9; }
- table tbody tr td { color: #333; padding: 9px 10px; vertical-align: top; border: none; }
-
-/* --------------------------------------------------
- :: Misc
----------------------------------------------------*/
- .left { float: left; }
- .right { float: right; }
- .text-left { text-align: left; }
- .text-right { text-align: right; }
- .text-center { text-align: center; }
- .hide { display: none; }
- .highlight { background: #ff0; }
-
-/* Artfully Masterminded by ZURB */
-
-/* --------------------------------------------------
- :: Typography
- -------------------------------------------------- */
- h1, h2, h3, h4, h5, h6 { color: #181818; font-weight: bold; line-height: 1.25 }
- h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
- h1 { font-size: 46px; font-size: 4.6rem; margin-bottom: 12px;}
- h2 { font-size: 35px; font-size: 3.5rem; margin-bottom: 9px; }
- h3 { font-size: 28px; font-size: 2.8rem; margin-bottom: 9px; }
- h4 { font-size: 21px; font-size: 2.1rem; margin-bottom: 3px; }
- h5 { font-size: 18px; font-size: 1.8rem; font-weight: normal; margin-bottom: 3px; }
- h6 { font-size: 15px; font-size: 1.5rem; font-weight: normal; }
-
- .subheader { color: #777; font-weight: 300; margin-bottom: 24px; }
-
- p { font-size: 13px; font-size: 1.3rem; line-height: 1.25; margin: 0 0 18px; }
- p img { margin: 0; }
- p.lead { font-size: 18px; font-size: 1.8rem; line-height: 1.5; }
-
- em, i { font-style: italic; line-height: inherit; }
- strong, b { font-weight: bold; line-height: inherit; }
- small { font-size: 60%; line-height: inherit; }
-
- h1 small, h2 small, h3 small, h4 small, h5 small { color: #777; }
-
- /* Blockquotes */
- blockquote, blockquote p { line-height: 20px; color: #777; }
- blockquote { margin: 0 0 18px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
- blockquote cite { display: block; font-size: 12px; font-size: 1.2rem; color: #555; }
- blockquote cite:before { content: "\2014 \0020"; }
- blockquote cite a, blockquote cite a:visited { color: #555; }
-
- hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 12px 0 18px; height: 0; }
-
- abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222; border-bottom: 1px solid #ddd; cursor: help; }
- abbr { text-transform: none; }
-
- /**
- * Print styles.
- *
- * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
- * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
- */
- .print-only { display: none !important; }
- @media print {
- * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
- -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
- p a, p a:visited { color: #444 !important; text-decoration: underline; }
- p a[href]:after { content: " (" attr(href) ")"; }
- abbr[title]:after { content: " (" attr(title) ")"; }
- .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
- pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
- thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
- tr, img { page-break-inside: avoid; }
- @page { margin: 0.5cm; }
- p, h2, h3 { orphans: 3; widows: 3; }
- h2, h3{ page-break-after: avoid; }
- .hide-on-print { display: none !important; }
- .print-only { display: block !important; }
- }
-/* Artfully Masterminded by ZURB */
-
-/* --------------------------------------------------
- :: Grid
-
- This is the mobile-friendly, responsive grid that
- lets Foundation work much of its magic.
-
- -------------------------------------------------- */
-
- .container { padding: 0 20px; }
-
- .row { width: 100%; max-width: 980px; min-width: 727px; margin: 0 auto; }
- /* To fix the grid into a certain size, set max-width to width */
- .row .row { min-width: 0; }
-
- .column, .columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; }
- .column:first-child, .columns:first-child { margin-left: 0; }
-
- .row .one.columns { width: 4.3%; }
- .row .two.columns { width: 13%; }
- .row .three.columns { width: 21.68%; }
- .row .four.columns { width: 30.37%; }
- .row .five.columns { width: 39.1%; }
- .row .six.columns { width: 47.8%; }
- .row .seven.columns { width: 56.5%; }
- .row .eight.columns { width: 65.2%; }
- .row .nine.columns { width: 73.9%; }
- .row .ten.columns { width: 82.6%; }
- .row .eleven.columns { width: 91.3%; }
- .row .twelve.columns { width: 100%; }
-
- .row .offset-by-one { margin-left: 13.1%; }
- .row .offset-by-two { margin-left: 21.8%; }
- .row .offset-by-three { margin-left: 30.5%; }
- .row .offset-by-four { margin-left: 39.2%; }
- .row .offset-by-five { margin-left: 47.9%; }
- .row .offset-by-six { margin-left: 56.6%; }
- .row .offset-by-seven { margin-left: 65.3%; }
- .row .offset-by-eight { margin-left: 74.0%; }
- .row .offset-by-nine { margin-left: 82.7%; }
- .row .offset-by-ten { margin-left: 91.4%; }
-
- .row .centered { float: none; margin: 0 auto; }
-
- .row .offset-by-one:first-child { margin-left: 8.7%; }
- .row .offset-by-two:first-child { margin-left: 17.4%; }
- .row .offset-by-three:first-child { margin-left: 26.1%; }
- .row .offset-by-four:first-child { margin-left: 34.8%; }
- .row .offset-by-five:first-child { margin-left: 43.5%; }
- .row .offset-by-six:first-child { margin-left: 52.2%; }
- .row .offset-by-seven:first-child { margin-left: 60.9%; }
- .row .offset-by-eight:first-child { margin-left: 69.6%; }
- .row .offset-by-nine:first-child { margin-left: 78.3%; }
- .row .offset-by-ten:first-child { margin-left: 87%; }
- .row .offset-by-eleven:first-child { margin-left: 95.7%; }
-
- /* Source Ordering */
- .push-two { left: 17.4% }
- .push-three { left: 26.1%; }
- .push-four { left: 34.8%; }
- .push-five { left: 43.5%; }
- .push-six { left: 52.2%; }
- .push-seven { left: 60.9%; }
- .push-eight { left: 69.6%; }
- .push-nine { left: 78.3%; }
- .push-ten { left: 87%; }
-
- .pull-two { right: 17.4% }
- .pull-three { right: 26.1%; }
- .pull-four { right: 34.8%; }
- .pull-five { right: 43.5%; }
- .pull-six { right: 52.2%; }
- .pull-seven { right: 60.9%; }
- .pull-eight { right: 69.6%; }
- .pull-nine { right: 78.3%; }
- .pull-ten { right: 87%; }
-
-
-
- img, object, embed { max-width: 100%; height: auto; }
- img { -ms-interpolation-mode: bicubic; }
- #map_canvas img, .map_canvas img {max-width: none!important;}
-
- /* Nicolas Gallagher's micro clearfix */
- .row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
- .row:after, .clearfix:after { clear: both; }
- .row, .clearfix { zoom: 1; }
-
-
-
-
-/* --------------------------------------------------
- :: Block grids
-
- These are 2-up, 3-up, 4-up and 5-up ULs, suited
- for repeating blocks of content. Add 'mobile' to
- them to switch them just like the layout grid
- (one item per line) on phones
-
- For IE7/8 compatibility block-grid items need to be
- the same height. You can optionally uncomment the
- lines below to support arbitrary height, but know
- that IE7/8 do not support :nth-child.
- -------------------------------------------------- */
-
- .block-grid { display: block; overflow: hidden; }
- .block-grid>li { display: block; height: auto; float: left; }
-
- .block-grid.two-up { margin-left: -4% }
- .block-grid.two-up>li { margin-left: 4%; width: 46%; }
-/* .block-grid.two-up>li:nth-child(2n+1) {clear: left;} */
-
- .block-grid.three-up { margin-left: -2% }
- .block-grid.three-up>li { margin-left: 2%; width: 31.3%; }
-/* .block-grid.three-up>li:nth-child(3n+1) {clear: left;} */
-
- .block-grid.four-up { margin-left: -2% }
- .block-grid.four-up>li { margin-left: 2%; width: 23%; }
-/* .block-grid.four-up>li:nth-child(4n+1) {clear: left;} */
-
- .block-grid.five-up { margin-left: -1.5% }
- .block-grid.five-up>li { margin-left: 1.5%; width: 18.5%; }
-/* .block-grid.five-up>li:nth-child(5n+1) {clear: left;} */
-
-/* Artfully masterminded by ZURB */
-
-
-
-/* --------------------------------------------------
- Table of Contents
------------------------------------------------------
-:: Buttons
-:: Alerts
-:: Labels
-:: Tabs
-:: Pagination
-:: Lists
-:: Panels
-:: Nav
-:: Video
-:: Microformats
-*/
-
-
-
-
-/* --------------------------------------------------
- Buttons
- -------------------------------------------------- */
-
- .button {
- background: #00a6fc;
- display: inline-block;
- text-align: center;
- padding: 9px 34px 11px;
- color: #fff;
- text-decoration: none;
- font-weight: bold;
- line-height: 1;
- font-family: "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif;
- position: relative;
- cursor: pointer;
- border: none;
- }
-
- /* Don't use native buttons on iOS */
- input[type=submit].button, button.button { -webkit-appearance: none; }
-
- .button.nice {
- background: #00a6fc url(../fobo/fobo/foundation/2.1.5/img/misc/button-gloss.png) repeat-x 0 -34px;
- -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
- -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
- text-shadow: 0 -1px 1px rgba(0,0,0,0.28);
- background: #00a6fc url(../fobo/fobo/foundation/2.1.5/img/misc/button-gloss.png) repeat-x 0 -34px, -moz-linear-gradient(top, rgba(255,255,255,.4) 0%, transparent 100%);
- background: #00a6fc url(../fobo/fobo/foundation/2.1.5/img/misc/button-gloss.png) repeat-x 0 -34px, -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.4)), color-stop(100%,transparent));
- border: 1px solid #0593dc;
- -webkit-transition: background-color .15s ease-in-out;
- -moz-transition: background-color .15s ease-in-out;
- -o-transition: background-color .15s ease-in-out;
- }
-
- .button.radius {
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- }
- .button.round {
- -moz-border-radius: 1000px;
- -webkit-border-radius: 1000px;
- border-radius: 1000px;
- }
-
- .button.full-width {
- width: 100%;
- padding-left: 0 !important;
- padding-right: 0 !important;
- text-align: center;
- }
-
- .button.left-align {
- text-align: left;
- text-indent: 12px;
- }
-
- /* Sizes ---------- */
- .small.button { font-size: 11px; padding: 8px 20px 10px; width: auto; }
- .medium.button { font-size: 13px; width: auto; }
- .large.button { font-size: 18px; padding: 11px 48px 13px; width: auto; }
-
- /* Nice Sizes ---------- */
- .nice.small.button { background-position: 0 -36px; }
- .nice.large.button { background-position: 0 -30px; }
-
- /* Colors ---------- */
- .blue.button { background-color: #00a6fc; }
- .red.button { background-color: #e91c21; }
- .white.button { background-color: #e9e9e9; color: #333; }
- .black.button { background-color: #141414; }
-
- /* Nice Colors ---------- */
- .nice.blue.button { border: 1px solid #0593dc; }
- .nice.red.button { border: 1px solid #b90b0b; }
- .nice.white.button { border: 1px solid #cacaca; text-shadow: none !important; }
- .nice.black.button { border: 1px solid #000; }
-
- /* Hovers ---------- */
- .button:hover, .button:focus { background-color: #0192dd; color: #fff; }
- .blue.button:hover, .blue.button:focus { background-color: #0192dd; }
- .red.button:hover, .red.button:focus { background-color: #d01217; }
- .white.button:hover, .white.button:focus { background-color: #dadada; color: #333; }
- .black.button:hover, .black.button:focus { background-color: #000; }
-
- /* Disabled ---------- */
- .button.disabled, .button[disabled] { opacity: 0.6; cursor: default; }
-
-
-
-/* --------------------------------------------------
- Alerts
- -------------------------------------------------- */
-
- div.alert-box { display: block; padding: 6px 7px; font-weight: bold; font-size: 13px; background: #eee; border: 1px solid rgba(0,0,0,0.1); margin-bottom: 12px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; text-shadow: 0 1px rgba(255,255,255,0.9); position: relative; }
- .alert-box.success { background-color: #7fae00; color: #fff; text-shadow: 0 -1px rgba(0,0,0,0.3); }
- .alert-box.warning { background-color: #c08c00; color: #fff; text-shadow: 0 -1px rgba(0,0,0,0.3); }
- .alert-box.error { background-color: #c00000; color: #fff; text-shadow: 0 -1px rgba(0,0,0,0.3); }
-
- .alert-box a.close { color: #000; position: absolute; right: 4px; top: 0; font-size: 18px; opacity: 0.2; padding: 4px; }
- .alert-box a.close:hover,.alert-box a.close:focus { opacity: 0.4; }
-
-/* --------------------------------------------------
- Labels
- -------------------------------------------------- */
-
- .label { padding: 0px 4px 2px; font-size: 11px; font-weight: bold; text-align: center; text-decoration: none; line-height: 1; white-space: nowrap; display: inline; position: relative; bottom: 1px; color: #fff; background: #00a6fc; }
- .label.radius { -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
- .label.round { padding: 1px 7px 2px; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
-
- /* Colors ---------- */
- .blue.label { background-color: #00a6fc; }
- .red.label { background-color: #e91c21; }
- .green.label { background-color: #7fae00; }
- .white.label { background-color: #e9e9e9; color: #333; }
- .black.label { background-color: #141414; }
-
-
-/* --------------------------------------------------
- Tabs
- -------------------------------------------------- */
- dl.tabs { display: block; margin: 0 0 20px 0; padding: 0; height: 30px; border-bottom: solid 1px #ddd; }
- dl.tabs dt { display: block; width: auto; height: 30px; padding: 0 9px 0 20px; line-height: 30px; float: left; color: #999; font-size: 11px; text-transform: uppercase; cursor: default; }
- dl.tabs dt:first-child { padding: 0 9px 0 0; }
- dl.tabs dd { display: block; width: auto; height: 30px; padding: 0; float: left; }
- dl.tabs dd a { display: block; width: auto; height: 29px; padding: 0 9px; line-height: 30px; border: solid 1px #ddd; margin: 0 -1px 0 0; color: #555; background: #eee; }
- dl.tabs dd a.active { background: #fff; border-width: 1px 1px 0 1px; height: 30px; }
-
- .nice.tabs { border-bottom: solid 1px #eee; margin: 0 0 30px 0; height:43px; }
- .nice.tabs dd a { padding: 7px 18px 9px; font-size: 15px; font-size: 1.5rem; color: #555555; background: none; border: none; }
- .nice.tabs dd a.active { font-weight: bold; color: #333; background: #fff; border-left: 1px solid #eee; border-right: 1px solid #eee; border-top: 3px solid #00a6fc; margin: 0 10px; position: relative; top: -5px; }
- .nice.tabs dd:first-child a.active { margin-left: 0; }
-
- dl.tabs.vertical { height: auto; }
- dl.tabs.vertical dt, dl.tabs.vertical dd, dl.nice.tabs.vertical dt, dl.nice.tabs.vertical dd { float: none; height: auto; }
- dl.tabs.vertical dd a { display: block; width: auto; height: auto; padding: 15px 20px; line-height: 1; border: solid 0 #ccc; border-width: 1px 1px 0; margin: 0; color: #555; background: #eee; font-size: 15px; font-size: 1.5rem; }
- dl.tabs.vertical dd a.active { height: auto; margin: 0; border-width: 1px 0 0; background: #fff; }
-
- .nice.tabs.vertical { border-bottom: solid 1px #eee; height: auto; }
- .nice.tabs.vertical dd a { padding: 15px 20px; border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; border-top: 1px solid #eee; background: #fff; }
- .nice.tabs.vertical dd a.active { border: none; background: #00a6fc; color: #fff; margin: 0; position: static; top: 0; height: auto; }
- .nice.tabs.vertical dd:first-child a.active { margin: 0; }
-
- ul.tabs-content { margin: 0; display: block; }
- ul.tabs-content>li { display:none; }
- ul.tabs-content>li.active { display: block; }
-
- dl.contained, dl.nice.contained { margin-bottom: 0; }
- dl.contained.tabs dd a { padding: 0 14px; }
- dl.nice.contained.tabs dd a { padding: 7px 18px 9px; }
-
- ul.contained.tabs-content { padding: 0; }
- ul.contained.tabs-content>li { padding: 20px; border: solid 0 #ddd; border-width: 0 1px 1px 1px; }
- ul.nice.contained.tabs-content>li { border-color: #eee; }
-
-/* --------------------------------------------------
- Pagination
- -------------------------------------------------- */
- ul.pagination { display: block; height: 24px; margin-left: -5px; }
- ul.pagination li { float: left; display: block; height: 24px; color: #999; font-size: 15px; margin-left: 5px; }
- ul.pagination li a { display: block; padding: 6px 7px 4px; color: #555; }
- ul.pagination li.current a, ul.pagination li:hover a, ul.pagination li a:focus { border-bottom: solid 2px #00a6fc; color: #141414; }
- ul.pagination li.unavailable a { cursor: default; color: #999; }
- ul.pagination li.unavailable:hover a, ul.pagination li.unavailable a:focus { border-bottom: none; }
-
-/* --------------------------------------------------
- Lists
- -------------------------------------------------- */
- ul.nice, ol.nice { list-style: none; margin: 0; }
- ul.nice li, ol.nice li { padding-left: 13px; position: relative }
- ul.nice li span.bullet, ol.nice li span.number { position: absolute; left: 0; top: 0; color: #ccc; }
-
-/* --------------------------------------------------
- Panels
- -------------------------------------------------- */
- div.panel {
- padding: 20px 20px 2px 20px;
- background: #efefef;
- background: -moz-linear-gradient(top, #FFFFFF 0%, #F4F4F4 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#F4F4F4));
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F4F4F4',GradientType=0 );
- box-shadow: 0 2px 5px rgba(0,0,0,0.15);
- -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.15);
- -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.25);
- margin: 0 0 20px 0;
- }
-
-/* --------------------------------------------------
- Nav Bar with Dropdowns
- -------------------------------------------------- */
-
- .nav-bar { height: 45px; background: #fff; margin-top: 20px; border: 1px solid #ddd; }
- .nav-bar>li { float: left; display: block; position: relative; padding: 0; margin: 0; border-right: 1px solid #ddd; line-height: 45px; }
- .nav-bar>li>a.main { position: relative; padding: 0 20px; display: block; text-decoration: none; font-size: 15px; font-size: 1.5rem; }
- .nav-bar>li>input { margin: 0 16px; }
- .nav-bar>li ul { margin-bottom: 0; }
- .nav-bar>li li { line-height: 1.3; }
- .nav-bar>li.has-flyout>a.main { padding-right: 36px; }
- .nav-bar>li.has-flyout>a.flyout-toggle { position: absolute; right: 0; top: 0; padding: 22px; z-index: 2; display: block; }
- .nav-bar>li.has-flyout>a.flyout-toggle span { content: ""; width: 0; height: 0; border-left: 4px solid transparent;border-right: 4px solid transparent; border-top: 4px solid #2a85e8; display: block; }
- .flyout { background: #fff; margin: 0; padding: 20px; border: 1px solid #ddd; position: absolute; top: 45px; left: -1px; width: 400px; z-index: 10; }
- .flyout.small { width: 200px; }
- .flyout.large { width: 600px; }
- .flyout.right { left: auto; right: 0; }
- .flyout p:last-child { margin-bottom: 0; }
- .nav-bar>li .flyout { display: none; }
-
-/* --------------------------------------------------
- Sub Navs
- http://www.zurb.com/article/292/how-to-create-simple-and-effective-sub-na
-
- -------------------------------------------------- */
-
- dl.sub-nav {
- display: block;
- width: auto;
- overflow: hidden;
- margin: -4px 0 18px -9px;
- padding-top: 4px;
- }
-
- dl.sub-nav dt, dl.sub-nav dd {
- float: left;
- display: inline;
- margin-left: 9px;
- margin-bottom: 4px;
- }
-
- dl.sub-nav dt {
- color: #999;
- font-weight: normal;
- }
-
- dl.sub-nav dd a {
- text-decoration: none;
- -webkit-border-radius: 12px;
- -moz-border-radius: 12px;
- }
- dl.sub-nav dd.active a {
- background: #00A6FC;
- color: #fff;
- padding: 3px 9px;
- }
-
-/* --------------------------------------------------
- Video
- Mad props to http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
- -------------------------------------------------- */
-
- .flex-video {
- position: relative;
- padding-top: 25px;
- padding-bottom: 67.5%;
- height: 0;
- margin-bottom: 16px;
- overflow: hidden;
- }
-
- .flex-video.widescreen { padding-bottom: 57.25%; }
- .flex-video.vimeo { padding-top: 0; }
-
- .flex-video iframe,
- .flex-video object,
- .flex-video embed {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
-
-
-
-/* --------------------------------------------------
- Microformats
- -------------------------------------------------- */
-
- /* hCard */
- ul.vcard { display: inline-block; margin: 0 0 12px 0; border: 1px solid #ddd; padding: 10px; }
- ul.vcard li { margin: 0; display: block; }
- ul.vcard li.fn { font-weight: bold; font-size: 15px; font-size: 1.5rem; }
-
- p.vevent span.summary { font-weight: bold; }
- p.vevent abbr { cursor: default; text-decoration: none; font-weight: bold; border: none; padding: 0 1px; }
-
-
-
-/* --------------------------------------------------
- Tooltips
- -------------------------------------------------- */
- .has-tip {
- border-bottom: dotted 1px #ccc;
- cursor: help;
- font-weight: bold;
- color: #333;
- }
- .has-tip:hover {
- border-bottom: dotted 1px #0593dc;
- color: #0192dd;
- }
- .tooltip {
- display: block;
- background: rgb(0,0,0);
- background: rgba(0,0,0,0.85);
- position: absolute;
- color: #fff;
- font-weight: bold;
- font-size: 12px;
- font-size: 1.2rem;
- width: auto;
- padding: 5px 9px 7px 8px;
- z-index: 999;
- }
- .tooltip > .nub {
- display: block;
- width: 0;
- height: 0;
- border: solid 6px;
- border-color: transparent transparent rgb(0,0,0) transparent;
- border-color: transparent transparent rgba(0,0,0,0.85) transparent;
- position: absolute;
- top: -12px;
- left: 10px;
- }
- .tooltip.top > .nub {
- border-color: rgb(0,0,0) transparent transparent transparent;
- border-color: rgba(0,0,0,0.85) transparent transparent transparent;
- top: auto;
- bottom: -12px;
- }
- .tooltip.left, .tooltip.right, .has-tip.left, .has-tip.right {
- float: none !important;
- }
- .tooltip.left > .nub {
- border-color: transparent transparent transparent rgb(0,0,0);
- border-color: transparent transparent transparent rgba(0,0,0,0.85);
- right: -12px;
- left: auto;
- }
- .tooltip.right > .nub {
- border-color: transparent rgb(0,0,0) transparent transparent;
- border-color: transparent rgba(0,0,0,0.85) transparent transparent;
- right: auto;
- left: -12px;
- }
- .tooltip.radius {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
- }
- .has-tip.opened {
- color: #0192DD !important;
- border-bottom: dotted 1px #0593DC !important;
- }
- .tap-to-close {
- display: block;
- font-size: 10px;
- font-size: 1.0rem;
- color: #888;
- font-weight: normal;
- }
-
-/* Artfully masterminded by ZURB
- Make sure to include app.js / foundation.js if you are going to use inline label inputs
-*/
-
-
-/* -----------------------------------------
- Standard Forms
------------------------------------------ */
-
- form { margin: 0 0 18px; }
- form label { display: block; font-size: 13px; line-height: 18px; cursor: pointer; margin-bottom: 9px; }
-
- input.input-text, textarea { border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; }
- input.input-text, textarea, select { display: block; margin-bottom: 9px; }
- label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown { margin-top: -9px; }
-
- /* Text input and textarea font and padding */
- input.input-text, textarea { font-size: 13px; padding: 4px 3px 2px; background: #fff; }
- input.input-text:focus, textarea:focus { outline: none !important; }
- input.input-text.oversize, textarea.oversize { font-size: 18px !important; padding: 4px 5px !important; }
- input.input-text:focus, textarea:focus { background: #f9f9f9; }
-
- /* Text input and textarea, disabled */
- input.input-text[disabled], textarea[disabled] { background-color: #ddd; }
-
- /* Inlined Label Style */
- input.placeholder, textarea.placeholder { color: #888; }
-
- /* Text input and textarea sizes */
- input.input-text, textarea { width: 254px; }
- input.small, textarea.small { width: 134px; }
- input.medium, textarea.medium { width: 254px; }
- input.large, textarea.large { width: 434px; }
-
- /* Fieldsets */
- form fieldset { padding: 9px 9px 2px 9px; border: solid 1px #ddd; margin: 18px 0; }
-
- /* Inlined Radio & Checkbox */
- .form-field input[type=radio], div.form-field input[type=checkbox] { display: inline; width:auto; margin-bottom:0; }
-
- /* Errors */
- .form-field.error input, input.input-text.red { border-color: #C00000; background-color: rgba(255,0,0,0.15); }
- .form-field.error label, label.red { color: #C00000; }
- .form-field.error small, small.error { margin-top: -6px; display: block; margin-bottom: 9px; font-size: 11px; color: #C00000; width: 260px; }
-
- .small + small.error { width: 140px; }
- .medium + small.error { width: 260px; }
- .large + small.error { width: 440px; }
-
- /* -----------------------------------------
- Nicer Forms
- ----------------------------------------- */
- form.nice div.form-field input, form.nice input.input-text, form.nice textarea { border: solid 1px #bbb; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
- form.nice div.form-field input, form.nice input.input-text, form.nice textarea { font-size: 13px; padding: 6px 3px 4px; outline: none !important; background: url(../fobo/fobo/foundation/2.1.5/img/misc/input-bg.png) #fff; }
- form.nice div.form-field input:focus, form.nice input.input-text:focus, form.nice textarea:focus { background-color: #f9f9f9; }
-
- /* Text input and textarea, disabled */
- form.nice div.form-field input[disabled], form.nice input.input-text[disabled], form.nice textarea[disabled] { background-color: #ddd; }
-
- form.nice fieldset { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
-
- form.nice div.form-field input[type=radio], form.nice div.form-field input[type=checkbox] { display: inline; width:auto; margin-bottom:0; }
-
- form.nice div.form-field.error small, form.nice small.error { padding: 6px 4px; border: solid 0 #C00000; border-width: 0 1px 1px 1px; margin-top: -10px; background: #C00000; color: #fff; font-size: 12px; font-weight: bold; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; -webkit-border-bottom-left-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomleft: 2px; -moz-border-radius-bottomright: 2px; }
-
- form.nice div.form-field.error .small + small, form.nice .small + small.error { width: 132px; }
- form.nice div.form-field.error .medium + small, form.nice .medium + small.error { width: 252px; }
- form.nice div.form-field.error .large + small, form.nice .large + small.error { width: 432px; }
-
- /* -----------------------------------------
- Custom Forms
- ----------------------------------------- */
-
- form.custom span.custom { display: inline-block; width: 14px; height: 14px; position: relative; top: 2px; border: solid 1px #ccc; background: url(../fobo/fobo/foundation/2.1.5/img/misc/custom-form-sprites.png) 0 0 no-repeat; }
- form.custom span.custom.radio { border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; }
- form.custom span.custom.radio.checked { background-position: 0 -14px; }
- form.custom span.custom.checkbox.checked { background-position: 0 -28px; }
-
- form.custom div.custom.dropdown { position: relative; display: inline-block; width: auto; height: 28px; margin-bottom: 9px; }
- form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; padding: 0 38px 0 6px; border: solid 1px #ddd; color: #141414; }
- form.custom div.custom.dropdown a.selector { position: absolute; width: 26px; height: 26px; display: block; background: url(../fobo/fobo/foundation/2.1.5/img/misc/custom-form-sprites.png) -14px 0 no-repeat; right: 0; top: 0; border: solid 1px #ddd; }
- form.custom div.custom.dropdown:hover a.selector,
- form.custom div.custom.dropdown.open a.selector { background-position: -14px -26px; }
-
- form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0; top: 27px; margin: 0; padding: 0; background: rgba(255,255,255,0.9); border: solid 1px #ddd; z-index: 10; }
- form.custom div.custom.dropdown ul li { cursor: pointer; padding: 3px 38px 3px 6px; margin: 0; white-space: nowrap}
- form.custom div.custom.dropdown ul li.selected { background: url(../fobo/fobo/foundation/2.1.5/img/misc/custom-form-sprites.png) right -52px no-repeat; }
- form.custom div.custom.dropdown ul li:hover { background-color: #2a85e8; color: #fff; }
- form.custom div.custom.dropdown ul li.selected:hover { background: url(../fobo/fobo/foundation/2.1.5/img/misc/custom-form-sprites.png) #2a85e8 right -78px no-repeat; }
- form.custom div.custom.dropdown ul.show { display: block; }
-
- form.custom div.custom.dropdown.open ul { display: block; }
-
- /* Custom input, disabled */
- form.custom .custom.disabled { background-color: #ddd; }
-
- /* -----------------------------------------
- Nicer Custom Forms
- ----------------------------------------- */
- form.custom.nice span.custom.checkbox { border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
-
- form.custom.nice div.custom.dropdown a.current { border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; background-image: url(../fobo/fobo/foundation/2.1.5/img/misc/input-bg-outset.png); background-position: bottom right; }
- form.custom.nice div.custom.dropdown a.selector { height: 27px; border-width: 0 0 0 1px; }
- form.custom.nice div.custom.dropdown ul { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; -webkit-border-bottom-left-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomleft: 2px; -moz-border-radius-bottomright: 2px; }
-/* --------------------------------------------------
- Reveal Modals
- -------------------------------------------------- */
-
- .reveal-modal-bg {
- position: fixed;
- height: 100%;
- width: 100%;
- background: #000;
- z-index: 40;
- display: none;
- top: 0;
- left: 0;
- }
-
- .reveal-modal {
- visibility: hidden;
- top: 100px;
- left: 50%;
- margin-left: -300px;
- width: 520px;
- background: #eee url(../fobo/fobo/foundation/2.1.5/img/misc/modal-gloss.png) no-repeat -200px -80px;
- position: absolute;
- z-index: 41;
- padding: 30px 40px 34px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
- -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
- box-shadow: 0 0 10px rgba(0,0,0,.4);
- }
-
- .reveal-modal.small { width: 200px; margin-left: -140px;}
- .reveal-modal.medium { width: 400px; margin-left: -240px;}
- .reveal-modal.large { width: 600px; margin-left: -340px;}
- .reveal-modal.xlarge { width: 800px; margin-left: -440px;}
-
- .reveal-modal .close-reveal-modal {
- font-size: 22px;
- line-height: .5;
- position: absolute;
- top: 8px;
- right: 11px;
- color: #aaa;
- text-shadow: 0 -1px 1px rbga(0,0,0,.6);
- font-weight: bold;
- cursor: pointer;
- }
-
- .reveal-modal .row {
- min-width: 0;
- }
-
- /* Mobile */
-
- @media handheld, only screen and (max-width: 1023px) {
- .reveal-modal-bg { position: absolute; }
-
- .reveal-modal,
- .reveal-modal.small,
- .reveal-modal.medium,
- .reveal-modal.large,
- .reveal-modal.xlarge { width: 60%; top: 60px; left: 15%; margin-left: 0; padding: 20px; height: auto; }
- }
-
- @media handheld, only screen and (max-width: 767px) {
- .reveal-modal-bg { position: absolute; }
-
- .reveal-modal,
- .reveal-modal.small,
- .reveal-modal.medium,
- .reveal-modal.large,
- .reveal-modal.xlarge { width: 80%; top: 15px; left: 5%; margin-left: 0; padding: 20px; height: auto; }
- }
-
-
- /*
-
- NOTES
-
- Close button entity is &#215;
-
- Example markup
-
- <div id="myModal" class="reveal-modal">
- <h2>Awesome. I have it.</h2>
- <p class="lead">Your couch. I it's mine.</p>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
- <a class="close-reveal-modal">&#215;</a>
- </div>
-
- */
-/* --------------------------------------------------
- :: Typography
- -------------------------------------------------- */
-
- @media handheld, only screen and (max-width: 767px) {
- h1 { font-size: 32px; font-size: 3.2rem; line-height: 1.3; }
- h2 { font-size: 28px; font-size: 2.8rem; line-height: 1.3; }
- h3 { font-size: 21px; font-size: 2.1rem; line-height: 1.3; }
- h4 { font-size: 18px; font-size: 1.8rem; line-height: 1.2; }
- h5 { font-size: 16px; font-size: 1.6rem; line-height: 1.2; }
- h6 { font-size: 15px; font-size: 1.5rem; line-height: 1.2; }
- body, p { font-size: 15px; font-size: 1.5rem; line-height: 1.4; }
- }
-
-
-/* --------------------------------------------------
- :: Grid
- -------------------------------------------------- */
-
- /* Mobile */
- @media only screen and (max-width: 767px) {
- body { -webkit-text-size-adjust: none; -ms-text-size-adjust: none; width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
- .container { min-width: 0; margin-left: 0; margin-right: 0; }
- .row { width: 100%; min-width: 0; margin-left: 0; margin-right: 0; }
- .row .row .column, .row .row .columns { padding: 0; }
- .column, .columns { width: auto !important; float: none; margin-left: 0; margin-right: 0; }
- .column:last-child, .columns:last-child { margin-right: 0; }
-
- .offset-by-one, .offset-by-two, .offset-by-three, .offset-by-four, .offset-by-five, .offset-by-six, .offset-by-seven, .offset-by-eight, .offset-by-nine, .offset-by-ten, .offset-by-eleven, .centered { margin-left: 0 !important; }
-
- .push-two, .push-three, .push-four, .push-five, .push-six, .push-seven, .push-eight, .push-nine, .push-ten { left: auto; }
- .pull-two, .pull-three, .pull-four, .pull-five, .pull-six, .pull-seven, .pull-eight, .pull-nine, .pull-ten { right: auto; }
-
- /* Mobile 4-column Grid */
- .row .phone-one.column:first-child, .row .phone-two.column:first-child, .row .phone-three.column:first-child, .row .phone-four.column:first-child, .row .phone-one.columns:first-child, .row .phone-two.columns:first-child, .row .phone-three.columns:first-child, .row .phone-four.columns:first-child { margin-left: 0; }
-
- .row .phone-one.column, .row .phone-two.column, .row .phone-three.column, .row .phone-four.column,
- .row .phone-one.columns, .row .phone-two.columns, .row .phone-three.columns, .row .phone-four.columns { margin-left: 4.4%; float: left; min-height: 1px; position: relative; padding: 0; }
-
- .row .phone-one.columns { width: 21.68% !important; }
- .row .phone-two.columns { width: 47.8% !important; }
- .row .phone-three.columns { width: 73.9% !important; }
- .row .phone-four.columns { width: 100% !important; }
-
- .row .columns.push-one-phone { left: 26.08%; }
- .row .columns.push-two-phone { left: 52.2% }
- .row .columns.push-three-phone { left: 78.3% }
-
- .row .columns.pull-one-phone { right: 26.08% }
- .row .columns.pull-two-phone { right: 52.2% }
- .row .columns.pull-three-phone { right: 78.3%; }
-
-
- }
-
-
-/* --------------------------------------------------
- :: Block Grids
- -------------------------------------------------- */
-
- @media only screen and (max-width: 767px) {
- .block-grid.mobile { margin-left: 0; }
- .block-grid.mobile > li { float: none; width: 100%; margin-left: 0; }
- }
-
-
-
-/* --------------------------------------------------
- :: Mobile Visibility Affordances
----------------------------------------------------*/
-
-
- .show-on-phones { display: none !important; }
- .show-on-tablets { display: none !important; }
- .show-on-desktops { display: block !important; }
-
- .hide-on-phones { display: block !important; }
- .hide-on-tablets { display: block !important; }
- .hide-on-desktops { display: none !important; }
-
- @media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px) {
- .hide-on-phones { display: block !important; }
- .hide-on-tablets { display: none !important; }
- .hide-on-desktops { display: block !important; }
-
- .show-on-phones { display: none !important; }
- .show-on-tablets { display: block !important; }
- .show-on-desktops { display: none !important; }
- }
-
- /* Modernizr-enabled tablet targeting */
- @media only screen and (max-width: 1280px) and (min-width: 768px) {
- .touch .hide-on-phones { display: block !important; }
- .touch .hide-on-tablets { display: none !important; }
- .touch .hide-on-desktops { display: block !important; }
-
- .touch .show-on-phones { display: none !important; }
- .touch .show-on-tablets { display: block !important; }
- .touch .show-on-desktops { display: none !important; }
- }
-
-
- @media only screen and (max-width: 767px) {
- .hide-on-phones { display: none !important; }
- .hide-on-tablets { display: block !important; }
- .hide-on-desktops { display: block !important; }
-
- .show-on-phones { display: block !important; }
- .show-on-tablets { display: none !important; }
- .show-on-desktops { display: none !important; }
- }
-
- /* only screen and (device-width: 1280px), only screen and (max-device-width: 1280px), /*
- /* Keeping this in as a reminder to address support for other tablet devices like the Xoom in the future */
-
- /* Specific overrides for elements that require something other than display: block */
-
- table.show-on-desktops { display: table !important; }
- table.hide-on-phones { display: table !important; }
- table.hide-on-tablets { display: table !important; }
-
- @media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px) {
- table.hide-on-phones { display: block !important; }
- table.hide-on-desktops { display: block !important; }
- table.show-on-tablets { display: block !important; }
- }
-
- @media only screen and (max-width: 767px) {
- table.hide-on-tablets { display: block !important; }
- table.hide-on-desktops { display: block !important; }
- table.show-on-phones { display: block !important; }
- }
-
-
-/* --------------------------------------------------
- :: Forms
----------------------------------------------------*/
-
-
- @media only screen and (max-width: 767px) {
- div.form-field input, div.form-field input.small, div.form-field input.medium, div.form-field input.large, div.form-field input.oversize, input.input-text, input.input-text.oversize, textarea,
- form.nice div.form-field input, form.nice div.form-field input.oversize, form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { display: block; width: 96%; padding: 6px 2% 4px; font-size: 18px; }
- form.nice div.form-field input, form.nice div.form-field input.oversize, form.nice input.input-text, form.nice input.input-text.oversize, form.nice textarea { -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
- form.nice div.form-field.error small, form.nice small.error { padding: 6px 2%; display: block; }
- form.nice div.form-field.error .small + small, form.nice .small + .error { width: auto; }
- form.nice div.form-field.error .medium + small, form.nice .medium + .error { width: auto; }
- form.nice div.form-field.error .large + small, form.nice .large + .error { width: auto; }
- }
-
-
-/* --------------------------------------------------
- :: UI
----------------------------------------------------*/
-
- /* Buttons */
- @media only screen and (max-width: 767px) {
- .button { display: block; }
- button.button { width: 100%; padding-left: 0; padding-right: 0; }
- }
-
- /* Tabs */
-
- @media only screen and (max-width: 767px) {
- dl.tabs.mobile, dl.nice.tabs.mobile { width: auto; margin: 20px -20px 40px; height: auto; }
- dl.tabs.mobile dt, dl.tabs.mobile dd, dl.nice.tabs.mobile dt, dl.nice.tabs.mobile dd { float: none; height: auto; }
-
- dl.tabs.mobile dd a { display: block; width: auto; height: auto; padding: 18px 20px; line-height: 1; border: solid 0 #ccc; border-width: 1px 0 0; margin: 0; color: #555; background: #eee; font-size: 15px; font-size: 1.5rem; }
- dl.tabs.mobile dd a.active { height: auto; margin: 0; border-width: 1px 0 0; }
-
- .nice.tabs.mobile { border-bottom: solid 1px #ccc; height: auto; }
- .nice.tabs.mobile dd a { padding: 18px 20px; border: none; border-left: none; border-right: none; border-top: 1px solid #ccc; background: #fff; }
- .nice.tabs.mobile dd a.active { border: none; background: #00a6fc; color: #fff; margin: 0; position: static; top: 0; height: auto; }
- .nice.tabs.mobile dd:first-child a.active { margin: 0; }
-
- dl.contained.mobile, dl.nice.contained.mobile { margin-bottom: 0; }
- dl.contained.tabs.mobile dd a { padding: 18px 20px; }
- dl.nice.contained.tabs.mobile dd a { padding: 18px 20px; }
- }
-
- /* Nav Bar */
-
- @media only screen and (max-width: 767px) {
- .nav-bar { height: auto; }
- .nav-bar>li { float: none; display: block; border-right: none; }
- .nav-bar>li>a.main { text-align: left; border-top: 1px solid #ddd; border-right: none; }
- .nav-bar>li:first-child>a.main { border-top: none; }
- .nav-bar>li.has-flyout>a.flyout-toggle { position: absolute; right: 0; top: 0; padding: 22px; z-index: 2; border-left: 1px dashed #eee; display: block; }
- .nav-bar>li.has-flyout>a.flyout-toggle span { content: ""; width: 0; height: 0; border-left: 4px solid transparent;border-right: 4px solid transparent; border-top: 4px solid #2a85e8; display: block; }
- .nav-bar>li.has-flyout>a.flyout-toggle:hover span { border-top-color: #141414; }
-
- .flyout { position: relative; width: auto; top: auto; margin-right: -2px; border-width: 1px 1px 0px 1px; }
- .flyout.right { float: none; right: auto; left: -1px; }
- .flyout.small, .flyout.large { width: auto; }
- .flyout p:last-child { margin-bottom: 18px; }
- }
-
-
- /* Tooltips */
- @media only screen and (max-width: 767px) {
- .tooltip {
- font-size: 14px;
- font-size: 1.4rem;
- line-height: 1.4;
- padding: 7px 10px 9px 10px;
- }
- .tooltip > .nub, .tooltip.top > .nub, .tooltip.left > .nub, .tooltip.right > .nub {
- border-color: transparent transparent rgb(0,0,0) transparent;
- border-color: transparent transparent rgba(0,0,0,0.85) transparent;
- top: -12px;
- left: 10px;
- }
- }
-
-
- /* Video */
-
- @media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
- .flex-video { padding-top: 0; }
- }
View
241 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/css/orbit.css
@@ -1,241 +0,0 @@
-/* CSS for jQuery Orbit Plugin 1.4.0
- * www.ZURB.com/playground
- * Copyright 2010, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
-
-
-
-/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
- ================================================== */
-#caseStudies {
- width: 1000px;
- height: 210px;
- background: #fff url('/classpath/fobo/fobo/foundation/2.1.5/img/orbit/loading.gif') no-repeat center center;
- overflow: hidden; }
-#caseStudies>img,
-#caseStudies>div,
-#caseStudies>a { display: none; }
-
-
-
-
-/* CONTAINER
- ================================================== */
-
-div.orbit-wrapper {
- width: 1px;
- height: 1px;
- position: relative; }
-
-div.orbit {
- width: 1px;
- height: 1px;
- position: relative;
- overflow: hidden }
-
-div.orbit.with-bullets {
- margin-bottom: 40px; }
-
-div.orbit .orbit-slide {
- max-width: 100%;
- position: absolute;
- top: 0;
- left: 0; }
-
-div.orbit a.orbit-slide {
- border: none;
- line-height: 0;
- display: none; }
-
-div.orbit div.orbit-slide {
- width: 100%;
- height: 100%; }
-
-/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
-
-
-/* TIMER
- ================================================== */
-
-div.orbit-wrapper div.timer {
- width: 40px;
- height: 40px;
- overflow: hidden;
- position: absolute;
- top: 10px;
- right: 10px;
- opacity: .6;
- cursor: pointer;
- z-index: 31; }
-
-div.orbit-wrapper span.rotator {
- display: block;
- width: 40px;
- height: 40px;
- position: absolute;
- top: 0;
- left: -20px;
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/rotator-black.png) no-repeat;
- z-index: 3; }
-
-div.orbit-wrapper span.mask {
- display: block;
- width: 20px;
- height: 40px;
- position: absolute;
- top: 0;
- right: 0;
- z-index: 2;
- overflow: hidden; }
-
-div.orbit-wrapper span.rotator.move {
- left: 0 }
-
-div.orbit-wrapper span.mask.move {
- width: 40px;
- left: 0;
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/timer-black.png) repeat 0 0; }
-
-div.orbit-wrapper span.pause {
- display: block;
- width: 40px;
- height: 40px;
- position: absolute;
- top: 0;
- left: 0;
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/pause-black.png) no-repeat;
- z-index: 4;
- opacity: 0; }
-
-div.orbit-wrapper span.pause.active {
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/pause-black.png) no-repeat 0 -40px }
-
-div.orbit-wrapper div.timer:hover span.pause,
-div.orbit-wrapper span.pause.active {
- opacity: 1 }
-
-
-/* CAPTIONS
- ================================================== */
-
-.orbit-caption {
- display: none;
- font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
-
-.orbit-wrapper .orbit-caption {
- background: #000;
- background: rgba(0,0,0,.6);
- z-index: 30;
- color: #fff;
- text-align: center;
- padding: 7px 0;
- font-size: 13px;
- position: absolute;
- right: 0;
- bottom: 0;
- width: 100%; }
-
-
-/* DIRECTIONAL NAV
- ================================================== */
-
-div.orbit-wrapper div.slider-nav {
- display: block }
-
-div.orbit-wrapper div.slider-nav span {
- width: 78px;
- height: 100px;
- text-indent: -9999px;
- position: absolute;
- z-index: 30;
- top: 50%;
- margin-top: -50px;
- cursor: pointer; }
-
-div.orbit-wrapper div.slider-nav span.right {
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/right-arrow.png);
- right: 0; }
-
-div.orbit-wrapper div.slider-nav span.left {
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/left-arrow.png);
- left: 0; }
-
-/* BULLET NAV
- ================================================== */
-
-ul.orbit-bullets {
- position: absolute;
- z-index: 30;
- list-style: none;
- bottom: -40px;
- left: 50%;
- margin-left: -50px;
- padding: 0; }
-
-ul.orbit-bullets li {
- float: left;
- margin-left: 5px;
- cursor: pointer;
- color: #999;
- text-indent: -9999px;
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/bullets.jpg) no-repeat 4px 0;
- width: 13px;
- height: 12px;
- overflow: hidden; }
-
-ul.orbit-bullets li.active {
- color: #222;
- background-position: -8px 0; }
-
-ul.orbit-bullets li.has-thumb {
- background: none;
- width: 100px;
- height: 75px; }
-
-ul.orbit-bullets li.active.has-thumb {
- background-position: 0 0;
- border-top: 2px solid #000; }
-
-/* FLUID LAYOUT
- ================================================== */
-div.orbit img.fluid-placeholder {
- visibility: hidden;
- position: static;
- display: block;
- width: 100%; }
-
-div.orbit, div.orbit-wrapper { width: 100% !important; }
-
-ul.orbit-bullets {
- position: absolute;
- z-index: 30;
- list-style: none;
- bottom: -50px;
- left: 50%;
- margin-left: -50px;
- padding: 0; }
-
-ul.orbit-bullets li {
- float: left;
- margin-left: 5px;
- cursor: pointer;
- color: #999;
- text-indent: -9999px;
- background: url(/classpath/fobo/fobo/foundation/2.1.5/img/orbit/bullets.jpg) no-repeat 4px 0;
- width: 13px;
- height: 12px;
- overflow: hidden; }
-
-ul.orbit-bullets li.has-thumb {
- background: none;
- width: 100px;
- height: 75px; }
-
-ul.orbit-bullets li.active {
- color: #222;
- background-position: -8px 0; }
-
-ul.orbit-bullets li.active.has-thumb {
- background-position: 0 0;
- border-top: 2px solid #000; }
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/button-gloss.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/button-overlay.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/custom-form-sprites.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/input-bg-outset.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/input-bg.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/modal-gloss.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/misc/table-sorter.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/bullets.jpg
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/left-arrow-smal.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/left-arrow.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/loading.gif
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/mask-black.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/pause-black.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/right-arrow-smal.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/right-arrow.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/rotator-black.png
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/spinner.gif
Deleted file not rendered
View
BIN  Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/img/orbit/timer-black.png
Deleted file not rendered
View
12 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/js/foundation.js
@@ -1,12 +0,0 @@
-/* Foundation v2.1.5 http://foundation.zurb.com */
-(function(a){a("a[data-reveal-id]").live("click",function(c){c.preventDefault();var b=a(this).attr("data-reveal-id");a("#"+b).reveal(a(this).data())});a.fn.reveal=function(b){var c={animation:"fadeAndPop",animationSpeed:300,closeOnBackgroundClick:true,dismissModalClass:"close-reveal-modal"};var b=a.extend({},c,b);return this.each(function(){var l=a(this),g=parseInt(l.css("top")),i=l.height()+g,h=false,e=a(".reveal-modal-bg");if(e.length==0){e=a('<div class="reveal-modal-bg" />').insertAfter(l);e.fadeTo("fast",0.8)}function k(){e.unbind("click.modalEvent");a("."+b.dismissModalClass).unbind("click.modalEvent");if(!h){m();if(b.animation=="fadeAndPop"){l.css({top:a(document).scrollTop()-i,opacity:0,visibility:"visible"});e.fadeIn(b.animationSpeed/2);l.delay(b.animationSpeed/2).animate({top:a(document).scrollTop()+g+"px",opacity:1},b.animationSpeed,j)}if(b.animation=="fade"){l.css({opacity:0,visibility:"visible",top:a(document).scrollTop()+g});e.fadeIn(b.animationSpeed/2);l.delay(b.animationSpeed/2).animate({opacity:1},b.animationSpeed,j)}if(b.animation=="none"){l.css({visibility:"visible",top:a(document).scrollTop()+g});e.css({display:"block"});j()}}l.unbind("reveal:open",k)}l.bind("reveal:open",k);function f(){if(!h){m();if(b.animation=="fadeAndPop"){e.delay(b.animationSpeed).fadeOut(b.animationSpeed);l.animate({top:a(document).scrollTop()-i+"px",opacity:0},b.animationSpeed/2,function(){l.css({top:g,opacity:1,visibility:"hidden"});j()})}if(b.animation=="fade"){e.delay(b.animationSpeed).fadeOut(b.animationSpeed);l.animate({opacity:0},b.animationSpeed,function(){l.css({opacity:1,visibility:"hidden",top:g});j()})}if(b.animation=="none"){l.css({visibility:"hidden",top:g});e.css({display:"none"})}}l.unbind("reveal:close",f)}l.bind("reveal:close",f);l.trigger("reveal:open");var d=a("."+b.dismissModalClass).bind("click.modalEvent",function(){l.trigger("reveal:close")});if(b.closeOnBackgroundClick){e.css({cursor:"pointer"});e.bind("click.modalEvent",function(){l.trigger("reveal:close")})}a("body").keyup(function(n){if(n.which===27){l.trigger("reveal:close")}});function j(){h=false}function m(){h=true}})}})(jQuery);(function(b){b.fn.findFirstImage=function(){return this.first().find("img").andSelf().filter("img").first()};var a={defaults:{animation:"horizontal-push",animationSpeed:600,timer:true,advanceSpeed:4000,pauseOnHover:false,startClockOnMouseOut:false,startClockOnMouseOutAfter:1000,directionalNav:true,captions:true,captionAnimation:"fade",captionAnimationSpeed:600,bullets:false,bulletThumbs:false,bulletThumbLocation:"",afterSlideChange:b.noop,fluid:true,centerBullets:true},activeSlide:0,numberSlides:0,orbitWidth:null,orbitHeight:null,locked:null,timerRunning:null,degrees:0,wrapperHTML:'<div class="orbit-wrapper" />',timerHTML:'<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>',captionHTML:'<div class="orbit-caption"></div>',directionalNavHTML:'<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>',bulletHTML:'<ul class="orbit-bullets"></ul>',init:function(f,e){var c,g=0,d=this;this.clickTimer=b.proxy(this.clickTimer,this);this.addBullet=b.proxy(this.addBullet,this);this.resetAndUnlock=b.proxy(this.resetAndUnlock,this);this.stopClock=b.proxy(this.stopClock,this);this.startTimerAfterMouseLeave=b.proxy(this.startTimerAfterMouseLeave,this);this.clearClockMouseLeaveTimer=b.proxy(this.clearClockMouseLeaveTimer,this);this.rotateTimer=b.proxy(this.rotateTimer,this);this.options=b.extend({},this.defaults,e);if(this.options.timer==="false"){this.options.timer=false}if(this.options.captions==="false"){this.options.captions=false}if(this.options.directionalNav==="false"){this.options.directionalNav=false}this.$element=b(f);this.$wrapper=this.$element.wrap(this.wrapperHTML).parent();this.$slides=this.$element.children("img, a, div");this.$element.bind("orbit.next",function(){d.shift("next")});this.$element.bind("orbit.prev",function(){d.shift("prev")});this.$element.bind("orbit.goto",function(i,h){d.shift(h)});this.$element.bind("orbit.start",function(i,h){d.startClock()});this.$element.bind("orbit.stop",function(i,h){d.stopClock()});c=this.$slides.filter("img");if(c.length===0){this.loaded()}else{c.bind("imageready",function(){g+=1;if(g===c.length){d.loaded()}})}},loaded:function(){this.$element.addClass("orbit").css({width:"1px",height:"1px"});this.$slides.addClass("orbit-slide");this.setDimentionsFromLargestSlide();this.updateOptionsIfOnlyOneSlide();this.setupFirstSlide();if(this.options.timer){this.setupTimer();this.startClock()}if(this.options.captions){this.setupCaptions()}if(this.options.directionalNav){this.setupDirectionalNav()}if(this.options.bullets){this.setupBulletNav();this.setActiveBullet()}},currentSlide:function(){return this.$slides.eq(this.activeSlide)},setDimentionsFromLargestSlide:function(){var d=this,c;d.$element.add(d.$wrapper).width(this.$slides.first().width());d.$element.add(d.$wrapper).height(this.$slides.first().height());d.orbitWidth=this.$slides.first().width();d.orbitHeight=this.$slides.first().height();c=this.$slides.first().findFirstImage().clone();this.$slides.each(function(){var e=b(this),g=e.width(),f=e.height();if(g>d.$element.width()){d.$element.add(d.$wrapper).width(g);d.orbitWidth=d.$element.width()}if(f>d.$element.height()){d.$element.add(d.$wrapper).height(f);d.orbitHeight=d.$element.height();c=b(this).findFirstImage().clone()}d.numberSlides+=1});if(this.options.fluid){if(typeof this.options.fluid==="string"){c=b('<img src="http://placehold.it/'+this.options.fluid+'" />')}d.$element.prepend(c);c.addClass("fluid-placeholder");d.$element.add(d.$wrapper).css({width:"inherit"});d.$element.add(d.$wrapper).css({height:"inherit"});b(window).bind("resize",function(){d.orbitWidth=d.$element.width();d.orbitHeight=d.$element.height()})}},lock:function(){this.locked=true},unlock:function(){this.locked=false},updateOptionsIfOnlyOneSlide:function(){if(this.$slides.length===1){this.options.directionalNav=false;this.options.timer=false;this.options.bullets=false}},setupFirstSlide:function(){var c=this;this.$slides.first().css({"z-index":3}).fadeIn(function(){c.$slides.css({display:"block"})})},startClock:function(){var c=this;if(!this.options.timer){return false}if(this.$timer.is(":hidden")){this.clock=setInterval(function(){c.$element.trigger("orbit.next")},this.options.advanceSpeed)}else{this.timerRunning=true;this.$pause.removeClass("active");this.clock=setInterval(this.rotateTimer,this.options.advanceSpeed/180)}},rotateTimer:function(){var c="rotate("+this.degrees+"deg)";this.degrees+=2;this.$rotator.css({"-webkit-transform":c,"-moz-transform":c,"-o-transform":c});if(this.degrees>180){this.$rotator.addClass("move");this.$mask.addClass("move")}if(this.degrees>360){this.$rotator.removeClass("move");this.$mask.removeClass("move");this.degrees=0;this.$element.trigger("orbit.next")}},stopClock:function(){if(!this.options.timer){return false}else{this.timerRunning=false;clearInterval(this.clock);this.$pause.addClass("active")}},setupTimer:function(){this.$timer=b(this.timerHTML);this.$wrapper.append(this.$timer);this.$rotator=this.$timer.find(".rotator");this.$mask=this.$timer.find(".mask");this.$pause=this.$timer.find(".pause");this.$timer.click(this.clickTimer);if(this.options.startClockOnMouseOut){this.$wrapper.mouseleave(this.startTimerAfterMouseLeave);this.$wrapper.mouseenter(this.clearClockMouseLeaveTimer)}if(this.options.pauseOnHover){this.$wrapper.mouseenter(this.stopClock)}},startTimerAfterMouseLeave:function(){var c=this;this.outTimer=setTimeout(function(){if(!c.timerRunning){c.startClock()}},this.options.startClockOnMouseOutAfter)},clearClockMouseLeaveTimer:function(){clearTimeout(this.outTimer)},clickTimer:function(){if(!this.timerRunning){this.startClock()}else{this.stopClock()}},setupCaptions:function(){this.$caption=b(this.captionHTML);this.$wrapper.append(this.$caption);this.setCaption()},setCaption:function(){var d=this.currentSlide().attr("data-caption"),c;if(!this.options.captions){return false}if(d){c=b(d).html();this.$caption.attr("id",d).html(c);switch(this.options.captionAnimation){case"none":this.$caption.show();break;case"fade":this.$caption.fadeIn(this.options.captionAnimationSpeed);break;case"slideOpen":this.$caption.slideDown(this.options.captionAnimationSpeed);break}}else{switch(this.options.captionAnimation){case"none":this.$caption.hide();break;case"fade":this.$caption.fadeOut(this.options.captionAnimationSpeed);break;case"slideOpen":this.$caption.slideUp(this.options.captionAnimationSpeed);break}}},setupDirectionalNav:function(){var c=this;this.$wrapper.append(this.directionalNavHTML);this.$wrapper.find(".left").click(function(){c.stopClock();c.$element.trigger("orbit.prev")});this.$wrapper.find(".right").click(function(){c.stopClock();c.$element.trigger("orbit.next")})},setupBulletNav:function(){this.$bullets=b(this.bulletHTML);this.$wrapper.append(this.$bullets);this.$slides.each(this.addBullet);this.$element.addClass("with-bullets");if(this.options.centerBullets){this.$bullets.css("margin-left",-this.$bullets.width()/2)}},addBullet:function(g,e){var d=g+1,h=b("<li>"+(d)+"</li>"),c,f=this;if(this.options.bulletThumbs){c=b(e).attr("data-thumb");if(c){h.addClass("has-thumb").css({background:"url("+this.options.bulletThumbLocation+c+") no-repeat"})}}this.$bullets.append(h);h.data("index",g);h.click(function(){f.stopClock();f.$element.trigger("orbit.goto",[h.data("index")])})},setActiveBullet:function(){if(!this.options.bullets){return false}else{this.$bullets.find("li").removeClass("active").eq(this.activeSlide).addClass("active")}},resetAndUnlock:function(){this.$slides.eq(this.prevActiveSlide).css({"z-index":1});this.unlock();this.options.afterSlideChange.call(this,this.$slides.eq(this.prevActiveSlide),this.$slides.eq(this.activeSlide))},shift:function(d){var c=d;this.prevActiveSlide=this.activeSlide;if(this.prevActiveSlide==c){return false}if(this.$slides.length=="1"){return false}if(!this.locked){this.lock();if(d=="next"){this.activeSlide++;if(this.activeSlide==this.numberSlides){this.activeSlide=0}}else{if(d=="prev"){this.activeSlide--;if(this.activeSlide<0){this.activeSlide=this.numberSlides-1}}else{this.activeSlide=d;if(this.prevActiveSlide<this.activeSlide){c="next"}else{if(this.prevActiveSlide>this.activeSlide){c="prev"}}}}this.setActiveBullet();this.$slides.eq(this.prevActiveSlide).css({"z-index":2});if(this.options.animation=="fade"){this.$slides.eq(this.activeSlide).css({opacity:0,"z-index":3}).animate({opacity:1},this.options.animationSpeed,this.resetAndUnlock)}if(this.options.animation=="horizontal-slide"){if(c=="next"){this.$slides.eq(this.activeSlide).css({left:this.orbitWidth,"z-index":3}).animate({left:0},this.options.animationSpeed,this.resetAndUnlock)}if(c=="prev"){this.$slides.eq(this.activeSlide).css({left:-this.orbitWidth,"z-index":3}).animate({left:0},this.options.animationSpeed,this.resetAndUnlock)}}if(this.options.animation=="vertical-slide"){if(c=="prev"){this.$slides.eq(this.activeSlide).css({top:this.orbitHeight,"z-index":3}).animate({top:0},this.options.animationSpeed,this.resetAndUnlock)}if(c=="next"){this.$slides.eq(this.activeSlide).css({top:-this.orbitHeight,"z-index":3}).animate({top:0},this.options.animationSpeed,this.resetAndUnlock)}}if(this.options.animation=="horizontal-push"){if(c=="next"){this.$slides.eq(this.activeSlide).css({left:this.orbitWidth,"z-index":3}).animate({left:0},this.options.animationSpeed,this.resetAndUnlock);this.$slides.eq(this.prevActiveSlide).animate({left:-this.orbitWidth},this.options.animationSpeed)}if(c=="prev"){this.$slides.eq(this.activeSlide).css({left:-this.orbitWidth,"z-index":3}).animate({left:0},this.options.animationSpeed,this.resetAndUnlock);this.$slides.eq(this.prevActiveSlide).animate({left:this.orbitWidth},this.options.animationSpeed)}}if(this.options.animation=="vertical-push"){if(c=="next"){this.$slides.eq(this.activeSlide).css({top:-this.orbitHeight,"z-index":3}).animate({top:0},this.options.animationSpeed,this.resetAndUnlock);this.$slides.eq(this.prevActiveSlide).animate({top:this.orbitHeight},this.options.animationSpeed)}if(c=="prev"){this.$slides.eq(this.activeSlide).css({top:this.orbitHeight,"z-index":3}).animate({top:0},this.options.animationSpeed,this.resetAndUnlock);this.$slides.eq(this.prevActiveSlide).animate({top:-this.orbitHeight},this.options.animationSpeed)}}this.setCaption()}}};b.fn.orbit=function(c){return this.each(function(){var d=b.extend({},a);d.init(this,c)})}})(jQuery);
-/*!
- * jQuery imageready Plugin
- * http://www.zurb.com/playground/
- *
- * Copyright 2011, ZURB
- * Released under the MIT License
- */
-(function(c){var b={};c.event.special.imageready={setup:function(f,e,d){b=f||b},add:function(d){var e=c(this),f;if(this.nodeType===1&&this.tagName.toLowerCase()==="img"&&this.src!==""){if(b.forceLoad){f=e.attr("src");e.attr("src","");a(this,d.handler);e.attr("src",f)}else{if(this.complete||this.readyState===4){d.handler.apply(this,arguments)}else{a(this,d.handler)}}}},teardown:function(d){c(this).unbind(".imageready")}};function a(d,f){var e=c(d);e.bind("load.imageready",function(){f.apply(d,arguments);e.unbind("load.imageready")})}}(jQuery));jQuery(document).ready(function(c){function b(d){c("form.custom input:"+d).each(function(){var f=c(this).hide(),e=f.next("span.custom."+d);if(e.length===0){e=c('<span class="custom '+d+'"></span>').insertAfter(f)}e.toggleClass("checked",f.is(":checked"));e.toggleClass("disabled",f.is(":disabled"))})}b("checkbox");b("radio");function a(f){var g=c(f),i=g.next("div.custom.dropdown"),d=g.find("option"),e=0,h;if(i.length===0){i=c('<div class="custom dropdown"><a href="#" class="selector"></a><ul></ul></div>"');d.each(function(){h=c("<li>"+c(this).html()+"</li>");i.find("ul").append(h)});i.prepend('<a href="#" class="current">'+d.first().html()+"</a>");g.after(i);g.hide()}else{i.find("ul").html("");d.each(function(){h=c("<li>"+c(this).html()+"</li>");i.find("ul").append(h)})}i.toggleClass("disabled",g.is(":disabled"));d.each(function(j){if(this.selected){i.find("li").eq(j).addClass("selected");i.find(".current").html(c(this).html())}});i.find("li").each(function(){i.addClass("open");if(c(this).outerWidth()>e){e=c(this).outerWidth()}i.removeClass("open")});i.css("width",e+18+"px");i.find("ul").css("width",e+16+"px")}c("form.custom select").each(function(){a(this)})});(function(c){function b(e){var f=0,g=e.next();$options=e.find("option");g.find("ul").html("");$options.each(function(){$li=c("<li>"+c(this).html()+"</li>");g.find("ul").append($li)});$options.each(function(h){if(this.selected){g.find("li").eq(h).addClass("selected");g.find(".current").html(c(this).html())}});g.removeAttr("style").find("ul").removeAttr("style");g.find("li").each(function(){g.addClass("open");if(c(this).outerWidth()>f){f=c(this).outerWidth()}g.removeClass("open")});g.css("width",f+18+"px");g.find("ul").css("width",f+16+"px")}function a(e){var g=e.prev(),f=g[0];if(false==g.is(":disabled")){f.checked=((f.checked)?false:true);e.toggleClass("checked");g.trigger("change")}}function d(e){var g=e.prev(),f=g[0];c('input:radio[name="'+g.attr("name")+'"]').each(function(){c(this).next().removeClass("checked")});f.checked=((f.checked)?false:true);e.toggleClass("checked");g.trigger("change")}c("form.custom span.custom.checkbox").live("click",function(e){e.preventDefault();e.stopPropagation();a(c(this))});c("form.custom span.custom.radio").live("click",function(e){e.preventDefault();e.stopPropagation();d(c(this))});c("form.custom select").live("change",function(e){b(c(this))});c("form.custom label").live("click",function(f){var e=c("#"+c(this).attr("for")),h,g;if(e.length!==0){if(e.attr("type")==="checkbox"){f.preventDefault();h=c(this).find("span.custom.checkbox");a(h)}else{if(e.attr("type")==="radio"){f.preventDefault();g=c(this).find("span.custom.radio");d(g)}}}});c("form.custom div.custom.dropdown a.current, form.custom div.custom.dropdown a.selector").live("click",function(f){var h=c(this),g=h.closest("div.custom.dropdown"),e=g.prev();f.preventDefault();if(false==e.is(":disabled")){g.toggleClass("open");if(g.hasClass("open")){c(document).bind("click.customdropdown",function(i){g.removeClass("open");c(document).unbind(".customdropdown")})}else{c(document).unbind(".customdropdown")}}});c("form.custom div.custom.dropdown li").live("click",function(h){var i=c(this),f=i.closest("div.custom.dropdown"),g=f.prev(),e=0;h.preventDefault();h.stopPropagation();i.closest("ul").find("li").removeClass("selected");i.addClass("selected");f.removeClass("open").find("a.current").html(i.html());i.closest("ul").find("li").each(function(j){if(i[0]==this){e=j}});g[0].selectedIndex=e;g.trigger("change")})})(jQuery);
-/*! http://mths.be/placeholder v1.8.7 by @mathias */
-(function(o,m,r){var t="placeholder" in m.createElement("input"),q="placeholder" in m.createElement("textarea"),l=r.fn,k;if(t&&q){k=l.placeholder=function(){return this};k.input=k.textarea=true}else{k=l.placeholder=function(){return this.filter((t?"textarea":":input")+"[placeholder]").not(".placeholder").bind("focus.placeholder",s).bind("blur.placeholder",p).trigger("blur.placeholder").end()};k.input=t;k.textarea=q;r(function(){r(m).delegate("form","submit.placeholder",function(){var a=r(".placeholder",this).each(s);setTimeout(function(){a.each(p)},10)})});r(o).bind("unload.placeholder",function(){r(".placeholder").val("")})}function n(b){var c={},a=/^jQuery\d+$/;r.each(b.attributes,function(d,e){if(e.specified&&!a.test(e.name)){c[e.name]=e.value}});return c}function s(){var a=r(this);if(a.val()===a.attr("placeholder")&&a.hasClass("placeholder")){if(a.data("placeholder-password")){a.hide().next().show().focus().attr("id",a.removeAttr("id").data("placeholder-id"))}else{a.val("").removeClass("placeholder")}}}function p(){var d,e=r(this),c=e,a=this.id;if(e.val()===""){if(e.is(":password")){if(!e.data("placeholder-textinput")){try{d=e.clone().attr({type:"text"})}catch(b){d=r("<input>").attr(r.extend(n(this),{type:"text"}))}d.removeAttr("name").data("placeholder-password",true).data("placeholder-id",a).bind("focus.placeholder",s);e.data("placeholder-textinput",d).data("placeholder-id",a).before(d)}e=e.removeAttr("id").hide().prev().attr("id",a).show()}e.addClass("placeholder").val(e.attr("placeholder"))}else{e.removeClass("placeholder")}}}(this,document,jQuery));
View
607 Google-Code-Prettify/src/main/resources/toserve/fobo/foundation/2.1.5/js/jquery.orbit.js
@@ -1,607 +0,0 @@
-/*
- * jQuery Orbit Plugin 1.4.0
- * www.ZURB.com/playground
- * Copyright 2010, ZURB
- * Free to use under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
-*/
-
-
-(function($) {
-
- $.fn.findFirstImage = function () {
- return this.first()
- .find('img')
- .andSelf().filter('img')
- .first();
- };
-
- var ORBIT = {
-
- defaults: {
- animation: 'horizontal-push', // fade, horizontal-slide, vertical-slide, horizontal-push, vertical-push
- animationSpeed: 600, // how fast animtions are
- timer: true, // true or false to have the timer
- advanceSpeed: 4000, // if timer is enabled, time between transitions
- pauseOnHover: false, // if you hover pauses the slider
- startClockOnMouseOut: false, // if clock should start on MouseOut
- startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again
- directionalNav: true, // manual advancing directional navs
- captions: true, // do you want captions?
- captionAnimation: 'fade', // fade, slideOpen, none
- captionAnimationSpeed: 600, // if so how quickly should they animate in
- bullets: false, // true or false to activate the bullet navigation
- bulletThumbs: false, // thumbnails for the bullets
- bulletThumbLocation: '', // location from this file where thumbs will be
- afterSlideChange: $.noop, // empty function
- fluid: true,
- centerBullets: true // center bullet nav with js, turn this off if you want to position the bullet nav manually
- },
-
- activeSlide: 0,
- numberSlides: 0,
- orbitWidth: null,
- orbitHeight: null,
- locked: null,
- timerRunning: null,
- degrees: 0,
- wrapperHTML: '<div class="orbit-wrapper" />',
- timerHTML: '<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>',
- captionHTML: '<div class="orbit-caption"></div>',
- directionalNavHTML: '<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>',
- bulletHTML: '<ul class="orbit-bullets"></ul>',
-
- init: function (element, options) {
- var $imageSlides,
- imagesLoadedCount = 0,
- self = this;
-
- // Bind functions to correct context
- this.clickTimer = $.proxy(this.clickTimer, this);
- this.addBullet = $.proxy(this.addBullet, this);
- this.resetAndUnlock = $.proxy(this.resetAndUnlock, this);
- this.stopClock = $.proxy(this.stopClock, this);
- this.startTimerAfterMouseLeave = $.proxy(this.startTimerAfterMouseLeave, this);
- this.clearClockMouseLeaveTimer = $.proxy(this.clearClockMouseLeaveTimer, this);
- this.rotateTimer = $.proxy(this.rotateTimer, this);
-
- this.options = $.extend({}, this.defaults, options);
- if (this.options.timer === 'false') this.options.timer = false;
- if (this.options.captions === 'false') this.options.captions = false;
- if (this.options.directionalNav === 'false') this.options.directionalNav = false;
-
- this.$element = $(element);
- this.$wrapper = this.$element.wrap(this.wrapperHTML).parent();
- this.$slides = this.$element.children('img, a, div');
-
- this.$element.bind('orbit.next', function () {
- self.shift('next');
- });
-
- this.$element.bind('orbit.prev', function () {
- self.shift('prev');
- });
-
- this.$element.bind('orbit.goto', function (event, index) {
- self.shift(index);
- });
-
- this.$element.bind('orbit.start', function (event, index) {
- self.startClock();
- });
-
- this.$element.bind('orbit.stop', function (event, index) {
- self.stopClock();
- });
-
- $imageSlides = this.$slides.filter('img');
-
- if ($imageSlides.length === 0) {
- this.loaded();
- } else {
- $imageSlides.bind('imageready', function () {
- imagesLoadedCount += 1;
- if (imagesLoadedCount === $imageSlides.length) {
- self.loaded();
- }
- });
- }
- },
-
- loaded: function () {
- this.$element
- .addClass('orbit')
- .css({width: '1px', height: '1px'});
-
- this.$slides.addClass('orbit-slide');
-
- this.setDimentionsFromLargestSlide();
- this.updateOptionsIfOnlyOneSlide();
- this.setupFirstSlide();
-
- if (this.options.timer) {
- this.setupTimer();
- this.startClock();
- }
-
- if (this.options.captions) {
- this.setupCaptions();
- }
-
- if (this.options.directionalNav) {
- this.setupDirectionalNav();
- }
-
- if (this.options.bullets) {
- this.setupBulletNav();
- this.setActiveBullet();
- }
- },
-
- currentSlide: function () {
- return this.$slides.eq(this.activeSlide);
- },
-
- setDimentionsFromLargestSlide: function () {
- //Collect all slides and set slider size of largest image
- var self = this,
- $fluidPlaceholder;
-
- self.$element.add(self.$wrapper).width(this.$slides.first().width());
- self.$element.add(self.$wrapper).height(this.$slides.first().height());
- self.orbitWidth = this.$slides.first().width();
- self.orbitHeight = this.$slides.first().height();
- $fluidPlaceholder = this.$slides.first().findFirstImage().clone();
-
-
- this.$slides.each(function () {
- var slide = $(this),
- slideWidth = slide.width(),
- slideHeight = slide.height();
-
- if (slideWidth > self.$element.width()) {
- self.$element.add(self.$wrapper).width(slideWidth);
- self.orbitWidth = self.$element.width();
- }
- if (slideHeight > self.$element.height()) {
- self.$element.add(self.$wrapper).height(slideHeight);
- self.orbitHeight = self.$element.height();
- $fluidPlaceholder = $(this).findFirstImage().clone();
- }
- self.numberSlides += 1;
- });
-
- if (this.options.fluid) {
- if (typeof this.options.fluid === "string") {
- $fluidPlaceholder = $('<img src="http://placehold.it/' + this.options.fluid + '" />')
- }
-
- self.$element.prepend($fluidPlaceholder);
- $fluidPlaceholder.addClass('fluid-placeholder');
- self.$element.add(self.$wrapper).css({width: 'inherit'});
- self.$element.add(self.$wrapper).css({height: 'inherit'});
-
- $(window).bind('resize', function () {
- self.orbitWidth = self.$element.width();
- self.orbitHeight = self.$element.height();
- });
- }
- },
-
- //Animation locking functions
- lock: function () {
- this.locked = true;
- },
-
- unlock: function () {
- this.locked = false;
- },
-
- updateOptionsIfOnlyOneSlide: function () {
- if(this.$slides.length === 1) {
- this.options.directionalNav = false;
- this.options.timer = false;
- this.options.bullets = false;
- }
- },
-
- setupFirstSlide: function () {
- //Set initial front photo z-index and fades it in
- var self = this;
- this.$slides.first()
- .css({"z-index" : 3})
- .fadeIn(function() {
- //brings in all other slides IF css declares a display: none
- self.$slides.css({"display":"block"})
- });
- },
-
- startClock: function () {
- var self = this;
-
- if(!this.options.timer) {
- return false;
- }
-
- if (this.$timer.is(':hidden')) {
- this.clock = setInterval(function () {
- self.$element.trigger('orbit.next');
- }, this.options.advanceSpeed);
- } else {
- this.timerRunning = true;
- this.$pause.removeClass('active')
- this.clock = setInterval(this.rotateTimer, this.options.advanceSpeed / 180);
- }
- },
-
- rotateTimer: function () {
- var degreeCSS = "rotate(" + this.degrees + "deg)"
- this.degrees += 2;
- this.$rotator.css({
- "-webkit-transform": degreeCSS,
- "-moz-transform": degreeCSS,
- "-o-transform": degreeCSS
- });
- if(this.degrees > 180) {
- this.$rotator.addClass('move');
- this.$mask.addClass('move');
- }
- if(this.degrees > 360) {
- this.$rotator.removeClass('move');
- this.$mask.removeClass('move');
- this.degrees = 0;
- this.$element.trigger('orbit.next');
- }
- },
-
- stopClock: function () {
- if (!this.options.timer) {
- return false;
- } else {
- this.timerRunning = false;
- clearInterval(this.clock);
- this.$pause.addClass('active');
- }
- },
-
- setupTimer: function () {
- this.$timer = $(this.timerHTML);
- this.$wrapper.append(this.$timer);
-
- this.$rotator = this.$timer.find('.rotator');
- this.$mask = this.$timer.find('.mask');
- this.$pause = this.$timer.find('.pause');
-
- this.$timer.click(this.clickTimer);
-
- if (this.options.startClockOnMouseOut) {
- this.$wrapper.mouseleave(this.startTimerAfterMouseLeave);
- this.$wrapper.mouseenter(this.clearClockMouseLeaveTimer);
- }
-
- if (this.options.pauseOnHover) {
- this.$wrapper.mouseenter(this.stopClock);
- }
- },
-
- startTimerAfterMouseLeave: function () {
- var self = this;
-
- this.outTimer = setTimeout(function() {
- if(!self.timerRunning){
- self.startClock();
- }
- }, this.options.startClockOnMouseOutAfter)
- },
-
- clearClockMouseLeaveTimer: function () {
- clearTimeout(this.outTimer);
- },
-
- clickTimer: function () {
- if(!this.timerRunning) {
- this.startClock();
- } else {
- this.stopClock();
- }
- },
-
- setupCaptions: function () {
- this.$caption = $(this.captionHTML);
- this.$wrapper.append(this.$caption);
- this.setCaption();
- },
-
- setCaption: function () {
- var captionLocation = this.currentSlide().attr('data-caption'),
- captionHTML;
-
- if (!this.options.captions) {
- return false;
- }
-
- //Set HTML for the caption if it exists
- if (captionLocation) {
- captionHTML = $(captionLocation).html(); //get HTML from the matching HTML entity
- this.$caption
- .attr('id', captionLocation) // Add ID caption TODO why is the id being set?
- .html(captionHTML); // Change HTML in Caption
- //Animations for Caption entrances
- switch (this.options.captionAnimation) {
- case 'none':
- this.$caption.show();
- break;
- case 'fade':
- this.$caption.fadeIn(this.options.captionAnimationSpeed);
- break;
- case 'slideOpen':
- this.$caption.slideDown(this.options.captionAnimationSpeed);
- break;
- }
- } else {
- //Animations for Caption exits
- switch (this.options.captionAnimation) {
- case 'none':
- this.$caption.hide();
- break;
- case 'fade':
- this.$caption.fadeOut(this.options.captionAnimationSpeed);
- break;
- case 'slideOpen':
- this.$caption.slideUp(this.options.captionAnimationSpeed);
- break;
- }
- }
- },
-
- setupDirectionalNav: function () {
- var self = this;
-
- this.$wrapper.append(this.directionalNavHTML);
-
- this.$wrapper.find('.left').click(function () {
- self.stopClock();
- self.$element.trigger('orbit.prev');
- });
-
- this.$wrapper.find('.right').click(function () {
- self.stopClock();
- self.$element.trigger('orbit.next');
- });
- },
-
- setupBulletNav: function () {
- this.$bullets = $(this.bulletHTML);
- this.$wrapper.append(this.$bullets);
- this.$slides.each(this.addBullet);
- this.$element.addClass('with-bullets');
- if (this.options.centerBullets) this.$bullets.css('margin-left', -this.$bullets.width() / 2);
- },
-
- addBullet: function (index, slide) {
- var position = index + 1,
- $li = $('<li>' + (position) + '</li>'),
- thumbName,
- self = this;
-
- if (this.options.bulletThumbs) {
- thumbName = $(slide).attr('data-thumb');
- if (thumbName) {
- $li
- .addClass('has-thumb')
- .css({background: "url(" + this.options.bulletThumbLocation + thumbName + ") no-repeat"});;
- }
- }
- this.$bullets.append($li);
- $li.data('index', index);
- $li.click(function () {
- self.stopClock();
- self.$element.trigger('orbit.goto', [$li.data('index')])
- });
- },
-
- setActiveBullet: function () {
- if(!this.options.bullets) { return false; } else {
- this.$bullets.find('li')
- .removeClass('active')
- .eq(this.activeSlide)
- .addClass('active');
- }
- },
-
- resetAndUnlock: function () {
- this.$slides
- .eq(this.prevActiveSlide)
- .css({"z-index" : 1});
- this.unlock();
- this.options.afterSlideChange.call(this, this.$slides.eq(this.prevActiveSlide), this.$slides.eq(this.activeSlide));
- },
-
- shift: function (direction) {
- var slideDirection = direction;
-
- //remember previous activeSlide
- this.prevActiveSlide = this.activeSlide;
-
- //exit function if bullet clicked is same as the current image
- if (this.prevActiveSlide == slideDirection) { return false; }
-
- if (this.$slides.length == "1") { return false; }
- if (!this.locked) {
- this.lock();
- //deduce the proper activeImage
- if (direction == "next") {
- this.activeSlide++;
- if (this.activeSlide == this.numberSlides) {
- this.activeSlide = 0;
- }
- } else if (direction == "prev") {
- this.activeSlide--
- if (this.activeSlide < 0) {
- this.activeSlide = this.numberSlides - 1;
- }
- } else {
- this.activeSlide = direction;
- if (this.prevActiveSlide < this.activeSlide) {
- slideDirection = "next";
- } else if (this.prevActiveSlide > this.activeSlide) {
- slideDirection = "prev"
- }
- }
-
- //set to correct bullet
- this.setActiveBullet();
-
- //set previous slide z-index to one below what new activeSlide will be
- this.$slides
- .eq(this.prevActiveSlide)
- .css({"z-index" : 2});
-
- //fade
- if (this.options.animation == "fade") {
- this.$slides
- .eq(this.activeSlide)
- .css({"opacity" : 0, "z-index" : 3})
- .animate({"opacity" : 1}, this.options.animationSpeed, this.resetAndUnlock);
- }
-
- //horizontal-slide
- if (this.options.animation == "horizontal-slide") {
- if (slideDirection == "next") {
- this.$slides
- .eq(this.activeSlide)
- .css({"left": this.orbitWidth, "z-index" : 3})
- .animate({"left" : 0}, this.options.animationSpeed, this.resetAndUnlock);
- }
- if (slideDirection == "prev") {
- this.$slides
- .eq(this.activeSlide)
- .css({"left": -this.orbitWidth, "z-index" : 3})
- .animate({"left" : 0}, this.options.animationSpeed, this.resetAndUnlock);
- }
- }
-
- //vertical-slide
- if (this.options.animation == "vertical-slide") {
- if (slideDirection == "prev") {
- this.$slides
- .eq(this.activeSlide)
- .css({"top": this.orbitHeight, "z-index" : 3})
- .animate({"top" : 0}, this.options.animationSpeed, this.resetAndUnlock);
- }
- if (slideDirection == "next") {
- this.$slides
- .eq(this.activeSlide)
- .css({"top": -this.orbitHeight, "z-index" : 3})
- .animate({"top" : 0}, this.options.animationSpeed, this.resetAndUnlock);
- }
- }
-
- //horizontal-push
- if (this.options.animation == "horizontal-push") {
- if (slideDirection == "next") {
- this.$slides
- .eq(this.activeSlide)
- .css({"left": this.orbitWidth, "z-index" : 3})
- .animate({"left" : 0}, this.options.animationSpeed, this.resetAndUnlock);
- this.$slides
- .eq(this.prevActiveSlide)
- .animate({"left" : -this.orbitWidth}, this.options.animationSpeed);
- }
- if (slideDirection == "prev") {
- this.$slides
- .eq(this.activeSlide)
- .css({"left": -this.orbitWidth, "z-index" : 3})
- .animate({"left" : 0}, this.options.animationSpeed, this.resetAndUnlock);
- this.$slides
- .eq(this.prevActiveSlide)
- .animate({"left" : this.orbitWidth}, this.options.animationSpeed);
- }
- }
-
- //vertical-push
- if (this.options.animation == "vertical-push") {
- if (slideDirection == "next") {
- this.$slides
- .eq(this.activeSlide)
- .css({top: -this.orbitHeight, "z-index" : 3})
- .animate({top : 0}, this.options.animationSpeed, this.resetAndUnlock);
- this.$slides
- .eq(this.prevActiveSlide)
- .animate({top : this.orbitHeight}, this.options.animationSpeed);
- }
- if (slideDirection == "prev") {
- this.$slides
- .eq(this.activeSlide)
- .css({top: this.orbitHeight, "z-index" : 3})
- .animate({top : 0}, this.options.animationSpeed, this.resetAndUnlock);
- this.$slides
- .eq(this.prevActiveSlide)
- .animate({top : -this.orbitHeight}, this.options.animationSpeed);
- }
- }
-
- this.setCaption();
- }
- }
- };
-
- $.fn.orbit = function (options) {
- return this.each(function () {
- var orbit = $.extend({}, ORBIT);
- orbit.init(this, options);
- });
- };
-
-})(jQuery);
-
-/*!
- * jQuery imageready Plugin
- * http://www.zurb.com/playground/
- *
- * Copyright 2011, ZURB
- * Released under the MIT License
- */
-(function ($) {
-
- var options = {};
-
- $.event.special.imageready = {
-
- setup: function (data, namespaces, eventHandle) {
- options = data || options;
- },
-
- add: function (handleObj) {
- var $th