Permalink
Browse files

pulled resources up into project from demo app

  • Loading branch information...
1 parent 51f3819 commit 61f6e79fea14cf677db1d547fb5f4639ba534c54 @zachlendon committed May 3, 2012
Showing with 7,057 additions and 450 deletions.
  1. +20 −0 grails-app/views/layouts/metro.gsp
  2. +147 −0 web-app/css/app-bar.css
  3. +16 −0 web-app/css/jquery.mobile.fixedToolbar.polyfill.css
  4. BIN web-app/css/{ → metro}/images/ajax-loader.png
  5. BIN web-app/css/{ → metro}/images/checkbox-disabled.png
  6. BIN web-app/css/{ → metro}/images/checkbox.png
  7. BIN web-app/css/{ → metro}/images/icons-18-black.png
  8. BIN web-app/css/{ → metro}/images/icons-18-white.png
  9. BIN web-app/css/{ → metro}/images/icons-36-black.png
  10. BIN web-app/css/{ → metro}/images/icons-36-white.png
  11. BIN web-app/css/{ → metro}/images/radiobtn-disabled.png
  12. BIN web-app/css/{ → metro}/images/radiobtn.png
  13. BIN web-app/css/{ → metro}/images/wait-indicator.gif
  14. +450 −450 web-app/css/{ → metro}/jquery.mobile.metro.theme.css
  15. +18 −0 web-app/css/metro/jquery.mobile.metro.theme.init.js
  16. +267 −0 web-app/css/mobiscroll-1.5.3.css
  17. +43 −0 web-app/css/progress-bar.css
  18. +72 −0 web-app/css/toggle-button.css
  19. BIN web-app/images/appbar.cancel.rest.dark.png
  20. BIN web-app/images/appbar.cancel.rest.light.png
  21. BIN web-app/images/appbar.check.rest.dark.png
  22. BIN web-app/images/appbar.check.rest.ligth.png
  23. BIN web-app/images/empty.png
  24. BIN web-app/images/help.dark.png
  25. BIN web-app/images/help.light.png
  26. BIN web-app/images/set.dark.png
  27. BIN web-app/images/set.light.png
  28. BIN web-app/images/wait-indicator.gif
  29. +85 −0 web-app/js/app-bar.js
  30. +35 −0 web-app/js/backButtonHandler.js
  31. +3,832 −0 web-app/js/cordova-1.5.0.js
  32. +64 −0 web-app/js/dateTimePicker.js
  33. +121 −0 web-app/js/jquery.cordova.metro.themeswitcher.js
  34. +205 −0 web-app/js/jquery.easing.1.3.js
  35. +109 −0 web-app/js/jquery.globalstylesheet.js
  36. +90 −0 web-app/js/jquery.mobile.fixedToolbar.polyfill.js
  37. +213 −0 web-app/js/jquery.mobile.themeswitcher.js
  38. +1,092 −0 web-app/js/mobiscroll-1.5.3.js
  39. +18 −0 web-app/js/phoneTheme.js
  40. +72 −0 web-app/js/progress-bar.js
  41. +88 −0 web-app/js/toggle-button.js
@@ -0,0 +1,20 @@
+<!doctype html>
+<html>
+<head>
+<title><g:layoutTitle default="Grails" /></title>
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<link rel="shortcut icon"
+ href="${resource(dir: 'images', file: 'favicon.ico')}"
+ type="image/x-icon" />
+<link rel="apple-touch-icon"
+ href="${resource(dir: 'images', file: 'apple-touch-icon.png')}">
+<r:require modules="jquery-mobile-metro" />
+<r:layoutResources />
+<g:layoutHead />
+</head>
+<body>
+ <div data-role="page" data-cache="never" id="mainpage">
+ <g:layoutBody />
+ </div>
+</body>
+</html>
View
@@ -0,0 +1,147 @@
+
+/*
+Application-bar
+*/
+
+.ui-app-bar {
+ position:absolute;
+ bottom:-10px;
+ width:100%;
+ z-index: 900;
+}
+
+.ui-app-bar-a{
+ background: #202020;
+}
+
+.ui-app-bar-b{
+ background: #cccccc;
+ }
+
+/*
+Button panel
+*/
+
+.ui-app-bar .ui-app-bar-btn-panel {
+ text-align:center;
+ padding:2px 0;
+ font-size:0;
+ height:45px;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn {
+ display:inline-block;
+ width:30px;
+ height: 30px;
+ padding: 0px;
+ margin: 5px 15px;
+ border: 2px solid;
+ border-radius: 80px !important;
+ background-color: transparent;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn-up-a{
+ border-color: white;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn-down-a{
+ background-color: white;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn-up-b{
+ border-color: black;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn-down-b{
+ background-color: black;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn .ui-btn-text{
+ display: none;
+}
+
+.ui-app-bar .ui-app-bar-btn-panel .ui-btn .ui-icon{
+ width: 29px;
+ height: 29px;
+ background-color: transparent;
+ margin: 0px;
+ left: 0px;
+ top: 0px;
+}
+
+.ui-app-bar-dots{
+ position: absolute;
+ top: -18pt;
+ right: 13px;
+ font-size: 24pt;
+
+}
+
+/*
+Buttons caption
+*/
+.ui-app-bar .ui-app-bar-inside {
+ display:none;
+}
+
+.ui-app-bar .ui-app-bar-titles {
+ text-align:center;
+ font-size:8pt;
+ margin-top:-3px;
+}
+
+.ui-app-bar .ui-app-bar-titles span{
+ margin: 0px 10px;
+}
+.ui-app-bar .ui-app-bar-titles span {
+ display:inline-block;
+ width:48px;
+ overflow:hidden;
+ white-space:nowrap;
+ text-align:center;
+}
+
+/*
+Menu
+*/
+.ui-app-bar .ui-app-bar-menu {
+ height:195px;
+ overflow-y:auto;
+ display:none;
+}
+
+.ui-app-bar .ui-app-bar-inside .ui-app-bar-menu {
+ display:block;
+}
+
+.ui-app-bar .ui-app-bar-menu ul {
+ margin:0;
+ padding:0;
+}
+
+.ui-app-bar .ui-app-bar-menu ul .ui-link{
+ font-size:15pt !important;
+ font-weight: normal !important;
+ text-transform: lowercase;
+ border: none !important;
+}
+
+.ui-app-bar-a .ui-app-bar-menu ul .ui-link{
+ color: white;
+}
+
+.ui-app-bar-b .ui-app-bar-menu ul .ui-link{
+ color: black;
+}
+
+.ui-app-bar .ui-app-bar-menu ul li {
+ list-style:none;
+}
+
+.ui-app-bar .ui-app-bar-menu ul li a {
+ display:block;
+ padding:5px 10px;
+ text-decoration:none;
+}
+
+
@@ -0,0 +1,16 @@
+/*!
+ jQuery Mobile fixedtoolbar polyfill for blacklisted browsers that don't natively support position:fixed
+ Author @scottjehl
+ Copyright 2012 Filament Group, Inc.
+ License Dual MIT or GPLv2
+*/
+.ui-fixed-faux.ui-header-fixed,
+.ui-fixed-faux.ui-footer-fixed {
+ position: absolute;
+}
+.ui-header-fixed.ui-fixed-hidden.ui-fixed-faux {
+ top: 0 !important;
+}
+.ui-footer-fixed.ui-fixed-hidden.ui-fixed-faux {
+ bottom: 0 !important;
+}
Oops, something went wrong.

0 comments on commit 61f6e79

Please sign in to comment.