1
0

privatebin.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  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.6.0
  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-left: 0;
  229. margin-right: 0;
  230. margin-bottom: 5px;
  231. display: inline;
  232. }
  233. input {
  234. color: #777;
  235. font-size: 1em;
  236. padding: 6px;
  237. border: 1px solid #28343f;
  238. }
  239. .blink {
  240. text-decoration: blink;
  241. font-size: 0.8em;
  242. color: #a4b3c4;
  243. }
  244. .foryoureyesonly {
  245. color: #ff0 !important;
  246. font-size: 1em !important;
  247. font-weight: bold !important;
  248. }
  249. #attachmentPreview, .nonworking {
  250. background-color: #fff;
  251. color: #000;
  252. width: 100%;
  253. text-align: center;
  254. font-weight: bold;
  255. font-size: 10pt;
  256. -webkit-border-radius: 4px;
  257. -moz-border-radius: 4px;
  258. border-radius: 4px;
  259. padding: 5px 0;
  260. }
  261. .hidden { display: none !important; }
  262. #ienotice {
  263. background-color: #7e98af;
  264. color: #000;
  265. font-size: 0.85em;
  266. padding: 3px 5px;
  267. text-align: center;
  268. -webkit-border-radius: 4px;
  269. -moz-border-radius: 4px;
  270. border-radius: 4px;
  271. display: none;
  272. }
  273. #ienotice a { color: #000; }
  274. #oldnotice, #httpnotice { display: none; }
  275. #errormessage, .errorMessage {
  276. background-color: #f77 !important;
  277. color:#ff0;
  278. }
  279. .small {
  280. font-size: 80%;
  281. }
  282. /* --- discussion related CSS ------- */
  283. #discussion { /* Discussion container */
  284. margin-top: 20px;
  285. width: 100%;
  286. margin-left: -30px;
  287. min-width: 200px;
  288. }
  289. h4.title {
  290. font-size: 1.2em;
  291. color: #94a3b4;
  292. font-style: italic;
  293. font-weight: bold;
  294. position: relative;
  295. margin-left: 30px;
  296. }
  297. .comment /* One single reply */
  298. {
  299. background-color: #ceced6;
  300. color: #000;
  301. white-space: pre-wrap;
  302. font-family: Consolas,"Lucida Console","DejaVu Sans Mono",Monaco,monospace;
  303. font-size: 9pt;
  304. border-left: 1px solid #859AAE;
  305. border-top: 1px solid #859AAE;
  306. padding: 5px 0px 5px 5px;
  307. margin-left: 30px;
  308. -moz-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  309. -webkit-box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  310. box-shadow: -3px -3px 5px rgba(0,0,0,0.15);
  311. min-width: 200px;
  312. overflow: auto;
  313. }
  314. .reply { margin: 5px 0 0 30px; }
  315. #replystatus {
  316. display: inline;
  317. padding: 1px 7px;
  318. font-family: Arial, Helvetica, sans-serif;
  319. }
  320. .comment button {
  321. color: #446;
  322. background-color: #aab;
  323. background-repeat: no-repeat;
  324. background-position: center left;
  325. padding: 0 2px;
  326. font-size: 0.73em;
  327. margin: 3px 5px 3px 0;
  328. display: inline;
  329. background-image: linear-gradient(bottom, #aab 0, #ccc 100%);
  330. background-image: -o-linear-gradient(bottom, #aab 0, #ccc 100%);
  331. background-image: -moz-linear-gradient(bottom, #aab 0, #ccc 100%);
  332. background-image: -webkit-linear-gradient(bottom, #aab 0, #ccc 100%);
  333. background-image: -ms-linear-gradient(bottom, #aab 0, #ccc 100%);
  334. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #aab), color-stop(1, #ccc));
  335. border: 1px solid #ccd;
  336. -moz-box-shadow: inset 0 1px 2px #ddd;
  337. -webkit-box-shadow: inset 0 1px 2px #fff;
  338. box-shadow: inset 0 1px 2px #eee;
  339. -webkit-border-radius: 3px;
  340. -moz-border-radius: 3px;
  341. border-radius: 3px;
  342. -moz-background-clip: padding;
  343. -webkit-background-clip: padding-box;
  344. background-clip: padding-box;
  345. }
  346. .comment button:hover {
  347. background-image: linear-gradient(bottom, #ccd 0, #fff 100%);
  348. background-image: -o-linear-gradient(bottom, #ccd 0, #fff 100%);
  349. background-image: -moz-linear-gradient(bottom, #ccd 0, #fff 100%);
  350. background-image: -webkit-linear-gradient(bottom, #ccd 0, #fff 100%);
  351. background-image: -ms-linear-gradient(bottom, #ccd 0, #fff 100%);
  352. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccd), color-stop(1, #fff));
  353. }
  354. .comment button:active {
  355. background-image: linear-gradient(bottom, #fff 0, #889 100%);
  356. background-image: -o-linear-gradient(bottom, #fff 0, #889 100%);
  357. background-image: -moz-linear-gradient(bottom, #fff 0, #889 100%);
  358. background-image: -webkit-linear-gradient(bottom, #fff 0, #889 100%);
  359. background-image: -ms-linear-gradient(bottom, #fff 0, #889 100%);
  360. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(1, #889));
  361. position:relative;
  362. top:1px;
  363. }
  364. .comment input { padding: 2px; }
  365. #replymessage { margin-top: 5px; }
  366. .commentmeta {
  367. color: #fff;
  368. background-color: #8ea0b2;
  369. margin-bottom: 3px;
  370. padding: 0 0 0 3px;
  371. }
  372. .commentdate { color: #bfcede; }
  373. #filewrap {
  374. transition: background-color 0.75s ease-out;
  375. }
  376. .highlight {
  377. background-color: #ffdd86;
  378. transition: background-color 0.2s ease-in;
  379. }
  380. img.vizhash {
  381. width: 16px;
  382. height: 16px;
  383. position: relative;
  384. top: 2px;
  385. left: -3px;
  386. }
  387. #prettyprint {
  388. color: #000000;
  389. font-size: 1.2em;
  390. }
  391. #prettyprint.prettyprinted {
  392. overflow: auto;
  393. }
  394. #cleartext {
  395. padding: 10px;
  396. }
  397. #cleartext * {
  398. margin-bottom: 10px;
  399. }
  400. #cleartext ol {
  401. list-style: auto;
  402. margin-left: 15px;
  403. }
  404. #cleartext ul {
  405. list-style: disc;
  406. margin-left: 15px;
  407. }
  408. #cleartext h1, #cleartext h2, #cleartext h3, #cleartext h4, #cleartext h5, #cleartext h6 {
  409. font-weight: bold;
  410. }
  411. #cleartext h1 {
  412. font-size: 2em;
  413. }
  414. #cleartext h2 {
  415. font-size: 1.5em;
  416. }
  417. #cleartext h3 {
  418. font-size: 1.2em;
  419. }
  420. /* right-to-left overrides */
  421. html[dir="rtl"] #aboutbox, html[dir="rtl"] #deletelink, html[dir="rtl"] #newbutton {
  422. float: left;
  423. }
  424. html[dir="rtl"] button, html[dir="rtl"] .button, html[dir="rtl"] button img {
  425. margin-left: 5px;
  426. margin-right: inherit;
  427. }
  428. html[dir="rtl"] button img {
  429. margin-left: 8px;
  430. }