Verified Commit 0b1f7fe5 authored by Luc Didry's avatar Luc Didry

Fix #809 — Rename `kalerts` class to `alerts`

This commit is dedicated to Schoumi, who is supporting me on Tipeee.
Many thanks 
parent 796f5d98
Pipeline #103325 passed with stages
in 7 minutes and 3 seconds
......@@ -56,7 +56,7 @@ const ConfirmDeleteModal = connect(
content = (
<React.Fragment>
<p className="kalerts info">
<p className="alerts info">
{$t('client.category.attached_transactions', {
// eslint-disable-next-line camelcase
smart_count: this.props.numOperations
......@@ -79,7 +79,7 @@ const ConfirmDeleteModal = connect(
);
} else {
content = (
<p className="kalerts info">{$t('client.category.no_transactions_attached')}</p>
<p className="alerts info">{$t('client.category.no_transactions_attached')}</p>
);
}
......
......@@ -224,7 +224,7 @@ export default connect(
</button>
</p>
</div>
<p className="kalerts info">
<p className="alerts info">
<span className="fa fa-question-circle" />
{$t('client.similarity.help')}
</p>
......
......@@ -48,7 +48,7 @@ const Alerts = props => {
</div>
</div>
</caption>
<tfoot className="kalerts info">
<tfoot className="alerts info">
<tr>
<td colSpan="4">{$t(props.panelDescriptionKey)}</td>
</tr>
......
......@@ -41,7 +41,7 @@ let Reports = props => {
</div>
</div>
</caption>
<tfoot className="kalerts info">
<tfoot className="alerts info">
<tr>
<td colSpan="4">{$t('client.settings.emails.reports_desc')}</td>
</tr>
......
......@@ -23,7 +23,7 @@ const ThemesSection = connect(
let maybeWarning = null;
if (props.themes.length < 2) {
maybeWarning = <p className="kalerts warning">{$t('client.settings.themes.none')}</p>;
maybeWarning = <p className="alerts warning">{$t('client.settings.themes.none')}</p>;
}
let options = props.themes.map(t => {
......
......@@ -45,7 +45,7 @@ class WeboobParameters extends React.PureComponent {
return (
<form className="settings-form">
<p className="kalerts info">
<p className="alerts info">
<span className="fa fa-question-circle" />
{$t('client.settings.weboob_description')}
</p>
......
......@@ -7,19 +7,19 @@
margin-top: 1em;
}
.settings-form > *:not(.kalerts) {
.settings-form > *:not(.alerts) {
display: flex;
align-items: flex-start;
}
.settings-form > *:not(.kalerts) > :first-child {
.settings-form > *:not(.alerts) > :first-child {
width: 33.33%;
flex-shrink: 0;
margin-right: 1em;
}
@media (max-width: 768px) {
.settings-form > *:not(.kalerts) > :first-child {
.settings-form > *:not(.alerts) > :first-child {
width: 40%;
}
}
......
.kalerts {
.alerts {
padding: 1em;
border: 1px solid currentColor;
border-radius: 2px;
......@@ -7,20 +7,20 @@
background-repeat: repeat-x;
}
.kalerts.info {
.alerts.info {
color: #31708F;
border-color: #9ACFEA;
background-color: #D9EDF7;
background-image: linear-gradient(180deg, #D9EDF7, #B9DEF0);
}
.kalerts.warning {
.alerts.warning {
color: #8A6D3B;
border-color: #F5E79E;
background-color: #FCF8E3;
background-image: linear-gradient(180deg, #FCF8E3, #F8EFC0);
}
.kalerts .fa:first-child {
.alerts .fa:first-child {
margin-right: 0.5em;
}
......@@ -68,7 +68,7 @@ table.striped > tbody > tr:nth-of-type(2n+1) {
background-color: #444444;
}
.kalerts {
.alerts {
background-image: none !important;
}
......
......@@ -19,7 +19,7 @@ main nav .sidebar-section-list li span.badge {
color: #E4E4E4;
}
.kalerts {
.alerts {
background-image: none !important;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment