|
194 | 194 | } |
195 | 195 |
|
196 | 196 | .terminal pre { |
197 | | - font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; |
| 197 | + font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace; |
198 | 198 | color: white; |
199 | 199 | padding: 0 1rem 1rem; |
200 | 200 | margin: 0; |
|
238 | 238 | align-items: center; |
239 | 239 | font-size: 12px; |
240 | 240 | padding: 3px 10px; |
241 | | - border: 1px solid rgba(27,31,35,.2); |
| 241 | + border: 1px solid rgba(27, 31, 35, .2); |
242 | 242 | border-radius: 3px; |
243 | | - background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%); |
| 243 | + background-image: linear-gradient(-180deg, #fafbfc, #eff3f6 90%); |
244 | 244 | margin-left: 4px; |
245 | 245 | font-weight: 600; |
246 | | - font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; |
| 246 | + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; |
247 | 247 | } |
248 | 248 |
|
249 | 249 | .github-star-badge:hover { |
250 | | - background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%); |
251 | | - border-color: rgba(27,31,35,.35); |
| 250 | + background-image: linear-gradient(-180deg, #f0f3f6, #e6ebf1 90%); |
| 251 | + border-color: rgba(27, 31, 35, .35); |
252 | 252 | background-position: -.5em; |
253 | 253 | } |
254 | 254 |
|
|
270 | 270 | /* Responsive Styles */ |
271 | 271 | @media screen and (max-width: 767px) { |
272 | 272 |
|
273 | | - .card-container > *:not(.circle-link) , |
| 273 | + .card-container > *:not(.circle-link), |
274 | 274 | .terminal { |
275 | 275 | width: 100%; |
276 | 276 | } |
@@ -428,9 +428,30 @@ <h2>Install</h2> |
428 | 428 | </div> |
429 | 429 |
|
430 | 430 | <!-- Usage --> |
431 | | - <h2>Usage</h2> |
432 | | - |
433 | | - <mat-input-counter [min]="0"></mat-input-counter> |
| 431 | + <h2 style="margin-top: 2rem">Usage</h2> |
| 432 | + |
| 433 | + <mat-toolbar color="primary"> |
| 434 | + Usage |
| 435 | + <span fxFlex></span> |
| 436 | + <button mat-icon-button matTooltip="customize" (click)="openCustomizeDialog()"> |
| 437 | + <mat-icon>edit</mat-icon> |
| 438 | + </button> |
| 439 | + </mat-toolbar> |
| 440 | + <mat-card> |
| 441 | + <mat-card-content> |
| 442 | + <form [formGroup]="formGroup"> |
| 443 | + <mat-input-counter formControlName="inputCounter" |
| 444 | + [min]="+options.min" |
| 445 | + [max]="+options.max" |
| 446 | + [step]="+options.step" |
| 447 | + [label]="options.label" |
| 448 | + [placeholder]="options.placeholder"> |
| 449 | + </mat-input-counter> |
| 450 | + </form> |
| 451 | + </mat-card-content> |
| 452 | + </mat-card> |
| 453 | + |
| 454 | + <markdown src="assets/md/ex1.md"></markdown> |
434 | 455 |
|
435 | 456 | <!-- Next Steps --> |
436 | 457 | <h2 style="margin-top: 4rem">Next Steps</h2> |
@@ -605,5 +626,4 @@ <h2 style="margin-top: 4rem">Next Steps</h2> |
605 | 626 | <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> |
606 | 627 |
|
607 | 628 |
|
608 | | - |
609 | 629 | <router-outlet></router-outlet> |
0 commit comments