privatebin.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. #message, #placeholder, #plaintext, #prettymessage {
  72. height: 70vh;
  73. }
  74. #message, .replymessage {
  75. font-family: monospace;
  76. resize: vertical;
  77. }
  78. #nickname {
  79. margin: 5px 0;
  80. }
  81. .comment {
  82. border-left: 1px solid #ccc;
  83. padding: 5px 0 5px 10px;
  84. transition: background-color 0.75s ease-out;
  85. }
  86. footer h4 {
  87. margin-top: 0;
  88. }
  89. li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
  90. list-style-type: decimal !important;
  91. }
  92. .dark-theme .alert-info .alert-link {
  93. color: #fff;
  94. }
  95. /* address 2K or 4K monitors when using bootstrap 3 */
  96. @media (min-width: 1280px) {
  97. .container {
  98. width: 100%;
  99. padding-left: 4ch;
  100. padding-right: 4ch;
  101. }
  102. }
  103. .modal-dialog {
  104. margin: auto !important;
  105. }
  106. /* makeup for the original margin on modal-dialog */
  107. @media (min-width: 768px) {
  108. .modal-content {
  109. margin: 30px 0;
  110. }
  111. }
  112. .modal-content {
  113. margin: 10px;
  114. }
  115. .modal-body {
  116. display: flex;
  117. justify-content: center;
  118. align-items: center;
  119. }
  120. .modal .modal-content button {
  121. margin: 0.5em 0;
  122. }
  123. /* right-to-left overrides */
  124. html[dir="rtl"] .checkbox label {
  125. padding-left: inherit;
  126. padding-right: 20px;
  127. }
  128. html[dir="rtl"] .checkbox input[type="checkbox"] {
  129. margin-left: inherit;
  130. margin-right: -20px;
  131. }
  132. html[dir="rtl"] #language {
  133. margin-left: inherit;
  134. margin-right: 8px;
  135. }
  136. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  137. float: left;
  138. }