base.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  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. }
  249. .box .box-content {
  250. }
  251. .box .box-content .item {
  252. }
  253. /*=== Tree */
  254. .tree {
  255. margin: 10px 0;
  256. }
  257. .tree-folder-title {
  258. position: relative;
  259. padding: 0 10px;
  260. line-height: 2.5;
  261. font-size: 1rem;
  262. }
  263. .tree-folder-title .title {
  264. background: inherit;
  265. }
  266. .tree-folder-title .title:hover {
  267. text-decoration: none;
  268. }
  269. .tree-folder.active .tree-folder-title {
  270. font-weight: bold;
  271. }
  272. .tree-folder.active .tree-folder-title .title {
  273. }
  274. .tree-folder-items {
  275. }
  276. .tree-folder-items > .item {
  277. font-size: 0.8rem;
  278. }
  279. .tree-folder-items > .item.active {
  280. }
  281. .tree-folder-items > .item > a {
  282. text-decoration: none;
  283. }
  284. .tree-folder-items > .item.active > a {
  285. }
  286. /*=== STRUCTURE */
  287. /*===============*/
  288. /*=== Header */
  289. .header {
  290. height: 85px;
  291. }
  292. .header > .item {
  293. vertical-align: middle;
  294. text-align: center;
  295. }
  296. .header > .item.title h1 {
  297. margin: 0.5em 0;
  298. }
  299. .header > .item.title h1 a {
  300. text-decoration: none;
  301. }
  302. .header > .item.search input {
  303. width: 350px;
  304. }
  305. /*=== Body */
  306. #global {
  307. height: calc(100% - 85px);
  308. }
  309. .aside {
  310. }
  311. .aside.aside_feed {
  312. padding: 10px 0;
  313. text-align: center;
  314. }
  315. .aside.aside_feed .tree {
  316. margin: 10px 0 50px;
  317. }
  318. /*=== Aside main page (categories) */
  319. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  320. position: absolute;
  321. right: 0;
  322. margin: 10px 0;
  323. padding: 0 10px;
  324. font-size: 0.9rem;
  325. line-height: 1.5;
  326. }
  327. /*=== Aside main page (feeds) */
  328. .feed.item.empty.active {
  329. }
  330. .feed.item.error.active {
  331. }
  332. .feed.item.empty,
  333. .feed.item.empty > a {
  334. }
  335. .feed.item.error,
  336. .feed.item.error > a {
  337. }
  338. .feed.item.empty.active,
  339. .feed.item.error.active,
  340. .feed.item.empty.active > a,
  341. .feed.item.error.active > a {
  342. }
  343. .aside_feed .tree-folder-items .dropdown-menu::after {
  344. left: 2px;
  345. }
  346. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  347. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  348. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  349. border-radius: 3px;
  350. }
  351. /*=== Prompt (centered) */
  352. .prompt {
  353. text-align: center;
  354. }
  355. .prompt label {
  356. text-align: left;
  357. }
  358. .prompt form {
  359. margin: 10px auto 20px auto;
  360. width: 180px;
  361. }
  362. .prompt input {
  363. margin: 5px auto;
  364. width: 100%;
  365. }
  366. .prompt p {
  367. margin: 20px 0;
  368. }
  369. /*=== New article notification */
  370. #new-article {
  371. text-align: center;
  372. font-size: 0.9em;
  373. }
  374. #new-article > a {
  375. padding: 0.75rem;
  376. font-weight: bold;
  377. }
  378. #new-article > a:hover {
  379. text-decoration: none;
  380. }
  381. /*=== Day indication */
  382. .day {
  383. padding: 0 10px;
  384. font-weight: bold;
  385. line-height: 3;
  386. }
  387. .day span {
  388. line-height: 1.5;
  389. }
  390. #new-article + .day {
  391. }
  392. .day .name {
  393. padding: 0 10px 0 0;
  394. font-size: 1.8em;
  395. opacity: 0.3;
  396. font-style: italic;
  397. text-align: right;
  398. }
  399. /*=== Index menu */
  400. .nav_menu {
  401. text-align: center;
  402. padding: 5px 0;
  403. }
  404. /*=== Feed articles */
  405. .flux {
  406. }
  407. .flux:hover {
  408. }
  409. .flux.current {
  410. }
  411. .flux.not_read {
  412. }
  413. .flux.not_read:not(.current):hover .item.title {
  414. }
  415. .flux.favorite {
  416. }
  417. .flux.favorite:not(.current):hover .item.title {
  418. }
  419. .flux_header {
  420. font-size: 0.8rem;
  421. cursor: pointer;
  422. }
  423. .flux_header .title {
  424. font-size: 0.9rem;
  425. }
  426. .flux .website .favicon {
  427. padding: 5px;
  428. }
  429. .flux:not(.current):hover .item.title {
  430. }
  431. .flux .bottom {
  432. font-size: 0.8rem;
  433. text-align: center;
  434. }
  435. /*=== Content of feed articles */
  436. .content {
  437. padding: 20px 10px;
  438. }
  439. .content > h1.title > a {
  440. }
  441. .content hr {
  442. margin: 30px 10px;
  443. height: 1px;
  444. }
  445. .content pre {
  446. }
  447. .content code {
  448. }
  449. .content pre code {
  450. }
  451. .content blockquote {
  452. margin: 0;
  453. padding: 5px 20px;
  454. display: block;
  455. }
  456. .content blockquote p {
  457. margin: 0;
  458. }
  459. /*=== Notification and actualize notification */
  460. .notification {
  461. }
  462. .notification.good {
  463. }
  464. .notification.bad {
  465. }
  466. .notification.good .close:hover {
  467. }
  468. .notification.bad .close:hover {
  469. }
  470. /*=== "Load more" part */
  471. #bigMarkAsRead {
  472. text-align: center;
  473. text-decoration: none;
  474. }
  475. #bigMarkAsRead:hover {
  476. }
  477. #bigMarkAsRead:hover .bigTick {
  478. }
  479. /*=== Navigation menu (for articles) */
  480. #nav_entries {
  481. }
  482. /*=== READER VIEW */
  483. /*================*/
  484. #stream.reader .flux {
  485. background-color: #f0f0f0;
  486. color: #333;
  487. }
  488. #stream.reader .flux .flux_content {
  489. background-color: #fff;
  490. border-color: #ddd;
  491. }
  492. /*=== GLOBAL VIEW */
  493. /*================*/
  494. .box.category .box-title .title {
  495. font-weight: normal;
  496. text-decoration: none;
  497. text-align: left;
  498. }
  499. .box.category:not([data-unread="0"]) .box-title {
  500. }
  501. .box.category:not([data-unread="0"]) .box-title:active {
  502. }
  503. .box.category:not([data-unread="0"]) .box-title .title {
  504. font-weight: bold;
  505. }
  506. .box.category .title:not([data-unread="0"])::after {
  507. background: none;
  508. border: 0;
  509. position: absolute;
  510. top: 5px; right: 10px;
  511. font-weight: bold;
  512. box-shadow: none;
  513. text-shadow: none;
  514. }
  515. /*=== DIVERS */
  516. /*===========*/
  517. .aside.aside_feed .nav-form input,
  518. .aside.aside_feed .nav-form select {
  519. width: 140px;
  520. }
  521. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  522. right: -20px;
  523. }
  524. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  525. right: 33px;
  526. }
  527. /*=== STATISTICS */
  528. /*===============*/
  529. .stat {
  530. margin: 10px 0 20px;
  531. }
  532. .stat th,
  533. .stat td,
  534. .stat tr {
  535. }
  536. .stat > table td,
  537. .stat > table th {
  538. text-align: center;
  539. }
  540. /*=== MOBILE */
  541. /*===========*/
  542. @media (max-width: 840px) {
  543. .aside {
  544. transition: width 200ms linear;
  545. }
  546. .aside .toggle_aside,
  547. #overlay .close,
  548. .dropdown-menu .toggle_aside,
  549. #slider .toggle_aside {
  550. background: #fff;
  551. border-bottom-color: #ddd;
  552. }
  553. .aside .toggle_aside:hover,
  554. #overlay .close:hover,
  555. .dropdown-menu .toggle_aside:hover,
  556. #slider .toggle_aside:hover {
  557. background-color: #ddd;
  558. }
  559. .aside.aside_feed {
  560. padding: 0;
  561. }
  562. .nav_menu .btn {
  563. margin: 5px 10px;
  564. }
  565. .nav_menu .stick {
  566. margin: 0 10px;
  567. }
  568. .nav_menu .stick .btn {
  569. margin: 5px 0;
  570. }
  571. .nav_menu .search {
  572. display: inline-block;
  573. max-width: 97%;
  574. }
  575. .nav_menu .search input {
  576. max-width: 97%;
  577. width: 90px;
  578. }
  579. .nav_menu .search input:focus {
  580. width: 400px;
  581. }
  582. .day .name {
  583. font-size: 1.1rem;
  584. }
  585. .pagination {
  586. margin: 0 0 3.5em;
  587. }
  588. .notification .close {
  589. display: block;
  590. left: 0;
  591. }
  592. .notification .close:hover {
  593. opacity: 0.5;
  594. }
  595. .notification .close .icon {
  596. display: none;
  597. }
  598. }