base.css 9.9 KB

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