Browse Source

Improve styling

pull/40/head
Thomas 4 years ago
parent
commit
26d51fbe38
  1. 9
      CHANGELOG.md
  2. 10
      apps/client/src/app/components/rule/rule.component.html
  3. 9
      apps/client/src/app/components/rule/rule.component.scss

9
CHANGELOG.md

@ -11,14 +11,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Extended the support for feature flags to simplify the initial project setup
### Changed
- Improved the styling of the rules in the _X-Ray_ section
## 0.90.0 - 22.04.2021
### Added
- Improved the user table of the admin control panel
- Added the symbol logo to the position detail dialog
- Introduced a third option for the market state: `delayed` (besides `open` and `closed`)
### Changed
- Improved the user table of the admin control panel
## 0.89.0 - 21.04.2021
### Added

10
apps/client/src/app/components/rule/rule.component.html

@ -1,18 +1,18 @@
<div class="py-3">
<div class="flex-nowrap no-gutters row">
<div class="align-items-center flex-nowrap no-gutters row">
<div *ngIf="isLoading">
<ngx-skeleton-loader
animation="pulse"
class="mr-3"
class="mr-2"
[theme]="{
height: '3rem',
width: '3rem'
height: '2rem',
width: '2rem'
}"
></ngx-skeleton-loader>
</div>
<div
*ngIf="!isLoading"
class="align-items-center d-flex icon-container mr-3 px-3"
class="align-items-center d-flex icon-container mr-2 px-2"
[ngClass]="{ okay: rule?.value === true, warn: rule?.value === false }"
>
<ion-icon

9
apps/client/src/app/components/rule/rule.component.scss

@ -2,15 +2,16 @@
display: block;
.icon-container {
background-color: rgba(var(--dark-primary-text), 0.05);
border-radius: 0.25rem;
height: 3rem;
height: 2rem;
&.okay {
background-color: var(--success);
color: var(--success);
}
&.warn {
background-color: var(--warning);
color: var(--danger);
}
}
@ -21,6 +22,6 @@
:host-context(.is-dark-theme) {
.icon-container {
color: rgba(var(--dark-primary-text));
background-color: rgba(var(--light-primary-text), 0.05);
}
}

Loading…
Cancel
Save