common.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. * @version 1.7.1
  10. */
  11. #attachmentPreview img {
  12. max-width: 100%;
  13. height: auto;
  14. margin-bottom: 20px;
  15. }
  16. #attachmentPreview .pdfPreview {
  17. width: 100%;
  18. height: 100vh;
  19. margin-bottom: 20px;
  20. }
  21. #dropzone {
  22. text-align: center;
  23. position: fixed;
  24. top: 0;
  25. left: 0;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 1000;
  29. opacity: 0.6;
  30. background-color: #9cf;
  31. 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");
  32. background-repeat: no-repeat;
  33. background-position: center;
  34. background-size: 25vh;
  35. outline: 2px dashed #28f;
  36. outline-offset: -50px;
  37. }
  38. .dragAndDropFile {
  39. color: #777;
  40. font-size: 1em;
  41. display: inline;
  42. white-space: normal;
  43. }
  44. #filewrap {
  45. transition: background-color 0.75s ease-out;
  46. }
  47. .highlight {
  48. background-color: #fd8;
  49. transition: background-color 0.2s ease-in;
  50. }
  51. #deletelink {
  52. float: right;
  53. margin-left: 5px;
  54. }
  55. .commentdata {
  56. white-space: pre-wrap;
  57. }