4
0

origine-compact.css 20 KB

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