base.rtl.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
  1. /* stylelint-disable block-no-empty */
  2. @charset "UTF-8";
  3. /*=== GENERAL */
  4. /*============*/
  5. html, body {
  6. height: 100%;
  7. color: black;
  8. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  9. }
  10. /*=== Links */
  11. a, button.as-link {
  12. color: blue;
  13. outline: none;
  14. }
  15. /*=== Forms */
  16. legend {
  17. margin: 20px 0 5px;
  18. padding: 5px 0;
  19. font-size: 1.4em;
  20. }
  21. label {
  22. min-height: 25px;
  23. padding: 5px 0;
  24. cursor: pointer;
  25. }
  26. textarea {
  27. width: 360px;
  28. height: 100px;
  29. }
  30. input, select, textarea {
  31. min-height: 25px;
  32. padding: 5px;
  33. line-height: 25px;
  34. vertical-align: middle;
  35. }
  36. option {
  37. padding: 0 .5em;
  38. }
  39. input:focus, select:focus, textarea:focus {
  40. }
  41. input:invalid, select:invalid {
  42. }
  43. input:disabled, select:disabled {
  44. }
  45. input.extend {
  46. transition: width 200ms linear;
  47. }
  48. /*=== Tables */
  49. table {
  50. border-collapse: collapse;
  51. }
  52. tr, th, td {
  53. padding: 0.5em;
  54. }
  55. th {
  56. }
  57. form td,
  58. form th {
  59. font-weight: normal;
  60. text-align: center;
  61. }
  62. /*=== COMPONENTS */
  63. /*===============*/
  64. /*=== Forms */
  65. .form-group.form-actions {
  66. padding: 5px 0;
  67. }
  68. .form-group.form-actions .btn {
  69. margin: 0 10px;
  70. }
  71. .form-group .group-name {
  72. padding: 10px 0;
  73. text-align: left;
  74. }
  75. .form-group .group-controls {
  76. min-height: 25px;
  77. padding: 5px 0;
  78. }
  79. /*=== Buttons */
  80. .stick input,
  81. .stick .btn {
  82. }
  83. .stick .btn:first-child,
  84. .stick input:first-child {
  85. }
  86. .stick .btn-important:first-child {
  87. }
  88. .stick .btn:last-child,
  89. .stick input:last-child {
  90. }
  91. .stick .btn + .btn,
  92. .stick .btn + input,
  93. .stick .btn + .dropdown > .btn,
  94. .stick input + .btn,
  95. .stick input + input,
  96. .stick input + .dropdown > .btn,
  97. .stick .dropdown + .btn,
  98. .stick .dropdown + input,
  99. .stick .dropdown + .dropdown > .btn {
  100. }
  101. .stick input + .btn {
  102. }
  103. .stick .btn + .dropdown > .btn {
  104. }
  105. .btn {
  106. margin: 0;
  107. padding: 5px 10px;
  108. display: inline-block;
  109. min-height: 37px;
  110. min-width: 15px;
  111. font-size: 0.9rem;
  112. vertical-align: middle;
  113. cursor: pointer;
  114. overflow: hidden;
  115. }
  116. a.btn {
  117. min-height: 25px;
  118. line-height: 25px;
  119. }
  120. .btn:hover {
  121. text-decoration: none;
  122. }
  123. .btn.active,
  124. .btn:active,
  125. .dropdown-target:target ~ .btn.dropdown-toggle {
  126. }
  127. .btn-important {
  128. font-weight: normal;
  129. }
  130. .btn-important:hover {
  131. }
  132. .btn-important:active {
  133. }
  134. .btn-attention {
  135. }
  136. .btn-attention:hover {
  137. }
  138. .btn-attention:active {
  139. }
  140. /*=== Navigation */
  141. .nav-list .nav-header,
  142. .nav-list .item {
  143. height: 2.5em;
  144. line-height: 2.5em;
  145. font-size: 0.9rem;
  146. }
  147. .nav-list .item:hover {
  148. }
  149. .nav-list .item:hover a {
  150. }
  151. .nav-list .item.active {
  152. }
  153. .nav-list .item.active a {
  154. }
  155. .nav-list .item > a {
  156. padding: 0 10px;
  157. }
  158. .nav-list a:hover {
  159. text-decoration: none;
  160. }
  161. .nav-list .item.empty a {
  162. }
  163. .nav-list .item.active.empty a {
  164. }
  165. .nav-list .item.error a {
  166. }
  167. .nav-list .item.active.error a {
  168. }
  169. .nav-list .nav-header {
  170. padding: 0 10px;
  171. font-weight: bold;
  172. }
  173. .nav-list .nav-form {
  174. padding: 3px;
  175. text-align: center;
  176. }
  177. .nav-head {
  178. margin: 0;
  179. text-align: left;
  180. }
  181. .nav-head .item {
  182. padding: 5px 10px;
  183. font-size: 0.9rem;
  184. line-height: 1.5rem;
  185. }
  186. /*=== Dropdown */
  187. .dropdown-menu {
  188. margin: 5px 0 0;
  189. padding: 5px 0;
  190. font-size: 0.8rem;
  191. text-align: right;
  192. }
  193. .dropdown-menu::after {
  194. content: "";
  195. position: absolute;
  196. top: -6px;
  197. left: 13px;
  198. width: 10px;
  199. height: 10px;
  200. z-index: -10;
  201. transform: rotate(-45deg);
  202. }
  203. .dropdown-header {
  204. padding: 0 5px 5px;
  205. font-weight: bold;
  206. text-align: right;
  207. }
  208. .dropdown-menu > .item {
  209. }
  210. .dropdown-menu > .item > a,
  211. .dropdown-menu > .item > span,
  212. .dropdown-menu > .item > .as-link {
  213. padding: 0 22px;
  214. line-height: 2.5em;
  215. }
  216. .dropdown-menu > .item:hover {
  217. }
  218. .dropdown-menu > .item[aria-checked="true"] > a::before {
  219. font-weight: bold;
  220. margin: 0 -14px 0 0;
  221. }
  222. .dropdown-menu > .item:hover > a {
  223. text-decoration: none;
  224. }
  225. .dropdown-menu .input select,
  226. .dropdown-menu .input input {
  227. margin: 0 auto 5px;
  228. padding: 2px 5px;
  229. }
  230. /*=== Alerts */
  231. .alert {
  232. margin: 15px auto;
  233. padding: 10px 15px;
  234. font-size: 0.9em;
  235. }
  236. .alert-head {
  237. font-size: 1.15em;
  238. }
  239. .alert > a {
  240. text-decoration: underline;
  241. }
  242. .alert-warn {
  243. }
  244. .alert-success {
  245. }
  246. .alert-error {
  247. }
  248. /*=== Pagination */
  249. .pagination {
  250. text-align: center;
  251. font-size: 0.8em;
  252. }
  253. .content .pagination {
  254. margin: 0;
  255. padding: 0;
  256. }
  257. .pagination .item.pager-current {
  258. font-weight: bold;
  259. font-size: 1.5em;
  260. }
  261. .pagination .item a {
  262. display: block;
  263. font-style: italic;
  264. line-height: 3em;
  265. text-decoration: none;
  266. }
  267. .pagination .item a:hover {
  268. }
  269. .pagination:first-child .item {
  270. }
  271. .pagination:last-child .item {
  272. }
  273. #load_more.loading,
  274. #load_more.loading:hover {
  275. font-size: 0;
  276. }
  277. /*=== Boxes */
  278. .box {
  279. }
  280. .box .box-title {
  281. margin: 0;
  282. padding: 5px 10px;
  283. }
  284. .box .box-content {
  285. max-height: 260px;
  286. }
  287. .box .box-content .item {
  288. padding: 0 10px;
  289. font-size: 0.9rem;
  290. line-height: 2.5em;
  291. }
  292. /*=== Tree */
  293. .tree {
  294. margin: 10px 0;
  295. }
  296. .tree-folder-title {
  297. position: relative;
  298. padding: 0 10px;
  299. line-height: 2.5rem;
  300. font-size: 1rem;
  301. }
  302. .tree-folder-title .title {
  303. background: inherit;
  304. }
  305. .tree-folder-title .title:hover {
  306. text-decoration: none;
  307. }
  308. .tree-folder.active .tree-folder-title {
  309. font-weight: bold;
  310. }
  311. .tree-folder.active .tree-folder-title .title {
  312. }
  313. .tree-folder-items {
  314. }
  315. .tree-folder-items > .item {
  316. padding: 0 10px;
  317. line-height: 2.5rem;
  318. font-size: 0.8rem;
  319. }
  320. .tree-folder-items > .item.active {
  321. }
  322. .tree-folder-items > .item > a {
  323. text-decoration: none;
  324. }
  325. .tree-folder-items > .item.active > a {
  326. }
  327. /*=== STRUCTURE */
  328. /*===============*/
  329. /*=== Header */
  330. .header {
  331. height: 85px;
  332. }
  333. .header > .item {
  334. padding: 10px;
  335. vertical-align: middle;
  336. text-align: center;
  337. }
  338. .header > .item.title {
  339. width: 230px;
  340. }
  341. .header > .item.title h1 {
  342. margin: 0.5em 0;
  343. }
  344. .header > .item.title h1 a {
  345. text-decoration: none;
  346. }
  347. .header > .item.search input {
  348. width: 230px;
  349. }
  350. .header .item.search input:focus {
  351. width: 350px;
  352. }
  353. /*=== Body */
  354. #global {
  355. height: calc(100% - 85px);
  356. }
  357. .aside {
  358. }
  359. .aside.aside_feed {
  360. padding: 10px 0;
  361. text-align: center;
  362. }
  363. .aside.aside_feed .tree {
  364. margin: 10px 0 50px;
  365. }
  366. /*=== Aside main page (categories) */
  367. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  368. position: absolute;
  369. left: 0;
  370. margin: 10px 0;
  371. padding: 0 10px;
  372. font-size: 0.9rem;
  373. line-height: 1.5rem;
  374. }
  375. /*=== Aside main page (feeds) */
  376. .feed.item.empty.active {
  377. }
  378. .feed.item.error.active {
  379. }
  380. .feed.item.empty,
  381. .feed.item.empty > a {
  382. }
  383. .feed.item.error,
  384. .feed.item.error > a {
  385. }
  386. .feed.item.empty.active,
  387. .feed.item.error.active,
  388. .feed.item.empty.active > a,
  389. .feed.item.error.active > a {
  390. }
  391. .aside_feed .tree-folder-items .dropdown-menu::after {
  392. right: 2px;
  393. }
  394. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  395. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  396. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  397. border-radius: 3px;
  398. }
  399. /*=== Configuration pages */
  400. .post {
  401. padding: 10px 50px;
  402. font-size: 0.9em;
  403. }
  404. .post form {
  405. margin: 10px 0;
  406. }
  407. .post.content {
  408. max-width: 550px;
  409. }
  410. /*=== Prompt (centered) */
  411. .prompt {
  412. text-align: center;
  413. }
  414. .prompt label {
  415. text-align: right;
  416. }
  417. .prompt form {
  418. margin: 10px auto 20px auto;
  419. width: 180px;
  420. }
  421. .prompt input {
  422. margin: 5px auto;
  423. width: 100%;
  424. }
  425. .prompt p {
  426. margin: 20px 0;
  427. }
  428. /*=== New article notification */
  429. #new-article {
  430. text-align: center;
  431. font-size: 0.9em;
  432. }
  433. #new-article > a {
  434. line-height: 3em;
  435. font-weight: bold;
  436. }
  437. #new-article > a:hover {
  438. text-decoration: none;
  439. }
  440. /*=== Day indication */
  441. .day {
  442. padding: 0 10px;
  443. font-weight: bold;
  444. line-height: 3em;
  445. }
  446. #new-article + .day {
  447. }
  448. .day .name {
  449. padding: 0 0 0 10px;
  450. font-size: 1.8em;
  451. opacity: 0.3;
  452. font-style: italic;
  453. text-align: left;
  454. }
  455. /*=== Index menu */
  456. .nav_menu {
  457. text-align: center;
  458. padding: 5px 0;
  459. }
  460. /*=== Feed articles */
  461. .flux {
  462. }
  463. .flux:hover {
  464. }
  465. .flux.current {
  466. }
  467. .flux.not_read {
  468. }
  469. .flux.not_read:not(.current):hover .item.title {
  470. }
  471. .flux.favorite {
  472. }
  473. .flux.favorite:not(.current):hover .item.title {
  474. }
  475. .flux_header {
  476. font-size: 0.8rem;
  477. cursor: pointer;
  478. }
  479. .flux_header .title {
  480. font-size: 0.9rem;
  481. }
  482. .flux .website .favicon {
  483. padding: 5px;
  484. }
  485. .flux .item.date {
  486. font-size: 0.7rem;
  487. }
  488. .flux:not(.current):hover .item.title {
  489. }
  490. .flux .bottom {
  491. font-size: 0.8rem;
  492. text-align: center;
  493. }
  494. /*=== Content of feed articles */
  495. .content {
  496. padding: 20px 10px;
  497. }
  498. .content > h1.title > a {
  499. }
  500. .content hr {
  501. margin: 30px 10px;
  502. height: 1px;
  503. }
  504. .content pre {
  505. margin: 10px auto;
  506. padding: 10px 20px;
  507. overflow: auto;
  508. font-size: 0.9rem;
  509. }
  510. .content code {
  511. padding: 2px 5px;
  512. }
  513. .content pre code {
  514. }
  515. .content blockquote {
  516. margin: 0;
  517. padding: 5px 20px;
  518. display: block;
  519. }
  520. .content blockquote p {
  521. margin: 0;
  522. }
  523. /*=== Notification and actualize notification */
  524. .notification {
  525. padding: 0 5px 0 0;
  526. text-align: center;
  527. font-weight: bold;
  528. font-size: 0.9em;
  529. line-height: 3em;
  530. z-index: 10;
  531. vertical-align: middle;
  532. }
  533. .notification.good {
  534. }
  535. .notification.bad {
  536. }
  537. .notification a.close {
  538. padding: 0 15px;
  539. line-height: 3em;
  540. }
  541. .notification.good a.close:hover {
  542. }
  543. .notification.bad a.close:hover {
  544. }
  545. .notification#actualizeProgress {
  546. line-height: 2em;
  547. }
  548. /*=== "Load more" part */
  549. #bigMarkAsRead {
  550. text-align: center;
  551. text-decoration: none;
  552. }
  553. #bigMarkAsRead:hover {
  554. }
  555. #bigMarkAsRead:hover .bigTick {
  556. }
  557. /*=== Navigation menu (for articles) */
  558. #nav_entries {
  559. margin: 0;
  560. text-align: center;
  561. line-height: 3em;
  562. table-layout: fixed;
  563. }
  564. /*=== READER VIEW */
  565. /*================*/
  566. #stream.reader .flux {
  567. background-color: #f0f0f0;
  568. color: #333;
  569. }
  570. #stream.reader .flux .content {
  571. background-color: #fff;
  572. border-color: #ddd;
  573. }
  574. #stream.reader .flux .author {
  575. margin: 0 0 10px;
  576. font-size: 90%;
  577. }
  578. /*=== GLOBAL VIEW */
  579. /*================*/
  580. .box.category .box-title .title {
  581. font-weight: normal;
  582. text-decoration: none;
  583. text-align: right;
  584. }
  585. .box.category:not([data-unread="0"]) .box-title {
  586. }
  587. .box.category:not([data-unread="0"]) .box-title:active {
  588. }
  589. .box.category:not([data-unread="0"]) .box-title .title {
  590. font-weight: bold;
  591. }
  592. .box.category .title:not([data-unread="0"])::after {
  593. background: none;
  594. border: 0;
  595. position: absolute;
  596. top: 5px; left: 10px;
  597. font-weight: bold;
  598. box-shadow: none;
  599. text-shadow: none;
  600. }
  601. .box.category .item.feed {
  602. padding: 2px 10px;
  603. font-size: 0.8rem;
  604. }
  605. /*=== DIVERS */
  606. /*===========*/
  607. .aside.aside_feed .nav-form input,
  608. .aside.aside_feed .nav-form select {
  609. width: 140px;
  610. }
  611. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  612. left: -20px;
  613. }
  614. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  615. left: 33px;
  616. }
  617. /*=== STATISTICS */
  618. /*===============*/
  619. .stat {
  620. margin: 10px 0 20px;
  621. }
  622. .stat th,
  623. .stat td,
  624. .stat tr {
  625. }
  626. .stat > table td,
  627. .stat > table th {
  628. text-align: center;
  629. }
  630. /*=== MOBILE */
  631. /*===========*/
  632. @media (max-width: 840px) {
  633. .aside {
  634. transition: width 200ms linear;
  635. }
  636. .aside .toggle_aside,
  637. #panel .close,
  638. .dropdown-menu .toggle_aside,
  639. #slider .toggle_aside {
  640. background: #fff;
  641. border-bottom-color: #ddd;
  642. }
  643. .aside .toggle_aside:hover,
  644. #panel .close:hover,
  645. .dropdown-menu .toggle_aside:hover,
  646. #slider .toggle_aside:hover {
  647. background-color: #ddd;
  648. }
  649. .aside.aside_feed {
  650. padding: 0;
  651. }
  652. .nav_menu .btn {
  653. margin: 5px 10px;
  654. }
  655. .nav_menu .stick {
  656. margin: 0 10px;
  657. }
  658. .nav_menu .stick .btn {
  659. margin: 5px 0;
  660. }
  661. .nav_menu .search {
  662. display: inline-block;
  663. max-width: 97%;
  664. }
  665. .nav_menu .search input {
  666. max-width: 97%;
  667. width: 90px;
  668. }
  669. .nav_menu .search input:focus {
  670. width: 400px;
  671. }
  672. .day .name {
  673. font-size: 1.1rem;
  674. }
  675. .pagination {
  676. margin: 0 0 3.5em;
  677. }
  678. .notification a.close {
  679. display: block;
  680. right: 0;
  681. }
  682. .notification a.close:hover {
  683. opacity: 0.5;
  684. }
  685. .notification a.close .icon {
  686. display: none;
  687. }
  688. }