privatebin.css 10 KB

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