privatebin.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /**
  2. * PrivateBin
  3. *
  4. * a zero-knowledge paste bin
  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. * @version 1.7.1
  10. */
  11. .hidden { display: none !important; }
  12. #attachmentPreview img {
  13. max-width: 100%;
  14. height: auto;
  15. margin-bottom: 20px;
  16. }
  17. #attachmentPreview .pdfPreview {
  18. width: 100%;
  19. height: 100vh;
  20. margin-bottom: 20px;
  21. }
  22. #dropzone {
  23. text-align: center;
  24. position: fixed;
  25. top: 0;
  26. left: 0;
  27. width: 100%;
  28. height: 100%;
  29. z-index: 1000;
  30. opacity: 0.6;
  31. background-color: #99ccff;
  32. 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");
  33. background-repeat: no-repeat;
  34. background-position: center;
  35. background-size: 25vh;
  36. outline: 2px dashed #228bff;
  37. outline-offset: -50px;
  38. }
  39. .dragAndDropFile{
  40. color: #777;
  41. font-size: 1em;
  42. display: inline;
  43. white-space: normal;
  44. }
  45. #deletelink {
  46. float: right;
  47. margin-left: 5px;
  48. }
  49. #qrcodemodalClose {
  50. float: right;
  51. }
  52. #qrcode-display {
  53. width: 200px;
  54. height: 200px;
  55. margin: auto;
  56. }
  57. #pastelink {
  58. display: inline;
  59. }
  60. #pastelink > a {
  61. word-wrap: break-word;
  62. }
  63. #preview {
  64. margin-bottom: 10px;
  65. }
  66. #message, .replymessage {
  67. font-family: monospace;
  68. resize: vertical;
  69. }
  70. #nickname {
  71. margin: 5px 0;
  72. }
  73. #comments, #comments button {
  74. margin-bottom: 10px;
  75. }
  76. #filewrap {
  77. transition: background-color 0.75s ease-out;
  78. }
  79. .comment {
  80. border-left: 1px solid #ccc;
  81. padding: 5px 0 5px 10px;
  82. white-space: pre-wrap;
  83. transition: background-color 0.75s ease-out;
  84. }
  85. .highlight {
  86. background-color: #ffdd86;
  87. transition: background-color 0.2s ease-in;
  88. }
  89. li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
  90. list-style-type: decimal !important;
  91. }
  92. .text-right button {
  93. float: right;
  94. }
  95. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  96. float: left;
  97. }