privatebin.css 10 KB

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