base.css 15 KB

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