base.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  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", 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. padding: 0 25px;
  239. line-height: 2.5em;
  240. }
  241. .dropdown-menu > .item > span,
  242. .dropdown-menu > .item > .as-link {
  243. padding: 0 22px;
  244. line-height: 2em;
  245. }
  246. .dropdown-menu > .item:hover {
  247. }
  248. .dropdown-menu > .item[aria-checked="true"] > a::before {
  249. font-weight: bold;
  250. margin: 0 0 0 -14px;
  251. }
  252. .dropdown-menu > .item:hover > a {
  253. text-decoration: none;
  254. }
  255. .dropdown-menu .input select,
  256. .dropdown-menu .input input {
  257. margin: 0 auto 5px;
  258. padding: 2px 5px;
  259. }
  260. .separator {
  261. margin: 5px 0;
  262. }
  263. /*=== Alerts */
  264. .alert {
  265. margin: 15px auto;
  266. padding: 10px 15px;
  267. font-size: 0.9em;
  268. }
  269. .alert-head {
  270. font-size: 1.15em;
  271. }
  272. .alert > a {
  273. text-decoration: underline;
  274. }
  275. .alert-warn {
  276. }
  277. .alert-success {
  278. }
  279. .alert-error {
  280. }
  281. /*=== Pagination */
  282. .pagination {
  283. text-align: center;
  284. font-size: 0.8em;
  285. }
  286. .content .pagination {
  287. margin: 0;
  288. padding: 0;
  289. }
  290. .pagination .item.pager-current {
  291. font-weight: bold;
  292. font-size: 1.5em;
  293. }
  294. .pagination .item a {
  295. display: block;
  296. font-style: italic;
  297. line-height: 3em;
  298. text-decoration: none;
  299. }
  300. .pagination .item a:hover {
  301. }
  302. .pagination:first-child .item {
  303. }
  304. .pagination:last-child .item {
  305. }
  306. .pagination .loading,
  307. .pagination a:hover.loading {
  308. font-size: 0;
  309. }
  310. /*=== Boxes */
  311. .box {
  312. }
  313. .box .box-title {
  314. margin: 0;
  315. padding: 5px 10px;
  316. }
  317. .box .box-content {
  318. max-height: 260px;
  319. }
  320. .box .box-content .item {
  321. padding: 0 10px;
  322. font-size: 0.9rem;
  323. line-height: 2.5em;
  324. }
  325. .box .box-content .item .configure {
  326. visibility: hidden;
  327. }
  328. .box .box-content .item:hover .configure {
  329. visibility: visible;
  330. }
  331. /*=== Tree */
  332. .tree {
  333. margin: 10px 0;
  334. }
  335. .tree-folder-title {
  336. position: relative;
  337. padding: 0 10px;
  338. line-height: 2.5rem;
  339. font-size: 1rem;
  340. }
  341. .tree-folder-title .title {
  342. background: inherit;
  343. }
  344. .tree-folder-title .title:hover {
  345. text-decoration: none;
  346. }
  347. .tree-folder.active .tree-folder-title {
  348. font-weight: bold;
  349. }
  350. .tree-folder.active .tree-folder-title .title {
  351. }
  352. .tree-folder-items {
  353. }
  354. .tree-folder-items > .item {
  355. padding: 0 10px;
  356. line-height: 2.5rem;
  357. font-size: 0.8rem;
  358. }
  359. .tree-folder-items > .item.active {
  360. }
  361. .tree-folder-items > .item > a {
  362. text-decoration: none;
  363. }
  364. .tree-folder-items > .item.active > a {
  365. }
  366. /*=== STRUCTURE */
  367. /*===============*/
  368. /*=== Header */
  369. .header {
  370. height: 85px;
  371. }
  372. .header > .item {
  373. padding: 10px;
  374. vertical-align: middle;
  375. text-align: center;
  376. }
  377. .header > .item.title{
  378. width: 230px;
  379. }
  380. .header > .item.title h1 {
  381. margin: 0.5em 0;
  382. }
  383. .header > .item.title h1 a {
  384. text-decoration: none;
  385. }
  386. .header > .item.search input {
  387. width: 230px;
  388. }
  389. .header .item.search input:focus {
  390. width: 350px;
  391. }
  392. /*=== Body */
  393. #global {
  394. height: calc(100% - 85px);
  395. }
  396. .aside {
  397. }
  398. .aside.aside_feed {
  399. padding: 10px 0;
  400. text-align: center;
  401. }
  402. .aside.aside_feed .tree {
  403. margin: 10px 0 50px;
  404. }
  405. /*=== Aside main page (categories) */
  406. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  407. position: absolute;
  408. right: 0;
  409. margin: 10px 0;
  410. padding: 0 10px;
  411. font-size: 0.9rem;
  412. line-height: 1.5rem;
  413. }
  414. /*=== Aside main page (feeds) */
  415. .feed.item.empty.active {
  416. }
  417. .feed.item.error.active {
  418. }
  419. .feed.item.empty,
  420. .feed.item.empty > a {
  421. }
  422. .feed.item.error,
  423. .feed.item.error > a {
  424. }
  425. .feed.item.empty.active,
  426. .feed.item.error.active,
  427. .feed.item.empty.active > a,
  428. .feed.item.error.active > a {
  429. }
  430. .aside_feed .tree-folder-items .dropdown-menu::after {
  431. left: 2px;
  432. }
  433. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  434. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  435. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  436. border-radius: 3px;
  437. }
  438. /*=== Configuration pages */
  439. .post {
  440. padding: 10px 50px;
  441. font-size: 0.9em;
  442. }
  443. .post form {
  444. margin: 10px 0;
  445. }
  446. .post.content {
  447. max-width: 550px;
  448. }
  449. /*=== Prompt (centered) */
  450. .prompt {
  451. text-align: center;
  452. }
  453. .prompt label {
  454. text-align: left;
  455. }
  456. .prompt form {
  457. margin: 10px auto 20px auto;
  458. width: 180px;
  459. }
  460. .prompt input {
  461. margin: 5px auto;
  462. width: 100%;
  463. }
  464. .prompt p {
  465. margin: 20px 0;
  466. }
  467. /*=== New article notification */
  468. #new-article {
  469. text-align: center;
  470. font-size: 0.9em;
  471. }
  472. #new-article:hover {
  473. }
  474. #new-article > a {
  475. line-height: 3em;
  476. font-weight: bold;
  477. }
  478. #new-article > a:hover {
  479. text-decoration: none;
  480. }
  481. /*=== Day indication */
  482. .day {
  483. padding: 0 10px;
  484. font-weight: bold;
  485. line-height: 3em;
  486. }
  487. #new-article + .day {
  488. }
  489. .day .name {
  490. padding: 0 10px 0 0;
  491. font-size: 1.8em;
  492. opacity: 0.3;
  493. font-style: italic;
  494. text-align: right;
  495. }
  496. /*=== Index menu */
  497. .nav_menu {
  498. text-align: center;
  499. padding: 5px 0;
  500. }
  501. /*=== Feed articles */
  502. .flux {
  503. }
  504. .flux:hover {
  505. }
  506. .flux.current {
  507. }
  508. .flux.not_read {
  509. }
  510. .flux.not_read:not(.current):hover .item.title {
  511. }
  512. .flux.favorite {
  513. }
  514. .flux.favorite:not(.current):hover .item.title {
  515. }
  516. .flux.current {
  517. }
  518. .flux_header {
  519. font-size: 0.8rem;
  520. cursor: pointer;
  521. }
  522. .flux_header .title {
  523. font-size: 0.9rem;
  524. }
  525. .flux .website .favicon {
  526. padding: 5px;
  527. }
  528. .flux .date {
  529. font-size: 0.7rem;
  530. }
  531. .flux:not(.current):hover .item.title {
  532. }
  533. .flux .bottom {
  534. font-size: 0.8rem;
  535. text-align: center;
  536. }
  537. /*=== Content of feed articles */
  538. .content {
  539. padding: 20px 10px;
  540. }
  541. .content > h1.title > a {
  542. }
  543. .content hr {
  544. margin: 30px 10px;
  545. height: 1px;
  546. }
  547. .content pre {
  548. margin: 10px auto;
  549. padding: 10px 20px;
  550. overflow: auto;
  551. font-size: 0.9rem;
  552. }
  553. .content code {
  554. padding: 2px 5px;
  555. }
  556. .content pre code {
  557. }
  558. .content blockquote {
  559. display: block;
  560. margin: 0;
  561. padding: 5px 20px;
  562. }
  563. .content blockquote p {
  564. margin: 0;
  565. }
  566. /*=== Notification and actualize notification */
  567. .notification {
  568. padding: 0 0 0 5px;
  569. text-align: center;
  570. font-weight: bold;
  571. font-size: 0.9em;
  572. line-height: 3em;
  573. z-index: 10;
  574. vertical-align: middle;
  575. }
  576. .notification.good {
  577. }
  578. .notification.bad {
  579. }
  580. .notification a.close {
  581. padding: 0 15px;
  582. line-height: 3em;
  583. }
  584. .notification.good a.close:hover {
  585. }
  586. .notification.bad a.close:hover {
  587. }
  588. .notification#actualizeProgress {
  589. line-height: 2em;
  590. }
  591. /*=== "Load more" part */
  592. #bigMarkAsRead {
  593. text-align: center;
  594. text-decoration: none;
  595. }
  596. #bigMarkAsRead:hover {
  597. }
  598. #bigMarkAsRead:hover .bigTick {
  599. }
  600. /*=== Navigation menu (for articles) */
  601. #nav_entries {
  602. margin: 0;
  603. text-align: center;
  604. line-height: 3em;
  605. table-layout: fixed;
  606. }
  607. /*=== READER VIEW */
  608. /*================*/
  609. #stream.reader .flux {
  610. padding: 0 0 50px;
  611. }
  612. #stream.reader .flux .author {
  613. margin: 0 0 10px;
  614. font-size: 90%;
  615. }
  616. /*=== GLOBAL VIEW */
  617. /*================*/
  618. .box.category .box-title .title {
  619. font-weight: normal;
  620. text-decoration: none;
  621. text-align: left;
  622. }
  623. .box.category:not([data-unread="0"]) .box-title {
  624. }
  625. .box.category:not([data-unread="0"]) .box-title:active {
  626. }
  627. .box.category:not([data-unread="0"]) .box-title .title {
  628. font-weight: bold;
  629. }
  630. .box.category .title:not([data-unread="0"])::after {
  631. position: absolute;
  632. top: 5px; right: 10px;
  633. border: 0;
  634. background: none;
  635. font-weight: bold;
  636. box-shadow: none;
  637. text-shadow: none;
  638. }
  639. .box.category .item.feed {
  640. padding: 2px 10px;
  641. font-size: 0.8rem;
  642. }
  643. /*=== DIVERS */
  644. /*===========*/
  645. .aside.aside_feed .nav-form input,
  646. .aside.aside_feed .nav-form select {
  647. width: 140px;
  648. }
  649. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  650. right: -20px;
  651. }
  652. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  653. right: 33px;
  654. }
  655. /*=== STATISTICS */
  656. /*===============*/
  657. .stat {
  658. margin: 10px 0 20px;
  659. }
  660. .stat th,
  661. .stat td,
  662. .stat tr {
  663. }
  664. .stat > table td,
  665. .stat > table th {
  666. text-align: center;
  667. }
  668. .stat > .horizontal-list {
  669. margin: 0 0 5px;
  670. }
  671. .stat > .horizontal-list .item {
  672. overflow: hidden;
  673. white-space: nowrap;
  674. text-overflow: ellipsis;
  675. }
  676. .stat > .horizontal-list .item:first-child {
  677. width: 250px;
  678. }
  679. /*=== LOGS */
  680. /*=========*/
  681. .logs {
  682. overflow: hidden;
  683. }
  684. .log {
  685. padding: 5px 10px;
  686. font-size: 0.8rem;
  687. }
  688. .log+.log {
  689. }
  690. .log .date {
  691. display: block;
  692. font-weight: bold;
  693. }
  694. .log.error {
  695. }
  696. .log.warning {
  697. }
  698. .log.notice {
  699. }
  700. .log.debug {
  701. }
  702. /*=== MOBILE */
  703. /*===========*/
  704. @media(max-width: 840px) {
  705. .aside {
  706. transition: width 200ms linear;
  707. -moz-transition: width 200ms linear;
  708. -webkit-transition: width 200ms linear;
  709. -o-transition: width 200ms linear;
  710. -ms-transition: width 200ms linear;
  711. }
  712. .aside .toggle_aside,
  713. #panel .close {
  714. display: block;
  715. width: 100%;
  716. height: 50px;
  717. line-height: 50px;
  718. text-align: center;
  719. }
  720. .aside.aside_feed {
  721. padding: 0;
  722. }
  723. .nav_menu .btn {
  724. margin: 5px 10px;
  725. }
  726. .nav_menu .stick {
  727. margin: 0 10px;
  728. }
  729. .nav_menu .stick .btn {
  730. margin: 5px 0;
  731. }
  732. .nav_menu .search {
  733. display: inline-block;
  734. max-width: 97%;
  735. }
  736. .nav_menu .search input {
  737. max-width: 97%;
  738. width: 90px;
  739. }
  740. .nav_menu .search input:focus {
  741. width: 400px;
  742. }
  743. .day .name {
  744. font-size: 1.1rem;
  745. }
  746. .pagination {
  747. margin: 0 0 3.5em;
  748. }
  749. .notification a.close {
  750. display: block;
  751. left: 0;
  752. }
  753. .notification a.close:hover {
  754. opacity: 0.5;
  755. }
  756. .notification a.close .icon {
  757. display: none;
  758. }
  759. }