common.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * PrivateBin
  3. *
  4. * Common cascading style sheets for all templates.
  5. *
  6. * @link https://github.com/PrivateBin/PrivateBin
  7. * @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
  8. * @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
  9. */
  10. #attachmentPreview img {
  11. max-width: 100%;
  12. height: auto;
  13. margin-bottom: 20px;
  14. }
  15. #attachmentPreview .pdfPreview {
  16. width: 100%;
  17. height: 100vh;
  18. margin-bottom: 20px;
  19. }
  20. #dropzone {
  21. text-align: center;
  22. position: fixed;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. height: 100%;
  27. z-index: 1000;
  28. opacity: 0.6;
  29. background-color: #9cf;
  30. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z'/%3E%3C/svg%3E");
  31. background-repeat: no-repeat;
  32. background-position: center;
  33. background-size: 25vh;
  34. outline: 2px dashed #28f;
  35. outline-offset: -50px;
  36. }
  37. #filewrap {
  38. transition: background-color 0.75s ease-out;
  39. }
  40. #deletelink {
  41. float: right;
  42. margin-left: 5px;
  43. }
  44. #qrcodemodalClose {
  45. float: right;
  46. }
  47. #qrcode-display {
  48. width: 200px;
  49. margin: auto;
  50. }
  51. #pastelink {
  52. display: inline;
  53. }
  54. #pastelink > a, #plaintext > a {
  55. word-wrap: break-word;
  56. }
  57. #message {
  58. height: 70dvh;
  59. }
  60. @media ((max-width: 450px) and (max-height: 950px)) {
  61. #message {
  62. height: 55dvh;
  63. }
  64. }
  65. #message, .replymessage {
  66. font-family: monospace;
  67. resize: vertical;
  68. }
  69. .comment {
  70. border-left: 1px solid #ccc;
  71. transition: background-color 0.75s ease-out;
  72. }
  73. .commentdata {
  74. white-space: pre-wrap;
  75. }
  76. .dragAndDropFile {
  77. color: #777;
  78. font-size: 1em;
  79. display: inline;
  80. white-space: normal;
  81. }
  82. .highlight {
  83. background-color: #fd8;
  84. transition: background-color 0.2s ease-in;
  85. }