Skip to content

Commit

Permalink
Merge pull request #354 from s3rgiosan/feature/rate-monitor
Browse files Browse the repository at this point in the history
Display X/Twitter API rate limits
  • Loading branch information
iamdharmesh authored Dec 18, 2024
2 parents 9c98b46 + cd51aa2 commit 555ef0c
Show file tree
Hide file tree
Showing 3 changed files with 543 additions and 26 deletions.
84 changes: 84 additions & 0 deletions assets/css/admin-autoshare-for-twitter.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,87 @@ tbody .autoshare-for-twitter-status-logo--disabled::before {
margin-top: 12px;
display: block;
}

#autopost_for_x_rate_monitor_dashboard_widget .inside {
padding: 0;
margin-top: 0px;
}

.autoshare-for-twitter-no-accounts {
padding: 0px 12px 12px 12px;
}

.autoshare-for-twitter-rate-monitor__users {
border-top: 1px solid #f0f0f1;
}

.autoshare-for-twitter-rate-monitor__user {
align-items: center;
border-bottom: 1px solid #f0f0f1;
display: flex;
padding: 12px;
}

.autoshare-for-twitter-rate-monitor__user img {
border-radius: 50%;
margin-right: 10px;
max-width: 48px;
}

#autopost_for_x_rate_monitor_dashboard_widget .autoshare-for-twitter-rate-monitor__user h3 {
font-weight: bold;
margin-bottom: 0;
margin-right: 10px;
}

.autoshare-for-twitter-rate-monitor__user-info p,
.autoshare-for-twitter-rate-monitor__rate p {
margin-bottom: 0;
margin-top: 0;
}

.autoshare-for-twitter-rate-monitor__rate-reset {
font-size: 12px;
font-style: italic;
}

.autoshare-for-twitter-rate-monitor__app {
align-items: center;
display: flex;
padding: 12px;
}

.autoshare-for-twitter-rate-monitor__disclaimer {
background: #f6f7f7;
color: #50575e;
padding: 12px;
}

.autoshare-for-twitter-rate-monitor__disclaimer ul {
margin-bottom: 0;
margin-top: 0;
}

.autoshare-for-twitter-rate-monitor__disclaimer p {
margin-bottom: 8px;
margin-top: 0;
}

.autoshare-for-twitter-editor-panel .autoshare-for-twitter-rate-monitor__user {
border-bottom: 0;
margin-bottom: 16px;
padding: 0;
}

.autoshare-for-twitter-editor-panel .autoshare-for-twitter-rate-monitor__app {
padding: 0;
margin-bottom: 16px;
}

.autoshare-for-twitter-editor-panel .autoshare-for-twitter-rate-monitor__disclaimer {
margin-bottom: 16px;
}

.autoshare-for-twitter-editor-panel .autoshare-for-twitter-rate-monitor__disclaimer p {
margin-bottom: 0;
}
Loading

0 comments on commit 555ef0c

Please sign in to comment.