mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
The Admin V3 styles are now the primary styles for the application. This change promotes the `admin_v3` directory to `admin` and archives the old styles. Changes: - Renamed `app/webpacker/css/admin_v3` to `app/webpacker/css/admin`. - Renamed the previous `app/webpacker/css/admin` to `app/webpacker/css/admin_legacy`. - Moved all files referenced by V3 styles from the legacy directory to the new `admin` directory. - Updated imports in `all.scss` to distinct local files instead of relative paths. - Cleaned up `admin_legacy` by removing files that are duplicates (by name or content) of the new admin styles. - Updated `admin-style-v3` pack to point to the new location.
45 lines
686 B
SCSS
45 lines
686 B
SCSS
// Some fixes for fontwesome stylesheets
|
|
[class*="icon-"] {
|
|
&:before {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
&.button,
|
|
&.icon_link {
|
|
&:before {
|
|
padding-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// for the button tagname as well
|
|
button[class*="icon-"] {
|
|
&:before {
|
|
padding-right: 8px;
|
|
}
|
|
}
|
|
|
|
.icon-email:before {
|
|
@extend .icon-envelope, :before;
|
|
}
|
|
.icon-resend_authorization_email:before {
|
|
@extend .icon-envelope, :before;
|
|
}
|
|
.icon-resume:before {
|
|
@extend .icon-refresh, :before;
|
|
}
|
|
|
|
.icon-cancel:before,
|
|
.icon-void:before {
|
|
@extend .icon-remove, :before;
|
|
}
|
|
|
|
.icon-capture,
|
|
.icon-capture_and_complete_order {
|
|
@extend .icon-ok;
|
|
}
|
|
|
|
.icon-credit:before {
|
|
@extend .icon-ok, :before;
|
|
}
|