index.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. html, body {
  2. top: 0;
  3. left: 0;
  4. right: 0;
  5. left: 0;
  6. margin: 0;
  7. }
  8. #main {
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. right: 0;
  13. bottom: 0;
  14. margin: 0;
  15. padding: var(--base-border-padding);
  16. display: flex;
  17. flex-direction: column;
  18. }
  19. #headerBox {
  20. display: flex;
  21. flex-direction: row;
  22. flex: 0 1 auto;
  23. }
  24. #statusLine {
  25. display: flex;
  26. flex: 1 1 auto;
  27. padding: var(--base-text-padding);
  28. min-height: 50px;
  29. }
  30. #pager {
  31. display: flex;
  32. flex-direction: row;
  33. flex: 0 1 auto;
  34. width: 150px;
  35. min-width: 150px;
  36. max-width: 150px;
  37. }
  38. .contentBox {
  39. display: flex;
  40. flex-direction: row;
  41. width: 100%;
  42. height: 100%;
  43. }
  44. .leftPanel {
  45. display: block;
  46. width: 220px;
  47. max-width: 220px;
  48. min-width: 220px;
  49. height: 100%;
  50. max-height: 100%;
  51. margin-top: 8px;
  52. margin-right: 15px;
  53. }
  54. .innerConentBox {
  55. position: relative;
  56. max-width: 100%;
  57. max-height: 100%;
  58. width: 100%;
  59. height: 100%;
  60. }
  61. #mailList {
  62. position: absolute;
  63. top: 10px;
  64. bottom: 10px;
  65. left: 10px;
  66. right: 10px;
  67. overflow-y: auto;
  68. background-color: var(--bg-color);
  69. }
  70. #mailDetails {
  71. position: absolute;
  72. top: 0;
  73. bottom: 0;
  74. left: 0;
  75. right: 0;
  76. overflow: hidden;
  77. display: none;
  78. background-color: var(--bg-color);
  79. padding: var(--base-border-padding);
  80. }
  81. #mailNew {
  82. position: absolute;
  83. top: 0;
  84. bottom: 0;
  85. left: 0;
  86. right: 0;
  87. overflow: hidden;
  88. display: none;
  89. background-color: var(--bg-color);
  90. padding: var(--base-border-padding);
  91. }
  92. .mailHeader {
  93. display: flex;
  94. flex-direction: row;
  95. width: 100%;
  96. }
  97. .mailFrom {
  98. display: inline-block;
  99. flex: 0 1 auto;
  100. min-width: 300px;
  101. max-width: 300px;
  102. width: 300px;
  103. padding: var(--base-text-padding);
  104. font-size: var(--normal-text-size);
  105. }
  106. .mailSubject {
  107. display: block;
  108. flex: 1 1 auto;
  109. padding: var(--base-text-padding);
  110. font-size: var(--normal-text-size);
  111. }
  112. .mailDate {
  113. display: block;
  114. flex: 0 1 auto;
  115. width: 160px;
  116. min-width: 160px;
  117. max-width: 160px;
  118. padding: var(--base-text-padding);
  119. font-size: var(--small-text-size);
  120. text-align: center;
  121. color: var(--secondary-text-dark-color);
  122. }
  123. .mailControlPanel {
  124. position: absolute;
  125. min-width: 160px;
  126. top: 0px;
  127. right: 0px;
  128. bottom: 1px;
  129. z-index: 2;
  130. display: none;
  131. }
  132. #copyrightBox {
  133. font-size: var(--small-text-size);
  134. display: flex;
  135. flex-direction: row;
  136. flex: 0 1 auto;
  137. padding: var(--base-text-padding);
  138. text-align: right;
  139. vertical-align: middle;
  140. justify-content: flex-end;
  141. }
  142. #mailControls {
  143. margin-top: 24px;
  144. margin-right: 15px;
  145. display: flex;
  146. flex-direction: row;
  147. margin-left: 15px;
  148. }
  149. #mailNewButton {
  150. width: 160px;
  151. max-width: 160px;
  152. min-width: 160px;
  153. flex: 1 1 auto;
  154. }
  155. #multiActions {
  156. display: flex;
  157. flex-direction: row;
  158. flex: 1 1 auto;
  159. margin-left: 18px;
  160. }
  161. #multiActionsControls {
  162. display: none;
  163. flex-direction: row;
  164. }
  165. .verticalPaddingBox {
  166. display: block;
  167. flex: 1 1 auto;
  168. top: 0;
  169. bottom: 0;
  170. padding: var(--base-border-padding);
  171. }
  172. .horizontalPaddingBox {
  173. display: block;
  174. flex: 1 1 auto;
  175. left: 0;
  176. right: 0;
  177. padding: var(--base-border-padding);
  178. }
  179. .elidedText {
  180. overflow-x: hidden;
  181. text-overflow: ellipsis;
  182. white-space: nowrap;
  183. }
  184. .contentArea {
  185. border-radius: var(--default-radius);
  186. border: 1px solid var(--primary-color);
  187. }
  188. .attachment {
  189. background-color: var(--bg-color);
  190. border-radius: 20px;
  191. border: 1px solid var(--primary-dark-color);
  192. color: var(--primary-text-color);
  193. font-weight: bold;
  194. margin-right: 10px;
  195. padding: var(--tiny-text-padding) var(--base-text-padding) var(--tiny-text-padding) var(--base-text-padding);
  196. transition: background-color .2s, color .2s;
  197. }
  198. .attachment:hover, .attachment:focus {
  199. background-color: var(--primary-dark-color);
  200. color: var(--secondary-text-color);
  201. cursor: pointer;
  202. }
  203. .listAttachment {
  204. background-color: var(--bg-color);
  205. border-radius: 20px;
  206. border: 1px solid var(--inactive-color);
  207. color: var(--secondary-text-dark-color);
  208. font-weight: bold;
  209. margin-right: 10px;
  210. padding: var(--tiny-text-padding) var(--base-text-padding) var(--tiny-text-padding) var(--base-text-padding);
  211. transition: color .2s;
  212. }
  213. .listAttachment:hover, .attachment:focus {
  214. color: var(--primary-text-color);
  215. cursor: pointer;
  216. }