screwdriver.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. background: #fafafa;
  6. height: 100%;
  7. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  8. font-size: 92%;
  9. }
  10. /*=== Links */
  11. a, button.as-link {
  12. color: #d18114;
  13. outline: none;
  14. }
  15. legend {
  16. margin: 20px 0 5px;
  17. padding: 5px 0;
  18. font-size: 1.4em;
  19. border-bottom: 1px solid #ddd;
  20. }
  21. label {
  22. min-height: 25px;
  23. padding: 5px 0;
  24. cursor: pointer;
  25. }
  26. textarea {
  27. width: 360px;
  28. height: 100px;
  29. }
  30. input, select, textarea {
  31. padding: 5px;
  32. background: #fff;
  33. color: #222;
  34. border: 1px solid #ccc;
  35. border-radius: 3px;
  36. box-shadow: 0 1px 2px #ccc inset, 0 1px #fff;
  37. min-height: 25px;
  38. line-height: 25px;
  39. vertical-align: middle;
  40. }
  41. option {
  42. padding: 0 .5em;
  43. }
  44. input:focus, select:focus, textarea:focus {
  45. color: #0f0f0f;
  46. border: solid 1px #e7ab34;
  47. box-shadow: 0 0 3px #e7ab34;
  48. }
  49. input:invalid, select:invalid {
  50. border-color: #f00;
  51. box-shadow: 0 0 2px 2px #fdd inset;
  52. }
  53. input:disabled, select:disabled {
  54. background: #eee;
  55. }
  56. input.extend {
  57. transition: width 200ms linear;
  58. }
  59. /*=== Tables */
  60. table {
  61. border-collapse: collapse;
  62. }
  63. tr, th, td {
  64. padding: 0.5em;
  65. border: 1px solid #ddd;
  66. }
  67. th {
  68. background: #f6f6f6;
  69. }
  70. form td,
  71. form th {
  72. font-weight: normal;
  73. text-align: center;
  74. }
  75. /*=== COMPONENTS */
  76. /*===============*/
  77. /*=== Forms */
  78. .form-group.form-actions {
  79. padding: 5px 0;
  80. background: #f4f4f4;
  81. border-top: 1px solid #ddd;
  82. }
  83. .form-group.form-actions .btn {
  84. margin: 0 10px;
  85. border-radius: 4px;
  86. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  87. }
  88. .form-group .group-name {
  89. padding: 10px 0;
  90. text-align: right;
  91. }
  92. .form-group .group-controls {
  93. min-height: 25px;
  94. padding: 5px 0;
  95. }
  96. .form-group table {
  97. margin: 10px 0 0 220px;
  98. }
  99. /*=== Buttons */
  100. button.as-link[disabled] {
  101. color: #555 !important;
  102. }
  103. .dropdown-menu .input select, .dropdown-menu .input input {
  104. margin: 0 auto 5px;
  105. padding: 2px 5px;
  106. background: #444;
  107. color: #fff;
  108. border: solid 1px #171717;
  109. border-radius: 3px;
  110. box-shadow: 0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
  111. }
  112. .stick {
  113. vertical-align: middle;
  114. font-size: 0;
  115. }
  116. .stick input,
  117. .stick .btn {
  118. border-radius: 0;
  119. }
  120. .stick .btn:first-child,.stick input:first-child {
  121. border-radius: 6px 0 0 6px;
  122. }
  123. .stick .btn:last-child, .stick input:last-child {
  124. border-radius: 0 6px 6px 0;
  125. }
  126. .stick .btn + .btn,
  127. .stick .btn + input,
  128. .stick .btn + .dropdown > .btn,
  129. .stick input + .btn,
  130. .stick input + input,
  131. .stick input + .dropdown > .btn,
  132. .stick .dropdown + .btn,
  133. .stick .dropdown + input,
  134. .stick .dropdown + .dropdown > .btn {
  135. border-left: none;
  136. }
  137. .stick .btn + .dropdown > .btn {
  138. border-left: none;
  139. border-radius: 0 3px 3px 0;
  140. }
  141. .btn {
  142. margin: 0;
  143. padding: 5px 10px;
  144. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  145. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  146. display: inline-block;
  147. color: #222;
  148. font-size: 0.9rem;
  149. border: solid 1px #ccc;
  150. border-radius: 4px;
  151. min-height: 37px;
  152. min-width: 15px;
  153. text-shadow: 0px -1px rgba(255,255,255,0.08);
  154. vertical-align: middle;
  155. cursor: pointer;
  156. overflow: hidden;
  157. }
  158. a.btn {
  159. min-height: 25px;
  160. line-height: 25px;
  161. }
  162. .btn:hover {
  163. text-shadow: 0 0 2px #fff;
  164. text-decoration: none;
  165. }
  166. .btn.active,.btn:active,.dropdown-target:target ~ .btn.dropdown-toggle {
  167. background: linear-gradient(180deg, #ede7de 0%, #fff 100%) #ede7de;
  168. background: -webkit-linear-gradient(top, #ede7de 0%, #fff 100%);
  169. }
  170. .nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle {
  171. background: linear-gradient(180deg, #ede7de 0%, #f6f6f6 100%) #ede7de;
  172. background: -webkit-linear-gradient(top, #ede7de 0%, #f6f6f6 100%);
  173. border: solid 1px #ccc;
  174. border-radius: 4px;
  175. box-shadow: 0 1px #fff;
  176. }
  177. .nav_menu .btn {
  178. background: transparent;
  179. border: 0;
  180. }
  181. .read_all {
  182. color: #222;
  183. }
  184. .btn.dropdown-toggle[href="#dropdown-configure"] {
  185. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  186. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  187. border: solid 1px #ccc;
  188. border-radius: 4px;
  189. box-shadow: 0 1px #fff;
  190. }
  191. .btn.dropdown-toggle:active {
  192. background: transparent;
  193. }
  194. .btn-important {
  195. background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
  196. background: -webkit-linear-gradient(top, #e4992c 0%, #d18114 100%);
  197. color: #fff;
  198. border-radius: 4px;
  199. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  200. text-shadow: 0px -1px rgba(255,255,255,0.08);
  201. font-weight: normal;
  202. }
  203. .btn-important:active {
  204. background: linear-gradient(0deg, #e4992c 0%, #d18114 100%) #e4992c;
  205. background: -webkit-linear-gradient(bottom, #e4992c 0%, #d18114 100%);
  206. }
  207. .btn-attention {
  208. background: #e95b57;
  209. background: linear-gradient(to bottom, #e95b57, #bd362f);
  210. background: -webkit-linear-gradient(top, #e95b57 0%, #bd362f 100%);
  211. color: #fff;
  212. border: 1px solid #c44742;
  213. text-shadow: 0px -1px 0px #666;
  214. }
  215. .btn-attention:hover {
  216. background: linear-gradient(to bottom, #d14641, #bd362f);
  217. background: -webkit-linear-gradient(top, #d14641 0%, #bd362f 100%);
  218. }
  219. .btn-attention:active {
  220. background: #bd362f;
  221. box-shadow: none;
  222. }
  223. .btn[type="reset"] {
  224. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  225. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  226. color: #fff;
  227. box-shadow: 0 -1px rgba(255,255,255,0.08) inset;
  228. }
  229. /*=== Navigation */
  230. .nav-list .nav-header,
  231. .nav-list .item {
  232. height: 2.5em;
  233. line-height: 2.5em;
  234. font-size: 0.9rem;
  235. }
  236. .nav-list .item:hover {
  237. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  238. color: #fff;
  239. }
  240. .nav-list .item.active {
  241. margin: 0;
  242. background: linear-gradient(180deg, #222 0%, #171717 100%) repeat scroll 0% 0% #171717;
  243. background: -webkit-linear-gradient(180deg, #222 0%, #171717 100%);
  244. box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  245. border-width: medium medium 1px;
  246. border-style: none none solid;
  247. border-color: -moz-use-text-color -moz-use-text-color #171717;
  248. }
  249. .nav-list .item.active a {
  250. color: #d18114;
  251. }
  252. .nav-list .disable {
  253. background: #fafafa;
  254. color: #aaa;
  255. text-align: center;
  256. }
  257. .nav-list .item > a {
  258. padding: 0 10px;
  259. color: #ccc;
  260. }
  261. .nav-list a:hover {
  262. text-decoration: none;
  263. }
  264. .nav-list .item.empty a {
  265. color: #f39c12;
  266. }
  267. .nav-list .item.active.empty a {
  268. background: linear-gradient(180deg, #e4992c 0%, #d18114 100%) #e4992c;
  269. background: -webkit-linear-gradient(180deg, #e4992c 0%, #d18114 100%);
  270. color: #fff;
  271. }
  272. .nav-list .item.error a {
  273. color: #bd362f;
  274. }
  275. .nav-list .item.active.error a {
  276. background: #bd362f;
  277. color: #fff;
  278. }
  279. .nav-list .nav-header {
  280. padding: 0 10px;
  281. background: transparent;
  282. color: #222;
  283. }
  284. .nav-list .nav-form {
  285. padding: 3px;
  286. text-align: center;
  287. }
  288. .nav-head {
  289. margin: 0;
  290. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  291. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  292. text-align: right;
  293. }
  294. .nav-head .item {
  295. padding: 5px 10px;
  296. font-size: 0.9rem;
  297. line-height: 1.5rem;
  298. }
  299. /*=== Horizontal-list */
  300. .horizontal-list {
  301. margin: 0;
  302. padding: 0;
  303. }
  304. .horizontal-list .item {
  305. vertical-align: middle;
  306. }
  307. /*=== Dropdown */
  308. .dropdown-menu {
  309. margin: 5px 0 0;
  310. padding: 5px 0;
  311. background: #222;
  312. font-size: 0.8rem;
  313. border: 1px solid #171717;
  314. border-radius: 4px;
  315. box-shadow: 0 0 3px #000;
  316. text-align: left;
  317. }
  318. .dropdown-menu::after {
  319. background: #222;
  320. width: 10px;
  321. height: 10px;
  322. border-top: 1px solid #171717;
  323. border-left: 1px solid #171717;
  324. content: "";
  325. position: absolute;
  326. top: -6px;
  327. right: 13px;
  328. z-index: -10;
  329. transform: rotate(45deg);
  330. }
  331. .configure .dropdown-header {
  332. display: none;
  333. }
  334. .dropdown-header {
  335. padding: 0 5px 5px;
  336. color: #ccc;
  337. font-weight: bold;
  338. }
  339. .dropdown-menu > .item > a,
  340. .dropdown-menu > .item > span,
  341. .dropdown-menu > .item > .as-link {
  342. padding: 0 22px;
  343. line-height: 2.5em;
  344. color: #ccc;
  345. font-size: 0.8rem;
  346. }
  347. .dropdown-menu > .item > label {
  348. color: #ccc;
  349. }
  350. .dropdown-menu > .item:hover {
  351. background: #171717;
  352. color: #fff;
  353. }
  354. .dropdown-menu > .item[aria-checked="true"] > a::before {
  355. font-weight: bold;
  356. margin: 0 0 0 -14px;
  357. }
  358. .dropdown-menu > .item:hover > a {
  359. color: #fff;
  360. text-decoration: none;
  361. }
  362. .separator {
  363. margin: 5px 0;
  364. border-bottom: 1px solid #171717;
  365. box-shadow: 0 1px rgba(255,255,255,0.08);
  366. }
  367. /*=== Alerts */
  368. .alert {
  369. margin: 15px auto;
  370. padding: 10px 15px;
  371. background: #f4f4f4;
  372. color: #aaa;
  373. font-size: 0.9em;
  374. border: 1px solid #ccc;
  375. border-right: 1px solid #aaa;
  376. border-bottom: 1px solid #aaa;
  377. border-radius: 5px;
  378. text-shadow: 0 0 1px #eee;
  379. }
  380. .alert-head {
  381. font-size: 1.15em;
  382. }
  383. .alert > a {
  384. color: inherit;
  385. text-decoration: underline;
  386. }
  387. .alert-warn {
  388. background: #ffe;
  389. color: #c95;
  390. border: 1px solid #eeb;
  391. }
  392. .alert-success {
  393. background: #dfd;
  394. color: #484;
  395. border: 1px solid #cec;
  396. }
  397. .alert-error {
  398. background: #fdd;
  399. color: #844;
  400. border: 1px solid #ecc;
  401. }
  402. /*=== Pagination */
  403. .pagination {
  404. background: #fafafa;
  405. text-align: center;
  406. color: #333;
  407. font-size: 0.8em;
  408. }
  409. .content .pagination {
  410. margin: 0;
  411. padding: 0;
  412. }
  413. .pagination .item.pager-current {
  414. font-weight: bold;
  415. font-size: 1.5em;
  416. }
  417. .pagination .item a {
  418. display: block;
  419. color: #333;
  420. font-style: italic;
  421. line-height: 3em;
  422. text-decoration: none;
  423. }
  424. .pagination .item a:hover {
  425. background: #ddd;
  426. }
  427. .pagination:first-child .item {
  428. border-bottom: 1px solid #aaa;
  429. }
  430. .pagination:last-child .item {
  431. border-top: 1px solid #ddd;
  432. }
  433. .pagination .loading,
  434. .pagination a:hover.loading {
  435. background: url("loader.gif") center center no-repeat #fff;
  436. font-size: 0;
  437. }
  438. /*=== Boxes */
  439. .box {
  440. background: #ede7de;
  441. border-radius: 4px;
  442. box-shadow: 0 1px #fff;
  443. }
  444. .box .box-title {
  445. margin: 0;
  446. padding: 5px 10px;
  447. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  448. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  449. color: #888;
  450. font-size: 1.1rem;
  451. border-radius: 4px 4px 0 0;
  452. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  453. text-shadow: 0 1px #ccc;
  454. font-weight: normal;
  455. }
  456. .box .box-content {
  457. max-height: 260px;
  458. }
  459. .box .box-content .item {
  460. padding: 0 10px;
  461. font-size: 0.9rem;
  462. line-height: 2.5em;
  463. }
  464. .box .box-title .configure,
  465. .box .box-content .item .configure {
  466. visibility: hidden;
  467. }
  468. .box .box-title:hover .configure,
  469. .box .box-content .item:hover .configure {
  470. visibility: visible;
  471. }
  472. /*=== Tree */
  473. .tree {
  474. margin: 10px 0;
  475. }
  476. .tree-folder-title {
  477. position: relative;
  478. padding: 0 10px;
  479. line-height: 2.5rem;
  480. font-size: 0.9rem;
  481. }
  482. .tree-folder-title .title {
  483. background: inherit;
  484. color: #fff;
  485. }
  486. .tree-folder-title .title:hover {
  487. text-decoration: none;
  488. }
  489. .tree-folder.active .tree-folder-title {
  490. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  491. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  492. color: #fff;
  493. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  494. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  495. }
  496. .tree-folder-items {
  497. padding: 8px 0;
  498. background: #171717;
  499. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  500. }
  501. .tree-folder-items > .item {
  502. padding: 0 10px;
  503. line-height: 2.5rem;
  504. font-size: 0.8rem;
  505. }
  506. .tree-folder-items > .item.active {
  507. margin: 0px 8px;
  508. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  509. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  510. border-radius: 4px;
  511. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  512. }
  513. .tree-folder-items > .item > a {
  514. text-decoration: none;
  515. color: #fff;
  516. font-size: 0.92em;
  517. }
  518. /*=== Scrollbar */
  519. @supports (scrollbar-width: thin) {
  520. #sidebar {
  521. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  522. }
  523. #sidebar:hover {
  524. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  525. }
  526. }
  527. @supports not (scrollbar-width: thin) {
  528. #sidebar::-webkit-scrollbar-thumb {
  529. background: rgba(255, 255, 255, 0.1);
  530. }
  531. #sidebar:hover::-webkit-scrollbar-thumb {
  532. background: rgba(255, 255, 255, 0.3);
  533. }
  534. }
  535. /*=== STRUCTURE */
  536. /*===============*/
  537. /*=== Header */
  538. .header {
  539. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  540. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  541. height: 55px;
  542. }
  543. .header > .item {
  544. padding: 0;
  545. vertical-align: middle;
  546. text-align: center;
  547. }
  548. .header > .item.title .logo {
  549. width: 60px;
  550. height: 60px;
  551. }
  552. .header > .item.title {
  553. width: 250px;
  554. }
  555. .header > .item.title h1 {
  556. margin: 0.5em 0;
  557. }
  558. .header > .item.title h1 a {
  559. color: #222;
  560. font-size: 28px;
  561. text-decoration: none;
  562. text-shadow: 0 1px #fff;
  563. }
  564. .header > .item.search input {
  565. width: 230px;
  566. }
  567. .header .item.search input:focus {
  568. width: 350px;
  569. }
  570. /*=== Body */
  571. #global {
  572. background: #ede7de;
  573. height: calc(100% - 60px);
  574. }
  575. .aside {
  576. background: #222;
  577. width: 235px;
  578. border-top: 1px solid #ccc;
  579. border-radius: 0px 12px 0px 0px;
  580. box-shadow: 0px -1px #fff, 0 2px 2px #171717 inset;
  581. }
  582. .aside.aside_feed {
  583. padding: 10px 0;
  584. text-align: center;
  585. }
  586. .aside.aside_feed .tree {
  587. margin: 10px 0 50px;
  588. }
  589. /*=== Aside main page (categories) */
  590. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  591. position: absolute;
  592. right: 3px;
  593. padding: 1px 5px;
  594. color: #fff;
  595. text-shadow: 0 1px rgba(255,255,255,0.08);
  596. }
  597. .aside_feed .btn-important {
  598. border: none;
  599. }
  600. /*=== Aside main page (feeds) */
  601. .feed.item.empty,
  602. .feed.item.empty > a {
  603. color: #e67e22;
  604. }
  605. .feed.item.error,
  606. .feed.item.error > a {
  607. color: #bd362f;
  608. }
  609. .aside_feed .tree-folder-items .dropdown-menu::after {
  610. left: 2px;
  611. }
  612. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  613. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  614. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  615. border-radius: 3px;
  616. }
  617. /*=== Configuration pages */
  618. .post {
  619. padding: 10px 50px;
  620. font-size: 0.9em;
  621. }
  622. .post form {
  623. margin: 10px 0;
  624. }
  625. .post.content {
  626. max-width: 550px;
  627. }
  628. /*=== Prompt (centered) */
  629. .prompt {
  630. max-width: 20rem;
  631. margin-left: auto;
  632. margin-right: auto;
  633. padding-left: .5rem;
  634. padding-right: .5rem;
  635. text-align: center;
  636. text-shadow: 0 1px rgba(255,255,255,0.08);
  637. }
  638. .prompt form {
  639. margin-top: 2rem;
  640. margin-bottom: 3rem;
  641. text-align: left;
  642. }
  643. .prompt .form-group {
  644. margin-bottom: 1rem;
  645. }
  646. .prompt .form-group::after {
  647. display: none;
  648. }
  649. .prompt .form-group.form-group-actions {
  650. display: flex;
  651. margin-top: 2rem;
  652. align-items: center;
  653. justify-content: space-between;
  654. }
  655. .prompt .stick,
  656. .prompt input {
  657. width: 100%;
  658. box-sizing: border-box;
  659. }
  660. .prompt input#username,.prompt input#passwordPlain {
  661. background: #fff;
  662. border: solid 1px #ccc;
  663. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  664. }
  665. .prompt input#username:focus,.prompt input#passwordPlain:focus {
  666. border: solid 1px #e7ab34;
  667. box-shadow: 0 0 3px #e7ab34;
  668. }
  669. .prompt .btn.btn-important {
  670. padding-left: 1.5rem;
  671. padding-right: 1.5rem;
  672. font-size: 1.1rem;
  673. }
  674. .prompt p {
  675. margin: 20px 0;
  676. }
  677. /*=== New article notification */
  678. #new-article {
  679. background: #0084cc;
  680. text-align: center;
  681. font-size: 0.9em;
  682. }
  683. #new-article:hover {
  684. background: #06c;
  685. }
  686. #new-article > a {
  687. line-height: 3em;
  688. color: #fff;
  689. font-weight: bold;
  690. }
  691. #new-article > a:hover {
  692. text-decoration: none;
  693. }
  694. /*=== Day indication */
  695. .day {
  696. padding: 0 10px;
  697. background: linear-gradient(0deg, #ede7de 0%, #c2bcb3 100%) #ede7de;
  698. background: -webkit-linear-gradient(bottom, #c2bcb3 0%, #fff 100%);
  699. color: #666;
  700. box-shadow: 0 1px #bdb7ae inset, 0 -1px rgba(255,255,255,0.28) inset;
  701. font-style: italic;
  702. line-height: 3em;
  703. text-shadow: 0 1px rgba(255,255,255,0.28);
  704. text-align: center;
  705. }
  706. #new-article + .day {
  707. border-top: none;
  708. }
  709. .day .name {
  710. display: none;
  711. }
  712. /*=== Index menu */
  713. .nav_menu {
  714. padding: 5px 0;
  715. background: #ede7de;
  716. border-bottom: 1px solid #ccc;
  717. box-shadow: 0 -1px rgba(255, 255, 255, 0.28) inset;
  718. text-align: center;
  719. }
  720. #panel >.nav_menu {
  721. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  722. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  723. }
  724. #panel > .nav_menu > #nav_menu_read_all {
  725. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  726. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  727. border: 1px solid #ccc;
  728. border-radius: 4px;
  729. box-shadow: 0px 1px #fff;
  730. }
  731. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  732. border: none;
  733. border-left: solid 1px #ccc;
  734. border-radius: 0 4px 4px 0;
  735. }
  736. /*=== Feed articles */
  737. .flux_content {
  738. background: #fff;
  739. border-radius: 10px;
  740. }
  741. .flux {
  742. background: #ede7de;
  743. }
  744. .flux:hover {
  745. background: #f9f7f4;
  746. }
  747. .flux:not(.current):hover .item.title {
  748. background: #f9f7f4;
  749. }
  750. .flux.current .flux .item.title a {
  751. text-shadow: 0 0 2px #ccc;
  752. }
  753. .flux.favorite {
  754. background: #fff6da;
  755. }
  756. .flux.favorite:not(.current):hover {
  757. background: #f9f7f4;
  758. }
  759. .flux.favorite:not(.current):hover .item.title {
  760. background: #f9f7f4;
  761. }
  762. .flux.current {
  763. margin: 3px 6px;
  764. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #ede7de;
  765. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  766. border-radius: 10px;
  767. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  768. }
  769. .flux .item.title a {
  770. color: #aca8a3;
  771. }
  772. .flux.not_read .item.title a,
  773. .flux.favorite .item.title a {
  774. color: #333;
  775. }
  776. .flux.not_read:not(.current):hover .item.title a {
  777. color: #50504f;
  778. }
  779. .flux.current .item.title a {
  780. color: #0f0f0f;
  781. }
  782. .flux_header {
  783. font-size: 0.8rem;
  784. border-top: 1px solid #ddd;
  785. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  786. cursor: pointer;
  787. }
  788. .flux_header .title {
  789. font-size: 0.9rem;
  790. }
  791. .flux .website .favicon {
  792. padding: 5px;
  793. }
  794. .flux .item.date {
  795. color: #666;
  796. font-size: 0.7rem;
  797. }
  798. .flux .bottom {
  799. font-size: 0.8rem;
  800. text-align: center;
  801. }
  802. /*=== Content of feed articles */
  803. .content {
  804. padding: 20px 10px;
  805. }
  806. .content > h1.title > a {
  807. color: #000;
  808. }
  809. .content hr {
  810. margin: 30px 10px;
  811. background: #ddd;
  812. height: 1px;
  813. border: 0;
  814. box-shadow: 0 2px 5px #ccc;
  815. }
  816. .content pre {
  817. margin: 10px auto;
  818. padding: 10px 20px;
  819. overflow: auto;
  820. background: #222;
  821. color: #fff;
  822. font-size: 0.9rem;
  823. border-radius: 3px;
  824. }
  825. .content code {
  826. padding: 2px 5px;
  827. background: #fafafa;
  828. color: #d14;
  829. border: 1px solid #eee;
  830. border-radius: 3px;
  831. }
  832. .content pre code {
  833. background: transparent;
  834. color: #fff;
  835. border: none;
  836. }
  837. .content blockquote {
  838. margin: 0;
  839. padding: 5px 20px;
  840. background: #fafafa;
  841. display: block;
  842. color: #333;
  843. border-top: 1px solid #ddd;
  844. border-bottom: 1px solid #ddd;
  845. }
  846. .content blockquote p {
  847. margin: 0;
  848. }
  849. /*=== Notification and actualize notification */
  850. .notification {
  851. padding: 0 0 0 5px;
  852. background: #222;
  853. color: #fff;
  854. font-size: 0.9em;
  855. border: none;
  856. border-radius: 0 0 12px 12px;
  857. box-shadow: 0px 0px 4px rgba(0,0,0,0.45), 0 -1px rgba(255,255,255,0.08) inset, 0 2px 2px #171717 inset;
  858. text-align: center;
  859. font-weight: bold;
  860. line-height: 3em;
  861. position: absolute;
  862. top: 0;
  863. z-index: 10;
  864. vertical-align: middle;
  865. }
  866. .notification.good {
  867. color: #c95;
  868. }
  869. .notification.bad {
  870. background: #fdd;
  871. color: #844;
  872. }
  873. .notification a.close {
  874. padding: 0 15px;
  875. line-height: 3em;
  876. }
  877. .notification#actualizeProgress {
  878. line-height: 2em;
  879. }
  880. /*=== "Load more" part */
  881. #bigMarkAsRead {
  882. background: #ede7de;
  883. color: #666;
  884. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  885. text-align: center;
  886. text-decoration: none;
  887. text-shadow: 0 -1px 0 #aaa;
  888. }
  889. #bigMarkAsRead:hover {
  890. background: #ede7de;
  891. background: radial-gradient(circle at 50% -25% , #ccc 0%, #ede7de 50%);
  892. color: #000;
  893. }
  894. #bigMarkAsRead:hover .bigTick {
  895. text-shadow: 0 0 10px #666;
  896. }
  897. /*=== Navigation menu (for articles) */
  898. #nav_entries {
  899. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  900. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  901. width: 235px;
  902. border-top: 1px solid #171717;
  903. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  904. text-align: center;
  905. line-height: 3em;
  906. table-layout: fixed;
  907. }
  908. /*=== READER VIEW */
  909. /*================*/
  910. #stream.reader .flux {
  911. padding: 0 0 50px;
  912. background: #f0f0f0;
  913. color: #333;
  914. border: none;
  915. }
  916. #stream.reader .flux .author {
  917. margin: 0 0 10px;
  918. color: #666;
  919. font-size: 90%;
  920. }
  921. /*=== GLOBAL VIEW */
  922. /*================*/
  923. #stream.global {
  924. padding: 24px 0;
  925. box-shadow: 0px 8px 8px #c2bcb3 inset;
  926. }
  927. .box.category .box-title {
  928. background: linear-gradient(0deg, #ede7de 0%, #fff 100%) #171717;
  929. background: -webkit-linear-gradient(bottom, #ede7de 0%, #fff 100%);
  930. font-size: 1.2rem;
  931. border-radius: none;
  932. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  933. line-height: 2em;
  934. text-shadow: 0 1px #ccc;
  935. }
  936. .box.category .box-title .title {
  937. font-weight: normal;
  938. text-decoration: none;
  939. text-align: left;
  940. color: #888;
  941. }
  942. .box.category:not([data-unread="0"]) .box-title .title {
  943. color: #222;
  944. font-weight: bold;
  945. }
  946. .box.category .title:not([data-unread="0"])::after {
  947. background: none;
  948. border: 0;
  949. position: absolute;
  950. top: 5px; right: 10px;
  951. font-weight: bold;
  952. }
  953. .box.category .item.feed {
  954. padding: 2px 10px;
  955. font-size: 0.8rem;
  956. }
  957. .box.category .item.feed:not(.empty):not(.error) .item-title {
  958. color: #222;
  959. }
  960. /*=== PANEL */
  961. /*===========*/
  962. #panel {
  963. background: #ede7de;
  964. border-radius: 8px;
  965. box-shadow: 0px 0px 4px #000;
  966. }
  967. /*=== DIVERS */
  968. /*===========*/
  969. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  970. width: 130px;
  971. }
  972. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  973. right: -20px;
  974. }
  975. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  976. right: 33px;
  977. }
  978. /*=== STATISTICS */
  979. /*===============*/
  980. .stat {
  981. margin: 10px 0 20px;
  982. }
  983. .stat th,
  984. .stat td,
  985. .stat tr {
  986. border: none;
  987. }
  988. .stat > table td,
  989. .stat > table th {
  990. background: rgba(255,255,255,0.38);
  991. border-bottom: 1px solid #ccc;
  992. box-shadow: 0 1px #fff;
  993. }
  994. .stat > .horizontal-list {
  995. margin: 0 0 5px;
  996. }
  997. .stat > .horizontal-list .item {
  998. overflow: hidden;
  999. white-space: nowrap;
  1000. text-overflow: ellipsis;
  1001. }
  1002. .stat > .horizontal-list .item:first-child {
  1003. width: 250px;
  1004. }
  1005. /*=== LOGS */
  1006. /*=========*/
  1007. .loglist {
  1008. border: 1px solid #aaa;
  1009. border-radius: 5px;
  1010. overflow: hidden;
  1011. }
  1012. .log {
  1013. padding: 5px 10px;
  1014. background: #fafafa;
  1015. color: #333;
  1016. font-size: 0.8rem;
  1017. }
  1018. .log+.log {
  1019. border-top: 1px solid #aaa;
  1020. }
  1021. .log .date {
  1022. display: block;
  1023. font-weight: bold;
  1024. }
  1025. .log.error {
  1026. background: #fdd;
  1027. color: #844;
  1028. }
  1029. .log.warning {
  1030. background: #ffe;
  1031. color: #c95;
  1032. }
  1033. .log.notice {
  1034. background: #f4f4f4;
  1035. color: #aaa;
  1036. }
  1037. .log.debug {
  1038. background: #333;
  1039. color: #eee;
  1040. }
  1041. #slider.active {
  1042. background: #f8f8f8;
  1043. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  1044. }
  1045. #close-slider.active {
  1046. background: rgba(15, 15, 15, 0.35);
  1047. }
  1048. /*=== MOBILE */
  1049. /*===========*/
  1050. @media screen and (max-width: 840px) {
  1051. .form-group .group-name {
  1052. padding-bottom: 0;
  1053. text-align: left;
  1054. }
  1055. .box .box-title .configure,
  1056. .box .box-content .item .configure {
  1057. visibility: visible;
  1058. }
  1059. .header {
  1060. display: table;
  1061. }
  1062. .nav-login {
  1063. display: none;
  1064. }
  1065. .aside {
  1066. width: 0;
  1067. border-top: none;
  1068. box-shadow: 3px 0 3px #000;
  1069. transition: width 200ms linear;
  1070. }
  1071. .aside:target {
  1072. width: 235px;
  1073. }
  1074. .aside .toggle_aside,
  1075. #panel .close {
  1076. background: #171717;
  1077. display: block;
  1078. width: 100%;
  1079. height: 40px;
  1080. border-radius: 0 8px 0 8px;
  1081. box-shadow: 0 1px rgba(255,255,255,0.08);
  1082. line-height: 40px;
  1083. text-align: center;
  1084. }
  1085. .aside.aside_feed {
  1086. padding: 0;
  1087. }
  1088. .nav_menu .btn {
  1089. margin: 5px 10px;
  1090. padding: 3px 5px;
  1091. min-height: 0;
  1092. }
  1093. .nav_menu .stick {
  1094. margin: 0 10px;
  1095. }
  1096. .nav_menu .stick .btn {
  1097. margin: 5px 0;
  1098. }
  1099. .nav_menu .search {
  1100. display: none;
  1101. }
  1102. .nav_menu .search input {
  1103. padding: 3px 5px;
  1104. max-width: 97%;
  1105. width: 90px;
  1106. }
  1107. .nav_menu .search input:focus {
  1108. width: 400px;
  1109. }
  1110. .day .name {
  1111. display: none;
  1112. }
  1113. .pagination {
  1114. margin: 0 0 3.5em;
  1115. }
  1116. .notification a.close {
  1117. background: transparent;
  1118. display: block;
  1119. left: 0;
  1120. }
  1121. .notification a.close:hover {
  1122. opacity: 0.5;
  1123. }
  1124. .notification a.close .icon {
  1125. display: none;
  1126. }
  1127. #nav_entries {
  1128. width: 100%;
  1129. }
  1130. .post {
  1131. padding-left: 15px;
  1132. padding-right: 15px;
  1133. }
  1134. #close-slider.active {
  1135. background: #171717;
  1136. box-shadow: 0 1px rgba(255,255,255,0.08)
  1137. }
  1138. }
  1139. @media (max-width: 700px) {
  1140. .header {
  1141. display: none;
  1142. }
  1143. .nav-login {
  1144. display: inline-block;
  1145. width: 100%;
  1146. }
  1147. .nav_menu .search {
  1148. display: inline-block;
  1149. }
  1150. }