1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Change the background colour for the RSS info badge to be less eye-catching (#4819)

The red badge beside the RSS column header in the processes table is quite
    eye-catching.  The bold red colour might be appropriate for a notification
    badge indicating that the user needs to do something, but, for a "more info"
    badge, something that stands out less from
    the background is nicer.
This commit is contained in:
Stephen Humphries 2021-02-18 12:50:11 -05:00 committed by GitHub
parent 968bc81043
commit 97350a459b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 5 deletions

View file

@ -147,3 +147,14 @@ input {
fill: #ddd;
color: #ddd;
}
.info-circle {
color: #282828;
background-color: #555555;
border-radius: 50%;
text-align: center;
vertical-align: middle;
padding: 3px 7px;
font-size: 0.7em;
margin-left: 5px;
}

View file

@ -1153,10 +1153,9 @@ div.interval-slider input {
width: 20%;
}
.circled {
border-color: #333;
color: #eee;
background-color: #b1003e;
.info-circle {
color: #f3f3f3;
background-color: #dddddd;
border-radius: 50%;
text-align: center;
vertical-align: middle;

View file

@ -18,7 +18,7 @@
<thead>
<th><%= t('Name') %></th>
<th><%= t('Started') %></th>
<th><%= t('RSS') %><a href="https://github.com/mperham/sidekiq/wiki/Memory#rss"><span class="circled" title="Click to learn more about RSS">?</span></a></th>
<th><%= t('RSS') %><a href="https://github.com/mperham/sidekiq/wiki/Memory#rss"><span class="info-circle" title="Click to learn more about RSS">?</span></a></th>
<th><%= t('Threads') %></th>
<th><%= t('Busy') %></th>
<th>&nbsp;</th>