base.css 12 KB

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