timeline.component.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. :host {
  2. background: #eff1fd;
  3. display: flex;
  4. padding: 32px 19px 0px 32px;
  5. ul {
  6. // border: 1px solid #000;
  7. display: flex;
  8. list-style: none;
  9. margin: 0px;
  10. padding: 0px;
  11. }
  12. * {
  13. box-sizing: border-box;
  14. }
  15. }
  16. .timeline {
  17. font-family: 'Roboto', sans-serif !important;
  18. flex-direction: column;
  19. border-left: #d6d9e0 2px solid;
  20. user-select: none;
  21. .event {
  22. color: #000000a8;
  23. margin: 34px 29px 0px;
  24. position: relative;
  25. width: 100%;
  26. display: flex;
  27. flex-direction: column;
  28. background: #f8f8f8;
  29. border-radius: 5px;
  30. box-shadow: 0 0 5px #0000004d;
  31. width: 100%;
  32. font-size: 14px;
  33. &:last-child {
  34. margin-bottom: 34px;
  35. }
  36. .event-decorators {
  37. position: absolute;
  38. border: 1px solid blue;
  39. }
  40. .event-header {
  41. background: #fff;
  42. flex-direction: row;
  43. height: 44px;
  44. width: 100%;
  45. align-items: center;
  46. justify-content: space-between;
  47. padding: 0px 24px;
  48. box-sizing: border-box;
  49. border-top-left-radius: 5px;
  50. border-top-right-radius: 5px;
  51. li {
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. i {
  56. margin-right: 5px;
  57. transform: translateY(2px);
  58. color: #00000073;
  59. }
  60. }
  61. }
  62. .event-itens {
  63. display: flex;
  64. flex-direction: column;
  65. width: 100%;
  66. padding: 4px 22px 8px;
  67. li {
  68. height: 32px;
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-between;
  72. box-sizing: border-box;
  73. &:first-child {
  74. color: #5c5c5c;
  75. font-weight: 600;
  76. }
  77. &:not(:last-child) {
  78. border-bottom: 1px solid #0000001a;
  79. }
  80. }
  81. }
  82. .event-item {}
  83. .event-circle {
  84. position: absolute;
  85. height: 25px;
  86. color: #55a469;
  87. width: 25px;
  88. border: 2px solid #d6d9e0;
  89. border-radius: 50%;
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. background: #f8f8f8;
  94. box-sizing: border-box;
  95. font-size: 28px;
  96. top: 10px;
  97. left: -44px;
  98. }
  99. &::before {
  100. box-sizing: border-box;
  101. width: 0;
  102. height: 0;
  103. margin-top: 10px;
  104. content: '';
  105. transform: rotate(45deg);
  106. transform-origin: 12px 18px;
  107. border: 8px solid transparent;
  108. // border-bottom-color: #f8f8f8;
  109. // border-left-color: #f8f8f8;
  110. border-bottom-color: #fff;
  111. border-left-color: #fff;
  112. box-shadow: -2px 3px 4px -3px rgba(0, 0, 0, 0.4);
  113. top: 2px;
  114. left: -14px;
  115. position: absolute;
  116. border-radius: 1px;
  117. }
  118. // content: "";
  119. // position: absolute;
  120. // transform: rotate(45deg);
  121. // height: 13px;
  122. // width: 13px;
  123. // display: flex;
  124. // left: -6px;
  125. // background: #f8f8f8;
  126. // box-shadow: -2px 2px 5px 0px #cdced9;
  127. // z-index: 0;
  128. // top: 15px;
  129. }
  130. }