base.css 10.0 KB

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