Dashboard sipadu mbip
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

style.css 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. /* --------------------------------
  2. Modules - reusable parts of our design
  3. -------------------------------- */
  4. .cd-container {
  5. /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  6. width: 90%;
  7. max-width: 1170px;
  8. margin: 0 auto;
  9. }
  10. .cd-container::after {
  11. /* clearfix */
  12. content: '';
  13. display: table;
  14. clear: both;
  15. }
  16. .main-timeline:before,.main-timeline:after{
  17. content: "";
  18. position: absolute;
  19. height: 9px;
  20. width: 9px;
  21. background-color: #cccccc;
  22. left: 50%;
  23. margin-left: -5px;
  24. border-radius: 100%;
  25. margin-top: 36px;
  26. }
  27. .main-timeline:after{
  28. margin-top: -50px;
  29. }
  30. .main-timeline{
  31. background-color: #eeeded;
  32. padding: 50px;
  33. }
  34. .cd-timeline-content h6{
  35. font-size: 16px;
  36. font-weight: 400;
  37. color: #666666;
  38. margin-bottom: 1em;
  39. }
  40. .timeline-details span{
  41. color: #666;
  42. }
  43. .timeline-details a{
  44. margin-right: 10px;
  45. }
  46. .timeline-details i{
  47. color: #666;
  48. padding-right: 10px;
  49. }
  50. /* --------------------------------
  51. Main components
  52. -------------------------------- */
  53. header {
  54. height: 200px;
  55. text-align: center;
  56. background: #303e49;
  57. }
  58. header h1 {
  59. color: white;
  60. font-size: 18px;
  61. font-size: 1.125rem;
  62. }
  63. @media only screen and (min-width: 1170px) {
  64. header {
  65. height: 300px;
  66. }
  67. header h1 {
  68. font-size: 24px;
  69. font-size: 1.5rem;
  70. }
  71. }
  72. .cd-timeline {
  73. position: relative;
  74. padding: 2em 0;
  75. margin-top: 2em;
  76. margin-bottom: 2em;
  77. }
  78. .cd-timeline::before {
  79. /* this is the vertical line */
  80. content: '';
  81. position: absolute;
  82. top: 0;
  83. left: 18px;
  84. height: 100%;
  85. width: 3px;
  86. background: #cccccc;
  87. }
  88. @media only screen and (min-width: 1170px) {
  89. .cd-timeline {
  90. margin-top: 3em;
  91. margin-bottom: 3em;
  92. }
  93. .cd-timeline::before {
  94. left: 50%;
  95. margin-left: -2px;
  96. }
  97. }
  98. .cd-timeline-block {
  99. position: relative;
  100. margin: 2em 0;
  101. }
  102. .cd-timeline-block:after {
  103. content: "";
  104. display: table;
  105. clear: both;
  106. }
  107. .cd-timeline-block:first-child {
  108. margin-top: 0;
  109. }
  110. .cd-timeline-block:last-child {
  111. margin-bottom: 0;
  112. }
  113. @media only screen and (min-width: 1170px) {
  114. .cd-timeline-block {
  115. margin: 4em 0;
  116. }
  117. .cd-timeline-block:first-child {
  118. margin-top: 0;
  119. }
  120. .cd-timeline-block:last-child {
  121. margin-bottom: 0;
  122. }
  123. }
  124. .cd-timeline-icon {
  125. z-index: 1;
  126. text-align: center;
  127. position: absolute;
  128. top: 0;
  129. left: 0;
  130. width: 40px;
  131. height: 40px;
  132. border-radius: 50%;
  133. padding-top: 2px;
  134. box-shadow: 0 0 0 2px white, inset 0 -3px 0 rgba(0, 0, 0, 0.08), 0 1px 0 4px rgba(0, 0, 0, 0.05);
  135. }
  136. @media only screen and ( max-width:768px ){
  137. .cd-timeline-icon {
  138. padding-top: 0;
  139. }
  140. }
  141. .cd-timeline-icon i {
  142. color: #fff;
  143. font-size: 20px;
  144. line-height: 2;
  145. }
  146. @media only screen and (min-width: 1170px) {
  147. .cd-timeline-icon {
  148. z-index: 999;
  149. width: 45px;
  150. height: 45px;
  151. left: 50%;
  152. margin-left: -24px;
  153. /* Force Hardware Acceleration in WebKit */
  154. -webkit-transform: translateZ(0);
  155. -webkit-backface-visibility: hidden;
  156. }
  157. .cssanimations .cd-timeline-icon.bounce-in {
  158. visibility: visible;
  159. -webkit-animation: cd-bounce-1 0.6s;
  160. -moz-animation: cd-bounce-1 0.6s;
  161. animation: cd-bounce-1 0.6s;
  162. }
  163. }
  164. @-webkit-keyframes cd-bounce-1 {
  165. 0% {
  166. opacity: 0;
  167. -webkit-transform: scale(0.5);
  168. }
  169. 60% {
  170. opacity: 1;
  171. -webkit-transform: scale(1.2);
  172. }
  173. 100% {
  174. -webkit-transform: scale(1);
  175. }
  176. }
  177. @-moz-keyframes cd-bounce-1 {
  178. 0% {
  179. opacity: 0;
  180. -moz-transform: scale(0.5);
  181. }
  182. 60% {
  183. opacity: 1;
  184. -moz-transform: scale(1.2);
  185. }
  186. 100% {
  187. -moz-transform: scale(1);
  188. }
  189. }
  190. @keyframes cd-bounce-1 {
  191. 0% {
  192. opacity: 0;
  193. -webkit-transform: scale(0.5);
  194. -moz-transform: scale(0.5);
  195. -ms-transform: scale(0.5);
  196. -o-transform: scale(0.5);
  197. transform: scale(0.5);
  198. }
  199. 60% {
  200. opacity: 1;
  201. -webkit-transform: scale(1.2);
  202. -moz-transform: scale(1.2);
  203. -ms-transform: scale(1.2);
  204. -o-transform: scale(1.2);
  205. transform: scale(1.2);
  206. }
  207. 100% {
  208. -webkit-transform: scale(1);
  209. -moz-transform: scale(1);
  210. -ms-transform: scale(1);
  211. -o-transform: scale(1);
  212. transform: scale(1);
  213. }
  214. }
  215. .cd-timeline-content {
  216. position: relative;
  217. margin-left: 60px;
  218. background: white;
  219. border-radius: 0.25em;
  220. }
  221. .cd-timeline-content:after {
  222. content: "";
  223. display: table;
  224. clear: both;
  225. }
  226. .cd-timeline-content h2 {
  227. color: #303e49;
  228. }
  229. .cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  230. font-size: 13px;
  231. }
  232. .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  233. display: inline-block;
  234. }
  235. .cd-timeline-content .cd-read-more {
  236. float: right;
  237. padding: .8em 1em;
  238. background: #acb7c0;
  239. color: white;
  240. border-radius: 0.25em;
  241. }
  242. .no-touch .cd-timeline-content .cd-read-more:hover {
  243. background-color: #bac4cb;
  244. }
  245. .cd-timeline-content .cd-date {
  246. padding: .8em 0;
  247. }
  248. .cd-timeline-content::before {
  249. content: '';
  250. position: absolute;
  251. right: 100%;
  252. height: 3px;
  253. background: #cccccc;
  254. width: 30px
  255. }
  256. @media only screen and (min-width: 768px) {
  257. .cd-timeline-content h2 {
  258. font-size: 20px;
  259. }
  260. .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  261. font-size: 14px;
  262. }
  263. }
  264. @media only screen and (min-width: 1170px) {
  265. .cd-timeline-content {
  266. margin-left: 0;
  267. width: 44%;
  268. }
  269. .cd-timeline-content::before {
  270. top: 23px;
  271. left: 101%;
  272. }
  273. .cd-timeline-content .cd-read-more {
  274. float: left;
  275. }
  276. .cd-timeline-content .cd-date {
  277. position: absolute;
  278. width: 100%;
  279. left: 124%;
  280. top: -6px;
  281. font-size: 14px;
  282. color: #222222;
  283. }
  284. .cd-timeline-content .cd-details{
  285. position: absolute;
  286. width: 100%;
  287. left: 124%;
  288. top: 28px;
  289. font-size: 13px;
  290. color: #969494;
  291. font-weight: 400;
  292. }
  293. .cd-timeline-block:nth-child(odd) .cd-timeline-content {
  294. float: right;
  295. }
  296. .cd-timeline-block:nth-child(odd) .cd-timeline-content::before {
  297. top: 24px;
  298. left: -36px;
  299. right: 100%;
  300. border-color: transparent;
  301. border-right-color: white;
  302. }
  303. .cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-read-more {
  304. float: right;
  305. }
  306. .cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-date {
  307. left: auto;
  308. right: 130%;
  309. text-align: right;
  310. }
  311. .cd-timeline-block:nth-child(odd) .cd-timeline-content .cd-details {
  312. left: auto;
  313. right: 130%;
  314. text-align: right;
  315. }
  316. .cssanimations .cd-timeline-content.bounce-in {
  317. visibility: visible;
  318. -webkit-animation: cd-bounce-2 0.6s;
  319. -moz-animation: cd-bounce-2 0.6s;
  320. animation: cd-bounce-2 0.6s;
  321. }
  322. }
  323. @media only screen and (min-width: 1170px) {
  324. /* inverse bounce effect on odd content blocks */
  325. .cssanimations .cd-timeline-block:nth-child(odd) .cd-timeline-content.bounce-in {
  326. -webkit-animation: cd-bounce-2-inverse 0.6s;
  327. -moz-animation: cd-bounce-2-inverse 0.6s;
  328. animation: cd-bounce-2-inverse 0.6s;
  329. }
  330. }
  331. @-webkit-keyframes cd-bounce-2 {
  332. 0% {
  333. opacity: 0;
  334. -webkit-transform: translateX(-100px);
  335. }
  336. 60% {
  337. opacity: 1;
  338. -webkit-transform: translateX(20px);
  339. }
  340. 100% {
  341. -webkit-transform: translateX(0);
  342. }
  343. }
  344. @-moz-keyframes cd-bounce-2 {
  345. 0% {
  346. opacity: 0;
  347. -moz-transform: translateX(-100px);
  348. }
  349. 60% {
  350. opacity: 1;
  351. -moz-transform: translateX(20px);
  352. }
  353. 100% {
  354. -moz-transform: translateX(0);
  355. }
  356. }
  357. @keyframes cd-bounce-2 {
  358. 0% {
  359. opacity: 0;
  360. -webkit-transform: translateX(-100px);
  361. -moz-transform: translateX(-100px);
  362. -ms-transform: translateX(-100px);
  363. -o-transform: translateX(-100px);
  364. transform: translateX(-100px);
  365. }
  366. 60% {
  367. opacity: 1;
  368. -webkit-transform: translateX(20px);
  369. -moz-transform: translateX(20px);
  370. -ms-transform: translateX(20px);
  371. -o-transform: translateX(20px);
  372. transform: translateX(20px);
  373. }
  374. 100% {
  375. -webkit-transform: translateX(0);
  376. -moz-transform: translateX(0);
  377. -ms-transform: translateX(0);
  378. -o-transform: translateX(0);
  379. transform: translateX(0);
  380. }
  381. }
  382. @-webkit-keyframes cd-bounce-2-inverse {
  383. 0% {
  384. opacity: 0;
  385. -webkit-transform: translateX(100px);
  386. }
  387. 60% {
  388. opacity: 1;
  389. -webkit-transform: translateX(-20px);
  390. }
  391. 100% {
  392. -webkit-transform: translateX(0);
  393. }
  394. }
  395. @-moz-keyframes cd-bounce-2-inverse {
  396. 0% {
  397. opacity: 0;
  398. -moz-transform: translateX(100px);
  399. }
  400. 60% {
  401. opacity: 1;
  402. -moz-transform: translateX(-20px);
  403. }
  404. 100% {
  405. -moz-transform: translateX(0);
  406. }
  407. }
  408. @keyframes cd-bounce-2-inverse {
  409. 0% {
  410. opacity: 0;
  411. -webkit-transform: translateX(100px);
  412. -moz-transform: translateX(100px);
  413. -ms-transform: translateX(100px);
  414. -o-transform: translateX(100px);
  415. transform: translateX(100px);
  416. }
  417. 60% {
  418. opacity: 1;
  419. -webkit-transform: translateX(-20px);
  420. -moz-transform: translateX(-20px);
  421. -ms-transform: translateX(-20px);
  422. -o-transform: translateX(-20px);
  423. transform: translateX(-20px);
  424. }
  425. 100% {
  426. -webkit-transform: translateX(0);
  427. -moz-transform: translateX(0);
  428. -ms-transform: translateX(0);
  429. -o-transform: translateX(0);
  430. transform: translateX(0);
  431. }
  432. }