base.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. height: 100%;
  7. font-size: 95%;
  8. font-family: "Cantarell", "Helvetica", "Arial", "sans-serif";
  9. }
  10. /* LIENS */
  11. a {
  12. color: #0062BE;
  13. text-decoration: none;
  14. }
  15. a:hover {
  16. text-decoration: underline;
  17. }
  18. /* LISTES */
  19. ul, ol, dl {
  20. margin: 10px 0 10px 30px;
  21. line-height: 190%;
  22. }
  23. dd {
  24. margin: 0 0 10px 30px;
  25. }
  26. /* TITRES */
  27. h1, h2, h3 {
  28. min-height: 40px;
  29. margin: 15px 0 5px;
  30. line-height: 40px;
  31. }
  32. /* IMG */
  33. img {
  34. max-width: 100%;
  35. vertical-align: middle;
  36. }
  37. a img {
  38. border: none;
  39. }
  40. /* FORMULAIRES */
  41. legend {
  42. display: block;
  43. width: 100%;
  44. margin: 20px 0 5px;
  45. padding: 5px 0;
  46. border-bottom: 1px solid #ddd;
  47. font-size: 150%;
  48. clear: both;
  49. }
  50. label {
  51. display: block;
  52. min-height: 25px;
  53. padding: 5px 0;
  54. font-size: 14px;
  55. line-height: 25px;
  56. }
  57. input {
  58. display: inline-block;
  59. min-height: 25px;
  60. width: 200px;
  61. padding: 5px;
  62. background: #fdfdfd;
  63. border: 1px solid #bbb;
  64. border-radius: 3px;
  65. color: #666;
  66. line-height: 25px;
  67. vertical-align: middle;
  68. box-shadow: 0 2px 2px #eee inset;
  69. }
  70. input[type="radio"],
  71. input[type="checkbox"] {
  72. width: 15px;
  73. min-height: 15px;
  74. }
  75. input:focus {
  76. color: #0062BE;
  77. border-color: #33BBFF;
  78. box-shadow: 0 2px 2px #DDDDFF inset;
  79. }
  80. .form-group {
  81. margin: 0;
  82. clear: both;
  83. }
  84. .form-group.form-actions {
  85. min-width: 250px;
  86. padding: 5px 0;
  87. background: #f4f4f4;
  88. border-top: 1px solid #ddd;
  89. }
  90. .form-group.form-actions .btn {
  91. margin: 0 10px;
  92. }
  93. .form-group .group-name {
  94. display: block;
  95. float: left;
  96. width: 200px;
  97. padding: 10px 0;
  98. text-align: right;
  99. }
  100. .form-group .group-controls {
  101. min-width: 250px;
  102. min-height: 25px;
  103. margin: 0 0 0 220px;
  104. padding: 5px 0;
  105. }
  106. .form-group .group-controls .control {
  107. display: block;
  108. min-height: 30px;
  109. padding: 5px 0;
  110. line-height: 25px;
  111. font-size: 14px;
  112. }
  113. .stick {
  114. white-space: nowrap;
  115. font-size: 0px;
  116. vertical-align: middle;
  117. }
  118. .stick input {
  119. border-radius: 3px 0 0 3px;
  120. border-right: none;
  121. }
  122. .stick .btn {
  123. border-top: 1px solid #bbb;
  124. border-radius: 0 3px 3px 0;
  125. }
  126. .btn {
  127. display: inline-block;
  128. min-height: 37px;
  129. min-width: 15px;
  130. padding: 5px 10px;
  131. background: #fff;
  132. background: linear-gradient(#fff, #eee);
  133. border-radius: 3px;
  134. border: 1px solid #ddd;
  135. border-bottom: 1px solid #aaa;
  136. border-right: 1px solid #aaa;
  137. color: #666;
  138. text-shadow: 0px -1px 0 #ddd;
  139. line-height: 20px;
  140. vertical-align: middle;
  141. cursor: pointer;
  142. }
  143. a.btn {
  144. min-height: 25px;
  145. line-height: 25px;
  146. }
  147. .btn:hover {
  148. background: #f0f0f0;
  149. background: linear-gradient(#f8f8f8, #f0f0f0);
  150. text-decoration: none;
  151. }
  152. .btn.active,
  153. .btn:active {
  154. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  155. background: #eee;
  156. }
  157. .btn.btn-important {
  158. background: #0084CC;
  159. background: linear-gradient(#0084CC, #0045CC);
  160. color: #fff;
  161. border: 1px solid #0062B7;
  162. text-shadow: 0px -1px 0 #aaa;
  163. }
  164. .btn.btn-important:hover {
  165. background: linear-gradient(#0066CC, #0045CC);
  166. }
  167. .btn.btn-important:active {
  168. background: #0044CB;
  169. box-shadow: none;
  170. }
  171. .btn.btn-attention {
  172. background: #E95B57;
  173. background: linear-gradient(#E95B57, #BD362F);
  174. color: #fff;
  175. border: 1px solid #C44742;
  176. text-shadow: 0px -1px 0px #666;
  177. }
  178. .btn.btn-attention:hover {
  179. background: linear-gradient(#D14641, #BD362F);
  180. }
  181. .btn.btn-attention:active {
  182. background: #BD362F;
  183. box-shadow: none;
  184. }
  185. /* NAVIGATION */
  186. .nav.nav-list .nav-header,
  187. .nav.nav-list .item {
  188. display: block;
  189. height: 35px;
  190. line-height: 35px;
  191. }
  192. .nav.nav-list .item:hover {
  193. background: #fafafa;
  194. }
  195. .nav.nav-list .item:hover a {
  196. color: #003388;
  197. }
  198. .nav.nav-list .item.active {
  199. background: #0062BE;
  200. color: #fff;
  201. }
  202. .nav.nav-list .item.active a {
  203. color: #fff;
  204. }
  205. .nav.nav-list .disable {
  206. color: #aaa;
  207. background: #fafafa;
  208. text-align: center;
  209. }
  210. .nav.nav-list .item > * {
  211. display: block;
  212. padding: 0 10px;
  213. overflow: hidden;
  214. white-space: nowrap;
  215. text-overflow: ellipsis;
  216. }
  217. .nav.nav-list a:hover {
  218. text-decoration: none;
  219. }
  220. .nav.nav-list .nav-header {
  221. padding: 0 10px;
  222. color: #888;
  223. background: #f4f4f4;
  224. border-bottom: 1px solid #ddd;
  225. font-weight: bold;
  226. text-shadow: 0 0 1px #ddd;
  227. }
  228. .nav.nav-list .nav-form {
  229. padding: 3px;
  230. text-align: center;
  231. }
  232. .nav-head {
  233. display: block;
  234. margin: 0;
  235. background: #fff;
  236. background: linear-gradient(#fff, #f0f0f0);
  237. border-bottom: 1px solid #ddd;
  238. text-align: right;
  239. }
  240. .nav-head .item {
  241. display: inline-block;
  242. padding: 5px 10px;
  243. }
  244. /* DROPDOWN */
  245. .dropdown {
  246. position: relative;
  247. display: inline-block;
  248. }
  249. .dropdown .dropdown-target {
  250. display: none;
  251. }
  252. .dropdown .dropdown-menu {
  253. display: none;
  254. min-width: 200px;
  255. margin: -1px 0 0;
  256. padding: 5px 0;
  257. position: absolute;
  258. right: 0px;
  259. background: #fff;
  260. border: 1px solid #ddd;
  261. border-radius: 5px;
  262. text-align: left;
  263. box-shadow: 3px 3px 3px #ddd;
  264. }
  265. .dropdown .dropdown-menu .dropdown-header {
  266. display: block;
  267. padding: 0 5px;
  268. color: #888;
  269. font-weight: bold;
  270. }
  271. .dropdown .dropdown-menu .item {
  272. display: block;
  273. height: 30px;
  274. padding: 0 25px;
  275. font-size: 90%;
  276. line-height: 30px;
  277. }
  278. .dropdown .dropdown-menu .item a {
  279. display: block;
  280. }
  281. .dropdown .dropdown-menu .item:hover {
  282. background: #0062BE;
  283. color: #fff;
  284. }
  285. .dropdown .dropdown-menu .item:hover a {
  286. color: #fff;
  287. text-decoration: none;
  288. }
  289. .dropdown .dropdown-menu .separator {
  290. display: block;
  291. height: 0;
  292. margin: 5px 0;
  293. border-bottom: 1px solid #ddd;
  294. }
  295. .dropdown .dropdown-target:target ~ .dropdown-menu {
  296. display: block;
  297. z-index: 10;
  298. }
  299. .dropdown .dropdown-close {
  300. display: inline-block;
  301. position: absolute;
  302. top: -16px; right: -16px;
  303. width: 16px;
  304. height: 16px;
  305. padding: 5px;
  306. background: #fff;
  307. border-radius: 50px;
  308. border: 1px solid #ddd;
  309. line-height: 16px;
  310. text-align: center;
  311. }
  312. .dropdown .dropdown-close:hover {
  313. background: #f4f4f4;
  314. }
  315. /* ALERTS */
  316. .alert {
  317. display: block;
  318. width: 90%;
  319. margin: 15px auto;
  320. padding: 10px 15px;
  321. background: #f4f4f4;
  322. border: 1px solid #ccc;
  323. border-right: 1px solid #aaa;
  324. border-bottom: 1px solid #aaa;
  325. border-radius: 5px;
  326. color: #aaa;
  327. text-shadow: 0 0 1px #eee;
  328. box-shadow: 1px 1px 3px #aaa inset;
  329. }
  330. .alert .alert-head {
  331. margin: 0;
  332. font-weight: bold;
  333. font-size: 110%;
  334. }
  335. /* ICONES */
  336. .icon {
  337. display: inline-block;
  338. width: 14px;
  339. height: 14px;
  340. vertical-align: middle;
  341. line-height: 14px;
  342. }
  343. .icon.refresh {
  344. background: url("icons/refresh.svg") center center no-repeat;
  345. }
  346. .icon.bookmark {
  347. background: url("icons/starred.svg") center center no-repeat;
  348. }
  349. .icon.all {
  350. background: url("icons/all.svg") center center no-repeat;
  351. }
  352. .icon.close {
  353. background: url("icons/close.svg") center center no-repeat;
  354. }
  355. .icon.search {
  356. background: url("icons/search.svg") center center no-repeat;
  357. }
  358. .icon.configure {
  359. background: url("icons/configure.svg") center center no-repeat;
  360. }
  361. .icon.login {
  362. background: url("icons/login.svg") center center no-repeat;
  363. }
  364. .icon.logout {
  365. background: url("icons/logout.svg") center center no-repeat;
  366. }
  367. .icon.add {
  368. background: url("icons/add.svg") center center no-repeat;
  369. }
  370. .icon.link {
  371. background: url("icons/link.svg") center center no-repeat;
  372. }
  373. /* STRUCTURE */
  374. .header {
  375. display: table;
  376. width: 100%;
  377. background: #f4f4f4;
  378. table-layout: fixed;
  379. }
  380. .header > .item {
  381. display: table-cell;
  382. padding: 10px 0;
  383. border-bottom: 1px solid #aaa;
  384. vertical-align: middle;
  385. text-align: center;
  386. }
  387. .header > .item.title {
  388. width: 250px;
  389. }
  390. .header > .item.title h1 {
  391. margin: 0;
  392. text-shadow: 1px -1px 0 #ccc;
  393. }
  394. .header > .item.title a:hover {
  395. text-decoration: none;
  396. }
  397. .header > .item.search input {
  398. width: 200px;
  399. transition: all 200ms linear;
  400. }
  401. .header .item.search input:focus {
  402. width: 300px;
  403. }
  404. .header > .item.configure {
  405. width: 100px;
  406. }
  407. #global {
  408. display: table;
  409. width: 100%;
  410. height: 100%;
  411. background: #fff;
  412. table-layout: fixed;
  413. }
  414. .aside {
  415. display: table-cell;
  416. height: 100%;
  417. width: 250px;
  418. vertical-align: top;
  419. border-right: 1px solid #aaa;
  420. background: #fff;
  421. }
  422. .aside .nav-form input {
  423. width: 180px;
  424. }
  425. .aside.aside_flux {
  426. padding: 10px 0;
  427. }
  428. .nav_menu {
  429. width: 100%;
  430. background: #fafafa;
  431. border-bottom: 1px solid #aaa;
  432. text-align: center;
  433. padding: 5px 0;
  434. }
  435. .nav_menu .btn {
  436. margin: 0 5px;
  437. }
  438. .categories {
  439. margin: 0;
  440. padding: 0;
  441. text-align: center;
  442. list-style: none;
  443. }
  444. .categories .feeds .feed,
  445. .categories .category {
  446. position: relative;
  447. display: block;
  448. width: 200px;
  449. margin: 5px auto;
  450. text-align: left;
  451. overflow: hidden;
  452. white-space: nowrap;
  453. text-overflow: ellipsis;
  454. }
  455. .categories .feeds {
  456. width: 220px;
  457. margin: 0 auto;
  458. list-style: none;
  459. }
  460. .categories .feeds .feed {
  461. display: inline-block;
  462. margin: 0;
  463. width: 170px;
  464. line-height: 35px;
  465. font-size: 90%;
  466. vertical-align: middle;
  467. }
  468. .categories .feeds .dropdown .dropdown-menu {
  469. left: 0;
  470. }
  471. .categories .feeds .dropdown .dropdown-close {
  472. left: -16px;
  473. }
  474. .categories .notRead {
  475. position: absolute;
  476. top: 3px; right: 3px;
  477. padding: 1px 5px;
  478. background: #ccc;
  479. color: #fff;
  480. font-size: 90%;
  481. border: 1px solid #bbb;
  482. border-radius: 5px;
  483. box-shadow: 1px 3px 3px #aaa inset;
  484. text-shadow: 0 0 1px #aaa;
  485. }
  486. .post {
  487. padding: 10px 50px;
  488. }
  489. .post form {
  490. margin: 10px 0;
  491. }
  492. .day {
  493. height: 50px;
  494. padding: 0 10px;
  495. font-size: 130%;
  496. font-weight: bold;
  497. line-height: 50px;
  498. border-top: 1px solid #aaa;
  499. border-bottom: 1px solid #aaa;
  500. }
  501. .flux {
  502. border-left: 10px solid #aaa;
  503. background: #fafafa;
  504. }
  505. .flux:hover {
  506. background: #fff;
  507. }
  508. .flux.active {
  509. border-left: 10px solid #0062BE;
  510. background: #fff;
  511. }
  512. .flux.not_read {
  513. border-left: 10px solid #FF5300;
  514. background: #FFF3ED;
  515. }
  516. .flux.favorite {
  517. border-left: 10px solid #FFC300;
  518. background: #FFF6DA;
  519. }
  520. .flux_header {
  521. display: table;
  522. table-layout: fixed;
  523. margin: 0;
  524. padding: 0;
  525. width: 100%;
  526. height: 25px;
  527. font-size: 12px;
  528. line-height: 25px;
  529. border-top: 1px solid #ddd;
  530. }
  531. .flux_header .item {
  532. display: table-cell;
  533. vertical-align: middle;
  534. }
  535. .flux_header .item.manage {
  536. width: 50px;
  537. }
  538. .flux_header .item.manage .read {
  539. display: inline-block;
  540. width: 25px;
  541. height: 25px;
  542. background: url("icons/read.svg") center center no-repeat;
  543. vertical-align: middle;
  544. }
  545. .flux_header .item.manage .read:hover {
  546. text-decoration: none;
  547. }
  548. .flux.not_read .flux_header .item.manage .read {
  549. background: url("icons/unread.svg") center center no-repeat;
  550. }
  551. .flux_header .item.manage .bookmark {
  552. display: inline-block;
  553. width: 25px;
  554. height: 25px;
  555. background: url("icons/non-starred.svg") center center no-repeat;
  556. vertical-align: middle;
  557. }
  558. .flux_header .item.manage .bookmark:hover {
  559. text-decoration: none;
  560. }
  561. .flux.favorite .flux_header .item.manage .bookmark {
  562. background: url("icons/starred.svg") center center no-repeat;
  563. }
  564. .flux_header .item.website {
  565. width: 200px;
  566. overflow: hidden;
  567. white-space: nowrap;
  568. text-overflow: ellipsis;
  569. }
  570. .flux_header .item.title {
  571. overflow: hidden;
  572. white-space: nowrap;
  573. text-overflow: ellipsis;
  574. }
  575. .flux_header .item.title h1 {
  576. font-size: 12px;
  577. margin: 0;
  578. font-weight: normal;
  579. }
  580. .flux.not_read .flux_header .item.title h1 {
  581. font-weight: bold;
  582. }
  583. .flux_header .item.date {
  584. width: 200px;
  585. overflow: hidden;
  586. white-space: nowrap;
  587. text-overflow: ellipsis;
  588. text-align: right;
  589. font-size: 10px;
  590. color: #666;
  591. }
  592. .flux_header .item.link {
  593. width: 35px;
  594. text-align: center;
  595. }
  596. .flux_header .item.link a {
  597. display: inline-block;
  598. width: 25px;
  599. height: 25px;
  600. background: url("icons/link.svg") center center no-repeat;
  601. vertical-align: middle;
  602. }
  603. .flux_header .item.link a:hover {
  604. text-decoration: none;
  605. }
  606. .content {
  607. max-width: 550px;
  608. margin: 0 auto;
  609. padding: 10px;
  610. line-height: 170%;
  611. }
  612. .content h1, .content h2, .content h3 {
  613. margin: 20px 0 5px;
  614. }
  615. .content p {
  616. margin: 0 0 20px;
  617. }
  618. .content img.big {
  619. display: block;
  620. margin: 10px 0;
  621. width: 100%;
  622. box-shadow: 0 0 5px #000;
  623. border-radius: 5px;
  624. }
  625. .content pre {
  626. width: 90%;
  627. margin: 10px auto;
  628. padding: 10px;
  629. overflow: auto;
  630. background: #666;
  631. border: 1px solid #000;
  632. color: #fafafa;
  633. border-radius: 5px;
  634. }
  635. .content q, .content blockquote {
  636. display: block;
  637. margin: 0;
  638. padding: 10px 20px;
  639. font-style: italic;
  640. border-left: 4px solid #ccc;
  641. color: #666;
  642. }
  643. /*** PAGINATION ***/
  644. .pagination {
  645. display: table;
  646. width: 100%;
  647. margin: 0;
  648. background: #fafafa;
  649. text-align: center;
  650. color: #333;
  651. font-size: 80%;
  652. line-height: 200%;
  653. table-layout: fixed;
  654. }
  655. .pagination .item {
  656. display: table-cell;
  657. padding: 5px 10px;
  658. border-top: 1px solid #aaa;
  659. }
  660. .pagination .item a {
  661. color: #333;
  662. font-style: italic;
  663. }
  664. .pagination .pager-previous, .pagination .pager-next {
  665. width: 200px;
  666. }
  667. .pagination .item.pager-current {
  668. font-weight: bold;
  669. }
  670. /*** NOTIFICATION ***/
  671. .notification {
  672. position: fixed;
  673. bottom: 0;
  674. left: 25%;
  675. width: 50%;
  676. height: 50px;
  677. padding: 0 50px;
  678. line-height: 50px;
  679. text-align: center;
  680. border-radius: 5px 5px 0 0;
  681. box-shadow: 0 0 5px #666;
  682. background: #ddd;
  683. color: #666;
  684. font-weight: bold;
  685. }
  686. .notification.good {
  687. background: #f4f899;
  688. }
  689. .notification.bad {
  690. background: #f4a899;
  691. }
  692. .notification a.close {
  693. display: inline-block;
  694. width: 16px;
  695. height: 16px;
  696. float: right;
  697. margin: -10px -60px 0 0;
  698. padding: 5px;
  699. background: #fff;
  700. border-radius: 50px;
  701. border: 1px solid #aaa;
  702. line-height: 16px;
  703. }
  704. @media(max-width: 840px) {
  705. .header,
  706. .aside,
  707. .flux_header .item.website span,
  708. .flux_header .item.date {
  709. display: none;
  710. }
  711. .flux_header .item.website {
  712. width: 20px;
  713. }
  714. .pagination .pager-previous, .pagination .pager-next {
  715. width: 100px;
  716. }
  717. }
  718. @media(max-width: 450px) {
  719. .nav_menu .btn {
  720. display: block;
  721. margin: 5px 0;
  722. }
  723. }