privatebin.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. #preview {
  29. margin-bottom: 10px;
  30. }
  31. #message {
  32. height: 70vh;
  33. }
  34. #message, .replymessage {
  35. font-family: monospace;
  36. resize: vertical;
  37. }
  38. #nickname {
  39. margin: 5px 0;
  40. }
  41. #comments, #comments button {
  42. margin-bottom: 10px;
  43. }
  44. .comment {
  45. border-left: 1px solid #ccc;
  46. padding: 5px 0 5px 10px;
  47. transition: background-color 0.75s ease-out;
  48. }
  49. .dropdown-menu {
  50. --bs-dropdown-min-width: 23rem;
  51. }
  52. [data-bs-theme=light] pre, [data-bs-theme=light] .card {
  53. background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1));
  54. }
  55. li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
  56. color: revert !important;
  57. list-style-type: decimal !important;
  58. }
  59. [data-bs-theme=dark] li.L1, [data-bs-theme=dark] li.L3, [data-bs-theme=dark] li.L5,
  60. [data-bs-theme=dark] li.L7, [data-bs-theme=dark] li.L9 {
  61. background-color: var(--bs-gray-dark) !important;
  62. }
  63. .text-right button {
  64. float: right;
  65. }
  66. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  67. float: left;
  68. }
  69. #prettyprint {
  70. padding-right: 30px;
  71. }
  72. #prettymessageCopyBtn {
  73. position: absolute;
  74. top: 5px;
  75. right: 5px;
  76. width: 25px;
  77. height: 25px;
  78. padding: 0;
  79. background: none;
  80. border: none;
  81. z-index: 1;
  82. }
  83. #prettymessageCopyBtn svg {
  84. width: 100%;
  85. }
  86. #copyIcon {
  87. fill: rgb(145, 152, 161);
  88. opacity: 0.4;
  89. transition: all 0.3s ease;
  90. }
  91. #copyIcon:hover {
  92. opacity: 1;
  93. }
  94. #copySuccessIcon {
  95. fill: rgb(63, 185, 80);
  96. display: none;
  97. }