base.rtl.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  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. /*=== Dropdown */
  178. .dropdown-menu {
  179. margin: 5px 0 0;
  180. padding: 5px 0;
  181. font-size: 0.8rem;
  182. text-align: right;
  183. }
  184. .dropdown-menu::after {
  185. content: "";
  186. position: absolute;
  187. top: -6px;
  188. left: 13px;
  189. width: 10px;
  190. height: 10px;
  191. z-index: -10;
  192. transform: rotate(-45deg);
  193. }
  194. .dropdown-header {
  195. padding: 0 5px 5px;
  196. font-weight: bold;
  197. text-align: right;
  198. }
  199. .dropdown-menu > .item {
  200. }
  201. .dropdown-menu > .item > a,
  202. .dropdown-menu > .item > span,
  203. .dropdown-menu > .item > .as-link {
  204. padding: 0 22px;
  205. line-height: 2.5em;
  206. }
  207. .dropdown-menu > .item:hover {
  208. }
  209. .dropdown-menu > .item[aria-checked="true"] > a::before {
  210. font-weight: bold;
  211. margin: 0 -14px 0 0;
  212. }
  213. .dropdown-menu > .item:hover > a {
  214. text-decoration: none;
  215. }
  216. .dropdown-menu .input select,
  217. .dropdown-menu .input input {
  218. margin: 0 auto 5px;
  219. padding: 2px 5px;
  220. }
  221. /*=== Alerts */
  222. .alert {
  223. margin: 15px auto;
  224. padding: 10px 15px;
  225. font-size: 0.9em;
  226. }
  227. .alert-head {
  228. font-size: 1.15em;
  229. }
  230. .alert > a {
  231. text-decoration: underline;
  232. }
  233. .alert-warn {
  234. }
  235. .alert-success {
  236. }
  237. .alert-error {
  238. }
  239. /*=== Pagination */
  240. .pagination {
  241. text-align: center;
  242. font-size: 0.8em;
  243. }
  244. .content .pagination {
  245. margin: 0;
  246. padding: 0;
  247. }
  248. .pagination .item.pager-current {
  249. font-weight: bold;
  250. font-size: 1.5em;
  251. }
  252. .pagination .item a {
  253. display: block;
  254. font-style: italic;
  255. line-height: 3em;
  256. text-decoration: none;
  257. }
  258. .pagination .item a:hover {
  259. }
  260. .pagination:first-child .item {
  261. }
  262. .pagination:last-child .item {
  263. }
  264. #load_more.loading,
  265. #load_more.loading:hover {
  266. font-size: 0;
  267. }
  268. /*=== Boxes */
  269. .box {
  270. }
  271. .box .box-title {
  272. margin: 0;
  273. padding: 5px 10px;
  274. }
  275. .box .box-content {
  276. max-height: 260px;
  277. }
  278. .box .box-content .item {
  279. padding: 0 10px;
  280. font-size: 0.9rem;
  281. line-height: 2.5em;
  282. }
  283. /*=== Tree */
  284. .tree {
  285. margin: 10px 0;
  286. }
  287. .tree-folder-title {
  288. position: relative;
  289. padding: 0 10px;
  290. line-height: 2.5rem;
  291. font-size: 1rem;
  292. }
  293. .tree-folder-title .title {
  294. background: inherit;
  295. }
  296. .tree-folder-title .title:hover {
  297. text-decoration: none;
  298. }
  299. .tree-folder.active .tree-folder-title {
  300. font-weight: bold;
  301. }
  302. .tree-folder.active .tree-folder-title .title {
  303. }
  304. .tree-folder-items {
  305. }
  306. .tree-folder-items > .item {
  307. padding: 0 10px;
  308. line-height: 2.5rem;
  309. font-size: 0.8rem;
  310. }
  311. .tree-folder-items > .item.active {
  312. }
  313. .tree-folder-items > .item > a {
  314. text-decoration: none;
  315. }
  316. .tree-folder-items > .item.active > a {
  317. }
  318. /*=== STRUCTURE */
  319. /*===============*/
  320. /*=== Header */
  321. .header {
  322. height: 85px;
  323. }
  324. .header > .item {
  325. padding: 10px;
  326. vertical-align: middle;
  327. text-align: center;
  328. }
  329. .header > .item.title {
  330. width: 230px;
  331. }
  332. .header > .item.title h1 {
  333. margin: 0.5em 0;
  334. }
  335. .header > .item.title h1 a {
  336. text-decoration: none;
  337. }
  338. .header > .item.search input {
  339. width: 230px;
  340. }
  341. .header .item.search input:focus {
  342. width: 350px;
  343. }
  344. /*=== Body */
  345. #global {
  346. height: calc(100% - 85px);
  347. }
  348. .aside {
  349. }
  350. .aside.aside_feed {
  351. padding: 10px 0;
  352. text-align: center;
  353. }
  354. .aside.aside_feed .tree {
  355. margin: 10px 0 50px;
  356. }
  357. /*=== Aside main page (categories) */
  358. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  359. position: absolute;
  360. left: 0;
  361. margin: 10px 0;
  362. padding: 0 10px;
  363. font-size: 0.9rem;
  364. line-height: 1.5rem;
  365. }
  366. /*=== Aside main page (feeds) */
  367. .feed.item.empty.active {
  368. }
  369. .feed.item.error.active {
  370. }
  371. .feed.item.empty,
  372. .feed.item.empty > a {
  373. }
  374. .feed.item.error,
  375. .feed.item.error > a {
  376. }
  377. .feed.item.empty.active,
  378. .feed.item.error.active,
  379. .feed.item.empty.active > a,
  380. .feed.item.error.active > a {
  381. }
  382. .aside_feed .tree-folder-items .dropdown-menu::after {
  383. right: 2px;
  384. }
  385. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  386. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  387. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  388. border-radius: 3px;
  389. }
  390. /*=== Configuration pages */
  391. .post {
  392. padding: 10px 50px;
  393. font-size: 0.9em;
  394. }
  395. .post form {
  396. margin: 10px 0;
  397. }
  398. .post.content {
  399. max-width: 550px;
  400. }
  401. /*=== Prompt (centered) */
  402. .prompt {
  403. text-align: center;
  404. }
  405. .prompt label {
  406. text-align: right;
  407. }
  408. .prompt form {
  409. margin: 10px auto 20px auto;
  410. width: 180px;
  411. }
  412. .prompt input {
  413. margin: 5px auto;
  414. width: 100%;
  415. }
  416. .prompt p {
  417. margin: 20px 0;
  418. }
  419. /*=== New article notification */
  420. #new-article {
  421. text-align: center;
  422. font-size: 0.9em;
  423. }
  424. #new-article > a {
  425. line-height: 3em;
  426. font-weight: bold;
  427. }
  428. #new-article > a:hover {
  429. text-decoration: none;
  430. }
  431. /*=== Day indication */
  432. .day {
  433. padding: 0 10px;
  434. font-weight: bold;
  435. line-height: 3em;
  436. }
  437. #new-article + .day {
  438. }
  439. .day .name {
  440. padding: 0 0 0 10px;
  441. font-size: 1.8em;
  442. opacity: 0.3;
  443. font-style: italic;
  444. text-align: left;
  445. }
  446. /*=== Index menu */
  447. .nav_menu {
  448. text-align: center;
  449. padding: 5px 0;
  450. }
  451. /*=== Feed articles */
  452. .flux {
  453. }
  454. .flux:hover {
  455. }
  456. .flux.current {
  457. }
  458. .flux.not_read {
  459. }
  460. .flux.not_read:not(.current):hover .item.title {
  461. }
  462. .flux.favorite {
  463. }
  464. .flux.favorite:not(.current):hover .item.title {
  465. }
  466. .flux_header {
  467. font-size: 0.8rem;
  468. cursor: pointer;
  469. }
  470. .flux_header .title {
  471. font-size: 0.9rem;
  472. }
  473. .flux .website .favicon {
  474. padding: 5px;
  475. }
  476. .flux .item.date {
  477. font-size: 0.7rem;
  478. }
  479. .flux:not(.current):hover .item.title {
  480. }
  481. .flux .bottom {
  482. font-size: 0.8rem;
  483. text-align: center;
  484. }
  485. /*=== Content of feed articles */
  486. .content {
  487. padding: 20px 10px;
  488. }
  489. .content > h1.title > a {
  490. }
  491. .content hr {
  492. margin: 30px 10px;
  493. height: 1px;
  494. }
  495. .content pre {
  496. margin: 10px auto;
  497. padding: 10px 20px;
  498. overflow: auto;
  499. font-size: 0.9rem;
  500. }
  501. .content code {
  502. padding: 2px 5px;
  503. }
  504. .content pre code {
  505. }
  506. .content blockquote {
  507. margin: 0;
  508. padding: 5px 20px;
  509. display: block;
  510. }
  511. .content blockquote p {
  512. margin: 0;
  513. }
  514. /*=== Notification and actualize notification */
  515. .notification {
  516. padding: 0 5px 0 0;
  517. text-align: center;
  518. font-weight: bold;
  519. font-size: 0.9em;
  520. line-height: 3em;
  521. z-index: 10;
  522. vertical-align: middle;
  523. }
  524. .notification.good {
  525. }
  526. .notification.bad {
  527. }
  528. .notification a.close {
  529. padding: 0 15px;
  530. line-height: 3em;
  531. }
  532. .notification.good a.close:hover {
  533. }
  534. .notification.bad a.close:hover {
  535. }
  536. .notification#actualizeProgress {
  537. line-height: 2em;
  538. }
  539. /*=== "Load more" part */
  540. #bigMarkAsRead {
  541. text-align: center;
  542. text-decoration: none;
  543. }
  544. #bigMarkAsRead:hover {
  545. }
  546. #bigMarkAsRead:hover .bigTick {
  547. }
  548. /*=== Navigation menu (for articles) */
  549. #nav_entries {
  550. margin: 0;
  551. text-align: center;
  552. line-height: 3em;
  553. table-layout: fixed;
  554. }
  555. /*=== READER VIEW */
  556. /*================*/
  557. #stream.reader .flux {
  558. background-color: #f0f0f0;
  559. color: #333;
  560. }
  561. #stream.reader .flux .content {
  562. background-color: #fff;
  563. border-color: #ddd;
  564. }
  565. #stream.reader .flux .author {
  566. margin: 0 0 10px;
  567. font-size: 90%;
  568. }
  569. /*=== GLOBAL VIEW */
  570. /*================*/
  571. .box.category .box-title .title {
  572. font-weight: normal;
  573. text-decoration: none;
  574. text-align: right;
  575. }
  576. .box.category:not([data-unread="0"]) .box-title {
  577. }
  578. .box.category:not([data-unread="0"]) .box-title:active {
  579. }
  580. .box.category:not([data-unread="0"]) .box-title .title {
  581. font-weight: bold;
  582. }
  583. .box.category .title:not([data-unread="0"])::after {
  584. background: none;
  585. border: 0;
  586. position: absolute;
  587. top: 5px; left: 10px;
  588. font-weight: bold;
  589. box-shadow: none;
  590. text-shadow: none;
  591. }
  592. .box.category .item.feed {
  593. padding: 2px 10px;
  594. font-size: 0.8rem;
  595. }
  596. /*=== DIVERS */
  597. /*===========*/
  598. .aside.aside_feed .nav-form input,
  599. .aside.aside_feed .nav-form select {
  600. width: 140px;
  601. }
  602. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  603. left: -20px;
  604. }
  605. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  606. left: 33px;
  607. }
  608. /*=== STATISTICS */
  609. /*===============*/
  610. .stat {
  611. margin: 10px 0 20px;
  612. }
  613. .stat th,
  614. .stat td,
  615. .stat tr {
  616. }
  617. .stat > table td,
  618. .stat > table th {
  619. text-align: center;
  620. }
  621. /*=== MOBILE */
  622. /*===========*/
  623. @media (max-width: 840px) {
  624. .aside {
  625. transition: width 200ms linear;
  626. }
  627. .aside .toggle_aside,
  628. #panel .close,
  629. .dropdown-menu .toggle_aside,
  630. #slider .toggle_aside {
  631. background: #fff;
  632. border-bottom-color: #ddd;
  633. }
  634. .aside .toggle_aside:hover,
  635. #panel .close:hover,
  636. .dropdown-menu .toggle_aside:hover,
  637. #slider .toggle_aside:hover {
  638. background-color: #ddd;
  639. }
  640. .aside.aside_feed {
  641. padding: 0;
  642. }
  643. .nav_menu .btn {
  644. margin: 5px 10px;
  645. }
  646. .nav_menu .stick {
  647. margin: 0 10px;
  648. }
  649. .nav_menu .stick .btn {
  650. margin: 5px 0;
  651. }
  652. .nav_menu .search {
  653. display: inline-block;
  654. max-width: 97%;
  655. }
  656. .nav_menu .search input {
  657. max-width: 97%;
  658. width: 90px;
  659. }
  660. .nav_menu .search input:focus {
  661. width: 400px;
  662. }
  663. .day .name {
  664. font-size: 1.1rem;
  665. }
  666. .pagination {
  667. margin: 0 0 3.5em;
  668. }
  669. .notification a.close {
  670. display: block;
  671. right: 0;
  672. }
  673. .notification a.close:hover {
  674. opacity: 0.5;
  675. }
  676. .notification a.close .icon {
  677. display: none;
  678. }
  679. }