base.css 12 KB

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