personal-avatar.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <link rel="import" href="../../bower_components/iron-icon/iron-icon.html">
  2. <link rel="import" href="../../styles/icons.html">
  3. <dom-module id="personal-avatar">
  4. <template>
  5. <style>
  6. :host {
  7. @apply(--layout-vertical);
  8. @apply(--layout-center);
  9. width: 360px;
  10. position: absolute;
  11. bottom: 16px;
  12. left: 50%;
  13. margin-left: -180px;
  14. }
  15. iron-icon {
  16. width: 80px;
  17. height: 80px;
  18. color: #4285f4;
  19. margin-bottom: 6px;
  20. }
  21. .paper-font-body1 {
  22. font-size: 13px;
  23. }
  24. .discover {
  25. color: #4285f4;
  26. }
  27. @media all and (max-height: 370px) {
  28. :host {
  29. bottom: 8px;
  30. }
  31. iron-icon {
  32. width: 32px;
  33. height: 32px;
  34. margin-bottom: 2px;
  35. }
  36. }
  37. </style>
  38. <iron-icon icon="chat:wifi-tethering"></iron-icon>
  39. <div class="paper-font-body1">
  40. The easiest way to transfer files across devices.
  41. </div>
  42. <div class="paper-font-body1 discover">
  43. Allow me to be discovered by: Everyone in this network.
  44. </div>
  45. </template>
  46. <script>
  47. 'use strict';
  48. Polymer({
  49. is: 'personal-avatar'
  50. });
  51. </script>
  52. </dom-module>