~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/paper-scroll-header-panel/demo/hide-header.html

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!doctype html>
 
2
<!--
 
3
@license
 
4
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
 
5
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
 
6
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
 
7
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
 
8
Code distributed by Google as part of the polymer project is also
 
9
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
 
10
-->
 
11
<html>
 
12
<head>
 
13
  <title>paper-scroll-header-panel: demo3</title>
 
14
 
 
15
  <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
 
16
  <meta name="mobile-web-app-capable" content="yes">
 
17
  <meta name="apple-mobile-web-app-capable" content="yes">
 
18
 
 
19
  <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
 
20
 
 
21
  <link rel="import" href="../paper-scroll-header-panel.html">
 
22
  <link rel="import" href="../../paper-toolbar/paper-toolbar.html">
 
23
  <link rel="import" href="../../iron-icons/iron-icons.html">
 
24
  <link rel="import" href="../../paper-icon-button/paper-icon-button.html">
 
25
 
 
26
  <link rel="import" href="../../paper-styles/color.html">
 
27
  <link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
 
28
  <link rel="import" href="sample-content.html">
 
29
 
 
30
  <link rel="stylesheet" href="../../paper-styles/demo.css">
 
31
 
 
32
  <style is="custom-style">
 
33
 
 
34
    paper-scroll-header-panel {
 
35
      position: absolute;
 
36
      top: 0;
 
37
      right: 0;
 
38
      bottom: 0;
 
39
      left: 0;
 
40
      background-color: var(--paper-grey-200, #eee);
 
41
 
 
42
      /* background for toolbar when it is at its full size */
 
43
      --paper-scroll-header-panel-full-header: {
 
44
        background-image: url(images/bg2.jpg);
 
45
        background-position: top left;
 
46
      };
 
47
    }
 
48
 
 
49
    paper-toolbar {
 
50
      background-color: transparent;
 
51
    }
 
52
 
 
53
    paper-icon-button {
 
54
      --paper-icon-button-ink-color: white;
 
55
    }
 
56
 
 
57
    .content {
 
58
      padding: 8px;
 
59
    }
 
60
 
 
61
    .spacer {
 
62
      @apply(--layout-flex);
 
63
    }
 
64
 
 
65
  </style>
 
66
 
 
67
</head>
 
68
<body unresolved>
 
69
 
 
70
  <paper-scroll-header-panel condenses no-reveal no-dissolve>
 
71
 
 
72
    <paper-toolbar class="tall">
 
73
 
 
74
      <div class="spacer"></div>
 
75
      <paper-icon-button icon="search"></paper-icon-button>
 
76
 
 
77
    </paper-toolbar>
 
78
 
 
79
    <div class="content">
 
80
 
 
81
      <sample-content size="100"></sample-content>
 
82
 
 
83
    </div>
 
84
 
 
85
  </paper-scroll-header-panel>
 
86
 
 
87
</body>
 
88
</html>