base.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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 {
  35. margin: 10px 0 10px 30px;
  36. line-height: 190%;
  37. }
  38. /* TITRES */
  39. h1, h2, h3 {
  40. min-height: 50px;
  41. padding: 10px 0 20px;
  42. line-height: 50px;
  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.active a {
  130. background: #0062BE !important;
  131. color: #fff;
  132. }
  133. .aside li a, .aside li span {
  134. display: block;
  135. width: 230px;
  136. padding: 0 10px;
  137. }
  138. .aside li a:hover, .aside li span:hover {
  139. text-decoration: none;
  140. background: #fafafa;
  141. }
  142. .aside li.disable span {
  143. background: #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. #main {
  183. display: table-cell;
  184. height: 100%;
  185. max-width: 800px;
  186. line-height: 180%;
  187. background: #fafafa;
  188. }
  189. #top {
  190. width: 100%;
  191. background: #eee;
  192. border-bottom: 1px solid #aaa;
  193. box-shadow: 0 1px 3px #aaa;
  194. text-align: center;
  195. }
  196. #top a {
  197. display: inline-block;
  198. height: 50px;
  199. width: 50%;
  200. line-height: 50px;
  201. font-weight: bold;
  202. }
  203. #top a:hover {
  204. background: #fafafa;
  205. text-decoration: none;
  206. }
  207. #stream {
  208. padding: 20px 0;
  209. }
  210. #main .table {
  211. display: table;
  212. width: 100%;
  213. height: 100%;
  214. }
  215. #main .nothing {
  216. display: table-cell;
  217. width: 100%;
  218. height: 100%;
  219. vertical-align: middle;
  220. text-align: center;
  221. }
  222. .post {
  223. width: 80%;
  224. margin: 0 auto;
  225. }
  226. .post.flux {
  227. margin: 40px auto;
  228. padding: 25px 20px;
  229. font-family: Palatino, "Times New Roman", serif;
  230. line-height: 170%;
  231. border-left: 5px solid #aaa;
  232. background: #eee;
  233. border-radius: 5px;
  234. box-shadow: 0 1px 3px #aaa;
  235. }
  236. .post.flux .before {
  237. color: #666;
  238. font-size: 80%;
  239. text-align: center;
  240. }
  241. .post.flux .after {
  242. margin: 50px 0 0;
  243. font-size: 80%;
  244. text-align: center;
  245. border-top: 1px solid #aaa;
  246. }
  247. .post.flux .after a {
  248. display: inline-block;
  249. height: 50px;
  250. line-height: 50px;
  251. width: 50%;
  252. }
  253. .post.flux .after a:hover {
  254. background: #fff;
  255. text-decoration: none;
  256. border-radius: 0 0 5px 5px;
  257. box-shadow: 0 1px 3px #aaa;
  258. }
  259. /* temporaire !!! */
  260. .post.flux .content {
  261. /*display: none;*/
  262. }
  263. .post.flux .content img {
  264. border-radius: 5px;
  265. }
  266. .post.flux .content pre {
  267. width: 90%;
  268. margin: 10px auto;
  269. padding: 10px;
  270. overflow: auto;
  271. background: #666;
  272. border: 1px solid #000;
  273. color: #fafafa;
  274. border-radius: 5px;
  275. }
  276. .post.flux .content q {
  277. display: block;
  278. width: 90%;
  279. margin: 10px auto;
  280. padding: 10px;
  281. font-style: italic;
  282. border-left: 15px solid #ccc;
  283. color: #669;
  284. border-radius: 5px 0 0 5px;
  285. }
  286. .post.flux.not_read {
  287. border-left: 5px solid #FF5300;
  288. background: #FFF3ED;
  289. }
  290. .post.flux.favorite {
  291. border-left: 5px solid #FFC300;
  292. background: #FFF6DA;
  293. }
  294. /*** PAGINATION ***/
  295. .pagination {
  296. margin: 20px 0;
  297. list-style: none;
  298. text-align: center;
  299. font-size: 100%;
  300. }
  301. .pagination li {
  302. display: inline-block;
  303. width: 30px;
  304. height: 30px;
  305. }
  306. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  307. width: 100px;
  308. }
  309. .pagination li.pager-current {
  310. font-weight: bold;
  311. }
  312. .pagination li a {
  313. display: block;
  314. color: #F09600;
  315. }