privatebin.css 11 KB

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