privatebin.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. /**
  2. * PrivateBin
  3. *
  4. * Main CSS file.
  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.2
  10. */
  11. /* CSS Reset from YUI 3.4.1 (build 4118) - Copyright 2011 Yahoo! Inc. All rights reserved.
  12. Licensed under the BSD License. - http://yuilibrary.com/license/ */
  13. html{color:#000;background:#fff}body,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{font-size:100%;}legend{color:#000}
  14. html {
  15. background-color: #455463;
  16. color: #fff;
  17. min-height: 100%;
  18. background-image: linear-gradient(bottom, #0f1823 0, #455463 100%);
  19. background-image: -o-linear-gradient(bottom, #0f1823 0, #455463 100%);
  20. background-image: -moz-linear-gradient(bottom, #0f1823 0, #455463 100%);
  21. background-image: -webkit-linear-gradient(bottom, #0f1823 0, #455463 100%);
  22. background-image: -ms-linear-gradient(bottom, #0f1823 0, #455463 100%);
  23. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0f1823), color-stop(1, #455463));
  24. }
  25. body {
  26. font-family: Helvetica, Arial, sans-serif;
  27. font-size: 0.9em;
  28. margin-bottom: 15px;
  29. padding-left: 60px;
  30. padding-right: 60px;
  31. }
  32. a { color: #0f388f; cursor:pointer; }
  33. h1.title {
  34. font-size: 3.5em;
  35. font-weight: bold;
  36. color: #000;
  37. position: relative;
  38. display: inline;
  39. cursor: pointer;
  40. }
  41. h1.title:before {
  42. content: attr(title);
  43. position: absolute;
  44. color: rgba(255,255,255,0.15);
  45. top: 1px;
  46. left: 1px;
  47. cursor: pointer;
  48. }
  49. h2.title {
  50. color: #000;
  51. font-size: 1em;
  52. display: inline;
  53. font-style: italic;
  54. font-weight: bold;
  55. position: relative;
  56. bottom: 8px;
  57. }
  58. h3.title {
  59. color: #94a3b4;
  60. font-size: 0.7em;
  61. display: inline;
  62. margin-top: 10px;
  63. position: relative;
  64. bottom: 8px;
  65. }
  66. #aboutbox {
  67. color: #94a3b4;
  68. padding: 4px 8px 4px 16px;
  69. position: relative;
  70. top: 10px;
  71. border-left: 2px solid #94a3b4;
  72. float: right;
  73. width: 60%;
  74. }
  75. #aboutbox a { color: #94a3b4; }
  76. #message, #cleartext, #prettymessage, #attachment, .replymessage {
  77. clear: both;
  78. color: #000;
  79. background-color: #fff;
  80. font-size: 9pt;
  81. border: 1px solid #28343F;
  82. box-sizing: border-box;
  83. -webkit-box-sizing: border-box;
  84. -moz-box-sizing: border-box;
  85. -ms-box-sizing: border-box;
  86. -o-box-sizing: border-box;
  87. width: 100%;
  88. }
  89. #message, .replymessage {
  90. padding: 5px;
  91. white-space: pre-wrap;
  92. font-family: Consolas, "Lucida Console", "DejaVu Sans Mono", Monaco, monospace;
  93. }
  94. #attachmentPreview img {
  95. max-width: 100%;
  96. height: auto;
  97. }
  98. #attachmentPreview .pdfPreview {
  99. width: 100%;
  100. height: 100vh;
  101. margin-bottom: 20px;
  102. }
  103. .dragAndDropFile{
  104. color:#777;
  105. font-size:1em;
  106. display:inline;
  107. }
  108. #status {
  109. clear: both;
  110. padding: 5px 10px;
  111. }
  112. #pasteresult {
  113. background-color: #1F2833;
  114. color: #fff;
  115. padding: 4px 12px;
  116. clear: both;
  117. -moz-box-shadow: inset 0 2px 2px #000;
  118. -webkit-box-shadow: inset 0 2px 2px #000;
  119. box-shadow: inset 0 2px 2px #000;
  120. }
  121. #pasteresult a { color: #fff; }
  122. #pasteresult button { margin-left: 11px; }
  123. #deletelink { float: right; }
  124. #toolbar, #status { margin-bottom: 5px; }
  125. #copyhint { color: #666; font-size: 0.85em }
  126. button, .button {
  127. color: #fff;
  128. background-color: #323b47;
  129. background-repeat: no-repeat;
  130. background-position: center left;
  131. padding: 4px 8px;
  132. font-size: 1em;
  133. margin-right: 5px;
  134. display: inline-block;
  135. background-image: linear-gradient(bottom, #323b47 0, #51606e 100%);
  136. background-image: -o-linear-gradient(bottom, #323b47 0, #51606e 100%);
  137. background-image: -moz-linear-gradient(bottom, #323b47 0, #51606e 100%);
  138. background-image: -webkit-linear-gradient(bottom, #323b47 0, #51606e 100%);
  139. background-image: -ms-linear-gradient(bottom, #323b47 0, #51606e 100%);
  140. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #323b47), color-stop(1, #51606e));
  141. border: 1px solid #28343F;
  142. -moz-box-shadow: inset 0 1px 2px #647384;
  143. -webkit-box-shadow: inset 0 1px 2px #647384;
  144. box-shadow: inset 0 1px 2px #647384;
  145. -webkit-border-radius: 3px;
  146. -moz-border-radius: 3px;
  147. border-radius: 3px;
  148. -moz-background-clip: padding;
  149. -webkit-background-clip: padding-box;
  150. background-clip: padding-box;
  151. }
  152. button:hover {
  153. background-image: linear-gradient(bottom, #424b57 0%, #61707e 100%);
  154. background-image: -o-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  155. background-image: -moz-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  156. background-image: -webkit-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  157. background-image: -ms-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  158. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #424b57), color-stop(1, #61707e));
  159. }
  160. button:active {
  161. background-image: linear-gradient(bottom, #51606e 0, #323b47 100%);
  162. background-image: -o-linear-gradient(bottom, #51606e 0, #323b47 100%);
  163. background-image: -moz-linear-gradient(bottom, #51606e 0, #323b47 100%);
  164. background-image: -webkit-linear-gradient(bottom, #51606e 0, #323b47 100%);
  165. background-image: -ms-linear-gradient(bottom, #51606e 0, #323b47 100%);
  166. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #51606e), color-stop(1, #323b47));
  167. position:relative;
  168. top:1px;
  169. }
  170. button:disabled, .buttondisabled {
  171. background: #ccc;
  172. color: #888;
  173. top: 0;
  174. }
  175. button img {
  176. margin-right: 8px;
  177. position: relative;
  178. top: 2px;
  179. }
  180. .button {
  181. background-color: #414d5a;
  182. padding: 6px 8px;
  183. margin: 0 5px 0 0;
  184. position: relative;
  185. bottom: 1px; /* WTF ? Why is this shifted by 1 pixel ? */
  186. }
  187. .button select {
  188. color: #eee;
  189. background: transparent;
  190. border: none;
  191. }
  192. .button select option {
  193. color:#eee;
  194. background: #414d5a;
  195. }
  196. #rawtextbutton img {
  197. padding: 1px 0 1px 0;
  198. }
  199. #remainingtime, #password {
  200. color: #94a3b4;
  201. display: inline;
  202. font-size: 0.85em;
  203. }
  204. #newbutton {
  205. float: right;
  206. margin-right: 0;
  207. margin-bottom: 5px;
  208. display: inline;
  209. }
  210. input {
  211. color: #777;
  212. font-size: 1em;
  213. padding: 6px;
  214. border: 1px solid #28343f;
  215. }
  216. .blink {
  217. text-decoration: blink;
  218. font-size: 0.8em;
  219. color: #a4b3c4;
  220. }
  221. .foryoureyesonly {
  222. color: #ff0 !important;
  223. font-size: 1em !important;
  224. font-weight: bold !important;
  225. }
  226. #attachmentPreview, .nonworking {
  227. background-color: #fff;
  228. color: #000;
  229. width: 100%;
  230. text-align: center;
  231. font-weight: bold;
  232. font-size: 10pt;
  233. -webkit-border-radius: 4px;
  234. -moz-border-radius: 4px;
  235. border-radius: 4px;
  236. padding: 5px 0;
  237. }
  238. .hidden { display: none !important; }
  239. #ienotice {
  240. background-color: #7e98af;
  241. color: #000;
  242. font-size: 0.85em;
  243. padding: 3px 5px;
  244. text-align: center;
  245. -webkit-border-radius: 4px;
  246. -moz-border-radius: 4px;
  247. border-radius: 4px;
  248. display: none;
  249. }
  250. #ienotice a { color: #000; }
  251. #oldienotice { display: none; }
  252. .errorMessage {
  253. background-color: #f77 !important;
  254. color:#ff0;
  255. }
  256. .small {
  257. font-size: 80%;
  258. }
  259. /* --- discussion related CSS ------- */
  260. #discussion { /* Discussion container */
  261. margin-top: 20px;
  262. width: 100%;
  263. margin-left: -30px;
  264. min-width: 200px;
  265. }
  266. h4.title {
  267. font-size: 1.2em;
  268. color: #94a3b4;
  269. font-style: italic;
  270. font-weight: bold;
  271. position: relative;
  272. margin-left: 30px;
  273. }
  274. .comment /* One single reply */
  275. {
  276. background-color: #ceced6;
  277. color: #000;
  278. white-space: pre-wrap;
  279. font-family: Consolas,"Lucida Console","DejaVu Sans Mono",Monaco,monospace;
  280. font-size: 9pt;
  281. border-left: 1px solid #859AAE;
  282. border-top: 1px solid #859AAE;
  283. padding: 5px 0px 5px 5px;
  284. margin-left: 30px;
  285. -moz-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  286. -webkit-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  287. box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  288. min-width: 200px;
  289. overflow: auto;
  290. }
  291. .reply { margin: 5px 0 0 30px; }
  292. #replystatus {
  293. display: inline;
  294. padding: 1px 7px;
  295. font-family: Arial, Helvetica, sans-serif;
  296. }
  297. .comment button {
  298. color: #446;
  299. background-color: #aab;
  300. background-repeat: no-repeat;
  301. background-position: center left;
  302. padding: 0 2px;
  303. font-size: 0.73em;
  304. margin: 3px 5px 3px 0;
  305. display: inline;
  306. background-image: linear-gradient(bottom, #aab 0, #ccc 100%);
  307. background-image: -o-linear-gradient(bottom, #aab 0, #ccc 100%);
  308. background-image: -moz-linear-gradient(bottom, #aab 0, #ccc 100%);
  309. background-image: -webkit-linear-gradient(bottom, #aab 0, #ccc 100%);
  310. background-image: -ms-linear-gradient(bottom, #aab 0, #ccc 100%);
  311. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #aab), color-stop(1, #ccc));
  312. border: 1px solid #ccd;
  313. -moz-box-shadow: inset 0 1px 2px #ddd;
  314. -webkit-box-shadow: inset 0 1px 2px #fff;
  315. box-shadow: inset 0 1px 2px #eee;
  316. -webkit-border-radius: 3px;
  317. -moz-border-radius: 3px;
  318. border-radius: 3px;
  319. -moz-background-clip: padding;
  320. -webkit-background-clip: padding-box;
  321. background-clip: padding-box;
  322. }
  323. .comment button:hover {
  324. background-image: linear-gradient(bottom, #ccd 0, #fff 100%);
  325. background-image: -o-linear-gradient(bottom, #ccd 0, #fff 100%);
  326. background-image: -moz-linear-gradient(bottom, #ccd 0, #fff 100%);
  327. background-image: -webkit-linear-gradient(bottom, #ccd 0, #fff 100%);
  328. background-image: -ms-linear-gradient(bottom, #ccd 0, #fff 100%);
  329. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccd), color-stop(1, #fff));
  330. }
  331. .comment button:active {
  332. background-image: linear-gradient(bottom, #fff 0, #889 100%);
  333. background-image: -o-linear-gradient(bottom, #fff 0, #889 100%);
  334. background-image: -moz-linear-gradient(bottom, #fff 0, #889 100%);
  335. background-image: -webkit-linear-gradient(bottom, #fff 0, #889 100%);
  336. background-image: -ms-linear-gradient(bottom, #fff 0, #889 100%);
  337. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, #889));
  338. position:relative;
  339. top:1px;
  340. }
  341. .comment input { padding: 2px; }
  342. #replymessage { margin-top: 5px; }
  343. .commentmeta {
  344. color: #fff;
  345. background-color: #8ea0b2;
  346. margin-bottom: 3px;
  347. padding: 0 0 0 3px;
  348. }
  349. .commentdate { color: #bfcede; }
  350. img.vizhash {
  351. width: 16px;
  352. height: 16px;
  353. position: relative;
  354. top: 2px;
  355. left: -3px;
  356. }
  357. #prettyprint {
  358. color: #000000;
  359. font-size: 1.2em;
  360. }
  361. #prettyprint.prettyprinted {
  362. overflow: auto;
  363. }
  364. #cleartext {
  365. padding: 10px;
  366. }
  367. #cleartext * {
  368. margin-bottom: 10px;
  369. }
  370. #cleartext ol {
  371. list-style: auto;
  372. margin-left: 15px;
  373. }
  374. #cleartext ul {
  375. list-style: disc;
  376. margin-left: 15px;
  377. }
  378. #cleartext h1, #cleartext h2, #cleartext h3, #cleartext h4, #cleartext h5, #cleartext h6 {
  379. font-weight: bold;
  380. }
  381. #cleartext h1 {
  382. font-size: 2em;
  383. }
  384. #cleartext h2 {
  385. font-size: 1.5em;
  386. }
  387. #cleartext h3 {
  388. font-size: 1.2em;
  389. }