timeline.scss 2.8 KB

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