privatebin.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  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.5.1
  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. resize: vertical;
  94. }
  95. #attachmentPreview img {
  96. max-width: 100%;
  97. height: auto;
  98. }
  99. #attachmentPreview .pdfPreview {
  100. width: 100%;
  101. height: 100vh;
  102. margin-bottom: 20px;
  103. }
  104. #dropzone {
  105. text-align: center;
  106. position: fixed;
  107. top: 0;
  108. left: 0;
  109. width: 100%;
  110. height: 100%;
  111. z-index: 1000;
  112. opacity: 0.6;
  113. background-color: #99ccff;
  114. 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");
  115. background-repeat: no-repeat;
  116. background-position: center;
  117. background-size: 25vh;
  118. outline: 2px dashed #228bff;
  119. outline-offset: -50px;
  120. }
  121. .dragAndDropFile{
  122. color: #777;
  123. font-size: 1em;
  124. display: inline;
  125. white-space: normal;
  126. }
  127. #status {
  128. clear: both;
  129. padding: 5px 10px;
  130. }
  131. #pasteresult {
  132. background-color: #1F2833;
  133. color: #fff;
  134. padding: 4px 12px;
  135. clear: both;
  136. -moz-box-shadow: inset 0 2px 2px #000;
  137. -webkit-box-shadow: inset 0 2px 2px #000;
  138. box-shadow: inset 0 2px 2px #000;
  139. }
  140. #pasteresult a { color: #fff; }
  141. #pasteresult button { margin-left: 11px; }
  142. #deletelink { float: right; }
  143. #toolbar, #status { margin-bottom: 5px; }
  144. #copyhint { color: #666; font-size: 0.85em }
  145. button, .button {
  146. color: #fff;
  147. background-color: #323b47;
  148. background-repeat: no-repeat;
  149. background-position: center left;
  150. padding: 4px 8px;
  151. font-size: 1em;
  152. margin-right: 5px;
  153. display: inline-block;
  154. background-image: linear-gradient(bottom, #323b47 0, #51606e 100%);
  155. background-image: -o-linear-gradient(bottom, #323b47 0, #51606e 100%);
  156. background-image: -moz-linear-gradient(bottom, #323b47 0, #51606e 100%);
  157. background-image: -webkit-linear-gradient(bottom, #323b47 0, #51606e 100%);
  158. background-image: -ms-linear-gradient(bottom, #323b47 0, #51606e 100%);
  159. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #323b47), color-stop(1, #51606e));
  160. border: 1px solid #28343F;
  161. -moz-box-shadow: inset 0 1px 2px #647384;
  162. -webkit-box-shadow: inset 0 1px 2px #647384;
  163. box-shadow: inset 0 1px 2px #647384;
  164. -webkit-border-radius: 3px;
  165. -moz-border-radius: 3px;
  166. border-radius: 3px;
  167. -moz-background-clip: padding;
  168. -webkit-background-clip: padding-box;
  169. background-clip: padding-box;
  170. }
  171. button:hover {
  172. background-image: linear-gradient(bottom, #424b57 0%, #61707e 100%);
  173. background-image: -o-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  174. background-image: -moz-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  175. background-image: -webkit-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  176. background-image: -ms-linear-gradient(bottom, #424b57 0%, #61707e 100%);
  177. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #424b57), color-stop(1, #61707e));
  178. }
  179. button:active {
  180. background-image: linear-gradient(bottom, #51606e 0, #323b47 100%);
  181. background-image: -o-linear-gradient(bottom, #51606e 0, #323b47 100%);
  182. background-image: -moz-linear-gradient(bottom, #51606e 0, #323b47 100%);
  183. background-image: -webkit-linear-gradient(bottom, #51606e 0, #323b47 100%);
  184. background-image: -ms-linear-gradient(bottom, #51606e 0, #323b47 100%);
  185. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #51606e), color-stop(1, #323b47));
  186. position:relative;
  187. top:1px;
  188. }
  189. button:disabled, .buttondisabled {
  190. background: #ccc;
  191. color: #888;
  192. top: 0;
  193. }
  194. button img {
  195. margin-right: 8px;
  196. position: relative;
  197. top: 2px;
  198. }
  199. .button {
  200. background-color: #414d5a;
  201. padding: 6px 8px;
  202. margin: 0 5px 0 0;
  203. position: relative;
  204. bottom: 1px; /* WTF ? Why is this shifted by 1 pixel ? */
  205. }
  206. .button select {
  207. color: #eee;
  208. background: transparent;
  209. border: none;
  210. }
  211. .button select option {
  212. color:#eee;
  213. background: #414d5a;
  214. }
  215. #rawtextbutton img {
  216. padding: 1px 0 1px 0;
  217. }
  218. #downloadtextbutton img {
  219. padding: 1px 0 1px 0;
  220. }
  221. #remainingtime, #password {
  222. color: #94a3b4;
  223. display: inline;
  224. font-size: 0.85em;
  225. }
  226. #newbutton {
  227. float: right;
  228. margin-right: 0;
  229. margin-bottom: 5px;
  230. display: inline;
  231. }
  232. input {
  233. color: #777;
  234. font-size: 1em;
  235. padding: 6px;
  236. border: 1px solid #28343f;
  237. }
  238. .blink {
  239. text-decoration: blink;
  240. font-size: 0.8em;
  241. color: #a4b3c4;
  242. }
  243. .foryoureyesonly {
  244. color: #ff0 !important;
  245. font-size: 1em !important;
  246. font-weight: bold !important;
  247. }
  248. #attachmentPreview, .nonworking {
  249. background-color: #fff;
  250. color: #000;
  251. width: 100%;
  252. text-align: center;
  253. font-weight: bold;
  254. font-size: 10pt;
  255. -webkit-border-radius: 4px;
  256. -moz-border-radius: 4px;
  257. border-radius: 4px;
  258. padding: 5px 0;
  259. }
  260. .hidden { display: none !important; }
  261. #ienotice {
  262. background-color: #7e98af;
  263. color: #000;
  264. font-size: 0.85em;
  265. padding: 3px 5px;
  266. text-align: center;
  267. -webkit-border-radius: 4px;
  268. -moz-border-radius: 4px;
  269. border-radius: 4px;
  270. display: none;
  271. }
  272. #ienotice a { color: #000; }
  273. #oldnotice, #httpnotice { display: none; }
  274. #errormessage, .errorMessage {
  275. background-color: #f77 !important;
  276. color:#ff0;
  277. }
  278. .small {
  279. font-size: 80%;
  280. }
  281. /* --- discussion related CSS ------- */
  282. #discussion { /* Discussion container */
  283. margin-top: 20px;
  284. width: 100%;
  285. margin-left: -30px;
  286. min-width: 200px;
  287. }
  288. h4.title {
  289. font-size: 1.2em;
  290. color: #94a3b4;
  291. font-style: italic;
  292. font-weight: bold;
  293. position: relative;
  294. margin-left: 30px;
  295. }
  296. .comment /* One single reply */
  297. {
  298. background-color: #ceced6;
  299. color: #000;
  300. white-space: pre-wrap;
  301. font-family: Consolas,"Lucida Console","DejaVu Sans Mono",Monaco,monospace;
  302. font-size: 9pt;
  303. border-left: 1px solid #859AAE;
  304. border-top: 1px solid #859AAE;
  305. padding: 5px 0px 5px 5px;
  306. margin-left: 30px;
  307. -moz-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  308. -webkit-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  309. box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  310. min-width: 200px;
  311. overflow: auto;
  312. }
  313. .reply { margin: 5px 0 0 30px; }
  314. #replystatus {
  315. display: inline;
  316. padding: 1px 7px;
  317. font-family: Arial, Helvetica, sans-serif;
  318. }
  319. .comment button {
  320. color: #446;
  321. background-color: #aab;
  322. background-repeat: no-repeat;
  323. background-position: center left;
  324. padding: 0 2px;
  325. font-size: 0.73em;
  326. margin: 3px 5px 3px 0;
  327. display: inline;
  328. background-image: linear-gradient(bottom, #aab 0, #ccc 100%);
  329. background-image: -o-linear-gradient(bottom, #aab 0, #ccc 100%);
  330. background-image: -moz-linear-gradient(bottom, #aab 0, #ccc 100%);
  331. background-image: -webkit-linear-gradient(bottom, #aab 0, #ccc 100%);
  332. background-image: -ms-linear-gradient(bottom, #aab 0, #ccc 100%);
  333. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #aab), color-stop(1, #ccc));
  334. border: 1px solid #ccd;
  335. -moz-box-shadow: inset 0 1px 2px #ddd;
  336. -webkit-box-shadow: inset 0 1px 2px #fff;
  337. box-shadow: inset 0 1px 2px #eee;
  338. -webkit-border-radius: 3px;
  339. -moz-border-radius: 3px;
  340. border-radius: 3px;
  341. -moz-background-clip: padding;
  342. -webkit-background-clip: padding-box;
  343. background-clip: padding-box;
  344. }
  345. .comment button:hover {
  346. background-image: linear-gradient(bottom, #ccd 0, #fff 100%);
  347. background-image: -o-linear-gradient(bottom, #ccd 0, #fff 100%);
  348. background-image: -moz-linear-gradient(bottom, #ccd 0, #fff 100%);
  349. background-image: -webkit-linear-gradient(bottom, #ccd 0, #fff 100%);
  350. background-image: -ms-linear-gradient(bottom, #ccd 0, #fff 100%);
  351. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccd), color-stop(1, #fff));
  352. }
  353. .comment button:active {
  354. background-image: linear-gradient(bottom, #fff 0, #889 100%);
  355. background-image: -o-linear-gradient(bottom, #fff 0, #889 100%);
  356. background-image: -moz-linear-gradient(bottom, #fff 0, #889 100%);
  357. background-image: -webkit-linear-gradient(bottom, #fff 0, #889 100%);
  358. background-image: -ms-linear-gradient(bottom, #fff 0, #889 100%);
  359. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, #889));
  360. position:relative;
  361. top:1px;
  362. }
  363. .comment input { padding: 2px; }
  364. #replymessage { margin-top: 5px; }
  365. .commentmeta {
  366. color: #fff;
  367. background-color: #8ea0b2;
  368. margin-bottom: 3px;
  369. padding: 0 0 0 3px;
  370. }
  371. .commentdate { color: #bfcede; }
  372. #filewrap {
  373. transition: background-color 0.75s ease-out;
  374. }
  375. .highlight {
  376. background-color: #ffdd86;
  377. transition: background-color 0.2s ease-in;
  378. }
  379. img.vizhash {
  380. width: 16px;
  381. height: 16px;
  382. position: relative;
  383. top: 2px;
  384. left: -3px;
  385. }
  386. #prettyprint {
  387. color: #000000;
  388. font-size: 1.2em;
  389. }
  390. #prettyprint.prettyprinted {
  391. overflow: auto;
  392. }
  393. #cleartext {
  394. padding: 10px;
  395. }
  396. #cleartext * {
  397. margin-bottom: 10px;
  398. }
  399. #cleartext ol {
  400. list-style: auto;
  401. margin-left: 15px;
  402. }
  403. #cleartext ul {
  404. list-style: disc;
  405. margin-left: 15px;
  406. }
  407. #cleartext h1, #cleartext h2, #cleartext h3, #cleartext h4, #cleartext h5, #cleartext h6 {
  408. font-weight: bold;
  409. }
  410. #cleartext h1 {
  411. font-size: 2em;
  412. }
  413. #cleartext h2 {
  414. font-size: 1.5em;
  415. }
  416. #cleartext h3 {
  417. font-size: 1.2em;
  418. }