style: apply fixes reported by stylelint

Some fixes to syntax that diverged from main project style
This commit is contained in:
Federico Ricchiuto 2022-02-14 16:08:25 +01:00
parent 7eb22e20d3
commit 0f66110cfb
7 changed files with 12 additions and 15 deletions

View file

@ -24,7 +24,7 @@
} }
::ng-deep nb-search button { ::ng-deep nb-search button {
padding: 0!important; padding: 0 !important;
} }
.header-container { .header-container {

View file

@ -4,7 +4,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information. * Licensed under the MIT License. See License.txt in the project root for license information.
*/ */
@mixin ngx-pace-theme() { @mixin ngx-pace-theme() {
.pace .pace-progress { .pace .pace-progress {
background: nb-theme(color-primary-default); background: nb-theme(color-primary-default);

View file

@ -30,4 +30,4 @@
@include ngx-pace-theme(); @include ngx-pace-theme();
@include nb-overrides(); @include nb-overrides();
}; }

View file

@ -73,7 +73,7 @@
position: relative; position: relative;
&::before { &::before {
background-color: rgba(255, 255, 255, 0.1); background-color: rgb(255 255 255 / 0.1);
content: ''; content: '';
position: absolute; position: absolute;
width: 100%; width: 100%;

View file

@ -25,15 +25,6 @@
margin: 0 nb-theme(card-padding); margin: 0 nb-theme(card-padding);
} }
.delta {
&.up .direction {
color: nb-theme(color-success-default);
}
&.down .direction {
color: nb-theme(color-danger-default);
}
}
.delta { .delta {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
@ -41,6 +32,13 @@
right: 0; right: 0;
@include nb-rtl(left, 0); @include nb-rtl(left, 0);
@include nb-rtl(right, auto); @include nb-rtl(right, auto);
&.up .direction {
color: nb-theme(color-success-default);
}
&.down .direction {
color: nb-theme(color-danger-default);
}
} }
ngx-earning-live-update-chart { ngx-earning-live-update-chart {

View file

@ -12,7 +12,6 @@
nb-chat { nb-chat {
margin: 3rem auto 0; margin: 3rem auto 0;
width: 500px; width: 500px;
} }
.chat-container { .chat-container {

View file

@ -6,7 +6,7 @@
margin: -0.5rem; margin: -0.5rem;
} }
div[class^=col-] { div[class^='col-'] {
padding: 0.5rem; padding: 0.5rem;
box-sizing: border-box; box-sizing: border-box;