Advertisement
Guest User

??

a guest
Jun 30th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. <!doctype html>
  2. <html id="uber" class="loading" i18n-values="dir:textdirection;lang:language">
  3. <head>
  4. <meta charset="utf-8">
  5. <title i18n-content="pageTitle"></title>
  6. <link id="favicon" rel="icon" type="image/png" sizes="16x16">
  7. <link id="favicon2x" rel="icon" type="image/png" sizes="32x32">
  8.  
  9. <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
  10. <style>/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
  11. * Use of this source code is governed by a BSD-style license that can be
  12. * found in the LICENSE file. */
  13.  
  14. body {
  15. /* http://crbug.com/129406 --- horizontal scrollbars flicker when changing
  16. * sections. */
  17. overflow-x: hidden;
  18. }
  19.  
  20. #navigation {
  21. height: 100%;
  22. left: 0;
  23. /* This is a hack to prevent the navigation bar from occluding pointer events
  24. * from the bottom scroll bar (which shows when one needs to horizontally
  25. * scroll). Corresponding padding-top to offset this is in uber_frame.css */
  26. margin-top: -20px;
  27. position: absolute;
  28. /* This value is different from the left value to compensate for the scroll
  29. * bar (which is always on and to the right) in RTL. */
  30. right: 15px;
  31. width: 155px;
  32. z-index: 3;
  33. }
  34.  
  35. #navigation.background {
  36. z-index: 1;
  37. }
  38.  
  39. #navigation.changing-content {
  40. -webkit-transition: -webkit-transform 100ms, width 100ms;
  41. }
  42.  
  43. .iframe-container {
  44. -webkit-margin-start: -20px;
  45. -webkit-transition: margin 100ms, opacity 100ms;
  46. bottom: 0;
  47. left: 0;
  48. opacity: 0;
  49. position: absolute;
  50. right: 0;
  51. top: 0;
  52. z-index: 1;
  53. }
  54.  
  55. .iframe-container.selected {
  56. -webkit-margin-start: 0;
  57. -webkit-transition: margin 200ms, opacity 200ms;
  58. -webkit-transition-delay: 100ms;
  59. opacity: 1;
  60. z-index: 2;
  61. }
  62.  
  63. .iframe-container.expanded {
  64. left: 0;
  65. }
  66.  
  67. iframe {
  68. border: none;
  69. display: block;
  70. height: 100%;
  71. width: 100%;
  72. }
  73. </style>
  74.  
  75. <script src="chrome://resources/js/cr.js"></script>
  76. <script src="chrome://resources/js/cr/ui/focus_manager.js"></script>
  77. <script src="chrome://resources/js/load_time_data.js"></script>
  78. <script src="chrome://resources/js/util.js"></script>
  79.  
  80. <script src="chrome://chrome/uber.js"></script>
  81. <script src="chrome://chrome/uber_utils.js"></script>
  82. </head>
  83.  
  84. <body>
  85.  
  86. <div id="navigation"><iframe src="chrome://uber-frame/" name="chrome" role="presentation"></iframe></div>
  87.  
  88. <div class="iframe-container"
  89. i18n-values="id:historyHost; data-url:historyFrameURL;"
  90. data-favicon="IDR_HISTORY_FAVICON"></div>
  91. <div class="iframe-container"
  92. i18n-values="id:extensionsHost; data-url:extensionsFrameURL;"
  93. data-favicon="IDR_EXTENSIONS_FAVICON"></div>
  94. <div class="iframe-container"
  95. i18n-values="id:settingsHost; data-url:settingsFrameURL;"
  96. data-favicon="IDR_SETTINGS_FAVICON"></div>
  97. <div class="iframe-container"
  98. i18n-values="id:helpHost; data-url:helpFrameURL;"
  99. data-favicon="IDR_PRODUCT_LOGO_16"></div>
  100.  
  101. <script src="chrome://chrome/strings.js"></script>
  102. <script src="chrome://resources/js/i18n_template.js"></script>
  103.  
  104. </body>
  105. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement