Skip to content

Commit faef55d

Browse files
committed
refactor: override action buttons styles
1 parent 9ba5e7d commit faef55d

File tree

7 files changed

+18
-94
lines changed

7 files changed

+18
-94
lines changed

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
},
8181
"src/assets/img"
8282
],
83-
"styles": ["src/styles.scss"],
83+
"styles": ["src/styles.scss", "src/app/_samples/mediaco/mediaCoStyles.scss"],
8484
"scripts": ["./node_modules/tinymce/tinymce.min.js"],
8585
"customWebpackConfig": {
8686
"path": "./extra-webpack.config.js"

src/app/_samples/mediaco/components/action-buttons/action-buttons.component.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/app/_samples/mediaco/components/action-buttons/action-buttons.component.scss

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/app/_samples/mediaco/components/action-buttons/action-buttons.component.spec.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/app/_samples/mediaco/components/action-buttons/action-buttons.component.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.mediaCoTheme {
2+
// Action Buttons styles for MediaCo sample app - start
3+
.button-bar {
4+
gap: 1rem;
5+
margin-top: 1.2rem;
6+
}
7+
8+
.right-group {
9+
margin-left: 0 !important;
10+
}
11+
12+
.secondary-button {
13+
background-color: var(--app-sys-secondary-button-background) !important;
14+
border-color: var(--app-sys-secondary-button-border) !important;
15+
}
16+
// Action Buttons styles for MediaCo sample app - end
17+
}

src/app/_samples/mediaco/sdk-mediaco-component-map.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Statically load all "MediaCo" components.
2-
import { ActionButtonsComponent } from './components/action-buttons/action-buttons.component';
32
import { AppShellComponent } from './components/app-shell/app-shell.component';
43
import { BannerComponent } from './components/banner/banner.component';
54
import { ListViewComponent } from './components/list-view/list-view.component';
@@ -14,7 +13,6 @@ import { WssNavBarComponent } from './components/wss-nav-bar/wss-nav-bar.compone
1413
// specific to MediaCo application.
1514

1615
const sdkMediaCoComponentMap = {
17-
ActionButtons: ActionButtonsComponent,
1816
AppShell: AppShellComponent,
1917
Banner: BannerComponent,
2018
ListView: ListViewComponent,

0 commit comments

Comments
 (0)