1
0

ZeroMail.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. body, html { height: 100%; min-height: 100%; }
  2. body { background-color: #F1F4F8; font-family: 'Roboto', sans-serif; backface-visibility: hidden; margin: 0px; padding: 0px }
  3. a { color: #5CABDF; font-weight: normal; text-decoration: none }
  4. h1, h2, h3 { font-weight: normal }
  5. h5, h6 { font-weight: normal; color: #999 }
  6. .username { color: inherit }
  7. .username .bullet { font-size: 170%; line-height: 15px; vertical-align: middle; margin-right: 5px }
  8. /* Left */
  9. .Leftbar { width: 230px; float: left; height: 100%; position: fixed; background-color: #2A2D59; }
  10. .Leftbar .logo { background-color: #FF5E3B; padding: 20px; color: white; text-transform: uppercase; font-size: 20px; font-family: monospace; display: block; }
  11. .Leftbar .folders a {
  12. color: rgba(255, 255, 255, 0.5); display: block; padding: 20px 20px; font-weight: bold; text-transform: uppercase;
  13. font-size: 14px; border-bottom: 1px solid rgba(255,255,255, 0.1); transition: 0.3s
  14. }
  15. .Leftbar .folders a.active { color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 0.05) }
  16. .Leftbar .folders a:hover { color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 0.05); transition: 0s }
  17. .Leftbar .quota {
  18. float: right; font-size: 11px; padding: 5px;
  19. margin-top: -1px; font-weight: normal; opacity: 0.7
  20. }
  21. .Leftbar h2 { opacity: 0.5; color: white; padding: 5px 20px; font-size: 11px; text-transform: uppercase; margin-top: 50px }
  22. .Leftbar .contacts-wrapper { height: calc(100vh - 340px); overflow: hidden; }
  23. .Leftbar .contacts {overflow-y: scroll; height: 100%; padding-right: 100px; margin-right: -100px; }
  24. .Leftbar .contacts a { padding: 5px 20px; display: block; color: rgba(255, 255, 255, 0.7); font-size: 14px; font-weight: normal; transition: 0.3s }
  25. .Leftbar .contacts a:last-child { margin-bottom: 60px }
  26. .Leftbar .contacts a:hover { color: rgba(255, 255, 255, 1); transition: none }
  27. .Leftbar .logout { bottom: 0px; position: absolute; padding: 10px; opacity: 0.5; transition: all 0.3s }
  28. .Leftbar .logout:hover { opacity: 0.8; transition: none }
  29. /* Center */
  30. .center {
  31. width: 396px; padding-top: 37px; padding-bottom: 10px; border-right: 1px solid #F1F4F8;
  32. overflow-y: auto; overflow-x: hidden; left: 230px; height: 100%; position: fixed; background-color: white; box-sizing: border-box;
  33. }
  34. .MessageList.empty { text-align: center; color: #AAA; margin-top: 120px; }
  35. .MessageList .Message {
  36. padding: 10px; border-top: 1px solid #F1F4F8; border-bottom: 1px solid rgba(0,0,0,0); background-color: #FFF;
  37. display: block; padding-left: 26px; clear: both; transition: all 0.3s
  38. }
  39. .MessageList .Message:hover { background-color: #F7F9F9; transition: none }
  40. .MessageList .Message.active, .MessageList .Message.selected { background-color: #FFFAE5; border-bottom: 1px solid #FAF0C8; border-top: 1px solid #FAF0C8; box-shadow: 0px 1px 4px rgba(0,0,0,0.1); transition: all 0.5s }
  41. .MessageList .Message:before { content: "\2022"; float: left; padding: 19px 0px; font-size: 25px; color: #74BBFE; font-family: Arial; margin-left: -17px; opacity: 0; transition: all 0.3s; transform: scale(1.5) }
  42. .MessageList .Message.unread:before { opacity: 1; transform: scale(1) }
  43. .MessageList .Message:first-child { border-top: none }
  44. .MessageList .Message .sent { color: #AAA; float: right; font-size: 80%; font-weight: lighter; line-height: 130% }
  45. .MessageList .Message .from, .MessageList .Message .to { color: #3D3D3D; font-size: 80%; font-weight: bold; margin-top: 4px }
  46. .MessageList .Message .subject { color: black; font-weight: bold; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  47. .MessageList .Message .preview { color: #6F6E6E; margin-top: 5px; margin-bottom: 5px; font-weight: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  48. .MessageList .more {
  49. display: none; text-align: center; padding: 25px; color: #666; border: 1px solid #eee; border-right: 0px; transition: all 0.3s;
  50. box-shadow: inset 0px -1px 29px -2px rgba(0,0,0,0.1); font-size: 13px; text-transform: uppercase; margin-bottom: -10px;
  51. }
  52. .MessageList .more:hover { background-color: #FFFAE5; transition: none; text-decoration: underline; }
  53. .MessageList .more.visible { display: block }
  54. .MessageList .more.loading { opacity: 0.5; pointer-events: none }
  55. /* Right */
  56. .right { width: 682px; margin-left: 626px; box-sizing: border-box; background-color: white; min-height: 100% }
  57. .StartScreen .term {
  58. font-size: 13px; white-space: pre; line-height: 25px; font-family: monospace; color: #333; text-align: center; margin-bottom: 10px;
  59. /*transform: rotateY(20deg); opacity: 0; transition: all 1s; transform-origin: top left*/
  60. }
  61. .StartScreen .term * { opacity: 0; transition: all 1s ; transform: scale(0.9); box-shadow: -920px 0px 0px #333 inset; /*max-width: 0px; overflow: hidden; display: inline-block*/ }
  62. .StartScreen .term.visible * { opacity: 1; transform: scale(1); box-shadow: 0px 0px 0px #333 inset; max-width: 900px }
  63. .StartScreen.visible .term { transform: rotateX(0deg); opacity: 1 }
  64. .StartScreen .banner { text-align: center; line-height: 16px; }
  65. .StartScreen .button-certselect { left: 50%; margin-left: -80px; position: relative; }
  66. .MessageShow { padding: 40px 50px }
  67. .MessageShow .empty { color: #DDD; text-align: center; top: 50%; margin-top: 50% }
  68. .MessageShow .selected { color: #AAA; text-align: center; top: 50%; margin-top: 50% }
  69. .MessageShow .subject { font-size: 210%; font-weight: lighter; }
  70. .MessageShow .tools { float: right; margin-top: 15px; margin-right: -6px; }
  71. .MessageShow .tools .icon { opacity: 0.3; transition: all 0.3s; padding: 5px; margin-left: 10px; border-radius: 30px }
  72. .MessageShow .tools .icon:hover { opacity: 1; transition: background-color 1s }
  73. .MessageShow .tools .icon:active { transition: none; background-color: #EEE }
  74. .MessageShow .from, .MessageShow .to { font-size: 80%; color: #333; margin-top: 5px; border-bottom: 1px solid #F1F4F8; padding-bottom: 10px }
  75. .MessageShow .from .username, .MessageShow .to .username { font-weight: bold }
  76. .MessageShow .sent { color: #999; float: right; font-size: 80%; font-weight: lighter; margin-top: 5px; }
  77. .MessageShow .body { line-height: 1.5em; margin-top: 20px; color: #111; font-family: monospace; font-size: 16px; word-wrap: break-word; }
  78. .MessageShow .body blockquote { border-left: 5px solid #eee; padding: 5px; padding-left: 15px; margin: 10px 0px; background-color: #FBFBFB; }
  79. .MessageShow .body blockquote p { margin: 0px; font-size: 90% }
  80. .MessageShow .body pre, .MessageShow .body code {
  81. background-color: #FBFBFB; padding: 3px 4px; border: solid 1px #e1e4e5; font-family: Consolas, Monaco, monospace; font-size: 13px; overflow-x: auto;
  82. }
  83. .MessageShow .body pre code { background-color: #FBFBFB; padding: none; border: none; overflow-x: auto; }
  84. .MessageShow .Message { transition: all 1s }
  85. .MessageShow .Message.deleted { perspective: 900px }
  86. .MessageShow .Message.deleted * { transform: scale(0.5) rotateX(-90deg); opacity: 0; transition: all 0.6s cubic-bezier(0.6, -0.28, 0.735, 0.045); }
  87. .MessageCreate-opened .MessageShow .Message { margin-bottom: 500px }
  88. .MessageCreate { box-shadow: 0px -11px 50px -6px #D4D4D4; position: fixed; bottom: 0px; width: 682px; transition: 0.6s all cubic-bezier(0.77, 0, 0.175, 1); background-color: white }
  89. .MessageCreate.minimized { transform: translateY(100%); bottom: 45px }
  90. .MessageCreate.empty.minimized { box-shadow: 0px 0px 0px 0px #D4D4D4; }
  91. .MessageCreate.empty.minimized .titlebar { background-color: white; color: #BCC0C5; border-top: 1px solid #F1F4F8 }
  92. .MessageCreate.sent .titlebar { background-color: #2ECC71; color: white; border-top: 1px solid #2ECC71 }
  93. .MessageCreate.minimized .minimize { opacity: 0; transition: opacity 1s !important }
  94. .MessageCreate .titlebar { background-color: #FF5E3B; padding: 15px 20px; color: white; font-family: monospace; display: block; transition: 0.3s all }
  95. .MessageCreate .titlebar .buttons { float: right; margin-top: -18px; margin-right: -15px; height: 45px; }
  96. .MessageCreate .titlebar .buttons a { color: white; font-weight: normal; font-size: 19px; padding: 15px; display: inline-block; transition: 0.3s all }
  97. .MessageCreate .titlebar .buttons a:hover { background-color: rgba(255,255,255,0.1); transition: none }
  98. .MessageCreate .titlebar .buttons .minimize { font-size: 14px; vertical-align: 3px }
  99. .MessageCreate input, .MessageCreate textarea {
  100. width: 100%; padding: 17px; box-sizing: border-box; font-family: Roboto; transition: all 0.3s;
  101. border: 1px solid rgba(0,0,0,0); border-bottom: 1px solid #eee; outline: none;
  102. }
  103. .MessageCreate input:focus, .MessageCreate textarea:focus { border-color: #D6D6D6; transition: none }
  104. .MessageCreate textarea { color: #111; font-family: monospace; font-size: 16px; min-height: 265px }
  105. .MessageCreate .label-to { position: absolute; margin-left: 17px; margin-top: 18px; opacity: 0.5 }
  106. .MessageCreate .to { font-size: 16px; padding-left: 50px }
  107. .MessageCreate .Autocomplete .values { margin-left: 31px }
  108. .MessageCreate .subject { font-size: 20px; font-weight: lighter }
  109. .animate { transition: all 0.3s ease-out !important; }
  110. .animate-back { transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; }
  111. .animate-inout { transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1) !important; }
  112. .cursor { color: #999; animation: pulse 1.5s infinite ease-in-out; }
  113. @keyframes pulse {
  114. 0% { opacity: 0 }
  115. 5% { opacity: 1 }
  116. 30% { opacity: 1 }
  117. 70% { opacity: 0 }
  118. 100% { opacity: 0 }
  119. }