base.css 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. height: 100%;
  7. }
  8. /* LIENS */
  9. a {
  10. color: #0062BE;
  11. text-decoration: none;
  12. }
  13. a:hover {
  14. text-decoration: underline;
  15. }
  16. a.add, a.update, a.delete, a.back {
  17. height: 30px;
  18. padding: 0 20px;
  19. line-height: 30px;
  20. }
  21. a.add {
  22. background: url("img/add.png") no-repeat left 3px;
  23. }
  24. a.update {
  25. background: url("img/update.png") no-repeat left 3px;
  26. }
  27. a.delete {
  28. background: url("img/delete.png") no-repeat left 3px;
  29. }
  30. a.back {
  31. background: url("img/back.png") no-repeat left 5px;
  32. }
  33. /* LISTES */
  34. ul, ol {
  35. margin: 10px 0 10px 30px;
  36. line-height: 190%;
  37. }
  38. /* TITRES */
  39. h1, h2, h3 {
  40. min-height: 40px;
  41. padding: 10px 0 0;
  42. line-height: 40px;
  43. }
  44. /* IMG */
  45. img {
  46. max-width: 100%;
  47. vertical-align: middle;
  48. }
  49. /* FORMULAIRES */
  50. form {
  51. width: 450px;
  52. max-width: 100%;
  53. margin: 20px auto;
  54. padding: 20px;
  55. background: #f0f0f0;
  56. border: 1px solid #ddd;
  57. border-radius: 3px;
  58. box-shadow: 0 1px 3px #aaa;
  59. }
  60. label {
  61. display: block;
  62. margin: 20px 0 0;
  63. padding: 0 20px 0 0;
  64. font-weight: bold;
  65. }
  66. input:focus, textarea:focus {
  67. color: #3366cc !important;
  68. border: 1px solid #3366cc !important;
  69. }
  70. input[type="text"], input[type="url"], input[type="number"], textarea {
  71. display: block;
  72. width: 430px;
  73. max-width: 95%;
  74. margin: 5px 0 5px;
  75. padding: 5px 10px;
  76. background: #fff;
  77. border: 1px solid #ccc;
  78. border-radius: 5px;
  79. font-size: 90%;
  80. }
  81. textarea {
  82. min-height: 100px;
  83. font-size: 110%;
  84. line-height: 150%;
  85. font-family: Monospace;
  86. }
  87. input[type="submit"] {
  88. width: 100%;
  89. margin: 5px 0 5px;
  90. padding: 5px 0;
  91. }
  92. select {
  93. width: 100%;
  94. padding: 5px;
  95. }
  96. .radio_group {
  97. line-height: 35px;
  98. }
  99. .radio_group label {
  100. display: inline-block;
  101. margin: 0;
  102. padding: 0 0 0 5px;
  103. font-weight: normal;
  104. }
  105. /* STRUCTURE */
  106. #global {
  107. display: table;
  108. width: 100%;
  109. height: 100%;
  110. }
  111. .aside {
  112. display: table-cell;
  113. height: 100%;
  114. width: 250px;
  115. vertical-align: top;
  116. border-right: 1px solid #aaa;
  117. background: #fff;
  118. }
  119. .aside ul {
  120. margin: 0;
  121. list-style: none;
  122. }
  123. .aside li {
  124. width: 100%;
  125. height: 50px;
  126. overflow: hidden;
  127. line-height: 50px;
  128. }
  129. .aside li a, .aside li span {
  130. display: block;
  131. width: 230px;
  132. padding: 0 10px;
  133. }
  134. .aside li a:hover, .aside li span:hover {
  135. text-decoration: none;
  136. background: #fafafa;
  137. }
  138. .aside li.disable span {
  139. background: #fff;
  140. }
  141. .aside li.active a {
  142. background: #0062BE;
  143. color: #fff;
  144. }
  145. .aside li h2 {
  146. height: 50px;
  147. padding: 0;
  148. text-align: center;
  149. background: #eee;
  150. line-height: 50px;
  151. }
  152. .aside form {
  153. display: table;
  154. width: 250px;
  155. margin: 0;
  156. padding: 0;
  157. background: #f0f0f0;
  158. border: none;
  159. border-bottom: 1px solid #aaa;
  160. border-radius: 0;
  161. box-shadow: none;
  162. }
  163. .aside form input {
  164. display: table-cell;
  165. height: 48px;
  166. line-height: 48px;
  167. }
  168. .aside form input[type="url"] {
  169. width: 200px;
  170. margin: 0;
  171. padding: 0;
  172. border: none !important;
  173. border-radius: 0;
  174. }
  175. .aside form input[type="submit"] {
  176. width: 50px;
  177. margin: 0;
  178. padding: 0;
  179. border: none;
  180. border-radius: 0;
  181. }
  182. .aside #flux_menu {
  183. display: none;
  184. position: absolute;
  185. top: 48px; left: 250px;
  186. border-top: 2px solid #0062BE;
  187. border-bottom: 2px solid #0062BE;
  188. }
  189. .aside li:hover #flux_menu {
  190. display: block;
  191. }
  192. .aside #flux_menu a {
  193. background: #fff;
  194. color: #0062BE;
  195. }
  196. .aside #flux_menu a:hover {
  197. background: #fafafa;
  198. }
  199. #main {
  200. display: table-cell;
  201. height: 100%;
  202. max-width: 800px;
  203. line-height: 180%;
  204. background: #fafafa;
  205. }
  206. #top {
  207. width: 100%;
  208. background: #eee;
  209. border-bottom: 1px solid #aaa;
  210. box-shadow: 0 1px 3px #aaa;
  211. text-align: center;
  212. }
  213. #top a {
  214. display: inline-block;
  215. height: 50px;
  216. width: 50%;
  217. line-height: 50px;
  218. font-weight: bold;
  219. }
  220. #top a:hover {
  221. background: #fafafa;
  222. text-decoration: none;
  223. }
  224. #stream {
  225. padding: 20px 0;
  226. }
  227. #main .table {
  228. display: table;
  229. width: 100%;
  230. height: 100%;
  231. }
  232. #main .nothing {
  233. display: table-cell;
  234. width: 100%;
  235. height: 100%;
  236. vertical-align: middle;
  237. text-align: center;
  238. }
  239. .post {
  240. width: 80%;
  241. margin: 0 auto;
  242. }
  243. .post.flux {
  244. margin: 40px auto;
  245. font-family: Palatino, "Times New Roman", serif;
  246. line-height: 170%;
  247. border-left: 5px solid #aaa;
  248. background: #eee;
  249. border-radius: 5px;
  250. box-shadow: 0 1px 3px #aaa;
  251. -moz-transition: border-color .10s ease-out;
  252. -webkit-transition: border-color .10s ease-out;
  253. transition: border-color .10s ease-out;
  254. }
  255. .post.flux .before {
  256. padding: 20px;
  257. color: #666;
  258. font-size: 80%;
  259. text-align: center;
  260. }
  261. .post.flux .after {
  262. margin: 50px 0 0;
  263. font-size: 80%;
  264. text-align: center;
  265. border-top: 1px solid #aaa;
  266. }
  267. .post.flux .after a {
  268. display: inline-block;
  269. height: 50px;
  270. line-height: 50px;
  271. width: 50%;
  272. }
  273. .post.flux .after a:hover {
  274. background: #fff;
  275. text-decoration: none;
  276. border-radius: 0 0 5px 5px;
  277. box-shadow: 0 1px 3px #aaa;
  278. }
  279. .post.flux > h1 {
  280. padding: 10px 20px;
  281. }
  282. .post.flux .content {
  283. padding: 10px 20px;
  284. }
  285. .post.flux .content img {
  286. border-radius: 5px;
  287. }
  288. .post.flux .content pre {
  289. width: 90%;
  290. margin: 10px auto;
  291. padding: 10px;
  292. overflow: auto;
  293. background: #666;
  294. border: 1px solid #000;
  295. color: #fafafa;
  296. border-radius: 5px;
  297. }
  298. .post.flux .content q {
  299. display: block;
  300. width: 90%;
  301. margin: 10px auto;
  302. padding: 10px;
  303. font-style: italic;
  304. border-left: 15px solid #ccc;
  305. color: #669;
  306. border-radius: 5px 0 0 5px;
  307. }
  308. .post.flux.not_read {
  309. border-left: 5px solid #FF5300;
  310. background: #FFF3ED;
  311. }
  312. .post.flux.favorite {
  313. border-left: 5px solid #FFC300;
  314. background: #FFF6DA;
  315. }
  316. .post.flux.active {
  317. border-left: 5px solid #0062BE;
  318. }
  319. /*** PAGINATION ***/
  320. .pagination {
  321. margin: 20px 0;
  322. list-style: none;
  323. text-align: center;
  324. font-size: 100%;
  325. }
  326. .pagination li {
  327. display: inline-block;
  328. width: 30px;
  329. height: 30px;
  330. }
  331. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  332. width: 100px;
  333. }
  334. .pagination li.pager-current {
  335. font-weight: bold;
  336. }
  337. .pagination li a {
  338. display: block;
  339. color: #F09600;
  340. }