diff options
-rw-r--r-- | frontend/src/app/_elements/form-model/form-model.component.html | 10 | ||||
-rw-r--r-- | frontend/src/app/_elements/form-model/form-model.component.ts | 2 | ||||
-rw-r--r-- | frontend/src/styles/theme.css | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/frontend/src/app/_elements/form-model/form-model.component.html b/frontend/src/app/_elements/form-model/form-model.component.html index d5187383..76601465 100644 --- a/frontend/src/app/_elements/form-model/form-model.component.html +++ b/frontend/src/app/_elements/form-model/form-model.component.html @@ -96,11 +96,11 @@ <div class="ns-col" id="layers-control"> <div>Broj Skrivenih Slojeva</div> - <button class="btn-clear btn-icon" (click)="addLayer()"> + <button class="btn-clear btn-icon bubble" (click)="addLayer()"> <mat-icon>add</mat-icon> </button> <div>{{newModel.hiddenLayers}}</div> - <button class="btn-clear btn-icon" (click)="removeLayer()"> + <button class="btn-clear btn-icon bubble" (click)="removeLayer()"> <mat-icon>remove</mat-icon> </button> @@ -120,7 +120,7 @@ <div class="ns-col"> <mat-form-field appearance="fill" class="mat-fix"> - <mat-label>Broj Neurona svih slojeva</mat-label> + <mat-label>Broj neurona svih slojeva</mat-label> <input matInput type="number" min="1" max="18" [(ngModel)]="selectedNumberOfNeurons" (change)="changeAllNumberOfNeurons()"> </mat-form-field> </div> @@ -172,11 +172,11 @@ <div class="d-flex flex-row align-items-center justify-content-center tm"> <div class="col-6" style="font-size: 13px;">Broj Ĩvorova</div> - <button class="btn-clear btn-icon" (click)="addNeuron(i)"> + <button class="btn-clear btn-icon bubble" (click)="addNeuron(i)"> <mat-icon>add</mat-icon> </button> <div class="col-2 text-center">{{newModel.layers[i].neurons}}</div> - <button class="btn-clear btn-icon" (click)="removeNeuron(i)"> + <button class="btn-clear btn-icon bubble" (click)="removeNeuron(i)"> <mat-icon>remove</mat-icon> </button> </div> diff --git a/frontend/src/app/_elements/form-model/form-model.component.ts b/frontend/src/app/_elements/form-model/form-model.component.ts index e58d1764..2c78cd56 100644 --- a/frontend/src/app/_elements/form-model/form-model.component.ts +++ b/frontend/src/app/_elements/form-model/form-model.component.ts @@ -98,7 +98,7 @@ export class FormModelComponent implements AfterViewInit { } } addNeuron(index: number) { - if (this.newModel.layers[index].neurons < 100) { + if (this.newModel.layers[index].neurons < 18) { this.newModel.layers[index].neurons += 1; this.updateGraph(); } diff --git a/frontend/src/styles/theme.css b/frontend/src/styles/theme.css index a76f4714..ee7a2e61 100644 --- a/frontend/src/styles/theme.css +++ b/frontend/src/styles/theme.css @@ -54,11 +54,11 @@ a { .bubble { background-position: center; - transition: background 0.8s; + transition: background 0.2s; } .bubble:hover { - background: #47a7f5 radial-gradient(circle, transparent 1%, #47a7f5 1%) center/15000%; + background: var(--ns-primary-50) radial-gradient(circle, transparent 1%, var(--ns-accent) 1%) center/15000%; } .bubble:active { |