1
0

privatebin.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. * @version 1.7.1
  10. */
  11. @import url("../common.css");
  12. body {
  13. padding: 0 0 30px;
  14. }
  15. body.navbar-spacing {
  16. padding-top: 70px;
  17. }
  18. body.loading {
  19. cursor: wait;
  20. }
  21. .buttondisabled {
  22. opacity: 0.3;
  23. }
  24. .navbar-nav {
  25. margin: 0 8px;
  26. }
  27. .nav.navbar-nav > li {
  28. margin-left: 8px;
  29. }
  30. .navbar-brand {
  31. padding: 6px 4px 0 8px;
  32. }
  33. .navbar-form {
  34. padding: 0;
  35. }
  36. .dropdown-menu > li > label, .dropdown-menu > li > div {
  37. clear: both;
  38. display: block;
  39. font-weight: normal;
  40. line-height: 1.42857;
  41. white-space: nowrap;
  42. }
  43. .dropdown-menu > li > label {
  44. color: #333;
  45. padding: 3px 20px 3px 40px;
  46. }
  47. .dropdown-menu > li > div {
  48. color: #777;
  49. padding: 3px 20px;
  50. cursor: default;
  51. }
  52. .pull-right .dropdown-menu {
  53. margin-left: -5em;
  54. }
  55. #language {
  56. margin-right: 8px;
  57. }
  58. #qrcodemodalClose {
  59. float: right;
  60. }
  61. #qrcode-display {
  62. width: 200px;
  63. height: 200px;
  64. margin: auto;
  65. }
  66. #pastelink {
  67. display: inline;
  68. }
  69. #pastelink > a {
  70. word-wrap: break-word;
  71. }
  72. #preview {
  73. margin-bottom: 10px;
  74. }
  75. #message, .replymessage {
  76. font-family: monospace;
  77. resize: vertical;
  78. }
  79. #nickname {
  80. margin: 5px 0;
  81. }
  82. #comments, #comments button {
  83. margin-bottom: 10px;
  84. }
  85. .comment {
  86. border-left: 1px solid #ccc;
  87. padding: 5px 0 5px 10px;
  88. transition: background-color 0.75s ease-out;
  89. }
  90. footer h4 {
  91. margin-top: 0;
  92. }
  93. li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
  94. list-style-type: decimal !important;
  95. }
  96. .dark-theme .alert-info .alert-link {
  97. color: #fff;
  98. }
  99. /* address 2K or 4K monitors when using bootstrap 3 */
  100. @media (min-width: 1280px) {
  101. .container {
  102. width: 100%;
  103. padding-left: 4ch;
  104. padding-right: 4ch;
  105. }
  106. }
  107. .modal-dialog {
  108. margin: auto !important;
  109. }
  110. /* makeup for the original margin on modal-dialog */
  111. @media (min-width: 768px) {
  112. .modal-content {
  113. margin: 30px 0;
  114. }
  115. }
  116. .modal-content {
  117. margin: 10px;
  118. }
  119. .modal-body {
  120. display: flex;
  121. justify-content: center;
  122. align-items: center;
  123. }
  124. .modal .modal-content button {
  125. margin: 0.5em 0;
  126. }
  127. /* right-to-left overrides */
  128. html[dir="rtl"] .checkbox label {
  129. padding-left: inherit;
  130. padding-right: 20px;
  131. }
  132. html[dir="rtl"] .checkbox input[type="checkbox"] {
  133. margin-left: inherit;
  134. margin-right: -20px;
  135. }
  136. html[dir="rtl"] #language {
  137. margin-left: inherit;
  138. margin-right: 8px;
  139. }
  140. html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
  141. float: left;
  142. }