signinreport.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. .timeline-signinreport {
  2. position: relative; }
  3. .timeline-signinreport::before {
  4. content: '';
  5. background: #0a9dc7;
  6. width: 3px;
  7. height: 95%;
  8. position: absolute;
  9. left: 50%; }
  10. .timeline-item {
  11. width: 100%;
  12. padding: 6px; }
  13. .timeline-item:nth-child(even) .timeline-content {
  14. float: right;
  15. padding: 20px 15px 0 15px; }
  16. .timeline-item:nth-child(even) .timeline-content .date {
  17. right: auto;
  18. left: 0; }
  19. .timeline-item:nth-child(even) .timeline-content::after {
  20. content: '';
  21. position: absolute;
  22. border-style: solid;
  23. width: 0;
  24. height: 0;
  25. top: 30px;
  26. left: -13px;
  27. border-width: 10px 15px 10px 0;
  28. border-color: transparent #f5f5f5 transparent transparent; }
  29. .timeline-item::after {
  30. content: '';
  31. display: block;
  32. clear: both; }
  33. .timeline-content {
  34. position: relative;
  35. width: 40%;
  36. padding: 10px 10px;
  37. border-radius: 4px;
  38. background: #f5f5f5;
  39. box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3); }
  40. .timeline-content::after {
  41. content: '';
  42. position: absolute;
  43. border-style: solid;
  44. width: 0;
  45. height: 0;
  46. top: 30px;
  47. right: -15px;
  48. border-width: 10px 0 10px 15px;
  49. border-color: transparent transparent transparent #f5f5f5; }
  50. .timeline-img {
  51. width: 20px;
  52. height: 20px;
  53. background: #11c1f3;
  54. border-radius: 50%;
  55. position: absolute;
  56. left: 50%;
  57. margin-top: 25px;
  58. margin-left: -9px; }
  59. .timeline-signinreport a {
  60. background: #3F51B5;
  61. color: #FFFFFF;
  62. padding: 8px 20px;
  63. text-transform: uppercase;
  64. font-size: 14px;
  65. margin-bottom: 20px;
  66. margin-top: 10px;
  67. display: inline-block;
  68. border-radius: 2px;
  69. box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6); }
  70. .timeline-signinreport a:hover, .timeline-signinreport a:active, .timeline-signinreport a:focus {
  71. background: #32408f;
  72. color: #FFFFFF;
  73. text-decoration: none; }
  74. .timeline-img-header {
  75. height: 100px;
  76. position: relative; }
  77. .timeline-img-header h4 {
  78. color: #FFFFFF;
  79. position: absolute;
  80. padding-top: 2px;
  81. left: 20px; }
  82. .date {
  83. background: #FF4081;
  84. display: inline-block;
  85. color: #FFFFFF;
  86. padding: 5px;
  87. position: absolute;
  88. top: 0;
  89. right: 0; }
  90. @media screen and (max-width: 160px) {
  91. .timeline-signinreport::before {
  92. left: 50px; }
  93. .timeline-signinreport .timeline-img {
  94. left: 50px; }
  95. .timeline-signinreport .timeline-content {
  96. max-width: 100%;
  97. width: auto;
  98. margin-left: 50px; }
  99. .timeline-signinreport .timeline-item:nth-child(even) .timeline-content {
  100. float: none; }
  101. .timeline-signinreport .timeline-item:nth-child(odd) .timeline-content::after {
  102. content: '';
  103. position: absolute;
  104. border-style: solid;
  105. width: 0;
  106. height: 0;
  107. top: 30px;
  108. left: -15px;
  109. border-width: 10px 15px 10px 0;
  110. border-color: transparent #f5f5f5 transparent transparent; } }