nitter/src/sass/timeline.scss

127 lines
2.0 KiB
SCSS
Raw Normal View History

2019-09-13 08:44:21 +00:00
@import '_variables';
2019-09-13 17:57:27 +00:00
.timeline-container {
@include panel(100%, 600px);
2019-09-13 08:44:21 +00:00
}
2019-09-13 17:57:27 +00:00
.timeline {
background-color: $bg_panel;
2019-09-13 08:44:21 +00:00
2019-09-13 17:57:27 +00:00
> div:not(:last-child) {
border-bottom: 1px solid $border_grey;
2019-09-13 08:44:21 +00:00
}
}
2019-09-13 17:57:27 +00:00
.timeline-header {
2019-09-13 08:44:21 +00:00
background-color: $bg_panel;
text-align: center;
padding: 8px;
2019-09-13 08:44:21 +00:00
display: block;
font-weight: bold;
margin-bottom: 5px;
2019-09-13 20:24:58 +00:00
button {
float: unset;
}
2019-09-13 08:44:21 +00:00
}
.tab {
align-items: center;
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0 0 5px 0;
background-color: $bg_panel;
padding: 0;
}
.tab-item {
flex: 1 1 0;
text-align: center;
margin-top: 0;
a {
border-bottom: .1rem solid transparent;
color: inherit;
display: block;
padding: 8px 0;
text-decoration: none;
font-weight: bold;
&:hover {
text-decoration: none;
}
&.active {
border-bottom-color: $accent;
color: $accent;
}
}
&.active a {
border-bottom-color: $accent;
color: $accent;
}
}
.timeline-footer {
background-color: $bg_panel;
padding: 6px 0;
}
.timeline-protected {
text-align: center;
p {
margin: 8px 0;
}
h2 {
color: $accent;
font-size: 20px;
font-weight: 600;
}
}
.timeline-none {
color: $accent;
font-size: 20px;
font-weight: 600;
text-align: center;
}
.timeline-end {
background-color: $bg_panel;
color: $accent;
font-size: 16px;
font-weight: 600;
text-align: center;
}
.show-more {
background-color: $bg_panel;
text-align: center;
padding: .75em 0;
2019-09-13 17:57:27 +00:00
display: block !important;
2019-09-13 08:44:21 +00:00
a {
background-color: $darkest_grey;
display: inline-block;
height: 2em;
padding: 0 2em;
line-height: 2em;
&:hover {
background-color: $darker_grey;
}
}
}
2019-09-13 17:57:27 +00:00
.timeline-item {
overflow-wrap: break-word;
border-left-width: 0;
min-width: 0;
padding: .75em;
display: flex;
}