Skip to content
Snippets Groups Projects
Commit 11d5d757 authored by Karl Prieb's avatar Karl Prieb
Browse files

create pending-color class

parent 6f51bede
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,10 @@
color: @success-color;
}
.pending-color {
color: @pending-color;
}
.code-colors {
background-color: @code-background-color;
border-color: @code-border-color;
......@@ -224,7 +228,6 @@
.settings-alert {
background-color: @pending-background;
border-color: @pending-border;
color: @pending-color;
}
}
......@@ -422,10 +425,6 @@ a:hover {
color: @error-color;
}
.favorite-room {
color: @pending-color;
}
.toggle-favorite {
color: @component-color;
}
......
......@@ -191,7 +191,7 @@
<div class="settings-description">{{{RocketChatMarkdown description}}}</div>
{{/if}}
{{#if alert}}
<div class="settings-alert"><i class="icon-attention secondary-font-color"></i>{{{_ alert}}}</div>
<div class="settings-alert pending-color"><i class="icon-attention secondary-font-color"></i>{{{_ alert}}}</div>
{{/if}}
</div>
{{#unless $eq group._id 'Assets'}}
......
......@@ -18,7 +18,7 @@ Template.room.helpers
favorite: ->
sub = ChatSubscription.findOne { rid: this._id }, { fields: { f: 1 } }
return 'icon-star favorite-room' if sub?.f? and sub.f and favoritesEnabled()
return 'icon-star favorite-room pending-color' if sub?.f? and sub.f and favoritesEnabled()
return 'icon-star-empty'
favoriteLabel: ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment