base.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  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 .nav-form {
  259. padding: 3px;
  260. text-align: center;
  261. }
  262. .nav-head {
  263. display: block;
  264. margin: 0;
  265. background: #fff;
  266. background: linear-gradient(#fff, #f0f0f0);
  267. border-bottom: 1px solid #ddd;
  268. text-align: right;
  269. }
  270. .nav-head .item {
  271. display: inline-block;
  272. padding: 5px 10px;
  273. }
  274. /* DROPDOWN */
  275. .dropdown {
  276. position: relative;
  277. display: inline-block;
  278. }
  279. .dropdown .dropdown-target {
  280. display: none;
  281. }
  282. .dropdown .dropdown-menu {
  283. display: none;
  284. min-width: 200px;
  285. margin: 5px 0 0;
  286. padding: 5px 0;
  287. position: absolute;
  288. right: 0px;
  289. background: #fff;
  290. border: 1px solid #ddd;
  291. border-radius: 5px;
  292. text-align: left;
  293. box-shadow: 3px 3px 3px #ddd;
  294. }
  295. .dropdown .dropdown-menu .dropdown-header {
  296. display: block;
  297. padding: 0 5px;
  298. color: #888;
  299. font-weight: bold;
  300. }
  301. .dropdown .dropdown-menu .item {
  302. display: block;
  303. height: 30px;
  304. padding: 0 25px;
  305. font-size: 90%;
  306. line-height: 30px;
  307. }
  308. .dropdown .dropdown-menu .item a {
  309. display: block;
  310. }
  311. .dropdown .dropdown-menu .item:hover {
  312. background: #0062BE;
  313. color: #fff;
  314. }
  315. .dropdown .dropdown-menu .item:hover a {
  316. color: #fff;
  317. text-decoration: none;
  318. }
  319. .dropdown .dropdown-menu .separator {
  320. display: block;
  321. height: 0;
  322. margin: 5px 0;
  323. border-bottom: 1px solid #ddd;
  324. }
  325. .dropdown .dropdown-target:target ~ .dropdown-menu {
  326. display: block;
  327. z-index: 10;
  328. }
  329. .dropdown .dropdown-close {
  330. display: inline-block;
  331. position: absolute;
  332. top: -16px; right: -16px;
  333. width: 16px;
  334. height: 16px;
  335. padding: 5px;
  336. background: #fff;
  337. border-radius: 50px;
  338. border: 1px solid #ddd;
  339. line-height: 16px;
  340. text-align: center;
  341. }
  342. .dropdown .dropdown-close:hover {
  343. background: #f4f4f4;
  344. }
  345. /* ALERTS */
  346. .alert {
  347. display: block;
  348. width: 90%;
  349. margin: 15px auto;
  350. padding: 10px 15px;
  351. background: #f4f4f4;
  352. border: 1px solid #ccc;
  353. border-right: 1px solid #aaa;
  354. border-bottom: 1px solid #aaa;
  355. border-radius: 5px;
  356. color: #aaa;
  357. text-shadow: 0 0 1px #eee;
  358. box-shadow: 1px 1px 3px #aaa inset;
  359. }
  360. .alert .alert-head {
  361. margin: 0;
  362. font-weight: bold;
  363. font-size: 110%;
  364. }
  365. /* ICONES */
  366. .icon {
  367. display: inline-block;
  368. width: 14px;
  369. height: 14px;
  370. vertical-align: middle;
  371. line-height: 14px;
  372. }
  373. .icon.i_refresh {
  374. background: url("icons/refresh.svg") center center no-repeat;
  375. }
  376. .icon.i_bookmark {
  377. background: url("icons/starred.svg") center center no-repeat;
  378. }
  379. .icon.i_all {
  380. background: url("icons/all.svg") center center no-repeat;
  381. }
  382. .icon.i_close {
  383. background: url("icons/close.svg") center center no-repeat;
  384. }
  385. .icon.i_search {
  386. background: url("icons/search.svg") center center no-repeat;
  387. }
  388. .icon.i_configure {
  389. background: url("icons/configure.svg") center center no-repeat;
  390. }
  391. .icon.i_login {
  392. background: url("icons/login.svg") center center no-repeat;
  393. }
  394. .icon.i_logout {
  395. background: url("icons/logout.svg") center center no-repeat;
  396. }
  397. .icon.i_add {
  398. background: url("icons/add.svg") center center no-repeat;
  399. }
  400. .icon.i_link {
  401. background: url("icons/link.svg") center center no-repeat;
  402. }
  403. .icon.i_down {
  404. background: url("icons/down.svg") center center no-repeat;
  405. }
  406. .icon.i_up {
  407. background: url("icons/up.svg") center center no-repeat;
  408. }
  409. /* STRUCTURE */
  410. .header {
  411. display: table;
  412. width: 100%;
  413. background: #f4f4f4;
  414. table-layout: fixed;
  415. }
  416. .header > .item {
  417. display: table-cell;
  418. padding: 10px 0;
  419. border-bottom: 1px solid #aaa;
  420. vertical-align: middle;
  421. text-align: center;
  422. }
  423. .header > .item.title {
  424. width: 250px;
  425. }
  426. .header > .item.title h1 {
  427. margin: 0;
  428. text-shadow: 1px -1px 0 #ccc;
  429. }
  430. .header > .item.title a:hover {
  431. text-decoration: none;
  432. }
  433. .header > .item.search input {
  434. width: 200px;
  435. transition: all 200ms linear;
  436. }
  437. .header .item.search input:focus {
  438. width: 300px;
  439. }
  440. .header > .item.configure {
  441. width: 100px;
  442. }
  443. #global {
  444. display: table;
  445. width: 100%;
  446. height: 100%;
  447. background: #fafafa;
  448. table-layout: fixed;
  449. }
  450. .aside {
  451. display: table-cell;
  452. height: 100%;
  453. width: 250px;
  454. vertical-align: top;
  455. border-right: 1px solid #aaa;
  456. background: #fff;
  457. }
  458. .aside .nav-form input {
  459. width: 180px;
  460. }
  461. .aside.aside_flux {
  462. padding: 10px 0;
  463. }
  464. .nav_menu {
  465. width: 100%;
  466. background: #fafafa;
  467. border-bottom: 1px solid #aaa;
  468. text-align: center;
  469. padding: 5px 0;
  470. }
  471. .categories {
  472. margin: 0;
  473. padding: 0;
  474. text-align: center;
  475. list-style: none;
  476. }
  477. .categories .all,
  478. .categories .favorites,
  479. .categories .category {
  480. display: block;
  481. padding: 5px 0;
  482. width: 220px;
  483. margin: 5px auto;
  484. text-align: left;
  485. overflow: hidden;
  486. white-space: nowrap;
  487. text-overflow: ellipsis;
  488. }
  489. .categories .all .btn,
  490. .categories .favorites .btn,
  491. .categories .category .btn:first-child {
  492. width: 195px;
  493. position: relative;
  494. }
  495. .categories .feeds {
  496. width: 220px;
  497. margin: 0 auto;
  498. list-style: none;
  499. }
  500. .catefories .feeds .item {
  501. }
  502. .categories .feeds .item.active:after {
  503. content: "⇢";
  504. line-height: 35px;
  505. float: right;
  506. }
  507. .categories .feeds .item .feed {
  508. display: inline-block;
  509. margin: 0;
  510. width: 170px;
  511. line-height: 35px;
  512. font-size: 90%;
  513. vertical-align: middle;
  514. text-align: left;
  515. overflow: hidden;
  516. white-space: nowrap;
  517. text-overflow: ellipsis;
  518. }
  519. .categories .feeds .dropdown .dropdown-menu {
  520. left: 0;
  521. }
  522. .categories .feeds .item .dropdown-toggle i {
  523. background-image: none;
  524. }
  525. .categories .feeds .item .dropdown-target:target ~ .dropdown-toggle i,
  526. .categories .feeds .item:hover .dropdown-toggle i {
  527. background-image: url("icons/configure.svg");
  528. }
  529. .categories .notRead {
  530. position: absolute;
  531. top: 3px; right: 3px;
  532. padding: 1px 5px;
  533. background: #ccc;
  534. color: #fff;
  535. font-size: 90%;
  536. border: 1px solid #bbb;
  537. border-radius: 5px;
  538. box-shadow: 1px 3px 3px #aaa inset;
  539. text-shadow: 0 0 1px #aaa;
  540. }
  541. .post {
  542. padding: 10px 50px;
  543. }
  544. .post form {
  545. margin: 10px 0;
  546. }
  547. .day {
  548. height: 50px;
  549. padding: 0 10px;
  550. font-size: 130%;
  551. font-weight: bold;
  552. line-height: 50px;
  553. background: #fff;
  554. border-top: 1px solid #aaa;
  555. border-bottom: 1px solid #aaa;
  556. }
  557. .day:first-child {
  558. border-top: none;
  559. }
  560. .flux {
  561. border-left: 10px solid #aaa;
  562. background: #fafafa;
  563. }
  564. .flux:hover {
  565. background: #fff;
  566. }
  567. .flux.active {
  568. border-left: 10px solid #0062BE;
  569. background: #fff;
  570. }
  571. .flux.not_read {
  572. border-left: 10px solid #FF5300;
  573. background: #FFF3ED;
  574. }
  575. .flux.favorite {
  576. border-left: 10px solid #FFC300;
  577. background: #FFF6DA;
  578. }
  579. .flux_header {
  580. display: table;
  581. table-layout: fixed;
  582. margin: 0;
  583. padding: 0;
  584. width: 100%;
  585. height: 25px;
  586. font-size: 12px;
  587. line-height: 25px;
  588. border-top: 1px solid #ddd;
  589. }
  590. .flux_header .item {
  591. display: table-cell;
  592. vertical-align: middle;
  593. }
  594. .flux_header .item.manage {
  595. width: 50px;
  596. }
  597. .flux_header .item.manage .read {
  598. display: inline-block;
  599. width: 25px;
  600. height: 25px;
  601. background: url("icons/read.svg") center center no-repeat;
  602. vertical-align: middle;
  603. }
  604. .flux_header .item.manage .read:hover {
  605. text-decoration: none;
  606. }
  607. .flux.not_read .flux_header .item.manage .read {
  608. background: url("icons/unread.svg") center center no-repeat;
  609. }
  610. .flux_header .item.manage .bookmark {
  611. display: inline-block;
  612. width: 25px;
  613. height: 25px;
  614. background: url("icons/non-starred.svg") center center no-repeat;
  615. vertical-align: middle;
  616. }
  617. .flux_header .item.manage .bookmark:hover {
  618. text-decoration: none;
  619. }
  620. .flux.favorite .flux_header .item.manage .bookmark {
  621. background: url("icons/starred.svg") center center no-repeat;
  622. }
  623. .flux_header .item.website {
  624. width: 200px;
  625. overflow: hidden;
  626. white-space: nowrap;
  627. text-overflow: ellipsis;
  628. }
  629. .flux_header .item.title {
  630. overflow: hidden;
  631. white-space: nowrap;
  632. text-overflow: ellipsis;
  633. }
  634. .flux_header .item.title h1 {
  635. font-size: 12px;
  636. margin: 0;
  637. font-weight: normal;
  638. }
  639. .flux.not_read .flux_header .item.title h1 {
  640. font-weight: bold;
  641. }
  642. .flux_header .item.date {
  643. width: 200px;
  644. overflow: hidden;
  645. white-space: nowrap;
  646. text-overflow: ellipsis;
  647. text-align: right;
  648. font-size: 10px;
  649. color: #666;
  650. }
  651. .flux_header .item.link {
  652. width: 35px;
  653. text-align: center;
  654. }
  655. .flux_header .item.link a {
  656. display: inline-block;
  657. width: 25px;
  658. height: 25px;
  659. background: url("icons/link.svg") center center no-repeat;
  660. vertical-align: middle;
  661. }
  662. .flux_header .item.link a:hover {
  663. text-decoration: none;
  664. }
  665. .content {
  666. max-width: 550px;
  667. margin: 0 auto;
  668. padding: 10px;
  669. line-height: 170%;
  670. font-family: 'OpenSans';
  671. }
  672. .content h1, .content h2, .content h3 {
  673. margin: 20px 0 5px;
  674. }
  675. .content p {
  676. margin: 0 0 20px;
  677. }
  678. .content img.big {
  679. display: block;
  680. margin: 10px 0;
  681. width: 100%;
  682. box-shadow: 0 0 5px #000;
  683. border-radius: 5px;
  684. }
  685. .content pre {
  686. width: 90%;
  687. margin: 10px auto;
  688. padding: 10px;
  689. overflow: auto;
  690. background: #666;
  691. border: 1px solid #000;
  692. color: #fafafa;
  693. border-radius: 5px;
  694. }
  695. .content q, .content blockquote {
  696. display: block;
  697. margin: 5px 0;
  698. padding: 5px 20px;
  699. font-style: italic;
  700. border-left: 4px solid #ccc;
  701. color: #666;
  702. }
  703. .content blockquote p {
  704. margin: 0;
  705. }
  706. /*** PAGINATION ***/
  707. .pagination {
  708. display: table;
  709. width: 100%;
  710. margin: 0;
  711. background: #fafafa;
  712. text-align: center;
  713. color: #333;
  714. font-size: 80%;
  715. line-height: 200%;
  716. table-layout: fixed;
  717. }
  718. .pagination .item {
  719. display: table-cell;
  720. padding: 5px 10px;
  721. border-top: 1px solid #aaa;
  722. }
  723. .pagination .item a {
  724. color: #333;
  725. font-style: italic;
  726. }
  727. .pagination .pager-previous, .pagination .pager-next {
  728. width: 200px;
  729. }
  730. .pagination .item.pager-current {
  731. font-weight: bold;
  732. }
  733. /*** NOTIFICATION ***/
  734. .notification {
  735. position: fixed;
  736. bottom: 0;
  737. left: 5%; right: 5%;
  738. min-height: 30px;
  739. padding: 10px;
  740. line-height: 30px;
  741. text-align: center;
  742. border-radius: 5px 5px 0 0;
  743. box-shadow: 0 0 5px #666;
  744. background: #ddd;
  745. color: #666;
  746. font-weight: bold;
  747. }
  748. .notification.good {
  749. background: #f4f899;
  750. }
  751. .notification.bad {
  752. background: #f4a899;
  753. }
  754. .notification a.close {
  755. display: inline-block;
  756. width: 16px;
  757. height: 16px;
  758. float: right;
  759. margin: -20px -20px 0 0;
  760. padding: 5px;
  761. background: #fff;
  762. border-radius: 50px;
  763. border: 1px solid #aaa;
  764. line-height: 16px;
  765. }
  766. @media(max-width: 840px) {
  767. .header,
  768. .aside,
  769. .flux_header .item.website span,
  770. .flux_header .item.date {
  771. display: none;
  772. }
  773. .flux_header .item.website {
  774. width: 20px;
  775. }
  776. .pagination .pager-previous, .pagination .pager-next {
  777. width: 100px;
  778. }
  779. }
  780. @media(max-width: 450px) {
  781. }