base.css 10 KB

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