diff options
-rw-r--r-- | plugins/CoreHome/images/dark_background_stripes.gif | bin | 54 -> 0 bytes | |||
-rw-r--r-- | plugins/Login/templates/login.twig | 12 | ||||
-rw-r--r-- | plugins/Zeitgeist/templates/jquery.smartbanner.css | 2 |
3 files changed, 4 insertions, 10 deletions
diff --git a/plugins/CoreHome/images/dark_background_stripes.gif b/plugins/CoreHome/images/dark_background_stripes.gif Binary files differdeleted file mode 100644 index bc2a2ea6e6..0000000000 --- a/plugins/CoreHome/images/dark_background_stripes.gif +++ /dev/null diff --git a/plugins/Login/templates/login.twig b/plugins/Login/templates/login.twig index 8406d92a8e..f42c10ae50 100644 --- a/plugins/Login/templates/login.twig +++ b/plugins/Login/templates/login.twig @@ -23,7 +23,7 @@ <script type="text/javascript" src="plugins/CoreHome/javascripts/require.js"></script> <script type="text/javascript" src="plugins/CoreHome/javascripts/notification.js"></script> <script type="text/javascript" src="plugins/CoreHome/javascripts/notification_parser.js"></script> - <script type="text/javascript" src="plugins/CoreHome/javascripts/jasny-jquery.smartbanner-26a74cb/jquery.smartbanner.js"></script> + <script type="text/javascript" src="plugins/CoreHome/javascripts/jquery.smartbanner.js"></script> <link rel="stylesheet" type="text/css" href="plugins/Zeitgeist/templates/jquery.smartbanner.css" /> {% if (forceSslLogin is defined and forceSslLogin) %} <script type="text/javascript"> @@ -40,14 +40,8 @@ $('#form_login').focus(); $('input').placeholder(); $.smartbanner({ - title: "Piwik Mobile 2", // What the title of the app should be in the banner (defaults to <title>) - author: "Piwik team", // What the author of the app should be in the banner (defaults to <meta name="author"> or hostname) - inWindowsStore: 'In the Windows Store', // Text of price for Windows - icon: "plugins/CoreHome/images/googleplay.png", // The URL of the icon (defaults to <meta name="apple-touch-icon">) - iconGloss: "true", // Force gloss effect for iOS even for precomposed - button: 'VIEW', // Text for the install button - scale: 'auto', // Scale based on viewport size (set to 1 to disable) - }) + title: "Piwik Mobile 2", author: "Piwik team", icon: "plugins/CoreHome/images/googleplay.png" + }); }); </script> <script type="text/javascript" src="plugins/Login/javascripts/login.js"></script> diff --git a/plugins/Zeitgeist/templates/jquery.smartbanner.css b/plugins/Zeitgeist/templates/jquery.smartbanner.css index 8800574a3b..7ad1a69394 100644 --- a/plugins/Zeitgeist/templates/jquery.smartbanner.css +++ b/plugins/Zeitgeist/templates/jquery.smartbanner.css @@ -14,7 +14,7 @@ #smartbanner .sb-icon.gloss:after { content:''; position:absolute; left:0; top:-1px; border-top:1px solid rgba(255,255,255,0.8); width:100%; height:50%; background:-webkit-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.2) 100%); border-radius:10px 10px 12px 12px; } -#smartbanner.android { border-color:#212228; background: #3d3d3d url('plugins/CoreHome/images/dark_background_stripes.gif'); border-top: 5px solid #88B131; box-shadow: none; } +#smartbanner.android { border-color:#212228; background: #3d3d3d; border-top: 5px solid #88B131; box-shadow: none; } #smartbanner.android .sb-close { border:0; width:17px; height:17px; line-height:17px; color:#b1b1b3; background:#1c1e21; text-shadow:0 1px 1px #000; box-shadow:0 1px 2px rgba(0,0,0,0.8) inset,0 1px 1px rgba(255,255,255,0.3); } #smartbanner.android .sb-close:active { color:#eee; } #smartbanner.android .sb-info { color:#ccc; text-shadow:0 1px 2px #000; } |