mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 15:19:32 +00:00
Use sass instead of pure css
This commit is contained in:
parent
08239a3fae
commit
de828bdd79
21 changed files with 1452 additions and 6 deletions
39
src/sass/tweet/poll.scss
Normal file
39
src/sass/tweet/poll.scss
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
@import '_variables';
|
||||
|
||||
.poll-meter {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin: 6px 0;
|
||||
height: 26px;
|
||||
background: $bg_color;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.poll-choice-bar {
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
background: $dark_grey;
|
||||
}
|
||||
|
||||
.poll-choice-value {
|
||||
position: relative;
|
||||
font-weight: bold;
|
||||
margin-left: 5px;
|
||||
margin-right: 6px;
|
||||
min-width: 30px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.poll-choice-option {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.poll-info {
|
||||
color: $grey;
|
||||
}
|
||||
|
||||
.leader .poll-choice-bar {
|
||||
background: $accent_dark;
|
||||
}
|
||||
Loading…
Reference in a new issue