mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-06 02:35:11 +02:00
Reorganization of css code for checks list
This commit is contained in:
parent
49786cda63
commit
9ec600b754
|
@ -7,16 +7,22 @@
|
|||
}
|
||||
}
|
||||
|
||||
.btn.btn-sm {
|
||||
font-weight: bold;
|
||||
}
|
||||
//badges' style
|
||||
|
||||
.SSL, .ssl:hover, .btn.btn-sm.btn-info.active.ssl {
|
||||
.badge.badge-info.ssl {
|
||||
background-color: map-get($theme-colors, quaternary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-outline-info.domain:hover, .btn.btn-sm.btn-outline-info.ssl:hover, .btn.btn-sm.btn-outline-info.with_error:hover {
|
||||
.badge.badge-info.domain {
|
||||
background-color: map-get($theme-colors, primary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
// filter buttons' style
|
||||
|
||||
.btn.btn-sm.btn-outline-info.ssl, .btn.btn-sm.btn-outline-info.ssl:hover, .btn.btn-sm.btn-outline-info.domain, .btn.btn-sm.btn-outline-info.domain:hover, .btn.btn-sm.btn-outline-info.with_error, .btn.btn-sm.btn-outline-info.with_error:hover, .btn.btn-sm.btn-info.active.ssl, .btn.btn-sm.btn-info.active.domain, .btn.btn-sm.btn-info.active.with_error {
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
@ -25,22 +31,22 @@
|
|||
color: map-get($theme-colors, quaternary);
|
||||
}
|
||||
|
||||
.Domaine, .Domain, .domain:hover, .btn.btn-sm.btn-info.active.domain {
|
||||
background-color: map-get($theme-colors, primary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-info.domain, .btn.btn-sm.btn-outline-info.domain {
|
||||
border-color: map-get($theme-colors, primary);
|
||||
color: map-get($theme-colors, primary);
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-outline-info.with_error {
|
||||
.btn.btn-sm.btn-info.with_error, .btn.btn-sm.btn-outline-info.with_error {
|
||||
border-color: map-get($theme-colors, tertiary);
|
||||
color: map-get($theme-colors, tertiary);
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-outline-info.with_error:hover, .btn.btn-sm.btn-info.active.with_error {
|
||||
background-color: map-get($theme-colors, tertiary);
|
||||
border-color: map-get($theme-colors, tertiary);
|
||||
.btn.btn-sm.btn-info.ssl:hover, .btn.btn-sm.btn-outline-info.ssl:hover, .btn.btn-sm.btn-info.active.ssl {
|
||||
background-color: map-get($theme-colors, quaternary);
|
||||
}
|
||||
.btn.btn-sm.btn-info.domain:hover, .btn.btn-sm.btn-outline-info.domain:hover, .btn.btn-sm.btn-info.active.domain {
|
||||
background-color: map-get($theme-colors, primary);
|
||||
}
|
||||
.btn.btn-sm.btn-info.with_error:hover, .btn.btn-sm.btn-outline-info.with_error:hover, .btn.btn-sm.btn-info.active.with_error {
|
||||
background-color: map-get($theme-colors, tertiary);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<% checks.each do |check| %>
|
||||
<tr class="check-row <%= check_row_class(check) %>">
|
||||
<td class="kind">
|
||||
<span class="badge badge-info <%= t(".kind_labels.#{check.kind}") %>"><%= t(".kind_labels.#{check.kind}") %></span>
|
||||
<span class="badge badge-info <%=check.kind%>"><%= t(".kind_labels.#{check.kind}") %></span>
|
||||
</td>
|
||||
<td>
|
||||
<%= check_error(check) if check_in_error?(check) %>
|
||||
|
|
Loading…
Reference in a new issue