base.css 12 KB

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