privatebin.css 11 KB

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