diff --git a/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.css b/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.css new file mode 100644 index 0000000..a1b7145 --- /dev/null +++ b/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.css @@ -0,0 +1,21 @@ +.title-bar{ + background-color: var(--mw-gray-100); + border-bottom: 1px solid var(--mw-gray-400); + height: 3.2rem; + width: 100%; +} + +.title-bar__content { + display: flex; + height: 100%; + justify-content: space-between; + padding: 0 0.8rem; +} + +.title-bar__item { + align-items: center; + display: flex; + height: 100%; + max-height: calc(3.2rem - 1px); + overflow: hidden; +} \ No newline at end of file diff --git a/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.html b/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.html new file mode 100644 index 0000000..3ac0a5c --- /dev/null +++ b/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.html @@ -0,0 +1,10 @@ +
\ No newline at end of file diff --git a/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.spec.ts b/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.spec.ts new file mode 100644 index 0000000..4a6fda1 --- /dev/null +++ b/projects/my-wallet-ds/src/lib/atoms/title-bar/title-bar.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TitleBarComponent } from './title-bar.component'; + +describe('TitleBarComponent', () => { + let component: TitleBarComponent; + let fixture: ComponentFixture