timeline.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @import '_variables';
  2. .timeline-container {
  3. @include panel(100%, 600px);
  4. }
  5. .timeline {
  6. background-color: $bg_panel;
  7. > div:not(:last-child) {
  8. border-bottom: 1px solid $border_grey;
  9. }
  10. }
  11. .timeline-header {
  12. background-color: $bg_panel;
  13. text-align: center;
  14. padding: 10px;
  15. display: block;
  16. font-weight: bold;
  17. margin-bottom: 5px;
  18. }
  19. .tab {
  20. align-items: center;
  21. display: flex;
  22. flex-wrap: wrap;
  23. list-style: none;
  24. margin: 0 0 5px 0;
  25. background-color: $bg_panel;
  26. padding: 0;
  27. }
  28. .tab-item {
  29. flex: 1 1 0;
  30. text-align: center;
  31. margin-top: 0;
  32. a {
  33. border-bottom: .1rem solid transparent;
  34. color: inherit;
  35. display: block;
  36. padding: 8px 0;
  37. text-decoration: none;
  38. font-weight: bold;
  39. &:hover {
  40. text-decoration: none;
  41. }
  42. &.active {
  43. border-bottom-color: $accent;
  44. color: $accent;
  45. }
  46. }
  47. &.active a {
  48. border-bottom-color: $accent;
  49. color: $accent;
  50. }
  51. }
  52. .timeline-footer {
  53. background-color: $bg_panel;
  54. padding: 6px 0;
  55. }
  56. .timeline-header {
  57. background-color: $bg_panel;
  58. padding: 6px 0;
  59. }
  60. .timeline-protected {
  61. text-align: center;
  62. p {
  63. margin: 8px 0;
  64. }
  65. h2 {
  66. color: $accent;
  67. font-size: 20px;
  68. font-weight: 600;
  69. }
  70. }
  71. .timeline-none {
  72. color: $accent;
  73. font-size: 20px;
  74. font-weight: 600;
  75. text-align: center;
  76. }
  77. .timeline-end {
  78. background-color: $bg_panel;
  79. color: $accent;
  80. font-size: 16px;
  81. font-weight: 600;
  82. text-align: center;
  83. }
  84. .show-more {
  85. background-color: $bg_panel;
  86. text-align: center;
  87. padding: .75em 0;
  88. display: block !important;
  89. a {
  90. background-color: $darkest_grey;
  91. display: inline-block;
  92. height: 2em;
  93. padding: 0 2em;
  94. line-height: 2em;
  95. &:hover {
  96. background-color: $darker_grey;
  97. }
  98. }
  99. }
  100. .timeline-item {
  101. overflow-wrap: break-word;
  102. border-left-width: 0;
  103. min-width: 0;
  104. padding: .75em;
  105. display: flex;
  106. }