gitalk.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. @font-face {
  2. font-family: octicons-link;
  3. src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3ja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b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff');
  4. }
  5. /* variables */
  6. /* functions & mixins */
  7. /* variables - calculated */
  8. /* styles */
  9. .gt-container {
  10. -webkit-box-sizing: border-box;
  11. box-sizing: border-box;
  12. font-size: 16px;
  13. /* loader */
  14. /* error */
  15. /* initing */
  16. /* no int */
  17. /* link */
  18. /* meta */
  19. /* popup */
  20. /* header */
  21. /* comments */
  22. /* comment */
  23. }
  24. .gt-container * {
  25. -webkit-box-sizing: border-box;
  26. box-sizing: border-box;
  27. }
  28. .gt-container a {
  29. color: #6190e8;
  30. }
  31. .gt-container a:hover {
  32. color: #81a6ed;
  33. border-color: #81a6ed;
  34. }
  35. .gt-container a.is--active {
  36. color: #333;
  37. cursor: default !important;
  38. }
  39. .gt-container a.is--active:hover {
  40. color: #333;
  41. }
  42. .gt-container .hide {
  43. display: none !important;
  44. }
  45. .gt-container .gt-svg {
  46. display: inline-block;
  47. width: 1em;
  48. height: 1em;
  49. vertical-align: sub;
  50. }
  51. .gt-container .gt-svg svg {
  52. width: 100%;
  53. height: 100%;
  54. fill: #6190e8;
  55. }
  56. .gt-container .gt-ico {
  57. display: inline-block;
  58. }
  59. .gt-container .gt-ico-text {
  60. margin-left: 0.3125em;
  61. }
  62. .gt-container .gt-ico-github {
  63. width: 100%;
  64. height: 100%;
  65. }
  66. .gt-container .gt-ico-github .gt-svg {
  67. width: 100%;
  68. height: 100%;
  69. }
  70. .gt-container .gt-ico-github svg {
  71. fill: inherit;
  72. }
  73. .gt-container .gt-spinner {
  74. position: relative;
  75. }
  76. .gt-container .gt-spinner::before {
  77. content: '';
  78. -webkit-box-sizing: border-box;
  79. box-sizing: border-box;
  80. position: absolute;
  81. top: 3px;
  82. width: 0.75em;
  83. height: 0.75em;
  84. margin-top: -0.1875em;
  85. margin-left: -0.375em;
  86. border-radius: 50%;
  87. border: 1px solid #fff;
  88. border-top-color: #6190e8;
  89. -webkit-animation: gt-kf-rotate 0.6s linear infinite;
  90. animation: gt-kf-rotate 0.6s linear infinite;
  91. }
  92. .gt-container .gt-loader {
  93. position: relative;
  94. border: 1px solid #999;
  95. -webkit-animation: ease gt-kf-rotate 1.5s infinite;
  96. animation: ease gt-kf-rotate 1.5s infinite;
  97. display: inline-block;
  98. font-style: normal;
  99. width: 1.75em;
  100. height: 1.75em;
  101. line-height: 1.75em;
  102. border-radius: 50%;
  103. }
  104. .gt-container .gt-loader:before {
  105. content: '';
  106. position: absolute;
  107. display: block;
  108. top: 0;
  109. left: 50%;
  110. margin-top: -0.1875em;
  111. margin-left: -0.1875em;
  112. width: 0.375em;
  113. height: 0.375em;
  114. background-color: #999;
  115. border-radius: 50%;
  116. }
  117. .gt-container .gt-avatar {
  118. display: inline-block;
  119. width: 3.125em;
  120. height: 3.125em;
  121. }
  122. @media (max-width: 479px) {
  123. .gt-container .gt-avatar {
  124. width: 2em;
  125. height: 2em;
  126. }
  127. }
  128. .gt-container .gt-avatar img {
  129. width: 100%;
  130. height: auto;
  131. border-radius: 3px;
  132. }
  133. .gt-container .gt-avatar-github {
  134. width: 3em;
  135. height: 3em;
  136. }
  137. @media (max-width: 479px) {
  138. .gt-container .gt-avatar-github {
  139. width: 1.875em;
  140. height: 1.875em;
  141. }
  142. }
  143. .gt-container .gt-btn {
  144. padding: 0.75em 1.25em;
  145. display: inline-block;
  146. line-height: 1;
  147. text-decoration: none;
  148. white-space: nowrap;
  149. cursor: pointer;
  150. border: 1px solid #6190e8;
  151. border-radius: 5px;
  152. background-color: #6190e8;
  153. color: #fff;
  154. outline: none;
  155. font-size: 0.75em;
  156. }
  157. .gt-container .gt-btn-text {
  158. font-weight: 400;
  159. }
  160. .gt-container .gt-btn-loading {
  161. position: relative;
  162. margin-left: 0.5em;
  163. display: inline-block;
  164. width: 0.75em;
  165. height: 1em;
  166. vertical-align: top;
  167. }
  168. .gt-container .gt-btn.is--disable {
  169. cursor: not-allowed;
  170. opacity: 0.5;
  171. }
  172. .gt-container .gt-btn-login {
  173. margin-right: 0;
  174. }
  175. .gt-container .gt-btn-preview {
  176. background-color: #fff;
  177. color: #6190e8;
  178. }
  179. .gt-container .gt-btn-preview:hover {
  180. background-color: #f2f2f2;
  181. border-color: #81a6ed;
  182. }
  183. .gt-container .gt-btn-public:hover {
  184. background-color: #81a6ed;
  185. border-color: #81a6ed;
  186. }
  187. .gt-container .gt-error {
  188. text-align: center;
  189. margin: 0.625em;
  190. color: #ff3860;
  191. }
  192. .gt-container .gt-initing {
  193. padding: 1.25em 0;
  194. text-align: center;
  195. }
  196. .gt-container .gt-initing-text {
  197. margin: 0.625em auto;
  198. font-size: 92%;
  199. }
  200. .gt-container .gt-no-init {
  201. padding: 1.25em 0;
  202. text-align: center;
  203. }
  204. .gt-container .gt-link {
  205. border-bottom: 1px dotted #6190e8;
  206. }
  207. .gt-container .gt-link-counts,
  208. .gt-container .gt-link-project {
  209. text-decoration: none;
  210. }
  211. .gt-container .gt-meta {
  212. margin: 1.25em 0;
  213. padding: 1em 0;
  214. position: relative;
  215. border-bottom: 1px solid #e9e9e9;
  216. font-size: 1em;
  217. position: relative;
  218. z-index: 10;
  219. }
  220. .gt-container .gt-meta:before,
  221. .gt-container .gt-meta:after {
  222. content: " ";
  223. display: table;
  224. }
  225. .gt-container .gt-meta:after {
  226. clear: both;
  227. }
  228. .gt-container .gt-counts {
  229. margin: 0 0.625em 0 0;
  230. }
  231. .gt-container .gt-user {
  232. float: right;
  233. margin: 0;
  234. font-size: 92%;
  235. }
  236. .gt-container .gt-user-pic {
  237. width: 16px;
  238. height: 16px;
  239. vertical-align: top;
  240. margin-right: 0.5em;
  241. }
  242. .gt-container .gt-user-inner {
  243. display: inline-block;
  244. cursor: pointer;
  245. }
  246. .gt-container .gt-user .gt-ico {
  247. margin: 0 0 0 0.3125em;
  248. }
  249. .gt-container .gt-user .gt-ico svg {
  250. fill: inherit;
  251. }
  252. .gt-container .gt-user .is--poping .gt-ico svg {
  253. fill: #6190e8;
  254. }
  255. .gt-container .gt-version {
  256. color: #a1a1a1;
  257. margin-left: 0.375em;
  258. }
  259. .gt-container .gt-copyright {
  260. margin: 0 0.9375em 0.5em;
  261. border-top: 1px solid #e9e9e9;
  262. padding-top: 0.5em;
  263. }
  264. .gt-container .gt-popup {
  265. position: absolute;
  266. right: 0;
  267. top: 2.375em;
  268. background: #fff;
  269. display: inline-block;
  270. border: 1px solid #e9e9e9;
  271. padding: 0.625em 0;
  272. font-size: 0.875em;
  273. letter-spacing: 0.5px;
  274. }
  275. .gt-container .gt-popup .gt-action {
  276. cursor: pointer;
  277. display: block;
  278. margin: 0.5em 0;
  279. padding: 0 1.125em;
  280. position: relative;
  281. text-decoration: none;
  282. }
  283. .gt-container .gt-popup .gt-action.is--active:before {
  284. content: '';
  285. width: 0.25em;
  286. height: 0.25em;
  287. background: #6190e8;
  288. position: absolute;
  289. left: 0.5em;
  290. top: 0.4375em;
  291. }
  292. .gt-container .gt-header {
  293. position: relative;
  294. display: -webkit-box;
  295. display: -ms-flexbox;
  296. display: flex;
  297. }
  298. .gt-container .gt-header-comment {
  299. -webkit-box-flex: 1;
  300. -ms-flex: 1;
  301. flex: 1;
  302. margin-left: 1.25em;
  303. }
  304. @media (max-width: 479px) {
  305. .gt-container .gt-header-comment {
  306. margin-left: 0.875em;
  307. }
  308. }
  309. .gt-container .gt-header-textarea {
  310. padding: 0.75em;
  311. display: block;
  312. -webkit-box-sizing: border-box;
  313. box-sizing: border-box;
  314. width: 100%;
  315. min-height: 5.125em;
  316. max-height: 15em;
  317. border-radius: 5px;
  318. border: 1px solid rgba(0,0,0,0.1);
  319. font-size: 0.875em;
  320. word-wrap: break-word;
  321. resize: vertical;
  322. background-color: #f6f6f6;
  323. outline: none;
  324. -webkit-transition: all 0.25s ease;
  325. transition: all 0.25s ease;
  326. }
  327. .gt-container .gt-header-textarea:hover {
  328. background-color: #fbfbfb;
  329. }
  330. .gt-container .gt-header-preview {
  331. padding: 0.75em;
  332. border-radius: 5px;
  333. border: 1px solid rgba(0,0,0,0.1);
  334. background-color: #f6f6f6;
  335. }
  336. .gt-container .gt-header-controls {
  337. position: relative;
  338. margin: 0.75em 0 0;
  339. }
  340. .gt-container .gt-header-controls:before,
  341. .gt-container .gt-header-controls:after {
  342. content: " ";
  343. display: table;
  344. }
  345. .gt-container .gt-header-controls:after {
  346. clear: both;
  347. }
  348. @media (max-width: 479px) {
  349. .gt-container .gt-header-controls {
  350. margin: 0;
  351. }
  352. }
  353. .gt-container .gt-header-controls-tip {
  354. font-size: 0.875em;
  355. color: #6190e8;
  356. text-decoration: none;
  357. vertical-align: sub;
  358. }
  359. @media (max-width: 479px) {
  360. .gt-container .gt-header-controls-tip {
  361. display: none;
  362. }
  363. }
  364. .gt-container .gt-header-controls .gt-btn {
  365. float: right;
  366. margin-left: 1.25em;
  367. }
  368. @media (max-width: 479px) {
  369. .gt-container .gt-header-controls .gt-btn {
  370. float: none;
  371. width: 100%;
  372. margin: 0.75em 0 0;
  373. }
  374. }
  375. .gt-container:after {
  376. content: '';
  377. position: fixed;
  378. bottom: 100%;
  379. left: 0;
  380. right: 0;
  381. top: 0;
  382. opacity: 0;
  383. }
  384. .gt-container.gt-input-focused {
  385. position: relative;
  386. }
  387. .gt-container.gt-input-focused:after {
  388. content: '';
  389. position: fixed;
  390. bottom: 0%;
  391. left: 0;
  392. right: 0;
  393. top: 0;
  394. background: #000;
  395. opacity: 0.6;
  396. -webkit-transition: opacity 0.3s, bottom 0s;
  397. transition: opacity 0.3s, bottom 0s;
  398. z-index: 9999;
  399. }
  400. .gt-container.gt-input-focused .gt-header-comment {
  401. z-index: 10000;
  402. }
  403. .gt-container .gt-comments {
  404. padding-top: 1.25em;
  405. }
  406. .gt-container .gt-comments-null {
  407. text-align: center;
  408. }
  409. .gt-container .gt-comments-controls {
  410. margin: 1.25em 0;
  411. text-align: center;
  412. }
  413. .gt-container .gt-comment {
  414. position: relative;
  415. padding: 0.625em 0;
  416. display: -webkit-box;
  417. display: -ms-flexbox;
  418. display: flex;
  419. }
  420. .gt-container .gt-comment-content {
  421. -webkit-box-flex: 1;
  422. -ms-flex: 1;
  423. flex: 1;
  424. margin-left: 1.25em;
  425. padding: 0.75em 1em;
  426. background-color: #f9f9f9;
  427. overflow: auto;
  428. -webkit-transition: all ease 0.25s;
  429. transition: all ease 0.25s;
  430. }
  431. .gt-container .gt-comment-content:hover {
  432. -webkit-box-shadow: 0 0.625em 3.75em 0 #f4f4f4;
  433. box-shadow: 0 0.625em 3.75em 0 #f4f4f4;
  434. }
  435. @media (max-width: 479px) {
  436. .gt-container .gt-comment-content {
  437. margin-left: 0.875em;
  438. padding: 0.625em 0.75em;
  439. }
  440. }
  441. .gt-container .gt-comment-header {
  442. margin-bottom: 0.5em;
  443. font-size: 0.875em;
  444. position: relative;
  445. }
  446. .gt-container .gt-comment-block-1 {
  447. float: right;
  448. height: 1.375em;
  449. width: 2em;
  450. }
  451. .gt-container .gt-comment-block-2 {
  452. float: right;
  453. height: 1.375em;
  454. width: 4em;
  455. }
  456. .gt-container .gt-comment-username {
  457. font-weight: 500;
  458. color: #6190e8;
  459. text-decoration: none;
  460. }
  461. .gt-container .gt-comment-username:hover {
  462. text-decoration: underline;
  463. }
  464. .gt-container .gt-comment-text {
  465. margin-left: 0.5em;
  466. color: #a1a1a1;
  467. }
  468. .gt-container .gt-comment-date {
  469. margin-left: 0.5em;
  470. color: #a1a1a1;
  471. }
  472. .gt-container .gt-comment-like,
  473. .gt-container .gt-comment-edit,
  474. .gt-container .gt-comment-reply {
  475. position: absolute;
  476. height: 1.375em;
  477. }
  478. .gt-container .gt-comment-like:hover,
  479. .gt-container .gt-comment-edit:hover,
  480. .gt-container .gt-comment-reply:hover {
  481. cursor: pointer;
  482. }
  483. .gt-container .gt-comment-like {
  484. top: 0;
  485. right: 2em;
  486. }
  487. .gt-container .gt-comment-edit,
  488. .gt-container .gt-comment-reply {
  489. top: 0;
  490. right: 0;
  491. }
  492. .gt-container .gt-comment-body {
  493. color: #333 !important;
  494. }
  495. .gt-container .gt-comment-body .email-hidden-toggle a {
  496. display: inline-block;
  497. height: 12px;
  498. padding: 0 9px;
  499. font-size: 12px;
  500. font-weight: 600;
  501. line-height: 6px;
  502. color: #444d56;
  503. text-decoration: none;
  504. vertical-align: middle;
  505. background: #dfe2e5;
  506. border-radius: 1px;
  507. }
  508. .gt-container .gt-comment-body .email-hidden-toggle a:hover {
  509. background-color: #c6cbd1;
  510. }
  511. .gt-container .gt-comment-body .email-hidden-reply {
  512. display: none;
  513. white-space: pre-wrap;
  514. }
  515. .gt-container .gt-comment-body .email-hidden-reply .email-signature-reply {
  516. padding: 0 15px;
  517. margin: 15px 0;
  518. color: #586069;
  519. border-left: 4px solid #dfe2e5;
  520. }
  521. .gt-container .gt-comment-body .email-hidden-reply.expanded {
  522. display: block;
  523. }
  524. .gt-container .gt-comment-admin .gt-comment-content {
  525. background-color: #f6f9fe;
  526. }
  527. @-webkit-keyframes gt-kf-rotate {
  528. 0% {
  529. -webkit-transform: rotate(0);
  530. transform: rotate(0);
  531. }
  532. 100% {
  533. -webkit-transform: rotate(360deg);
  534. transform: rotate(360deg);
  535. }
  536. }
  537. @keyframes gt-kf-rotate {
  538. 0% {
  539. -webkit-transform: rotate(0);
  540. transform: rotate(0);
  541. }
  542. 100% {
  543. -webkit-transform: rotate(360deg);
  544. transform: rotate(360deg);
  545. }
  546. }