privatebin.css 12 KB

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