common.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. .dragAndDropFile {
  38. color: #777;
  39. font-size: 1em;
  40. display: inline;
  41. white-space: normal;
  42. }
  43. #filewrap {
  44. transition: background-color 0.75s ease-out;
  45. }
  46. .highlight {
  47. background-color: #fd8;
  48. transition: background-color 0.2s ease-in;
  49. }
  50. #deletelink {
  51. float: right;
  52. margin-left: 5px;
  53. }
  54. .commentdata {
  55. white-space: pre-wrap;
  56. }