personal-avatar.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. line-height: 18px;
  27. }
  28. @media all and (max-width: 370px) {
  29. .discover {
  30. font-size: 12px;
  31. }
  32. }
  33. @media all and (max-height: 370px) {
  34. :host {
  35. bottom: 8px;
  36. }
  37. iron-icon {
  38. width: 32px;
  39. height: 32px;
  40. margin-bottom: 2px;
  41. }
  42. }
  43. </style>
  44. <iron-icon icon="chat:wifi-tethering"></iron-icon>
  45. <div class="paper-font-body1">
  46. The easiest way to transfer files.
  47. </div>
  48. <div class="paper-font-body1 discover">
  49. Allow me to be discovered by: Everyone in this network.
  50. </div>
  51. </template>
  52. <script>
  53. 'use strict';
  54. Polymer({
  55. is: 'personal-avatar'
  56. });
  57. </script>
  58. </dom-module>