mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Rename warning color variable
To match the others in the variables file. Also `warning-orange` was unused.
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: $warning-red;
|
||||
color: $warning-red;
|
||||
border-color: $color-warning;
|
||||
color: $color-warning;
|
||||
|
||||
h6 {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ button:not(.plain):not(.trix-button),
|
||||
}
|
||||
|
||||
&.danger {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
&.success {
|
||||
background-color: $spree-green;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
&.error {
|
||||
.message {
|
||||
.icon {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ light: #ccc
|
||||
|
||||
&:hover {
|
||||
&:before {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
}
|
||||
|
||||
&.error {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,11 +19,11 @@ div.dashboard_item {
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
|
||||
&.orange {
|
||||
background-color: $warning-orange;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,20 +40,20 @@ div.dashboard_item {
|
||||
}
|
||||
|
||||
&.red {
|
||||
border-color: $warning-red;
|
||||
border-color: $color-warning;
|
||||
border-width: 3px;
|
||||
|
||||
h3 {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
&.orange {
|
||||
border-color: $warning-orange;
|
||||
border-color: $color-warning;
|
||||
border-width: 3px;
|
||||
|
||||
h3 {
|
||||
color: $warning-orange;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,12 +141,12 @@ div.dashboard_item {
|
||||
}
|
||||
|
||||
.icon-warning-sign {
|
||||
color: $warning-orange;
|
||||
color: $color-warning;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.icon-remove-sign {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
@@ -156,13 +156,13 @@ div.dashboard_item {
|
||||
}
|
||||
|
||||
&.orange {
|
||||
color: $warning-orange;
|
||||
border: solid $warning-orange;
|
||||
color: $color-warning;
|
||||
border: solid $color-warning;
|
||||
}
|
||||
|
||||
&.red {
|
||||
color: $warning-red;
|
||||
border: solid $warning-red;
|
||||
color: $color-warning;
|
||||
border: solid $color-warning;
|
||||
}
|
||||
|
||||
&.orange,
|
||||
@@ -217,7 +217,7 @@ div.dashboard_item {
|
||||
text-align: center;
|
||||
|
||||
&.orange {
|
||||
background-color: $warning-orange;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
|
||||
&.blue {
|
||||
@@ -225,7 +225,7 @@ div.dashboard_item {
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
font-size: 1.5rem;
|
||||
|
||||
&.issue {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
&.warning {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
form[name="enterprise_form"] {
|
||||
div.row.warning {
|
||||
color: $warning-orange;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
table.managers {
|
||||
@@ -38,7 +38,7 @@ form[name="enterprise_form"] {
|
||||
|
||||
table .enterprise-actions {
|
||||
.warning-icon {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ tbody.panel-ctrl {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 1.3rem;
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
&:hover {
|
||||
background-color: #cd4e4f;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ tbody.panel-ctrl {
|
||||
font-size: 2rem;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
content: "\f071";
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
&.status {
|
||||
@@ -38,7 +38,7 @@ tbody.panel-ctrl {
|
||||
|
||||
i.issue::before {
|
||||
content: "\f071";
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
i.warning::before {
|
||||
|
||||
@@ -34,7 +34,7 @@ text-angular .ta-editor {
|
||||
|
||||
span.error,
|
||||
div.error:not(.flash) {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
/* Fix conflict between Spree and elRTE's styles */
|
||||
@@ -46,7 +46,7 @@ div.error:not(.flash) {
|
||||
input.red,
|
||||
a.button.red,
|
||||
button.red {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
margin-right: 5px;
|
||||
color: #ffffff;
|
||||
}
|
||||
@@ -54,7 +54,7 @@ button.red {
|
||||
a.button.red {
|
||||
&:not(:hover) {
|
||||
color: #fff;
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -208,12 +208,12 @@ table#listing_enterprise_groups {
|
||||
// TODO: remove this, use class below
|
||||
#no_results {
|
||||
font-weight: bold;
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
.no-results {
|
||||
font-weight: bold;
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
|
||||
h1,
|
||||
h2,
|
||||
@@ -221,7 +221,7 @@ table#listing_enterprise_groups {
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: $color-error;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ input.show-dirty {
|
||||
&.ng-dirty {
|
||||
border: solid 1px orange;
|
||||
&.update-error {
|
||||
border: solid 1px $warning-red;
|
||||
border: solid 1px $color-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ input.show-dirty {
|
||||
input,
|
||||
div {
|
||||
&.update-error {
|
||||
border: solid 1px $warning-red;
|
||||
border: solid 1px $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ table.edit-note-table {
|
||||
}
|
||||
|
||||
.error {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,5 +12,5 @@ span.available {
|
||||
}
|
||||
|
||||
span.unavailable {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.admin-subscription-form-subscription-line-items {
|
||||
.not-in-open-and-upcoming-order-cycles-warning {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.admin-subscription-review-subscription-line-items {
|
||||
.not-in-open-and-upcoming-order-cycles-warning {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
2
app/webpacker/css/admin/product_import.scss
vendored
2
app/webpacker/css/admin/product_import.scss
vendored
@@ -1,4 +1,4 @@
|
||||
$pi-red: $warning-red;
|
||||
$pi-red: $color-warning;
|
||||
$pi-green: lighten($spree-green, 10%);
|
||||
$pi-orange: $bright-orange;
|
||||
$pi-blue: lighten($spree-blue, 10%);
|
||||
|
||||
@@ -142,7 +142,7 @@ dl {
|
||||
}
|
||||
|
||||
.text-red {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
input.text-big {
|
||||
|
||||
@@ -16,7 +16,7 @@ div.sidebar_item {
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,10 +26,10 @@ div.sidebar_item {
|
||||
overflow-x: hidden;
|
||||
|
||||
&.red {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
|
||||
.list-item {
|
||||
border: solid $warning-red;
|
||||
border: solid $color-warning;
|
||||
border-width: 0px 3px 0px 3px;
|
||||
|
||||
a.alpha,
|
||||
@@ -47,7 +47,7 @@ div.sidebar_item {
|
||||
}
|
||||
|
||||
a {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -77,7 +77,7 @@ div.sidebar_item {
|
||||
}
|
||||
|
||||
.icon-remove-sign {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ div.sidebar_item {
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// Admin variables and colours
|
||||
$warning-red: $color-5;
|
||||
$warning-orange: $color-5;
|
||||
$color-warning: $color-5;
|
||||
$admin-table-border: $pale-blue;
|
||||
|
||||
$modal-close-button-color: #de6060;
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
}
|
||||
|
||||
button.hide:hover {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ button:not(.plain):not(.trix-button),
|
||||
}
|
||||
|
||||
&.danger {
|
||||
background-color: $warning-red;
|
||||
background-color: $color-warning;
|
||||
}
|
||||
&.success {
|
||||
background-color: $spree-green;
|
||||
|
||||
@@ -210,7 +210,7 @@ dl {
|
||||
}
|
||||
|
||||
.text-red {
|
||||
color: $warning-red;
|
||||
color: $color-warning;
|
||||
}
|
||||
|
||||
input.text-big {
|
||||
|
||||
@@ -4,8 +4,7 @@ $spree-green: #9fc820;
|
||||
$spree-blue: #5498da;
|
||||
$spree-light-blue: #eff5fc;
|
||||
|
||||
$warning-red: $color-5;
|
||||
$warning-orange: $color-5;
|
||||
$color-warning: $color-5;
|
||||
$bright-orange: #ffa92e;
|
||||
$medium-grey: #919191;
|
||||
$pale-blue: #cee1f4;
|
||||
|
||||
Reference in New Issue
Block a user