base.rtl.css 10 KB

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