base.css 15 KB

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