-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tech/3713/view encapsulation slider (#3714)
* chore(visualization): remove unnecessary code * chore(visualization): style improvements * feat(visualization): enable ViewEncapsulation and style improvements * chore(visualization): update changelog
- Loading branch information
1 parent
c98d759
commit fed2e36
Showing
8 changed files
with
59 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 2 additions & 46 deletions
48
visualization/app/codeCharta/ui/slider/slider.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,5 @@ | ||
cc-slider { | ||
:host { | ||
width: 100%; | ||
margin-top: 8px; | ||
|
||
.label { | ||
margin-left: 10px; | ||
} | ||
|
||
.cc-slider-container { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.slider-with-input { | ||
display: flex; | ||
align-items: center; | ||
|
||
mat-slider { | ||
margin: 0px 12px; | ||
flex: 2; | ||
} | ||
|
||
mat-form-field { | ||
flex: 1; | ||
height: 32px; | ||
|
||
.mat-mdc-text-field-wrapper { | ||
padding: 0px 12px; | ||
|
||
.mat-mdc-form-field-flex { | ||
align-self: center; | ||
|
||
.mat-mdc-form-field-infix { | ||
padding: 0; | ||
min-height: 28px; | ||
|
||
.mat-mdc-input-element { | ||
min-height: inherit; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align { | ||
display: none; | ||
} | ||
} | ||
} | ||
} | ||
display: inline-block; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ | |
@import "./matMenu"; | ||
@import "./matDialog"; | ||
@import "./matSelect"; | ||
@import "./slider"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@use "variables"; | ||
|
||
.cc-slider-container { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.label { | ||
margin-left: 10px; | ||
color: variables.$cc-font-color; | ||
} | ||
|
||
.slider-with-input { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
mat-slider { | ||
margin: 0 12px; | ||
flex: 2; | ||
} | ||
|
||
mat-form-field { | ||
flex: 1; | ||
height: 32px; | ||
} | ||
|
||
.mat-mdc-form-field-subscript-wrapper.mat-mdc-form-field-bottom-align { | ||
display: none; | ||
} | ||
|
||
.mat-mdc-text-field-wrapper { | ||
padding: 0 12px; | ||
|
||
.mat-mdc-form-field-flex { | ||
align-self: center; | ||
|
||
.mat-mdc-form-field-infix { | ||
padding: 0; | ||
min-height: 28px; | ||
|
||
.mat-mdc-input-element { | ||
min-height: inherit; | ||
} | ||
} | ||
} | ||
} | ||
} |