base.css 10 KB

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