privatebin.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /**
  2. * PrivateBin
  3. *
  4. * Cascading style sheets for bootstrap 5 template.
  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. @import url("../common.css");
  11. .hidden {
  12. display: none !important;
  13. }
  14. #qrcodemodalClose {
  15. float: right;
  16. }
  17. #qrcode-display {
  18. width: 200px;
  19. height: 200px;
  20. margin: auto;
  21. }
  22. #pastelink {
  23. display: inline;
  24. }
  25. #pastelink > a {
  26. word-wrap: break-word;
  27. }
  28. #pastelink > a, #plaintext a, {
  29. word-wrap: break-word;
  30. }
  31. #message {
  32. height: 70dvh;
  33. }
  34. @media ((max-width: 450px) and (max-height: 950px)) {
  35. #message {
  36. height: 55dvh;
  37. }
  38. }
  39. #message, .replymessage {
  40. font-family: monospace;
  41. resize: vertical;
  42. }
  43. .comment {
  44. border-left: 1px solid #ccc;
  45. transition: background-color 0.75s ease-out;
  46. }
  47. .dropdown-menu {
  48. --bs-dropdown-min-width: 23rem;
  49. }
  50. [data-bs-theme=light] pre, [data-bs-theme=light] .card {
  51. background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1));
  52. }
  53. li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
  54. color: revert !important;
  55. list-style-type: decimal !important;
  56. }
  57. [data-bs-theme=dark] li.L1, [data-bs-theme=dark] li.L3, [data-bs-theme=dark] li.L5,
  58. [data-bs-theme=dark] li.L7, [data-bs-theme=dark] li.L9 {
  59. background-color: var(--bs-gray-dark) !important;
  60. }
  61. .text-right button {
  62. float: right;
  63. }
  64. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  65. float: left;
  66. }