base.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. @charset "UTF-8";
  2. /*=== FONTS */
  3. @font-face {
  4. font-family: "OpenSans";
  5. src: url("../fonts/openSans.woff") format("woff");
  6. }
  7. /*=== GENERAL */
  8. /*============*/
  9. html, body {
  10. height: 100%;
  11. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
  12. }
  13. /*=== Links */
  14. a {
  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. textarea {
  29. width: 360px;
  30. height: 100px;
  31. }
  32. input, select, textarea {
  33. min-height: 25px;
  34. padding: 5px;
  35. line-height: 25px;
  36. vertical-align: middle;
  37. }
  38. option {
  39. padding: 0 .5em;
  40. }
  41. input:focus, select:focus, textarea:focus {
  42. }
  43. input:invalid, select:invalid {
  44. }
  45. input:disabled, select:disabled {
  46. }
  47. input.extend {
  48. transition: width 200ms linear;
  49. -moz-transition: width 200ms linear;
  50. -webkit-transition: width 200ms linear;
  51. -o-transition: width 200ms linear;
  52. -ms-transition: width 200ms linear;
  53. }
  54. /*=== Tables */
  55. table {
  56. border-collapse: collapse;
  57. }
  58. tr, th, td {
  59. padding: 0.5em;
  60. }
  61. th {
  62. }
  63. form td,
  64. form th {
  65. font-weight: normal;
  66. text-align: center;
  67. }
  68. /*=== COMPONENTS */
  69. /*===============*/
  70. /*=== Forms */
  71. .form-group.form-actions {
  72. padding: 5px 0;
  73. }
  74. .form-group.form-actions .btn {
  75. margin: 0 10px;
  76. }
  77. .form-group .group-name {
  78. padding: 10px 0;
  79. text-align: right;
  80. }
  81. .form-group .group-controls {
  82. min-height: 25px;
  83. padding: 5px 0;
  84. }
  85. .form-group table {
  86. margin: 10px 0 0 220px;
  87. }
  88. /*=== Buttons */
  89. .stick {
  90. vertical-align: middle;
  91. font-size: 0;
  92. }
  93. .stick input,
  94. .stick .btn {
  95. }
  96. .stick .btn:first-child,
  97. .stick input:first-child {
  98. }
  99. .stick .btn-important:first-child {
  100. }
  101. .stick .btn:last-child,
  102. .stick input:last-child {
  103. }
  104. .stick .btn + .btn,
  105. .stick .btn + input,
  106. .stick .btn + .dropdown > .btn,
  107. .stick input + .btn,
  108. .stick input + input,
  109. .stick input + .dropdown > .btn,
  110. .stick .dropdown + .btn,
  111. .stick .dropdown + input,
  112. .stick .dropdown + .dropdown > .btn {
  113. }
  114. .stick input + .btn {
  115. }
  116. .stick .btn + .dropdown > .btn {
  117. }
  118. .btn {
  119. display: inline-block;
  120. min-height: 37px;
  121. min-width: 15px;
  122. margin: 0;
  123. padding: 5px 10px;
  124. font-size: 0.9rem;
  125. vertical-align: middle;
  126. cursor: pointer;
  127. overflow: hidden;
  128. }
  129. a.btn {
  130. min-height: 25px;
  131. line-height: 25px;
  132. }
  133. .btn:hover {
  134. text-decoration: none;
  135. }
  136. .btn.active,
  137. .btn:active,
  138. .dropdown-target:target ~ .btn.dropdown-toggle {
  139. }
  140. .btn-important {
  141. font-weight: normal;
  142. }
  143. .btn-important:hover {
  144. }
  145. .btn-important:active {
  146. }
  147. .btn-attention {
  148. }
  149. .btn-attention:hover {
  150. }
  151. .btn-attention:active {
  152. }
  153. /*=== Navigation */
  154. .nav-list .nav-header,
  155. .nav-list .item {
  156. height: 2.5em;
  157. line-height: 2.5em;
  158. font-size: 0.9rem;
  159. }
  160. .nav-list .item:hover {
  161. }
  162. .nav-list .item:hover a {
  163. }
  164. .nav-list .item.active {
  165. }
  166. .nav-list .item.active a {
  167. }
  168. .nav-list .disable {
  169. text-align: center;
  170. }
  171. .nav-list .item > a {
  172. padding: 0 10px;
  173. }
  174. .nav-list a:hover {
  175. text-decoration: none;
  176. }
  177. .nav-list .item.empty a {
  178. }
  179. .nav-list .item.active.empty a {
  180. }
  181. .nav-list .item.error a {
  182. }
  183. .nav-list .item.active.error a {
  184. }
  185. .nav-list .nav-header {
  186. padding: 0 10px;
  187. font-weight: bold;
  188. }
  189. .nav-list .nav-form {
  190. padding: 3px;
  191. text-align: center;
  192. }
  193. .nav-head {
  194. margin: 0;
  195. text-align: right;
  196. }
  197. .nav-head .item {
  198. padding: 5px 10px;
  199. font-size: 0.9rem;
  200. line-height: 1.5rem;
  201. }
  202. /*=== Horizontal-list */
  203. .horizontal-list {
  204. margin: 0;
  205. padding: 0;
  206. }
  207. .horizontal-list .item {
  208. vertical-align: middle;
  209. }
  210. /*=== Dropdown */
  211. .dropdown-menu {
  212. margin: 5px 0 0;
  213. padding: 5px 0;
  214. font-size: 0.8rem;
  215. text-align: left;
  216. }
  217. .dropdown-menu:after {
  218. content: "";
  219. position: absolute;
  220. top: -6px;
  221. right: 13px;
  222. width: 10px;
  223. height: 10px;
  224. z-index: -10;
  225. transform: rotate(45deg);
  226. -moz-transform: rotate(45deg);
  227. -webkit-transform: rotate(45deg);
  228. -ms-transform: rotate(45deg);
  229. }
  230. .dropdown-header {
  231. padding: 0 5px 5px;
  232. font-weight: bold;
  233. text-align: left;
  234. }
  235. .dropdown-menu > .item {
  236. }
  237. .dropdown-menu > .item > a {
  238. padding: 0 25px;
  239. line-height: 2.5em;
  240. }
  241. .dropdown-menu > .item > span {
  242. padding: 0 25px;
  243. line-height: 2em;
  244. }
  245. .dropdown-menu > .item:hover {
  246. }
  247. .dropdown-menu > .item[aria-checked="true"] > a:before {
  248. font-weight: bold;
  249. margin: 0 0 0 -14px;
  250. }
  251. .dropdown-menu > .item:hover > a {
  252. text-decoration: none;
  253. }
  254. .dropdown-menu .input select,
  255. .dropdown-menu .input input {
  256. margin: 0 auto 5px;
  257. padding: 2px 5px;
  258. }
  259. .separator {
  260. margin: 5px 0;
  261. }
  262. /*=== Alerts */
  263. .alert {
  264. margin: 15px auto;
  265. padding: 10px 15px;
  266. font-size: 0.9em;
  267. }
  268. .alert-head {
  269. font-size: 1.15em;
  270. }
  271. .alert > a {
  272. text-decoration: underline;
  273. }
  274. .alert-warn {
  275. }
  276. .alert-success {
  277. }
  278. .alert-error {
  279. }
  280. /*=== Pagination */
  281. .pagination {
  282. text-align: center;
  283. font-size: 0.8em;
  284. }
  285. .content .pagination {
  286. margin: 0;
  287. padding: 0;
  288. }
  289. .pagination .item.pager-current {
  290. font-weight: bold;
  291. font-size: 1.5em;
  292. }
  293. .pagination .item a {
  294. display: block;
  295. font-style: italic;
  296. line-height: 3em;
  297. text-decoration: none;
  298. }
  299. .pagination .item a:hover {
  300. }
  301. .pagination:first-child .item {
  302. }
  303. .pagination:last-child .item {
  304. }
  305. .pagination .loading,
  306. .pagination a:hover.loading {
  307. font-size: 0;
  308. }
  309. /*=== STRUCTURE */
  310. /*===============*/
  311. /*=== Header */
  312. .header {
  313. height: 85px;
  314. }
  315. .header > .item {
  316. padding: 10px;
  317. vertical-align: middle;
  318. text-align: center;
  319. }
  320. .header > .item.title{
  321. width: 230px;
  322. }
  323. .header > .item.title h1 {
  324. margin: 0.5em 0;
  325. }
  326. .header > .item.title h1 a {
  327. text-decoration: none;
  328. }
  329. .header > .item.search input {
  330. width: 230px;
  331. }
  332. .header .item.search input:focus {
  333. width: 350px;
  334. }
  335. /*=== Body */
  336. #global {
  337. height: calc(100% - 85px);
  338. }
  339. .aside {
  340. }
  341. .aside.aside_flux {
  342. padding: 10px 0 50px;
  343. }
  344. /*=== Aside main page (categories) */
  345. .categories {
  346. text-align: center;
  347. }
  348. .category {
  349. width: 235px;
  350. margin: 10px auto;
  351. text-align: left;
  352. }
  353. .category .btn:first-child {
  354. position: relative;
  355. width: 213px;
  356. }
  357. .category.stick .btn:first-child {
  358. width: 176px;
  359. }
  360. .category .btn:first-child:not([data-unread="0"]):after {
  361. position: absolute;
  362. top: 3px; right: 3px;
  363. padding: 1px 5px;
  364. }
  365. /*=== Aside main page (feeds) */
  366. .categories .feeds .item.active {
  367. }
  368. .categories .feeds .item.empty.active {
  369. }
  370. .categories .feeds .item.error.active {
  371. }
  372. .categories .feeds .item.empty .feed {
  373. }
  374. .categories .feeds .item.error .feed {
  375. }
  376. .categories .feeds .item.active .feed,
  377. .categories .feeds .item.empty.active .feed,
  378. .categories .feeds .item.error.active .feed {
  379. }
  380. .categories .feeds .item .feed {
  381. margin: 0;
  382. width: 165px;
  383. line-height: 3em;
  384. font-size: 0.8em;
  385. text-align: left;
  386. text-decoration: none;
  387. }
  388. .categories .feeds .feed:not([data-unread="0"]) {
  389. font-weight: bold;
  390. }
  391. .categories .feeds .dropdown-menu:after {
  392. left: 2px;
  393. }
  394. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  395. .categories .feeds .item:hover .dropdown-toggle > .icon,
  396. .categories .feeds .item.active .dropdown-toggle > .icon {
  397. vertical-align: middle;
  398. }
  399. /*=== Configuration pages */
  400. .post {
  401. padding: 10px 50px;
  402. font-size: 0.9em;
  403. }
  404. .post form {
  405. margin: 10px 0;
  406. }
  407. .post.content {
  408. max-width: 550px;
  409. }
  410. /*=== Prompt (centered) */
  411. .prompt {
  412. text-align: center;
  413. }
  414. .prompt label {
  415. text-align: left;
  416. }
  417. .prompt form {
  418. margin: 10px auto 20px auto;
  419. width: 180px;
  420. }
  421. .prompt input {
  422. margin: 5px auto;
  423. width: 100%;
  424. }
  425. .prompt p {
  426. margin: 20px 0;
  427. }
  428. /*=== New article notification */
  429. #new-article {
  430. text-align: center;
  431. font-size: 0.9em;
  432. }
  433. #new-article:hover {
  434. }
  435. #new-article > a {
  436. line-height: 3em;
  437. font-weight: bold;
  438. }
  439. #new-article > a:hover {
  440. text-decoration: none;
  441. }
  442. /*=== Day indication */
  443. .day {
  444. padding: 0 10px;
  445. font-weight: bold;
  446. line-height: 3em;
  447. }
  448. #new-article + .day {
  449. }
  450. .day .name {
  451. padding: 0 10px 0 0;
  452. font-size: 1.8em;
  453. opacity: 0.3;
  454. font-style: italic;
  455. text-align: right;
  456. }
  457. /*=== Index menu */
  458. .nav_menu {
  459. text-align: center;
  460. padding: 5px 0;
  461. }
  462. /*=== Feed articles */
  463. .flux {
  464. }
  465. .flux:hover {
  466. }
  467. .flux.current {
  468. }
  469. .flux.not_read {
  470. }
  471. .flux.not_read:not(.current):hover .item.title {
  472. }
  473. .flux.favorite {
  474. }
  475. .flux.favorite:not(.current):hover .item.title {
  476. }
  477. .flux.current {
  478. }
  479. .flux_header {
  480. font-size: 0.8rem;
  481. cursor: pointer;
  482. }
  483. .flux_header .title {
  484. font-size: 0.9rem;
  485. }
  486. .flux .website .favicon {
  487. padding: 5px;
  488. }
  489. .flux .date {
  490. font-size: 0.7rem;
  491. }
  492. .flux:not(.current):hover .item.title {
  493. }
  494. .flux .bottom {
  495. font-size: 0.8rem;
  496. text-align: center;
  497. }
  498. /*=== Content of feed articles */
  499. .content {
  500. padding: 20px 10px;
  501. }
  502. .content > h1.title > a {
  503. }
  504. .content hr {
  505. margin: 30px 10px;
  506. height: 1px;
  507. }
  508. .content pre {
  509. margin: 10px auto;
  510. padding: 10px 20px;
  511. overflow: auto;
  512. font-size: 0.9rem;
  513. }
  514. .content code {
  515. padding: 2px 5px;
  516. }
  517. .content pre code {
  518. }
  519. .content blockquote {
  520. display: block;
  521. margin: 0;
  522. padding: 5px 20px;
  523. }
  524. .content blockquote p {
  525. margin: 0;
  526. }
  527. /*=== Notification and actualize notification */
  528. .notification {
  529. padding: 0 0 0 5px;
  530. text-align: center;
  531. font-weight: bold;
  532. font-size: 0.9em;
  533. line-height: 3em;
  534. z-index: 10;
  535. vertical-align: middle;
  536. }
  537. .notification.good {
  538. }
  539. .notification.bad {
  540. }
  541. .notification a.close {
  542. padding: 0 15px;
  543. line-height: 3em;
  544. }
  545. .notification.good a.close:hover {
  546. }
  547. .notification.bad a.close:hover {
  548. }
  549. .notification#actualizeProgress {
  550. line-height: 2em;
  551. }
  552. /*=== "Load more" part */
  553. #bigMarkAsRead {
  554. text-align: center;
  555. text-decoration: none;
  556. }
  557. #bigMarkAsRead:hover {
  558. }
  559. #bigMarkAsRead:hover .bigTick {
  560. }
  561. /*=== Navigation menu (for articles) */
  562. #nav_entries {
  563. margin: 0;
  564. text-align: center;
  565. line-height: 3em;
  566. table-layout: fixed;
  567. }
  568. /*=== READER VIEW */
  569. /*================*/
  570. #stream.reader .flux {
  571. padding: 0 0 50px;
  572. }
  573. #stream.reader .flux .author {
  574. margin: 0 0 10px;
  575. font-size: 90%;
  576. }
  577. /*=== GLOBAL VIEW */
  578. /*================*/
  579. #stream.global .box-category {
  580. text-align: left;
  581. }
  582. #stream.global .category {
  583. margin: 0;
  584. }
  585. #stream.global .btn {
  586. width: auto;
  587. height: 2em;
  588. margin: 0;
  589. padding: 0 10px;
  590. line-height: 2em;
  591. font-size: 1.2rem;
  592. }
  593. #stream.global .btn:not([data-unread="0"]) {
  594. font-weight: bold;
  595. }
  596. #stream.global .btn:first-child:not([data-unread="0"]):after {
  597. top: 0; right: 5px;
  598. font-weight: bold;
  599. }
  600. #stream.global .box-category .feeds {
  601. max-height: 250px;
  602. }
  603. #stream.global .box-category .feeds .item {
  604. padding: 2px 10px;
  605. font-size: 0.9rem;
  606. }
  607. /*=== DIVERS */
  608. /*===========*/
  609. .aside.aside_feed .nav-form input,
  610. .aside.aside_feed .nav-form select {
  611. width: 140px;
  612. }
  613. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  614. right: -20px;
  615. }
  616. .aside.aside_feed .nav-form .dropdown .dropdown-menu:after {
  617. right: 33px;
  618. }
  619. /*=== STATISTICS */
  620. /*===============*/
  621. .stat {
  622. margin: 10px 0 20px;
  623. }
  624. .stat th,
  625. .stat td,
  626. .stat tr {
  627. }
  628. .stat > table td,
  629. .stat > table th {
  630. text-align: center;
  631. }
  632. /*=== LOGS */
  633. /*=========*/
  634. .logs {
  635. overflow: hidden;
  636. }
  637. .log {
  638. padding: 5px 10px;
  639. font-size: 0.8rem;
  640. }
  641. .log+.log {
  642. }
  643. .log .date {
  644. display: block;
  645. font-weight: bold;
  646. }
  647. .log.error {
  648. }
  649. .log.warning {
  650. }
  651. .log.notice {
  652. }
  653. .log.debug {
  654. }
  655. /*=== MOBILE */
  656. /*===========*/
  657. @media(max-width: 840px) {
  658. .aside {
  659. transition: width 200ms linear;
  660. -moz-transition: width 200ms linear;
  661. -webkit-transition: width 200ms linear;
  662. -o-transition: width 200ms linear;
  663. -ms-transition: width 200ms linear;
  664. }
  665. .aside .toggle_aside,
  666. #panel .close {
  667. position: absolute;
  668. display: block;
  669. top: 0; right: 0;
  670. width: 30px;
  671. height: 30px;
  672. line-height: 30px;
  673. text-align: center;
  674. }
  675. .nav_menu .btn {
  676. margin: 5px 10px;
  677. }
  678. .nav_menu .stick {
  679. margin: 0 10px;
  680. }
  681. .nav_menu .stick .btn {
  682. margin: 5px 0;
  683. }
  684. .nav_menu .search {
  685. display: inline-block;
  686. max-width: 97%;
  687. }
  688. .nav_menu .search input {
  689. max-width: 97%;
  690. width: 90px;
  691. }
  692. .nav_menu .search input:focus {
  693. width: 400px;
  694. }
  695. .day .name {
  696. font-size: 1.1rem;
  697. }
  698. .pagination {
  699. margin: 0 0 3.5em;
  700. }
  701. .notification a.close {
  702. display: block;
  703. left: 0;
  704. }
  705. .notification a.close:hover {
  706. opacity: 0.5;
  707. }
  708. .notification a.close .icon {
  709. display: none;
  710. }
  711. }