Refactor css
Apply different styles to reply, retweet and favorite buttons
This commit is contained in:
parent
11125abeeb
commit
53fed694df
5 changed files with 40 additions and 20 deletions
|
@ -7,8 +7,15 @@
|
|||
|
||||
<script src="./favorite_button.js" ></script>
|
||||
|
||||
<style>
|
||||
.favorite-button {
|
||||
cursor: pointer
|
||||
}
|
||||
<style lang='scss'>
|
||||
@import '../../_variables.scss';
|
||||
.favorite-button {
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
color: $main-color;
|
||||
}
|
||||
}
|
||||
.icon-star {
|
||||
color: $main-color;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -7,12 +7,16 @@
|
|||
|
||||
<script src="./retweet_button.js" ></script>
|
||||
|
||||
<style>
|
||||
.icon-retweet {
|
||||
cursor: pointer
|
||||
}
|
||||
.retweeted {
|
||||
<style lang='scss'>
|
||||
@import '../../_variables.scss';
|
||||
.icon-retweet {
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
color: $green;
|
||||
}
|
||||
}
|
||||
.retweeted {
|
||||
cursor: auto;
|
||||
color: green;
|
||||
}
|
||||
color: $green;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -51,7 +51,8 @@
|
|||
<script src="./status.js" ></script>
|
||||
|
||||
<style lang="scss">
|
||||
.status-el {
|
||||
@import '../../_variables.scss';
|
||||
.status-el {
|
||||
hyphens: auto;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
|
@ -66,9 +67,13 @@
|
|||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.status-actions {
|
||||
.status-actions {
|
||||
padding-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-reply:hover {
|
||||
color: $blue;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue