base.css 15 KB

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