privatebin.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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.6.2
  10. */
  11. body {
  12. padding: 0 0 30px;
  13. }
  14. body.navbar-spacing {
  15. padding-top: 70px;
  16. }
  17. body.loading {
  18. cursor: wait;
  19. }
  20. .buttondisabled {
  21. opacity: 0.3;
  22. }
  23. .navbar-nav {
  24. margin: 0 8px;
  25. }
  26. .nav.navbar-nav > li {
  27. margin-left: 8px;
  28. }
  29. .navbar-brand {
  30. padding: 6px 4px 0 8px;
  31. }
  32. .navbar-form {
  33. padding: 0;
  34. }
  35. .dropdown-menu > li > label, .dropdown-menu > li > div {
  36. clear: both;
  37. display: block;
  38. font-weight: normal;
  39. line-height: 1.42857;
  40. white-space: nowrap;
  41. }
  42. .dropdown-menu > li > label {
  43. color: #333;
  44. padding: 3px 20px 3px 40px;
  45. }
  46. .dropdown-menu > li > div {
  47. color: #777;
  48. padding: 3px 20px;
  49. cursor: default;
  50. }
  51. .pull-right .dropdown-menu {
  52. margin-left: -5em;
  53. }
  54. #language {
  55. margin-right: 8px;
  56. }
  57. #attachmentPreview img {
  58. max-width: 100%;
  59. height: auto;
  60. margin-bottom: 20px;
  61. }
  62. #attachmentPreview .pdfPreview {
  63. width: 100%;
  64. height: 100vh;
  65. margin-bottom: 20px;
  66. }
  67. #dropzone {
  68. text-align: center;
  69. position: fixed;
  70. top: 0;
  71. left: 0;
  72. width: 100%;
  73. height: 100%;
  74. z-index: 1000;
  75. opacity: 0.6;
  76. background-color: #99ccff;
  77. 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");
  78. background-repeat: no-repeat;
  79. background-position: center;
  80. background-size: 25vh;
  81. outline: 2px dashed #228bff;
  82. outline-offset: -50px;
  83. }
  84. .dragAndDropFile{
  85. color: #777;
  86. font-size: 1em;
  87. display: inline;
  88. white-space: normal;
  89. }
  90. #deletelink {
  91. float: right;
  92. margin-left: 5px;
  93. }
  94. #qrcodemodalClose {
  95. float: right;
  96. }
  97. #qrcode-display {
  98. width: 200px;
  99. height: 200px;
  100. margin: auto;
  101. }
  102. #pastelink {
  103. display: inline;
  104. }
  105. #pastelink > a {
  106. word-wrap: break-word;
  107. }
  108. #preview {
  109. margin-bottom: 10px;
  110. }
  111. #message, .replymessage {
  112. font-family: monospace;
  113. resize: vertical;
  114. }
  115. #nickname {
  116. margin: 5px 0;
  117. }
  118. #comments, #comments button {
  119. margin-bottom: 10px;
  120. }
  121. #filewrap {
  122. transition: background-color 0.75s ease-out;
  123. }
  124. .comment {
  125. border-left: 1px solid #ccc;
  126. padding: 5px 0 5px 10px;
  127. white-space: pre-wrap;
  128. transition: background-color 0.75s ease-out;
  129. }
  130. .highlight {
  131. background-color: #ffdd86;
  132. transition: background-color 0.2s ease-in;
  133. }
  134. footer h4 {
  135. margin-top: 0;
  136. }
  137. li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
  138. list-style-type: decimal !important;
  139. }
  140. .dark-theme .alert-info .alert-link {
  141. color: #fff;
  142. }
  143. /* address 2K or 4K monitors when using bootstrap 3 */
  144. @media (min-width: 1280px) {
  145. .container {
  146. width: 100%;
  147. padding-left: 4ch;
  148. padding-right: 4ch;
  149. }
  150. }
  151. .modal-dialog {
  152. margin: auto !important;
  153. }
  154. /* makeup for the original margin on modal-dialog */
  155. @media (min-width: 768px) {
  156. .modal-content {
  157. margin: 30px 0;
  158. }
  159. }
  160. .modal-content {
  161. margin: 10px;
  162. }
  163. .modal-body {
  164. display: flex;
  165. justify-content: center;
  166. align-items: center;
  167. }
  168. .modal .modal-content button {
  169. margin: 0.5em 0;
  170. }
  171. /* right-to-left overrides */
  172. html[dir="rtl"] .checkbox label {
  173. padding-left: inherit;
  174. padding-right: 20px;
  175. }
  176. html[dir="rtl"] .checkbox input[type="checkbox"] {
  177. margin-left: inherit;
  178. margin-right: -20px;
  179. }
  180. html[dir="rtl"] #language {
  181. margin-left: inherit;
  182. margin-right: 8px;
  183. }
  184. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  185. float: left;
  186. }