base.css 15 KB

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