base.css 10.0 KB

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