Post.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .post {
  2. background-color: white; padding: 16px 20px; padding-left: 80px; border-radius: 4px; backface-visibility: hidden; transform-style: preserve-3d; transform: translateZ(0);
  3. border: 1px solid #EEF0F1; border-bottom: 2px solid #ECEDEE; margin-bottom: 12px; transition: all 0.3s;
  4. }
  5. .post.selected { box-shadow: 0px 0px 40px rgba(0,0,0,0.1); }
  6. .post .user .settings { float: right; color: #666; transition: all 0.3s; padding: 5px 10px; margin-right: -10px; margin-top: -5px; font-size: 19px; }
  7. .post .user .settings:hover { text-decoration: none; color: #333 }
  8. .post .user .settings:active { background-color: #F5F5F5; transition: none }
  9. .post .user { padding-bottom: 8px; height: 21px; line-height: 20px; }
  10. .post .user .address, .post .added, .post .sep { font-size: 14px; color: #AAA;}
  11. .post .body { padding-top: 2px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; line-height: 1.5em; color: #333; word-break: break-word; overflow: hidden }
  12. .post .reply-name { font-size: 14px; font-family: Roboto, Helvetica, Arial; color: #000 }
  13. .post .actions { height: 30px; margin-left: -5px; }
  14. .post .actions .icon { margin-right: 1px }
  15. .post .actions .link { color: #AAA; font-size: 12px; height: 30px; vertical-align: middle; line-height: 30px; display: inline-block; padding-right: 10px }
  16. .post .actions .link.active { color: #5d68ff; }
  17. .post .actions .like { width: 35px; margin-right: 0px; transition: width 0.3s, margin-right 0.3s; white-space: nowrap; position: relative; }
  18. .post .actions .like.like-zero { width: 20px; margin-right: 5px; }
  19. .post code { background-color: #FBFBFB; padding: 3px 4px; border: solid 1px #e1e4e5; font-family: Consolas, Monaco, monospace; font-size: 13px }
  20. .post pre code {
  21. border: none; padding: 0px; background-color: transparent; border: none; overflow-x: auto; display: inline-block; max-width: 100%; padding-right: 20px; box-sizing: border-box;
  22. border: solid 1px #e1e4e5; padding: 10px; background-color: #FBFBFB; font-family: Consolas, Monaco, monospace; border-bottom: 2px solid #e1e4e5; line-height: 1em;
  23. }
  24. .post blockquote { padding-left: 2em; margin-left: 3px; border-left: 3px solid #c7c7c8; padding-top: 0.8em; font-style: italic; padding-bottom: 0.8em; }
  25. .post ul { margin: 0px; padding-bottom: 0.6em; }
  26. .post table { border-collapse: collapse; margin-bottom: 10px; }
  27. .post td, .post th { padding: 5px 10px; border: 1px solid #EEE; border-collapse: collapse; }
  28. .post-create-container { margin-bottom: 12px }
  29. .post-create { transition: all 0.6s }
  30. .post-create .postfield {
  31. font-family: Roboto; font-size: 16px; border: 1px solid white; padding: 15px 15px;
  32. font-size: 16px; width: 100%; height: 52px; box-sizing: border-box; padding-right: 40px;
  33. }
  34. .post-create .user { margin-bottom: 0px; height: auto; padding-bottom: 0px; }
  35. .post-create .postbuttons { height: 55px; box-sizing: border-box; transform: scale(1); overflow: hidden; transition: all 0.3s; text-align: right }
  36. .post-create.editing .postfield { border: 1px solid #c6caff }
  37. .post-create.editing { box-shadow: 0px 1px 13px 1px #eaeaea }
  38. .post-create .select-user-container { width: 100%; text-align: center; margin-bottom: -100px; height: 100px; z-index: 1; position: relative; }
  39. .post-create .attach { font-size: 12px; text-transform: uppercase; border: 0px; padding: 8px 20px; font-weight: bold; }
  40. .post-create .icon-image { position: absolute; margin-left: 490px; margin-top: 17px; color: #CECECE; transition: all 0.3s }
  41. .post-create .icon-image:hover { color: #5d68ff; transition: none }
  42. .post-create .image {
  43. width: 100%; height: 0px; background-repeat: no-repeat; transform: scale(1); background-position: top center;
  44. background-size: cover; opacity: 1; transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1); overflow: hidden;
  45. }
  46. .post-create .image .close { float: right; color: white; font-weight: bold; text-shadow: 0px 0px 11px black; padding: 10px; }
  47. .post-create .image.empty { opacity: 0; transform: scale(1.5) }
  48. .post-create:not(.editing) .postbuttons { opacity: 0; height: 0px; }
  49. .post-create:not(.editing) .image { opacity: 0; height: 0px; }
  50. .post-list-empty { text-align: center; padding-top: 100px }
  51. .post-list-type { text-align: right; }
  52. .post-list-type a {
  53. margin-right: 10px; padding-bottom: 5px; display: inline-block; border-bottom: 2px solid rgba(0,0,0,0);
  54. color: #999; margin-bottom: 7px; margin-top: 10px; margin-left: 10px; transition: all 0.3s
  55. }
  56. .post-list-type .active { border-bottom: 2px solid #606aff; color: #606aff; }
  57. .post-list-type a:hover { border-bottom: 2px solid #606aff; color: #606aff; transition: none; text-decoration: none }
  58. .post .img { background-size: cover; text-align: center; position: relative; margin-bottom: 10px; }
  59. .post .img .show {
  60. top: 50%; display: inline-block; color: white; background-color: #606aff; overflow: hidden;
  61. width: 140px; position: absolute; margin-left: -70px; box-sizing: border-box; margin-top: -20px; height: 40px; padding: 12px 20px;
  62. text-transform: uppercase; font-size: 12px; border-radius: 25px; transition: all 0.3s;
  63. }
  64. .post .img .show .title { white-space: pre; line-height: 30px; height: 16px; transform: translateY(-36px); transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) }
  65. .post .img .details {
  66. bottom: 0px; position: absolute; font-size: 14px; right: 10px; padding: 5px 10px; margin-bottom: 12px; text-decoration: none;
  67. background-color: rgba(0, 0, 0, 0.4); border-radius: 30px; color: white; opacity: 0; transition: all 0.3s
  68. }
  69. .post .img .details .size { display: inline-block; margin-right: 9px; max-width: 80px; overflow: hidden; white-space: nowrap; vertical-align: -4px; transition: all 0.3s ease-out; }
  70. .post .img .fullsize { width: 100%; height: 100%; display: block; background-size: contain; opacity: 0; transition: all 0.6s; position: absolute; background-repeat: no-repeat; background-color: white; }
  71. .post .img.loading .show { background-color: #2ecc71; animation: bounce .3s infinite alternate ease-out; pointer-events: none; }
  72. .post .img.loading .show .title { transform: translateY(-6px); }
  73. .post .img.downloaded .fullsize { opacity: 1; cursor: zoom-in }
  74. .post .img.downloaded .show { opacity: 0; pointer-events: none; visibility: hidden; }
  75. .post .img.hasinfo .details { opacity: 1 }
  76. .post .img.downloaded .details { opacity: 0 }
  77. .post .img.downloaded .details .size { max-width: 0px; }
  78. .post .img.downloaded:hover .details { opacity: 1 }
  79. .post .img .menu { text-align: right; margin-top: -94px; z-index: 999; font-size: 15px; line-height: 20px; }
  80. .post .img .image-settings { color: white; padding: 2px 7px; text-decoration: none }
  81. .post .img .details:hover { background-color: rgba(0,0,0,0.7); transition: none }
  82. .post .img .details:active { background-color: rgba(0,0,0,0.5); transition: none }
  83. .post .img .oldversion { background-color: rgba(0, 0, 0, 0.5); padding: 10px 10px; top: 49%; position: relative; color: white; border-radius: 25px; }