screwdriver.css 22 KB

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