Skip to content
Snippets Groups Projects
Commit b4c85fcf authored by Alexander Reifschneider's avatar Alexander Reifschneider
Browse files

OZG-8129 replace error outline white icon

parent fa435c1f
No related branches found
No related tags found
1 merge request!131OZG-8129 replace mat icons
Showing with 11 additions and 14 deletions
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
import { ApiRootFacade, ApiRootResource } from '@alfa-client/api-root-shared'; import { ApiRootFacade, ApiRootResource } from '@alfa-client/api-root-shared';
import { ENVIRONMENT_CONFIG } from '@alfa-client/environment-shared'; import { ENVIRONMENT_CONFIG } from '@alfa-client/environment-shared';
import { NavigationService } from '@alfa-client/navigation-shared'; import { NavigationService } from '@alfa-client/navigation-shared';
import { InjectorService, StateResource, isNotNull } from '@alfa-client/tech-shared'; import { StateResource, isNotNull } from '@alfa-client/tech-shared';
import { buildPathSegmentsFromLocalStorage } from '@alfa-client/vorgang-shared'; import { buildPathSegmentsFromLocalStorage } from '@alfa-client/vorgang-shared';
import { Component, Inject, OnInit } from '@angular/core'; import { Component, Inject, OnInit } from '@angular/core';
import { Params } from '@angular/router'; import { Params } from '@angular/router';
...@@ -47,7 +47,6 @@ export class AppComponent implements OnInit { ...@@ -47,7 +47,6 @@ export class AppComponent implements OnInit {
private apiRootFacade: ApiRootFacade, private apiRootFacade: ApiRootFacade,
private oAuthService: OAuthService, private oAuthService: OAuthService,
private navigationService: NavigationService, private navigationService: NavigationService,
private injectorService: InjectorService,
) {} ) {}
ngOnInit(): void { ngOnInit(): void {
......
...@@ -60,13 +60,13 @@ ...@@ -60,13 +60,13 @@
&:before { &:before {
position: absolute; position: absolute;
content: url('/assets/icons/error_outline_white.svg');
display: block; display: block;
content: url('/assets/icons/error-white.svg');
background-color: mat.m2-get-color-from-palette($warnPalette); background-color: mat.m2-get-color-from-palette($warnPalette);
width: 40px;
left: 0; left: 0;
top: 0; top: 0;
padding: 11px 9px 11px 7px; padding: 11px 9px 11px 7px;
color: #fff;
height: 100%; height: 100%;
} }
......
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="white">
<path
d="M12 17C12.2833 17 12.5208 16.9042 12.7125 16.7125C12.9042 16.5208 13 16.2833 13 16C13 15.7167 12.9042 15.4792 12.7125 15.2875C12.5208 15.0958 12.2833 15 12 15C11.7167 15 11.4792 15.0958 11.2875 15.2875C11.0958 15.4792 11 15.7167 11 16C11 16.2833 11.0958 16.5208 11.2875 16.7125C11.4792 16.9042 11.7167 17 12 17ZM11 13H13V7H11V13ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z" />
</svg>
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
--> -->
<div *ngIf="postfachMailResource.messageCode" data-test-id="mail-send-error" class="mail-send-error"> <div *ngIf="postfachMailResource.messageCode" data-test-id="mail-send-error" class="mail-send-error">
<span data-test-class="mail-send-error-text">{{ message }}</span> <span data-test-class="mail-send-error-text">{{ message }}</span>
<mat-icon data-test-class="mail-send-error-icon" class="mail-send-error__icon text-error">error_outline_white</mat-icon> <ods-icon name="error" fill="error" data-test-class="mail-send-error-icon" />
</div> </div>
<!-- TODO Eigene Component fuer den Button --> <!-- TODO Eigene Component fuer den Button -->
<ozgcloud-stroked-button-with-spinner <ozgcloud-stroked-button-with-spinner
......
...@@ -34,11 +34,6 @@ ...@@ -34,11 +34,6 @@
} }
margin: 8px 0 16px; margin: 8px 0 16px;
&__icon {
flex-shrink: 0;
overflow: hidden;
}
} }
ozgcloud-stroked-button-with-spinner { ozgcloud-stroked-button-with-spinner {
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
* Die sprachspezifischen Genehmigungen und Beschränkungen * Die sprachspezifischen Genehmigungen und Beschränkungen
* unter der Lizenz sind dem Lizenztext zu entnehmen. * unter der Lizenz sind dem Lizenztext zu entnehmen.
*/ */
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { MatIcon } from '@angular/material/icon';
import { notExistsAsHtmlElement } from '@alfa-client/test-utils'; import { notExistsAsHtmlElement } from '@alfa-client/test-utils';
import { OzgcloudStrokedButtonWithSpinnerComponent } from '@alfa-client/ui'; import { OzgcloudStrokedButtonWithSpinnerComponent } from '@alfa-client/ui';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { IconComponent } from '@ods/system';
import { createPostfachMailResource } from 'libs/postfach-shared/test/postfach'; import { createPostfachMailResource } from 'libs/postfach-shared/test/postfach';
import { getDataTestIdOf } from 'libs/tech-shared/test/data-test'; import { getDataTestIdOf } from 'libs/tech-shared/test/data-test';
import { MockComponent } from 'ng-mocks'; import { MockComponent } from 'ng-mocks';
...@@ -40,8 +40,8 @@ describe('OutgoingMailFailedComponent', () => { ...@@ -40,8 +40,8 @@ describe('OutgoingMailFailedComponent', () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
declarations: [ declarations: [
OutgoingMailErrorComponent, OutgoingMailErrorComponent,
MatIcon,
MockComponent(OzgcloudStrokedButtonWithSpinnerComponent), MockComponent(OzgcloudStrokedButtonWithSpinnerComponent),
MockComponent(IconComponent),
], ],
}).compileComponents(); }).compileComponents();
}); });
......
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment