-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4f36e8
commit 8e18724
Showing
5 changed files
with
136 additions
and
121 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
100 changes: 50 additions & 50 deletions
100
...tion-stacks-groups/modals/modal-affiliations/modal-affiliations.component.scss-theme.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,50 +1,50 @@ | ||
@use '@angular/material' as mat; | ||
@import 'src/assets/scss/material.orcid-theme.scss'; | ||
|
||
@mixin model-affiliation-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$warn: map-get($theme, accent); | ||
$foreground: map-get($theme, foreground); | ||
$background: map-get($theme, background); | ||
$config: mat.define-legacy-typography-config(); | ||
|
||
input { | ||
border: solid 1px mat.get-color-from-palette($background, grey); | ||
} | ||
|
||
::placeholder { | ||
color: mat.get-color-from-palette($background, placeholder-grey); | ||
} | ||
|
||
:-ms-input-placeholder { | ||
/* Internet Explorer 10-11 */ | ||
color: mat.get-color-from-palette($background, placeholder-grey); | ||
} | ||
|
||
.error { | ||
color: map-get($foreground, 'state-warning-dark'); | ||
} | ||
|
||
.required { | ||
color: map-get($foreground, 'state-warning-dark'); | ||
} | ||
|
||
input.mat-input-element { | ||
border: transparent; | ||
font-size: mat.font-size($config, body-1) !important; | ||
} | ||
|
||
.mat-select { | ||
font-size: mat.font-size($config, body-1) !important; | ||
} | ||
|
||
.organization-identifiers { | ||
color: $orcid-dark-primary-text; | ||
border-color: mat.get-color-from-palette( | ||
$background, | ||
ui-background | ||
) !important; | ||
} | ||
} | ||
@include model-affiliation-theme($orcid-app-theme); | ||
@use '@angular/material' as mat; | ||
@import 'src/assets/scss/material.orcid-theme.scss'; | ||
|
||
@mixin model-affiliation-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$warn: map-get($theme, accent); | ||
$foreground: map-get($theme, foreground); | ||
$background: map-get($theme, background); | ||
$config: mat.define-legacy-typography-config(); | ||
|
||
input { | ||
border: solid 1px mat.get-color-from-palette($background, grey); | ||
} | ||
|
||
::placeholder { | ||
color: mat.get-color-from-palette($background, placeholder-grey); | ||
} | ||
|
||
:-ms-input-placeholder { | ||
/* Internet Explorer 10-11 */ | ||
color: mat.get-color-from-palette($background, placeholder-grey); | ||
} | ||
|
||
.error { | ||
color: map-get($foreground, 'state-warning-dark'); | ||
} | ||
|
||
.required { | ||
color: map-get($foreground, 'state-warning-dark'); | ||
} | ||
|
||
input.mat-input-element { | ||
border: transparent; | ||
font-size: mat.font-size($config, body-1) !important; | ||
} | ||
|
||
.mat-select { | ||
font-size: mat.font-size($config, body-1) !important; | ||
} | ||
|
||
.organization-identifiers { | ||
color: $orcid-dark-primary-text; | ||
border-color: mat.get-color-from-palette( | ||
$background, | ||
ui-background | ||
) !important; | ||
} | ||
} | ||
@include model-affiliation-theme($orcid-app-theme); |
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