MOBILE-3814 style: Reduce usage of theme globals if not needed

main
Pau Ferrer Ocaña 2022-02-11 11:22:58 +01:00
parent e79c5d8edb
commit bb28a899bd
5 changed files with 10 additions and 15 deletions

View File

@ -1,7 +1,3 @@
@import "~theme/globals"; ion-item > p[slot="end"] {
font-size: 14px;
:host {
ion-item > p[slot="end"] {
font-size: 14px;
}
} }

View File

@ -1,5 +1,3 @@
@import "~theme/globals";
:host { :host {
> div { > div {
max-width: 100%; max-width: 100%;
@ -14,7 +12,10 @@
.core-loading-container { .core-loading-container {
position: absolute; position: absolute;
@include position(0, 0, 0, 0); top: 0;
bottom: 0;
left: 0;
right: 0;
display: table; display: table;
height: 100%; height: 100%;
width: 100%; width: 100%;

View File

@ -1,5 +1,3 @@
@import "~theme/globals";
ion-item { ion-item {
--border-color: var(--core-more-item-border, var(--ion-border-color)); --border-color: var(--core-more-item-border, var(--ion-border-color));

View File

@ -5,6 +5,7 @@
ion-badge { ion-badge {
cursor: pointer; cursor: pointer;
@include margin-horizontal(4px, 4px); margin-left: 4px;
margin-right: 4px;
} }
} }

View File

@ -1,5 +1,3 @@
@import "~theme/globals";
:host { :host {
.core-user-profile-maininfo::part(native) { .core-user-profile-maininfo::part(native) {
@ -41,7 +39,8 @@
.core-user-profile-interests { .core-user-profile-interests {
ion-badge { ion-badge {
cursor: pointer; cursor: pointer;
@include margin-horizontal(3px, 3px); margin-left: 4px;
margin-right: 4px;
} }
} }