base.rtl.css 11 KB

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