base.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  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. font-weight: bold;
  231. font-size: 105%;
  232. }
  233. /* ICONES */
  234. .icon {
  235. display: inline-block;
  236. width: 16px;
  237. height: 16px;
  238. vertical-align: middle;
  239. }
  240. .icon.refresh {
  241. background: url("icons/refresh.svg") center center no-repeat;
  242. }
  243. .icon.bookmark {
  244. background: url("icons/starred.svg") center center no-repeat;
  245. }
  246. .icon.all {
  247. background: url("icons/all.svg") center center no-repeat;
  248. }
  249. .icon.close {
  250. background: url("icons/close.svg") center center no-repeat;
  251. }
  252. .icon.search {
  253. background: url("icons/search.svg") center center no-repeat;
  254. }
  255. .icon.configure {
  256. background: url("icons/configure.svg") center center no-repeat;
  257. }
  258. .icon.login {
  259. background: url("icons/login.svg") center center no-repeat;
  260. }
  261. .icon.logout {
  262. background: url("icons/logout.svg") center center no-repeat;
  263. }
  264. .icon.add {
  265. background: url("icons/add.svg") center center no-repeat;
  266. }
  267. .icon.link {
  268. background: url("icons/link.svg") center center no-repeat;
  269. }
  270. /* STRUCTURE */
  271. .header {
  272. display: table;
  273. width: 100%;
  274. background: #f4f4f4;
  275. table-layout: fixed;
  276. }
  277. .header .item {
  278. display: table-cell;
  279. padding: 10px 0;
  280. border-bottom: 1px solid #aaa;
  281. vertical-align: middle;
  282. text-align: center;
  283. }
  284. .header .item.title {
  285. width: 250px;
  286. }
  287. .header .item.title h1 {
  288. margin: 0;
  289. }
  290. .header .item.title a:hover {
  291. text-decoration: none;
  292. }
  293. .header .item.configure {
  294. width: 100px;
  295. }
  296. #global {
  297. display: table;
  298. width: 100%;
  299. height: 100%;
  300. background: #fff;
  301. table-layout: fixed;
  302. }
  303. .aside {
  304. display: table-cell;
  305. height: 100%;
  306. width: 250px;
  307. vertical-align: top;
  308. border-right: 1px solid #aaa;
  309. background: #fff;
  310. }
  311. .aside.aside_flux {
  312. padding: 10px 0;
  313. }
  314. .nav_menu {
  315. width: 100%;
  316. background: #fafafa;
  317. border-bottom: 1px solid #aaa;
  318. text-align: center;
  319. padding: 5px 0;
  320. }
  321. .nav_menu .btn {
  322. margin: 0 5px;
  323. }
  324. .categories {
  325. margin: 0;
  326. padding: 0;
  327. text-align: center;
  328. list-style: none;
  329. }
  330. .categories .feeds .feed,
  331. .categories .category {
  332. position: relative;
  333. display: block;
  334. width: 200px;
  335. margin: 5px auto;
  336. text-align: left;
  337. overflow: hidden;
  338. white-space: nowrap;
  339. text-overflow: ellipsis;
  340. }
  341. .categories .feeds {
  342. width: 220px;
  343. margin: 0 auto;
  344. list-style: none;
  345. }
  346. .categories .feeds .feed {
  347. display: inline-block;
  348. margin: 0;
  349. width: 170px;
  350. line-height: 35px;
  351. font-size: 90%;
  352. vertical-align: middle;
  353. }
  354. .categories .notRead {
  355. position: absolute;
  356. top: 3px; right: 3px;
  357. padding: 1px 5px;
  358. background: #bbb;
  359. color: #fff;
  360. font-size: 90%;
  361. border: 1px solid #bbb;
  362. border-right: 1px solid #999;
  363. border-bottom: 1px solid #999;
  364. border-radius: 5px;
  365. box-shadow: 1px 3px 3px #999 inset;
  366. text-shadow: 0 0 1px #aaa;
  367. }
  368. .post {
  369. padding: 10px 50px;
  370. }
  371. .post form {
  372. margin: 10px 0;
  373. }
  374. .flux {
  375. font-family: Palatino, "Times New Roman", serif;
  376. border-left: 10px solid #aaa;
  377. background: #fafafa;
  378. }
  379. .flux:hover {
  380. background: #fff;
  381. }
  382. .flux .content {
  383. padding: 20px 100px;
  384. line-height: 170%;
  385. }
  386. .flux .content h1, .flux .content h2, .flux .content h3 {
  387. margin: 20px 0 5px;
  388. }
  389. .flux .content p {
  390. margin: 10px 0;
  391. }
  392. .flux .content img.big {
  393. display: block;
  394. margin: 10px 0;
  395. width: 100%;
  396. box-shadow: 0 0 5px #000;
  397. border-radius: 5px;
  398. }
  399. .flux .content pre {
  400. width: 90%;
  401. margin: 10px auto;
  402. padding: 10px;
  403. overflow: auto;
  404. background: #666;
  405. border: 1px solid #000;
  406. color: #fafafa;
  407. border-radius: 5px;
  408. }
  409. .flux .content q, .flux .content blockquote {
  410. display: block;
  411. margin: 0;
  412. padding: 10px 20px;
  413. font-style: italic;
  414. border-left: 4px solid #ccc;
  415. color: #666;
  416. }
  417. .flux.active {
  418. border-left: 10px solid #0062BE;
  419. background: #fff;
  420. }
  421. .flux.not_read {
  422. border-left: 10px solid #FF5300;
  423. background: #FFF3ED;
  424. }
  425. .flux.favorite {
  426. border-left: 10px solid #FFC300;
  427. background: #FFF6DA;
  428. }
  429. .flux_header {
  430. display: table;
  431. table-layout: fixed;
  432. margin: 0;
  433. padding: 0;
  434. width: 100%;
  435. height: 25px;
  436. font-size: 12px;
  437. line-height: 25px;
  438. border-top: 1px solid #ddd;
  439. }
  440. .flux_header .item {
  441. display: table-cell;
  442. vertical-align: middle;
  443. }
  444. .flux_header .item.manage {
  445. width: 50px;
  446. }
  447. .flux_header .item.manage .read {
  448. display: inline-block;
  449. width: 25px;
  450. height: 25px;
  451. background: url("icons/read.svg") center center no-repeat;
  452. vertical-align: middle;
  453. }
  454. .flux_header .item.manage .read:hover {
  455. text-decoration: none;
  456. }
  457. .flux.not_read .flux_header .item.manage .read {
  458. background: url("icons/unread.svg") center center no-repeat;
  459. }
  460. .flux_header .item.manage .bookmark {
  461. display: inline-block;
  462. width: 25px;
  463. height: 25px;
  464. background: url("icons/non-starred.svg") center center no-repeat;
  465. vertical-align: middle;
  466. }
  467. .flux_header .item.manage .bookmark:hover {
  468. text-decoration: none;
  469. }
  470. .flux.favorite .flux_header .item.manage .bookmark {
  471. background: url("icons/starred.svg") center center no-repeat;
  472. }
  473. .flux_header .item.website {
  474. width: 200px;
  475. overflow: hidden;
  476. white-space: nowrap;
  477. text-overflow: ellipsis;
  478. }
  479. .flux_header .item.title {
  480. overflow: hidden;
  481. white-space: nowrap;
  482. text-overflow: ellipsis;
  483. }
  484. .flux_header .item.title h1 {
  485. font-size: 12px;
  486. margin: 0;
  487. font-weight: normal;
  488. }
  489. .flux.not_read .flux_header .item.title h1 {
  490. font-weight: bold;
  491. }
  492. .flux_header .item.date {
  493. width: 200px;
  494. overflow: hidden;
  495. white-space: nowrap;
  496. text-overflow: ellipsis;
  497. text-align: right;
  498. font-size: 10px;
  499. color: #666;
  500. }
  501. .flux_header .item.link {
  502. width: 35px;
  503. text-align: center;
  504. }
  505. .flux_header .item.link a {
  506. display: inline-block;
  507. width: 25px;
  508. height: 25px;
  509. background: url("icons/link.svg") center center no-repeat;
  510. vertical-align: middle;
  511. }
  512. .flux_header .item.link a:hover {
  513. text-decoration: none;
  514. }
  515. /*** PAGINATION ***/
  516. .pagination {
  517. display: table;
  518. width: 100%;
  519. margin: 0;
  520. background: #fafafa;
  521. text-align: center;
  522. color: #333;
  523. font-size: 80%;
  524. line-height: 200%;
  525. table-layout: fixed;
  526. }
  527. .pagination .item {
  528. display: table-cell;
  529. padding: 5px 10px;
  530. border-top: 1px solid #aaa;
  531. }
  532. .pagination .item a {
  533. color: #333;
  534. font-style: italic;
  535. }
  536. .pagination .pager-previous, .pagination .pager-next {
  537. width: 200px;
  538. }
  539. .pagination .item.pager-current {
  540. font-weight: bold;
  541. }
  542. /*** NOTIFICATION ***/
  543. .notification {
  544. position: fixed;
  545. bottom: 0;
  546. left: 25%;
  547. width: 50%;
  548. height: 50px;
  549. padding: 0 50px;
  550. line-height: 50px;
  551. text-align: center;
  552. border-radius: 5px 5px 0 0;
  553. box-shadow: 0 0 5px #666;
  554. background: #ddd;
  555. color: #666;
  556. font-weight: bold;
  557. }
  558. .notification.good {
  559. background: #f4f899;
  560. }
  561. .notification.bad {
  562. background: #f4a899;
  563. }
  564. .notification a.close {
  565. display: inline-block;
  566. width: 16px;
  567. height: 16px;
  568. float: right;
  569. margin: -10px -60px 0 0;
  570. padding: 5px;
  571. background: #fff;
  572. border-radius: 50px;
  573. border: 1px solid #aaa;
  574. line-height: 16px;
  575. }
  576. @media(max-width: 840px) {
  577. .header,
  578. .aside,
  579. .flux_header .item.website span,
  580. .flux_header .item.date {
  581. display: none;
  582. }
  583. .flux_header .item.website {
  584. width: 20px;
  585. }
  586. .flux .content {
  587. padding: 10px;
  588. }
  589. .pagination .pager-previous, .pagination .pager-next {
  590. width: 100px;
  591. }
  592. }
  593. @media(max-width: 450px) {
  594. .nav_menu .btn {
  595. display: block;
  596. margin: 5px 0;
  597. }
  598. }