Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verona-modules-aspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IQB
verona-modules-aspect
Commits
35cbe1ce
Commit
35cbe1ce
authored
3 years ago
by
rhenck
Browse files
Options
Downloads
Patches
Plain Diff
[editor] Improve canvas section toolbar styling
parent
f8480200
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/editor/src/app/components/unit-view/page-view/canvas/canvas-section-toolbar.component.ts
+16
-14
16 additions, 14 deletions
...view/page-view/canvas/canvas-section-toolbar.component.ts
with
16 additions
and
14 deletions
projects/editor/src/app/components/unit-view/page-view/canvas/canvas-section-toolbar.component.ts
+
16
−
14
View file @
35cbe1ce
...
@@ -7,7 +7,7 @@ import { UnitPageSection } from '../../../../../../../common/unit';
...
@@ -7,7 +7,7 @@ import { UnitPageSection } from '../../../../../../../common/unit';
@
Component
({
@
Component
({
selector
:
'
app-canvas-section-toolbar
'
,
selector
:
'
app-canvas-section-toolbar
'
,
template
:
`
template
:
`
<div class="canvas-section-toolbar">
<div class="canvas-section-toolbar"
fxLayout="row"
>
Seitenabschnitt
Seitenabschnitt
<button mat-raised-button [disabled]="editMode"
<button mat-raised-button [disabled]="editMode"
(click)="unitService.addSection()">
(click)="unitService.addSection()">
...
@@ -23,24 +23,26 @@ import { UnitPageSection } from '../../../../../../../common/unit';
...
@@ -23,24 +23,26 @@ import { UnitPageSection } from '../../../../../../../common/unit';
Abschnitte verschieben
Abschnitte verschieben
</mat-checkbox>
</mat-checkbox>
<
mat-form-field
>
<
div fxLayout="column"
>
<
mat-
label>Breite</
mat-
label>
<label
for="breite"
>Breite</label>
<input
matInput
type="number" [(ngModel)]="section.width">
<input type="number"
id="width"
[(ngModel)]="section.width">
</
mat-form-field
>
</
div
>
<
mat-form-field
>
<
div fxLayout="column"
>
<
mat-
label>Höhe</
mat-
label>
<label>Höhe</label>
<input
matInput
type="number" [(ngModel)]="section.height">
<input type="number"
id="height"
[(ngModel)]="section.height">
</
mat-form-field
>
</
div
>
<
mat-form-field
>
<
div fxLayout="column"
>
<
mat-
label>Hintergrundfarbe</
mat-
label>
<label
for="bg-color"
>Hintergrundfarbe</label>
<input
matInput
type="text" [(ngModel)]="section.backgroundColor">
<input type="text"
id="bg-color"
[(ngModel)]="section.backgroundColor">
</
mat-form-field
>
</
div
>
</div>
</div>
`
,
`
,
styles
:
[
styles
:
[
'
.canvas-section-toolbar {background-color: #9c9c9c; color: white; padding-left: 10px; font-size: large}
'
,
'
.canvas-section-toolbar {background-color: #9c9c9c; color: white; padding-left: 10px; font-size: large}
'
,
'
.canvas-section-toolbar {align-items: center;}
'
,
'
.canvas-section-toolbar button {margin: 5px;}
'
,
'
.canvas-section-toolbar button {margin: 5px;}
'
,
'
.canvas-section-toolbar mat-checkbox {margin-left: 15px}
'
'
.canvas-section-toolbar mat-checkbox {margin-left: 15px; margin-right: 60px}
'
,
'
.canvas-section-toolbar input {width: 150px}
'
]
]
})
})
export
class
CanvasSectionToolbarComponent
implements
OnInit
{
export
class
CanvasSectionToolbarComponent
implements
OnInit
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment