mirror of https://github.com/ghostfolio/ghostfolio
committed by
Thomas Kaul
16 changed files with 78 additions and 277 deletions
@ -1,5 +1,4 @@ |
|||||
{ |
{ |
||||
"editor.defaultFormatter": "esbenp.prettier-vscode", |
"editor.defaultFormatter": "esbenp.prettier-vscode", |
||||
"editor.formatOnSave": true, |
"editor.formatOnSave": true |
||||
"vsicons.presets.angular": true |
|
||||
} |
} |
||||
|
@ -1,47 +1,5 @@ |
|||||
:host { |
@import '../shared/resource-page'; |
||||
display: block; |
|
||||
padding: 1rem; |
|
||||
} |
|
||||
|
|
||||
// Target the parent panel |
|
||||
:host-context(.mat-tab-nav-panel) { |
|
||||
-ms-overflow-style: none; /* IE and Edge */ |
|
||||
scrollbar-width: none; /* Firefox */ |
|
||||
|
|
||||
&::-webkit-scrollbar { |
|
||||
/* Chrome, Safari and Opera */ |
|
||||
display: none; |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
.container { |
|
||||
max-width: 800px; |
|
||||
margin: 0 auto; |
|
||||
} |
|
||||
|
|
||||
h1 { |
|
||||
margin-bottom: 2rem; |
|
||||
} |
|
||||
|
|
||||
.glossary-list { |
:host { |
||||
.mb-4 { |
@include resource-page; |
||||
margin-bottom: 2rem; |
|
||||
} |
|
||||
|
|
||||
h3 { |
|
||||
margin-bottom: 0.5rem; |
|
||||
} |
|
||||
|
|
||||
p { |
|
||||
margin-bottom: 0.5rem; |
|
||||
} |
|
||||
|
|
||||
a { |
|
||||
color: #007bff; |
|
||||
text-decoration: none; |
|
||||
|
|
||||
&:hover { |
|
||||
text-decoration: underline; |
|
||||
} |
|
||||
} |
|
||||
} |
} |
||||
|
@ -1,43 +1,5 @@ |
|||||
:host { |
@import '../shared/resource-page'; |
||||
display: block; |
|
||||
color: rgb(var(--dark-primary-text)); |
|
||||
|
|
||||
.container { |
|
||||
max-width: 800px; |
|
||||
margin: 0 auto; |
|
||||
} |
|
||||
|
|
||||
h1 { |
|
||||
margin-bottom: 2rem; |
|
||||
} |
|
||||
|
|
||||
.guides-list { |
|
||||
.mb-4 { |
|
||||
margin-bottom: 2rem; |
|
||||
} |
|
||||
|
|
||||
h3 { |
|
||||
margin-top: 0; |
|
||||
margin-bottom: 0.5rem; |
|
||||
} |
|
||||
|
|
||||
p { |
:host { |
||||
margin-bottom: 0.5rem; |
@include resource-page; |
||||
} |
|
||||
|
|
||||
a { |
|
||||
color: rgba(var(--palette-primary-500), 1); |
|
||||
font-weight: 500; |
|
||||
text-decoration: none; |
|
||||
|
|
||||
&:hover { |
|
||||
color: rgba(var(--palette-primary-300), 1); |
|
||||
text-decoration: underline; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
:host-context(.theme-dark) { |
|
||||
color: rgb(var(--light-primary-text)); |
|
||||
} |
} |
||||
|
@ -1,54 +1,5 @@ |
|||||
:host { |
@import '../shared/resource-page'; |
||||
color: rgb(var(--dark-primary-text)); |
|
||||
display: block; |
|
||||
|
|
||||
.market-resources { |
|
||||
display: grid; |
|
||||
gap: 1rem; |
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); |
|
||||
|
|
||||
.mat-mdc-card { |
|
||||
height: 100%; |
|
||||
transition: border-color 0.3s ease; |
|
||||
|
|
||||
&:hover { |
|
||||
border-color: var(--gf-theme-primary-500); |
|
||||
} |
|
||||
|
|
||||
.mat-mdc-card-header { |
|
||||
.mat-mdc-card-title { |
|
||||
font-size: 1.1rem; |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
.mat-mdc-card-content { |
|
||||
font-size: 0.9rem; |
|
||||
} |
|
||||
|
|
||||
.mat-mdc-card-actions { |
|
||||
padding: 0 1rem 1rem; |
|
||||
} |
|
||||
|
|
||||
a { |
:host { |
||||
color: rgba(var(--palette-primary-500), 1); |
@include resource-page; |
||||
font-weight: 500; |
|
||||
text-decoration: none; |
|
||||
|
|
||||
&:hover { |
|
||||
color: rgba(var(--palette-primary-300), 1); |
|
||||
text-decoration: underline; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
:host-context(.theme-dark) { |
|
||||
color: rgb(var(--light-primary-text)); |
|
||||
|
|
||||
.market-resources { |
|
||||
.mat-mdc-card { |
|
||||
background-color: rgba(var(--palette-background-card-dark), 1); |
|
||||
} |
|
||||
} |
|
||||
} |
} |
||||
|
@ -1,77 +1,17 @@ |
|||||
|
@import './shared/resource-page'; |
||||
|
|
||||
:host { |
:host { |
||||
color: rgb(var(--dark-primary-text)); |
|
||||
display: flex; |
display: flex; |
||||
flex-direction: row; |
flex-direction: row; |
||||
height: 100%; |
height: 100%; |
||||
|
|
||||
// Add this to ensure proper ordering |
|
||||
nav { |
|
||||
order: 1; // This will force the nav to be first |
|
||||
} |
|
||||
|
|
||||
a { |
|
||||
color: rgba(var(--palette-primary-500), 1); |
|
||||
font-weight: 500; |
|
||||
|
|
||||
&:hover { |
|
||||
color: rgba(var(--palette-primary-300), 1); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
:host-context(.theme-dark) { |
|
||||
color: rgb(var(--light-primary-text)); |
|
||||
} |
|
||||
|
|
||||
.mat-tab-nav-bar { |
|
||||
border-top: none; |
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.12); |
|
||||
flex-direction: column; |
|
||||
width: 240px; |
|
||||
} |
|
||||
|
|
||||
.mat-tab-link { |
|
||||
flex-direction: row; |
|
||||
justify-content: flex-start; |
|
||||
height: 48px; |
|
||||
padding: 0 16px; |
|
||||
min-width: auto; |
|
||||
|
|
||||
ion-icon { |
|
||||
font-size: 24px; |
|
||||
} |
} |
||||
|
|
||||
.d-none { |
::ng-deep .resource-content { |
||||
margin-left: 8px; |
@include resource-page; |
||||
} |
|
||||
} |
} |
||||
|
|
||||
@media (max-width: 599px) { |
@media (max-width: 599px) { |
||||
:host { |
:host { |
||||
flex-direction: column-reverse; |
flex-direction: column-reverse; |
||||
} |
} |
||||
|
|
||||
.mat-tab-nav-bar { |
|
||||
width: 100%; |
|
||||
border-right: none; |
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.12); |
|
||||
} |
|
||||
|
|
||||
.mat-tab-link { |
|
||||
flex-direction: column; |
|
||||
height: auto; |
|
||||
padding: 8px 16px; |
|
||||
|
|
||||
ion-icon { |
|
||||
font-size: 28px; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
.flex-grow-1 { |
|
||||
flex-grow: 1; |
|
||||
} |
|
||||
|
|
||||
.overflow-auto { |
|
||||
overflow: auto; |
|
||||
} |
} |
||||
|
@ -0,0 +1,25 @@ |
|||||
|
@mixin resource-page { |
||||
|
display: block; |
||||
|
padding: 1rem; |
||||
|
color: rgb(var(--dark-primary-text)); |
||||
|
|
||||
|
.container { |
||||
|
max-width: 800px; |
||||
|
margin: 0 auto; |
||||
|
} |
||||
|
|
||||
|
a { |
||||
|
color: rgba(var(--palette-primary-500), 1); |
||||
|
font-weight: 500; |
||||
|
text-decoration: none; |
||||
|
|
||||
|
&:hover { |
||||
|
color: rgba(var(--palette-primary-300), 1); |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
:host-context(.theme-dark) & { |
||||
|
color: rgb(var(--light-primary-text)); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue