privatebin.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. /**
  2. * PrivateBin
  3. *
  4. * Cascading style sheets for bootstrap 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. 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. #qrcodemodalClose {
  58. float: right;
  59. }
  60. #qrcode-display {
  61. width: 200px;
  62. height: 200px;
  63. margin: auto;
  64. }
  65. #pastelink {
  66. display: inline;
  67. }
  68. #pastelink > a {
  69. word-wrap: break-word;
  70. }
  71. #preview {
  72. margin-bottom: 10px;
  73. }
  74. #message, .replymessage {
  75. font-family: monospace;
  76. resize: vertical;
  77. }
  78. #nickname {
  79. margin: 5px 0;
  80. }
  81. #comments, #comments button {
  82. margin-bottom: 10px;
  83. }
  84. .comment {
  85. border-left: 1px solid #ccc;
  86. padding: 5px 0 5px 10px;
  87. transition: background-color 0.75s ease-out;
  88. }
  89. footer h4 {
  90. margin-top: 0;
  91. }
  92. li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
  93. list-style-type: decimal !important;
  94. }
  95. .dark-theme .alert-info .alert-link {
  96. color: #fff;
  97. }
  98. /* address 2K or 4K monitors when using bootstrap 3 */
  99. @media (min-width: 1280px) {
  100. .container {
  101. width: 100%;
  102. padding-left: 4ch;
  103. padding-right: 4ch;
  104. }
  105. }
  106. .modal-dialog {
  107. margin: auto !important;
  108. }
  109. /* makeup for the original margin on modal-dialog */
  110. @media (min-width: 768px) {
  111. .modal-content {
  112. margin: 30px 0;
  113. }
  114. }
  115. .modal-content {
  116. margin: 10px;
  117. }
  118. .modal-body {
  119. display: flex;
  120. justify-content: center;
  121. align-items: center;
  122. }
  123. .modal .modal-content button {
  124. margin: 0.5em 0;
  125. }
  126. /* right-to-left overrides */
  127. html[dir="rtl"] .checkbox label {
  128. padding-left: inherit;
  129. padding-right: 20px;
  130. }
  131. html[dir="rtl"] .checkbox input[type="checkbox"] {
  132. margin-left: inherit;
  133. margin-right: -20px;
  134. }
  135. html[dir="rtl"] #language {
  136. margin-left: inherit;
  137. margin-right: 8px;
  138. }
  139. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  140. float: left;
  141. }
  142. #prettyprint {
  143. padding-right: 30px;
  144. }
  145. #prettymessageCopyBtn {
  146. position: absolute;
  147. top: 5px;
  148. right: 20px;
  149. width: 25px;
  150. height: 25px;
  151. padding: 0;
  152. background: none;
  153. border: none;
  154. z-index: 1;
  155. }
  156. #prettymessageCopyBtn svg {
  157. width: 100%;
  158. }
  159. #copyIcon {
  160. fill: rgb(145, 152, 161);
  161. opacity: 0.4;
  162. transition: all 0.3s ease;
  163. }
  164. #copyIcon:hover {
  165. opacity: 1;
  166. }
  167. #copySuccessIcon {
  168. fill: rgb(63, 185, 80);
  169. display: none;
  170. }
  171. #copyShortcutHint {
  172. margin-bottom: 5px;
  173. }