timeline.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. @import '_variables';
  2. .timeline-container {
  3. @include panel(100%, 600px);
  4. }
  5. .timeline {
  6. background-color: var(--bg_panel);
  7. > div:not(:first-child) {
  8. border-top: 1px solid var(--border_grey);
  9. }
  10. }
  11. .timeline-header {
  12. background-color: var(--bg_panel);
  13. text-align: center;
  14. padding: 8px;
  15. display: block;
  16. font-weight: bold;
  17. margin-bottom: 5px;
  18. button {
  19. float: unset;
  20. }
  21. }
  22. .tab {
  23. align-items: center;
  24. display: flex;
  25. flex-wrap: wrap;
  26. list-style: none;
  27. margin: 0 0 5px 0;
  28. background-color: var(--bg_panel);
  29. padding: 0;
  30. }
  31. .tab-item {
  32. flex: 1 1 0;
  33. text-align: center;
  34. margin-top: 0;
  35. a {
  36. border-bottom: .1rem solid transparent;
  37. color: var(--tab);
  38. display: block;
  39. padding: 8px 0;
  40. text-decoration: none;
  41. font-weight: bold;
  42. &:hover {
  43. text-decoration: none;
  44. }
  45. &.active {
  46. border-bottom-color: var(--tab_selected);
  47. color: var(--tab_selected);
  48. }
  49. }
  50. &.active a {
  51. border-bottom-color: var(--tab_selected);
  52. color: var(--tab_selected);
  53. }
  54. &.wide {
  55. flex-grow: 1.2;
  56. }
  57. }
  58. .timeline-footer {
  59. background-color: var(--bg_panel);
  60. padding: 6px 0;
  61. }
  62. .timeline-protected {
  63. text-align: center;
  64. p {
  65. margin: 8px 0;
  66. }
  67. h2 {
  68. color: var(--accent);
  69. font-size: 20px;
  70. font-weight: 600;
  71. }
  72. }
  73. .timeline-none {
  74. color: var(--accent);
  75. font-size: 20px;
  76. font-weight: 600;
  77. text-align: center;
  78. }
  79. .timeline-end {
  80. background-color: var(--bg_panel);
  81. color: var(--accent);
  82. font-size: 16px;
  83. font-weight: 600;
  84. text-align: center;
  85. }
  86. .show-more {
  87. background-color: var(--bg_panel);
  88. text-align: center;
  89. padding: .75em 0;
  90. display: block !important;
  91. a {
  92. background-color: var(--darkest_grey);
  93. display: inline-block;
  94. height: 2em;
  95. padding: 0 2em;
  96. line-height: 2em;
  97. &:hover {
  98. background-color: var(--darker_grey);
  99. }
  100. }
  101. }
  102. .top-ref {
  103. background-color: var(--bg_color);
  104. border-top: none !important;
  105. .icon-down {
  106. font-size: 20px;
  107. display: flex;
  108. justify-content: center;
  109. text-decoration: none;
  110. &:hover {
  111. color: var(--accent_light);
  112. }
  113. &::before {
  114. transform: rotate(180deg) translateY(-1px);
  115. }
  116. }
  117. }
  118. .timeline-item {
  119. overflow-wrap: break-word;
  120. border-left-width: 0;
  121. min-width: 0;
  122. padding: .75em;
  123. display: flex;
  124. position: relative;
  125. }