base.rtl.css 10 KB

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