template.css 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. @font-face {
  5. font-family: 'OpenSans';
  6. font-style: normal;
  7. font-weight: 400;
  8. src: local('Open Sans'), local('OpenSans'),
  9. url('../fonts/OpenSans.woff2') format('woff2'),
  10. url('../fonts/OpenSans.woff') format('woff');
  11. }
  12. html, body {
  13. margin: 0;
  14. padding: 0;
  15. background: white;
  16. color: black;
  17. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  18. font-size: 100%;
  19. }
  20. /*=== Links */
  21. a {
  22. text-decoration: none;
  23. }
  24. a:hover {
  25. text-decoration: underline;
  26. }
  27. /*=== Lists */
  28. ul, ol, dd {
  29. margin: 0;
  30. padding: 0;
  31. }
  32. /*=== Titles */
  33. h1 {
  34. margin: 0.6em 0 0.3em;
  35. font-size: 1.5em;
  36. line-height: 1.6em;
  37. }
  38. h2 {
  39. margin: 0.5em 0 0.25em;
  40. font-size: 1.3em;
  41. line-height: 2em;
  42. }
  43. h3 {
  44. margin: 0.5em 0 0.25em;
  45. font-size: 1.1em;
  46. line-height: 2em;
  47. }
  48. /*=== Paragraphs */
  49. p {
  50. margin: 1em 0 0.5em;
  51. font-size: 1em;
  52. }
  53. p.help, .prompt p.help {
  54. margin: 5px 0 0.5em;
  55. }
  56. sup {
  57. line-height: 25px;
  58. position: relative;
  59. top: -0.8em;
  60. vertical-align: baseline;
  61. }
  62. kbd {
  63. background-color: #eee;
  64. padding: 2px 4px 2px 24px;
  65. display: inline-block;
  66. color: #333;
  67. border: 1px solid #b4b4b4;
  68. border-radius: 3px;
  69. text-indent: -20px;
  70. white-space: pre-wrap;
  71. overflow-wrap: anywhere;
  72. }
  73. /*=== Images */
  74. img {
  75. max-width: 100%;
  76. height: auto;
  77. }
  78. img.favicon {
  79. width: 16px;
  80. height: 16px;
  81. vertical-align: middle;
  82. }
  83. .content.thin figure,
  84. .content.medium figure {
  85. margin: 8px 0px;
  86. }
  87. .content figure figcaption {
  88. font-style: italic;
  89. }
  90. .feed.mute::before {
  91. content: '🔇';
  92. }
  93. /*=== Videos */
  94. audio, iframe, embed, object, video {
  95. max-width: 100%;
  96. }
  97. audio {
  98. width: 100%;
  99. }
  100. /*=== Forms */
  101. fieldset {
  102. margin: 0;
  103. padding: 0;
  104. border: 0;
  105. }
  106. legend {
  107. display: block;
  108. width: 100%;
  109. clear: both;
  110. }
  111. label {
  112. display: block;
  113. }
  114. input {
  115. width: 180px;
  116. }
  117. input[type=number] {
  118. width: 6em;
  119. }
  120. textarea,
  121. input[type="file"],
  122. input.long,
  123. input.extend:focus {
  124. width: 300px;
  125. }
  126. input, select, textarea {
  127. display: inline-block;
  128. max-width: 100%;
  129. font-size: 0.8rem;
  130. }
  131. input[type="radio"],
  132. input[type="checkbox"] {
  133. width: 15px !important;
  134. min-height: 15px !important;
  135. }
  136. .dropdown-menu label > input[type="text"] {
  137. width: 150px;
  138. width: calc(99% - 5em);
  139. }
  140. .dropdown-menu input[type="checkbox"] {
  141. margin-left: 1em;
  142. margin-right: .5em;
  143. }
  144. button.as-link,
  145. button.as-link:hover,
  146. button.as-link:active {
  147. background: transparent;
  148. color: inherit;
  149. font-size: 1.1em;
  150. border: none;
  151. cursor: pointer;
  152. text-align: left;
  153. }
  154. button.as-link[disabled] {
  155. color: #ddd !important;
  156. }
  157. /*=== Tables */
  158. .table-wrapper {
  159. overflow-x: auto;
  160. }
  161. table {
  162. max-width: 100%;
  163. }
  164. th.numeric,
  165. td.numeric {
  166. text-align: center;
  167. }
  168. /*=== COMPONENTS */
  169. /*===============*/
  170. [aria-hidden="true"] {
  171. display: none !important;
  172. }
  173. /*=== Forms */
  174. .form-group::after {
  175. content: "";
  176. display: block;
  177. clear: both;
  178. }
  179. .form-group.form-actions {
  180. min-width: 250px;
  181. }
  182. .form-group .group-name {
  183. display: block;
  184. float: left;
  185. width: 200px;
  186. }
  187. .form-group .group-controls {
  188. min-width: 250px;
  189. margin: 0 0 0 220px;
  190. overflow-x: auto;
  191. }
  192. .form-group .group-controls .control {
  193. display: block;
  194. }
  195. .form-advanced-title {
  196. padding: 15px 0;
  197. width: 200px;
  198. font-size: 1.1em;
  199. font-weight: bold;
  200. text-align: right;
  201. cursor: pointer;
  202. }
  203. @supports (position: sticky) {
  204. #mark-read-aside {
  205. position: sticky;
  206. top: 0;
  207. }
  208. }
  209. /*=== Buttons */
  210. .stick {
  211. display: inline-flex;
  212. max-width: 100%;
  213. white-space: nowrap;
  214. }
  215. .stick > input {
  216. margin-top: 0;
  217. margin-bottom: 0;
  218. }
  219. .stick > input.long {
  220. flex-shrink: 1;
  221. }
  222. .stick > .btn {
  223. flex-shrink: 0;
  224. }
  225. .btn,
  226. a.btn {
  227. display: inline-block;
  228. cursor: pointer;
  229. overflow: hidden;
  230. }
  231. .btn-important {
  232. font-weight: bold;
  233. }
  234. /*=== Navigation */
  235. .nav-list .nav-header,
  236. .nav-list .item {
  237. display: block;
  238. }
  239. .nav-list .item,
  240. .nav-list .item > a,
  241. .nav-list .item > span {
  242. display: block;
  243. overflow: hidden;
  244. white-space: nowrap;
  245. text-overflow: ellipsis;
  246. }
  247. .nav-head {
  248. display: block;
  249. }
  250. .nav-head .item {
  251. display: inline-block;
  252. }
  253. /*=== Horizontal-list */
  254. .horizontal-list {
  255. display: table;
  256. table-layout: fixed;
  257. width: 100%;
  258. }
  259. .horizontal-list .item {
  260. display: table-cell;
  261. }
  262. /*=== Dropdown */
  263. .dropdown {
  264. position: relative;
  265. display: inline-block;
  266. vertical-align: middle;
  267. }
  268. .dropdown-target {
  269. display: none;
  270. }
  271. .dropdown-menu {
  272. margin: 0;
  273. background: #fff;
  274. display: none;
  275. border: 1px solid #aaa;
  276. min-width: 200px;
  277. position: absolute;
  278. right: 0;
  279. }
  280. .dropdown-menu::after {
  281. background-color: inherit;
  282. width: 10px;
  283. height: 10px;
  284. border-width: 1px 0 0 1px;
  285. border-style: solid;
  286. content: "";
  287. position: absolute;
  288. top: -6px;
  289. right: 13px;
  290. z-index: -10;
  291. transform: rotate(45deg);
  292. }
  293. .dropdown-menu-scrollable {
  294. max-height: min(75vh, 50em);
  295. overflow-x: hidden;
  296. overflow-y: auto;
  297. }
  298. .dropdown-header {
  299. display: block;
  300. }
  301. .dropdown-menu > .item {
  302. display: block;
  303. }
  304. .dropdown-menu > .item > a,
  305. .dropdown-menu > .item > .as-link,
  306. .dropdown-menu > .item > span {
  307. display: block;
  308. min-width: 200px;
  309. white-space: nowrap;
  310. }
  311. .dropdown-menu > .item[aria-checked="true"] > a::before {
  312. content: '✓';
  313. }
  314. .dropdown-menu .input {
  315. display: block;
  316. }
  317. .dropdown-menu .input select,
  318. .dropdown-menu .input input {
  319. display: block;
  320. max-width: 95%;
  321. }
  322. .dropdown-target:target ~ .dropdown-menu {
  323. display: block;
  324. z-index: 1000;
  325. }
  326. .dropdown-close {
  327. display: inline;
  328. }
  329. .dropdown-close a {
  330. display: block;
  331. font-size: 0;
  332. position: fixed;
  333. top: 0; bottom: 0;
  334. left: 0; right: 0;
  335. z-index: -11;
  336. cursor: default;
  337. }
  338. .dropdown div.dropdown-close {
  339. display: none;
  340. }
  341. .dropdown-target:target ~ div.dropdown-close {
  342. display: block;
  343. z-index: 999;
  344. position: relative;
  345. }
  346. .dropdown-menu-scrollable .dropdown-close {
  347. display: none;
  348. }
  349. .separator {
  350. display: block;
  351. height: 0;
  352. border-bottom: 1px solid #aaa;
  353. }
  354. /*=== Alerts */
  355. .alert {
  356. display: block;
  357. width: 90%;
  358. }
  359. .alert-warn {
  360. background: inherit;
  361. }
  362. .group-controls .alert {
  363. width: 100%
  364. }
  365. .alert-head {
  366. margin: 0;
  367. font-weight: bold;
  368. }
  369. .alert ul {
  370. margin: 5px 20px;
  371. }
  372. .alert.hide {
  373. display: none;
  374. }
  375. /*=== Icons */
  376. .icon {
  377. display: inline-block;
  378. width: 16px;
  379. height: 16px;
  380. vertical-align: middle;
  381. line-height: 16px;
  382. }
  383. /* === stream-footer **/
  384. #stream-footer {
  385. margin: 0 0 5em;
  386. padding: 1em 0;
  387. width: 100%;
  388. border-top: 1px solid #aaa;
  389. text-align: center;
  390. }
  391. /*=== Pagination */
  392. .pagination {
  393. margin: 0;
  394. padding: 0;
  395. display: table;
  396. width: 100%;
  397. table-layout: fixed;
  398. }
  399. .pagination .item {
  400. display: table-cell;
  401. }
  402. .pagination .pager-first,
  403. .pagination .pager-previous,
  404. .pagination .pager-next,
  405. .pagination .pager-last {
  406. width: 100px;
  407. }
  408. /*=== Boxes */
  409. .box {
  410. margin: 20px 20px 20px 0;
  411. display: inline-block;
  412. max-width: 95%;
  413. width: 20rem;
  414. border: 1px solid #ccc;
  415. vertical-align: top;
  416. }
  417. .box.visible-semi {
  418. border-style: dashed;
  419. opacity: 0.5;
  420. }
  421. .box .box-title {
  422. position: relative;
  423. font-size: 1.2rem;
  424. font-weight: bold;
  425. }
  426. .box .box-title form {
  427. margin: 0;
  428. }
  429. .box .box-content {
  430. padding: 8px 8px 8px 16px;
  431. display: block;
  432. overflow: auto;
  433. }
  434. .box .box-content .item.feed {
  435. display: block;
  436. }
  437. .box .box-content .item.feed.moved {
  438. font-style: italic;
  439. }
  440. .box .box-content .item.feed.moved .favicon {
  441. opacity: 0.4;
  442. }
  443. .box .box-content .item.disabled {
  444. text-align: center;
  445. font-style: italic;
  446. }
  447. .box .box-content-centered {
  448. padding: 30px 5px;
  449. text-align: center;
  450. }
  451. .box .box-content-centered .btn {
  452. margin: 20px 0 0;
  453. }
  454. /*=== Draggable */
  455. [draggable=true]:hover {
  456. cursor: move;
  457. }
  458. .dragging {
  459. background-color: rgba(255, 255, 0, 0.7);
  460. }
  461. .dragging .icon {
  462. visibility: hidden;
  463. }
  464. .drag-disallowed {
  465. opacity: 0.5;
  466. }
  467. .drag-active .drop-zone:not(.drag-disallowed) {
  468. background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(250,250,210, 0.7) 40px, rgba(250,250,210, 0.7) 60px);
  469. }
  470. .drag-active .drag-hover.drop-zone {
  471. background: rgba(250,250,210, 0.7);
  472. transition: background 0.5s;
  473. }
  474. li.drag-hover {
  475. margin: 0 0 5px;
  476. border-bottom: 2px solid #ccc;
  477. }
  478. .drag-drop {
  479. animation-name: droppedKeyframe;
  480. animation-duration: 0.7s;
  481. }
  482. @keyframes droppedKeyframe {
  483. 0% {
  484. background-color: rgba(250,250,210, 0.7);
  485. }
  486. 50% {
  487. background-color: yellow;
  488. }
  489. 100% {
  490. background-color: none;
  491. }
  492. }
  493. /*=== Scrollbar */
  494. @supports (scrollbar-width: thin) {
  495. #sidebar,
  496. .scrollbar-thin {
  497. scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  498. scrollbar-width: thin;
  499. }
  500. #sidebar:hover,
  501. .scrollbar-thin {
  502. scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
  503. }
  504. }
  505. @supports not (scrollbar-width: thin) {
  506. #sidebar::-webkit-scrollbar,
  507. .scrollbar-thin::-webkit-scrollbar {
  508. background: rgba(0, 0, 0, 0.05);
  509. width: 8px;
  510. }
  511. #sidebar::-webkit-scrollbar-thumb,
  512. .scrollbar-thin::-webkit-scrollbar-thumb {
  513. background: rgba(0, 0, 0, 0.1);
  514. display: unset;
  515. border-radius: 5px;
  516. }
  517. #sidebar:hover::-webkit-scrollbar-thumb,
  518. .scrollbar-thin::-webkit-scrollbar-thumb {
  519. background: rgba(0, 0, 0, 0.3);
  520. }
  521. }
  522. /*=== Tree */
  523. .tree {
  524. margin: 0;
  525. max-height: 99vh;
  526. list-style: none;
  527. text-align: left;
  528. overflow-x: hidden;
  529. }
  530. .tree-folder-items {
  531. padding: 0;
  532. max-height: 200em;
  533. list-style: none;
  534. transition: max-height .3s linear;
  535. }
  536. .tree-folder-title .title {
  537. display: inline-block;
  538. width: 100%;
  539. vertical-align: middle;
  540. overflow: hidden;
  541. white-space: nowrap;
  542. text-overflow: ellipsis;
  543. }
  544. .tree-folder-items > .item {
  545. display: block;
  546. white-space: nowrap;
  547. }
  548. .tree-folder-items > .item > a {
  549. display: inline-block;
  550. vertical-align: middle;
  551. width: calc(100% - 32px);
  552. overflow: hidden;
  553. white-space: nowrap;
  554. text-overflow: ellipsis;
  555. }
  556. .tree-folder-items .item.feed {
  557. position: relative;
  558. }
  559. .tree-bottom {
  560. visibility: hidden;
  561. margin-bottom: 18em;
  562. }
  563. /*=== STRUCTURE */
  564. /*===============*/
  565. /*=== Header */
  566. .header {
  567. display: table;
  568. width: 100%;
  569. table-layout: fixed;
  570. }
  571. .header > .item {
  572. display: table-cell;
  573. }
  574. .header > .item.title {
  575. width: 250px;
  576. white-space: nowrap;
  577. }
  578. .header > .item.title h1 {
  579. display: inline-block;
  580. }
  581. .header > .item.title .logo {
  582. display: inline-block;
  583. height: 32px;
  584. vertical-align: middle;
  585. }
  586. .header > .item.configure {
  587. width: 100px;
  588. }
  589. input[type="search"] {
  590. -webkit-appearance: none; /* stylelint-disable-line property-no-vendor-prefix */
  591. }
  592. /*=== Body */
  593. #global {
  594. background: inherit;
  595. display: table;
  596. width: 100%;
  597. height: 100%;
  598. table-layout: fixed;
  599. }
  600. #stream:not(.alert-warn) {
  601. background: inherit;
  602. }
  603. .aside {
  604. display: table-cell;
  605. width: 300px;
  606. vertical-align: top;
  607. }
  608. .aside + .close-aside {
  609. display: none;
  610. }
  611. /*=== Aside main page */
  612. .aside_feed .category .title {
  613. width: calc(100% - 35px);
  614. }
  615. .aside_feed .category .title:not([data-unread="0"]) {
  616. width: calc(100% - 75px);
  617. }
  618. .aside_feed .tree-folder-title .icon {
  619. padding: 5px;
  620. }
  621. .aside_feed .tree-folder-items .item.feed {
  622. padding: 0px 15px;
  623. }
  624. .aside_feed .tree-folder-items:not(.active) {
  625. margin: 0;
  626. padding: 0;
  627. max-height: 0;
  628. border: none;
  629. overflow: hidden;
  630. }
  631. .aside_feed .tree-folder-items .dropdown {
  632. vertical-align: top;
  633. }
  634. .aside_feed .tree-folder-items .dropdown-menu {
  635. left: 0;
  636. }
  637. .aside_feed .tree-folder-items .item .dropdown-toggle > .icon {
  638. visibility: hidden;
  639. cursor: pointer;
  640. }
  641. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  642. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  643. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  644. visibility: visible;
  645. }
  646. /*=== New article notification */
  647. #new-article {
  648. display: none;
  649. }
  650. #new-article > a {
  651. display: block;
  652. }
  653. /*=== Day indication */
  654. .day {
  655. background: inherit;
  656. }
  657. .day .name {
  658. position: absolute;
  659. right: 0;
  660. width: 50%;
  661. overflow: hidden;
  662. white-space: nowrap;
  663. text-overflow: ellipsis;
  664. }
  665. /*=== Feed article header and footer */
  666. .flux_header {
  667. background: inherit;
  668. position: relative;
  669. }
  670. .flux .item {
  671. line-height: 40px;
  672. white-space: nowrap;
  673. }
  674. .flux .item.manage,
  675. .flux .item.link {
  676. width: 40px;
  677. text-align: center;
  678. }
  679. .flux .item.website {
  680. width: 200px;
  681. padding-right: 10px;
  682. }
  683. .website a:hover .favicon,
  684. a.website:hover .favicon {
  685. filter: grayscale(100%);
  686. }
  687. .flux.not_read .item.title,
  688. .flux.current .item.title {
  689. font-weight: bold;
  690. }
  691. .flux:not(.current):hover .item.title {
  692. background: #fff;
  693. max-width: calc(100% - 320px);
  694. position: absolute;
  695. }
  696. .flux:not(.current):hover .item.title.multiline {
  697. position: initial;
  698. }
  699. .flux .item.title a {
  700. color: #000;
  701. text-decoration: none;
  702. }
  703. .flux .item.thumbnail {
  704. line-height: 0;
  705. padding: 10px;
  706. height: 80px;
  707. }
  708. .flux .item.thumbnail.small {
  709. height: 40px;
  710. }
  711. .flux .item.thumbnail.portrait {
  712. width: 60px;
  713. }
  714. .flux .item.thumbnail.square {
  715. width: 80px;
  716. }
  717. .flux .item.thumbnail.landscape {
  718. width: 128px;
  719. }
  720. .flux .item.thumbnail.portrait.small {
  721. width: 30px;
  722. }
  723. .flux .item.thumbnail.square.small {
  724. width: 40px;
  725. }
  726. .flux .item.thumbnail.landscape.small {
  727. width: 64px;
  728. }
  729. .flux .item.thumbnail img {
  730. background: repeating-linear-gradient( -45deg, #ddd, #ddd 5px, transparent 5px, transparent 10px );
  731. display: inline-block;
  732. width: 100%;
  733. height: 100%;
  734. overflow: hidden;
  735. object-fit: cover;
  736. }
  737. .flux .item.title .summary {
  738. max-height: 3em;
  739. color: #666;
  740. font-size: 0.9em;
  741. line-height: 1.5em;
  742. font-weight: normal;
  743. white-space: initial;
  744. overflow: hidden;
  745. text-overflow: ellipsis;
  746. }
  747. .flux .item.title .author {
  748. padding-left: 1rem;
  749. color: #555;
  750. font-size: .9rem;
  751. font-weight: normal;
  752. }
  753. .flux .item.date {
  754. width: 155px;
  755. text-align: right;
  756. overflow: hidden;
  757. }
  758. .flux .item > a {
  759. display: block;
  760. white-space: nowrap;
  761. text-overflow: ellipsis;
  762. overflow: hidden;
  763. }
  764. .flux .item.share > a,
  765. .item.query > a {
  766. display: list-item;
  767. list-style-position: inside;
  768. list-style-type: decimal;
  769. }
  770. /*=== Feed article content */
  771. .hide_posts > .flux:not(.active) > .flux_content {
  772. display: none;
  773. }
  774. .content {
  775. min-height: 20em;
  776. margin: auto;
  777. line-height: 1.7em;
  778. word-wrap: break-word;
  779. }
  780. .content.large {
  781. max-width: 1000px;
  782. }
  783. .content.medium {
  784. max-width: 800px;
  785. }
  786. .content.thin {
  787. max-width: 550px;
  788. }
  789. .content ul,
  790. .content ol,
  791. .content dd {
  792. margin: 0 0 0 15px;
  793. padding: 0 0 5px 15px;
  794. }
  795. .content pre {
  796. overflow: auto;
  797. }
  798. .subtitle > div {
  799. display: inline;
  800. }
  801. .subtitle > div:not(:first-of-type)::before {
  802. content: ' · ';
  803. }
  804. br {
  805. line-height: 1em;
  806. }
  807. /*=== Notification and actualize notification */
  808. .notification {
  809. padding: 10px 50px 10px 10px;
  810. position: absolute;
  811. top: 1em;
  812. left: 25%; right: 25%;
  813. z-index: 10;
  814. background: #fff;
  815. border: 1px solid #aaa;
  816. opacity: 1;
  817. line-height: 2;
  818. visibility: visible;
  819. transition: visibility 0s, opacity .3s linear;
  820. }
  821. .notification.closed {
  822. opacity: 0;
  823. visibility: hidden;
  824. }
  825. .notification a.close {
  826. position: absolute;
  827. top: 0; bottom: 0;
  828. right: 0;
  829. display: inline-block;
  830. }
  831. .notification a.close:hover {
  832. background: rgba(10,10,10,0.05);
  833. }
  834. .notification a.close:hover .icon {
  835. filter: brightness(2);
  836. }
  837. #actualizeProgress {
  838. position: fixed;
  839. }
  840. #actualizeProgress progress {
  841. max-width: 100%;
  842. vertical-align: middle;
  843. }
  844. #actualizeProgress .progress {
  845. vertical-align: middle;
  846. }
  847. /*=== Popup */
  848. #popup {
  849. display: none;
  850. position: fixed;
  851. z-index: 1;
  852. left: 0;
  853. top: 0;
  854. width: 100%;
  855. height: 100%;
  856. overflow: auto;
  857. background-color: #eee;
  858. background-color: rgba(0,0,0,0.4);
  859. }
  860. #popup-content {
  861. margin: 5rem auto;
  862. display: table;
  863. width: 80%;
  864. height: 80%;
  865. overflow: hidden;
  866. background-color: #fafafa;
  867. border-radius: .25rem;
  868. box-shadow: 0 0 1px #737373, 1px 2px 3px #4a4a4f;
  869. }
  870. .popup-row {
  871. display: table-row;
  872. width: 100%;
  873. }
  874. #popup-close {
  875. float: right;
  876. width: 27px;
  877. height: 27px;
  878. padding-bottom: 5px;
  879. color: #aaa;
  880. font-size: 28px;
  881. font-weight: bold;
  882. }
  883. #popup-close:hover,
  884. #popup-close:focus {
  885. color: #000;
  886. text-decoration: none;
  887. cursor: pointer;
  888. }
  889. #popup-txt {
  890. display: none;
  891. height: 100%;
  892. }
  893. #popup-iframe-container {
  894. display: none;
  895. height: 100%;
  896. }
  897. #popup-iframe-sub {
  898. padding: 10px;
  899. height: 100%;
  900. }
  901. #popup-iframe {
  902. width: 100%;
  903. height: 100%;
  904. }
  905. /*=== Navigation menu (for articles) */
  906. #nav_entries {
  907. background: #fff;
  908. display: table;
  909. position: fixed;
  910. bottom: 0; left: 0;
  911. width: 300px;
  912. table-layout: fixed;
  913. }
  914. #nav_entries .item {
  915. display: table-cell;
  916. width: 30%;
  917. }
  918. #nav_entries a {
  919. display: block;
  920. }
  921. /*=== "Load" parts */
  922. #first_load {
  923. margin: 130px auto -170px auto;
  924. height: 40px;
  925. }
  926. #load_more {
  927. min-height: 40px;
  928. }
  929. #load_more.loading,
  930. #load_more.loading:hover {
  931. padding: 10px 20px;
  932. background: url("loader.gif") center center no-repeat #fff;
  933. font-size: 0;
  934. }
  935. .loading {
  936. background: url("loader.gif") center center no-repeat;
  937. font-size: 0;
  938. }
  939. #bigMarkAsRead {
  940. margin: 0 0 100% 0;
  941. margin: 0 0 100vh 0;
  942. padding: 1em 0 50px 0;
  943. display: block;
  944. width: 100%;
  945. text-align: center;
  946. font-size: 1.4em;
  947. }
  948. .bigTick {
  949. font-size: 4em;
  950. }
  951. /*=== Statistiques */
  952. .stat-grid {
  953. display: grid;
  954. grid-template-columns: 1fr 1fr;
  955. grid-gap: 20px;
  956. }
  957. .stat {
  958. grid-column: 1 / span 2;
  959. }
  960. .stat.half {
  961. grid-column: auto;
  962. }
  963. .stat > table {
  964. width: 100%;
  965. }
  966. .statGraph {
  967. height: 300px;
  968. }
  969. /*=== LOGIN VIEW */
  970. /*================*/
  971. .formLogin .header > .item {
  972. padding: 10px 30px;
  973. }
  974. .formLogin .header > .item.title {
  975. text-align: left;
  976. }
  977. .formLogin .header > .item.configure {
  978. text-align: right;
  979. }
  980. /*=== GLOBAL VIEW */
  981. /*================*/
  982. #stream.global {
  983. text-align: center;
  984. }
  985. #stream.global .box {
  986. text-align: left;
  987. }
  988. #global > #panel {
  989. bottom: 99vh;
  990. display: block;
  991. transition: visibility .3s, bottom .3s;
  992. visibility: hidden;
  993. }
  994. #global > #panel.visible {
  995. bottom: 2%;
  996. visibility: visible;
  997. }
  998. /*=== Panel */
  999. #overlay {
  1000. position: fixed;
  1001. top: 0; bottom: 0;
  1002. left: 0; right: 0;
  1003. background: rgba(0, 0, 0, 0.5);
  1004. opacity: 0;
  1005. transition: visibility .3s, opacity .3s;
  1006. visibility: hidden;
  1007. }
  1008. #overlay.visible {
  1009. opacity: 1;
  1010. visibility: visible;
  1011. }
  1012. #panel {
  1013. background: #fff;
  1014. display: none;
  1015. position: fixed;
  1016. top: 2%; bottom: 2%;
  1017. left: 3%; right: 3%;
  1018. overflow: auto;
  1019. }
  1020. #overlay .close {
  1021. position: fixed;
  1022. top: 0; bottom: 0;
  1023. left: 0; right: 0;
  1024. display: block;
  1025. }
  1026. #overlay .close img {
  1027. display: none;
  1028. }
  1029. /*=== Slider */
  1030. #slider {
  1031. position: fixed;
  1032. top: 0; bottom: 0;
  1033. left: 100%; right: 0;
  1034. overflow: auto;
  1035. background: #fff;
  1036. border-left: 1px solid #aaa;
  1037. transition: left 200ms linear;
  1038. }
  1039. #slider.active {
  1040. left: 40%;
  1041. }
  1042. #close-slider {
  1043. position: fixed;
  1044. top: 0; bottom: 0;
  1045. left: 100%; right: 0;
  1046. cursor: pointer;
  1047. }
  1048. #close-slider.active {
  1049. left: 0;
  1050. }
  1051. #close-slider img {
  1052. display: none;
  1053. }
  1054. /*=== SLIDESHOW */
  1055. /*==============*/
  1056. .slides {
  1057. padding: 0;
  1058. display: block;
  1059. max-width: 640px;
  1060. height: 320px;
  1061. border: 1px solid #aaa;
  1062. position: relative;
  1063. min-width: 260px;
  1064. margin-bottom: 30px;
  1065. }
  1066. .slides input {
  1067. display: none;
  1068. }
  1069. .slide-container {
  1070. display: block;
  1071. }
  1072. .slide {
  1073. display: block;
  1074. width: 100%;
  1075. height: 100%;
  1076. top: 0;
  1077. opacity: 0;
  1078. position: absolute;
  1079. transform: scale(0);
  1080. transition: all .7s ease-in-out;
  1081. }
  1082. .slide img {
  1083. width: 100%;
  1084. height: 100%;
  1085. }
  1086. .nav label {
  1087. padding: 0;
  1088. display: none;
  1089. width: 65px;
  1090. height: 100%;
  1091. color: #fff;
  1092. font-family: "Varela Round", sans-serif;
  1093. font-size: 1000%;
  1094. position: absolute;
  1095. opacity: 0;
  1096. z-index: 9;
  1097. cursor: pointer;
  1098. transition: opacity .2s;
  1099. text-align: center;
  1100. line-height: 225%;
  1101. background-color: rgba(255, 255, 255, .3);
  1102. text-shadow: 0px 0px 15px rgb(119, 119, 119);
  1103. }
  1104. .properties {
  1105. padding: 5px;
  1106. background: rgba(255, 255, 255, 0.7);
  1107. display: none;
  1108. color: #000;
  1109. border-top: 1px solid #aaa;
  1110. bottom: 0;
  1111. left: 0; right: 0;
  1112. position: absolute;
  1113. z-index: 10;
  1114. }
  1115. .properties .page-number {
  1116. right: 5px;
  1117. top: 0;
  1118. position: absolute;
  1119. }
  1120. .slide:hover + .nav label {
  1121. opacity: 0.5;
  1122. }
  1123. .nav label:hover {
  1124. opacity: 1;
  1125. }
  1126. .nav .next {
  1127. right: 0;
  1128. }
  1129. input:checked + .slide-container .slide {
  1130. opacity: 1;
  1131. transform: scale(1);
  1132. transition: opacity 1s ease-in-out;
  1133. }
  1134. input:checked + .slide-container .nav label {
  1135. display: block;
  1136. }
  1137. input:checked + .slide-container .properties {
  1138. display: block;
  1139. }
  1140. /*=== DIVERS */
  1141. /*===========*/
  1142. .category .title.error::before {
  1143. content: "⚠ ";
  1144. color: #bd362f;
  1145. }
  1146. .category .title:not([data-unread="0"])::after,
  1147. .feed .item-title:not([data-unread="0"])::after {
  1148. margin: 0.75em 0 0 0;
  1149. padding: 5px 10px;
  1150. min-width: 20px;
  1151. display: block;
  1152. content: attr(data-unread);
  1153. position: absolute;
  1154. top: 0;
  1155. right: 10px;
  1156. text-align: center;
  1157. font-size: 0.9em;
  1158. border-radius: 12px;
  1159. line-height: 1;
  1160. font-weight: initial;
  1161. }
  1162. .feed .item-title:not([data-unread="0"])::after {
  1163. margin: 1em 0 0 0;
  1164. }
  1165. .feed.active .item-title:not([data-unread="0"])::after {
  1166. background-color: transparent;
  1167. color: white;
  1168. border: 1px solid #fff;
  1169. font-weight: bold;
  1170. }
  1171. .feed .item-title:not([data-unread="0"]) {
  1172. font-weight: bold;
  1173. width: calc(100% - 80px);
  1174. }
  1175. .state_unread .category:not(.active)[data-unread="0"],
  1176. .state_unread .feed:not(.active)[data-unread="0"] {
  1177. display: none;
  1178. }
  1179. .nav_menu {
  1180. background: inherit;
  1181. }
  1182. .nav_mobile {
  1183. display: none;
  1184. }
  1185. .nav-login,
  1186. .nav_menu .search,
  1187. .aside .toggle_aside,
  1188. .nav_menu .toggle_aside,
  1189. .configure .dropdown-header-close {
  1190. display: none;
  1191. }
  1192. .enclosure [download] {
  1193. font-size: xx-large;
  1194. margin-left: .8em;
  1195. }
  1196. .enclosure-description {
  1197. white-space: pre-line;
  1198. }
  1199. .default-user {
  1200. font-style: italic;
  1201. }
  1202. /*=== READER */
  1203. /*===========*/
  1204. .reader .nav_menu .toggle_aside {
  1205. display: inline-block;
  1206. }
  1207. .reader .aside .toggle_aside {
  1208. display: block;
  1209. width: 100%;
  1210. }
  1211. .reader .aside {
  1212. display: none;
  1213. width: 0;
  1214. }
  1215. .reader .aside:target {
  1216. display: table-cell;
  1217. width: 300px;
  1218. }
  1219. .reader .aside .stick {
  1220. display: none;
  1221. }
  1222. /*=== MOBILE */
  1223. /*===========*/
  1224. @media (max-width: 840px) {
  1225. .flux_header .item.website span,
  1226. .item.date, .day .date,
  1227. .dropdown-menu > .no-mobile,
  1228. .no-mobile {
  1229. display: none;
  1230. }
  1231. .header > .item {
  1232. padding: 5px;
  1233. }
  1234. .header > .item.title .logo {
  1235. height: 24px;
  1236. }
  1237. header .item.search form {
  1238. display: none;
  1239. }
  1240. .form-group {
  1241. margin-bottom: 10px;
  1242. }
  1243. .form-group .group-name {
  1244. float: none;
  1245. width: auto;
  1246. }
  1247. .form-group .group-controls {
  1248. margin-left: 0;
  1249. }
  1250. .dropdown {
  1251. position: inherit;
  1252. }
  1253. .dropdown .dropdown-menu {
  1254. width: 94%;
  1255. border-radius: 0;
  1256. left: 3%;
  1257. right: 3%;
  1258. position: absolute;
  1259. }
  1260. .dropdown .dropdown-menu .item {
  1261. margin: 2px 0;
  1262. }
  1263. .dropdown .dropdown-menu .item button.as-link,
  1264. .dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
  1265. width: 100%;
  1266. }
  1267. .dropdown-target:target ~ .dropdown-toggle {
  1268. position: relative;
  1269. overflow: visible;
  1270. }
  1271. .dropdown-target:target ~ .dropdown-toggle::after {
  1272. background-color: #fff;
  1273. width: 10px;
  1274. height: 10px;
  1275. content: "";
  1276. position: absolute;
  1277. right: 8px;
  1278. bottom: -17px;
  1279. transform: rotate(45deg);
  1280. z-index: 9999;
  1281. cursor: default;
  1282. }
  1283. .dropdown-target:target ~ .dropdown-toggle:not(.btn) ~ .dropdown-menu {
  1284. margin-top: 0;
  1285. }
  1286. .configure .dropdown .dropdown-menu {
  1287. width: 90%;
  1288. height: 100vh;
  1289. top: 0;
  1290. right: 0;
  1291. bottom: 0;
  1292. left: auto;
  1293. position: fixed;
  1294. padding-top: 0;
  1295. margin-top: 0;
  1296. overflow: auto;
  1297. box-shadow: -3px 0 3px #aaa;
  1298. }
  1299. .configure .dropdown-target:target ~ .dropdown-toggle::after {
  1300. content: none;
  1301. }
  1302. .dropdown-target:target ~ .dropdown-menu {
  1303. display: table-cell;
  1304. z-index: 1000;
  1305. }
  1306. .dropdown-menu::after {
  1307. display: none;
  1308. }
  1309. .aside .toggle_aside,
  1310. .configure .dropdown-header-close,
  1311. .nav-login {
  1312. display: block;
  1313. }
  1314. .nav_menu .toggle_aside,
  1315. .nav_menu .search,
  1316. #panel .close img {
  1317. display: inline-block;
  1318. }
  1319. .aside:target + .close-aside {
  1320. background: rgba(0, 0, 0, 0.2);
  1321. display: block;
  1322. font-size: 0;
  1323. position: fixed;
  1324. top: 0;
  1325. bottom: 0;
  1326. left: 0;
  1327. right: 0;
  1328. cursor: pointer;
  1329. z-index: 99;
  1330. }
  1331. .nav_mobile {
  1332. display: block;
  1333. }
  1334. .aside {
  1335. position: fixed;
  1336. top: 0; bottom: 0;
  1337. left: 0;
  1338. width: 0;
  1339. overflow: hidden;
  1340. z-index: 100;
  1341. }
  1342. .aside:target,
  1343. .reader .aside:target {
  1344. width: 90%;
  1345. height: 100vh;
  1346. }
  1347. .aside_feed .configure-feeds {
  1348. margin-top: 10px;
  1349. }
  1350. .flux_header .item.website {
  1351. width: 40px;
  1352. }
  1353. .flux:not(.current):hover .item.title {
  1354. position: relative;
  1355. width: auto;
  1356. white-space: nowrap;
  1357. }
  1358. .notification {
  1359. top: 0;
  1360. left: 0;
  1361. right: 0;
  1362. }
  1363. #nav_entries {
  1364. width: 100%;
  1365. }
  1366. #panel {
  1367. top: 25px; bottom: 30px;
  1368. left: 0; right: 0;
  1369. }
  1370. #panel .close {
  1371. top: 0; right: 0;
  1372. left: auto; bottom: auto;
  1373. display: inline-block;
  1374. width: 30px;
  1375. height: 30px;
  1376. }
  1377. #slider.active {
  1378. left: 0;
  1379. top: 50px;
  1380. }
  1381. #close-slider img {
  1382. display: initial;
  1383. }
  1384. #close-slider.active {
  1385. background: #f6f6f6;
  1386. display: block;
  1387. width: 100%;
  1388. height: 50px;
  1389. z-index: 10;
  1390. text-align: center;
  1391. line-height: 50px;
  1392. border-bottom: 1px solid #ddd;
  1393. }
  1394. .stat.half {
  1395. grid-column: 1 / span 2;
  1396. }
  1397. }
  1398. /*=== PRINTER */
  1399. /*============*/
  1400. @media print {
  1401. .header, .aside,
  1402. .nav_menu, .day,
  1403. .flux_header,
  1404. .flux_content .bottom,
  1405. .pagination,
  1406. #stream-footer,
  1407. #nav_entries {
  1408. display: none;
  1409. }
  1410. html, body {
  1411. background: #fff;
  1412. color: #000;
  1413. font-family: Serif;
  1414. }
  1415. #global,
  1416. .flux_content {
  1417. display: block !important;
  1418. }
  1419. .flux_content .content {
  1420. width: 100% !important;
  1421. }
  1422. .flux_content .content a {
  1423. color: #000;
  1424. }
  1425. .flux_content .content a::after {
  1426. content: " [" attr(href) "] ";
  1427. font-style: italic;
  1428. }
  1429. }
  1430. /*=== PREVIEW */
  1431. /*===========*/
  1432. .preview_controls {
  1433. margin-left: auto;
  1434. margin-right: auto;
  1435. padding: 1rem;
  1436. max-width: 1000px;
  1437. text-align: center;
  1438. background-color: #eee;
  1439. border: 1px solid #e0e0e0;
  1440. border-radius: .25rem;
  1441. }
  1442. .preview_controls label {
  1443. display: inline;
  1444. }
  1445. .preview_controls label input[type="radio"] {
  1446. margin-top: -4px;
  1447. }
  1448. .preview_controls label + label {
  1449. margin-left: 1rem;
  1450. }
  1451. .preview_background {
  1452. background-color: transparent;
  1453. }
  1454. .drag-drop-marker {
  1455. margin: -1px;
  1456. }