base.css 12 KB

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