|
53 | 53 | color: inherit; |
54 | 54 | text-decoration: none; |
55 | 55 | transition: transform 0.2s ease-in-out; |
| 56 | + padding: 0.5rem; |
| 57 | + @include border-radius(4px); |
| 58 | + background: $global-background-card-color; |
| 59 | + @include box-shadow(0 2px 4px -1px rgba(0, 0, 0, 0.2)); |
| 60 | + [theme=dark] & { |
| 61 | + background: $global-background-card-color-dark; |
| 62 | + } |
56 | 63 | &:hover { |
57 | 64 | transform: scale(1.02); |
58 | 65 | .item-title { |
|
96 | 103 | .item-with-image { |
97 | 104 | display: flex; |
98 | 105 | align-items: center; |
99 | | - margin-left: 1.5rem; |
| 106 | + margin-left: 0; |
100 | 107 | } |
101 | 108 |
|
102 | 109 | .item-image { |
|
106 | 113 | height: 68px; |
107 | 114 | overflow: hidden; |
108 | 115 | @include border-radius(4px); |
109 | | - background: $global-background-card-color; |
110 | | - @include box-shadow(0 2px 10px rgba(0, 0, 0, 0.1)); |
111 | | - [theme=dark] & { |
112 | | - background: $global-background-card-color-dark; |
113 | | - @include box-shadow(0 2px 10px rgba(0, 0, 0, 0.4)); |
114 | | - } |
| 116 | + |
115 | 117 | img { |
116 | 118 | width: 100%; |
117 | 119 | height: 100%; |
|
128 | 130 | width: 68px; |
129 | 131 | height: 68px; |
130 | 132 | @include border-radius(4px); |
131 | | - background: $global-background-card-color; |
| 133 | + background-color: $global-background-color; |
132 | 134 | font-size: 2rem; |
133 | 135 | color: #495057; |
134 | | - @include box-shadow(0 2px 10px rgba(0, 0, 0, 0.1)); |
135 | 136 | [theme=dark] & { |
136 | | - background: $global-background-card-color-dark; |
| 137 | + background-color: $global-background-color-dark; |
137 | 138 | color: #adb5bd; |
138 | | - @include box-shadow(0 2px 10px rgba(0, 0, 0, 0.4)); |
139 | 139 | } |
140 | 140 | } |
141 | 141 |
|
|
149 | 149 | .timeline { |
150 | 150 | position: relative; |
151 | 151 | overflow: hidden; |
| 152 | + padding-left: 2rem; |
152 | 153 | &::before { |
153 | 154 | content: ''; |
154 | 155 | display: inline-block; |
155 | 156 | position: absolute; |
156 | 157 | top: 0; |
157 | | - left: 5px; |
| 158 | + left: 4.5px; |
158 | 159 | background: $global-font-secondary-color; |
159 | | - width: 2px; |
| 160 | + width: 3px; |
160 | 161 | height: 100%; |
161 | 162 | z-index: 1; |
162 | 163 | [theme=dark] & { |
|
176 | 177 | transform: translateY(-50%); |
177 | 178 | border: 2px solid $global-background-color; |
178 | 179 | @include border-radius(50%); |
179 | | - left: 1px; |
180 | | - width: 10px; |
181 | | - height: 10px; |
| 180 | + left: 0; |
| 181 | + width: 12px; |
| 182 | + height: 12px; |
182 | 183 | z-index: 2; |
183 | 184 | transition: transform 0.2s ease-in-out; |
184 | 185 | [theme=dark] & { |
|
191 | 192 | transform: scale(1.02); |
192 | 193 | } |
193 | 194 | &::before { |
194 | | - transform: translateY(-50%) scale(1.5); |
| 195 | + transform: translateY(-50%) scale(1.25); |
195 | 196 | } |
196 | 197 | } |
197 | 198 | } |
|
0 commit comments