base.css 14 KB

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