From 94862aee372ecb51220bd14c8103a7e54ac39e2a Mon Sep 17 00:00:00 2001 From: twanariens Date: Wed, 31 Mar 2021 23:13:52 +0200 Subject: [PATCH] Some styling changes to the discover page --- .../components/card/discover-card.component.html | 5 +++-- .../components/card/discover-card.component.scss | 15 ++++++++++----- .../src/app/my-nav/my-nav.component.scss | 4 +--- src/Ombi/wwwroot/translations/en.json | 4 +++- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html index 2f5f00703..1dcf4824c 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html +++ b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html @@ -3,7 +3,7 @@
- {{RequestType[result.type] | humanize}} + {{ 'Common.' + RequestType[result.type] | translate }}
{{getAvailbilityStatus()}} @@ -21,9 +21,10 @@
-
diff --git a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss index ec2dbae3b..d495fc000 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss +++ b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss @@ -1,5 +1,4 @@ -$ombi-primary:#3f3f3f; -$card-background: #2b2b2b; +@import "~styles/variables.scss"; #cardImage { border-radius: 5px; @@ -141,19 +140,20 @@ small { .card-top-info{ position: absolute; - text-transform: uppercase; top: 0px; width: 100%; - background-color: rgba(15,23,31,0.6); + background-color: rgba(15,23,31,0.7); display:flex; justify-content: space-between; padding-top:0.6em; padding-bottom:0.3em; z-index:2; + letter-spacing: 0.2px; } .top-left { font-size: 14px; + font-weight:200; padding-left: 0.5em; font-size: 14px; } @@ -161,6 +161,7 @@ small { /* common */ .top-right{ display:flex; + font-weight:200; } .top-right span.indicator, span.indicator-text { @@ -247,7 +248,7 @@ a.poster-overlay:hover{ width: 100%; margin-left: 0; margin-right: 0; - margin-top: -37px; + margin-top: -36px; margin-bottom: 0px; opacity:0; transition: .5s ease; @@ -261,4 +262,8 @@ a.poster-overlay:hover{ .c:hover .button-request-container { opacity:1; +} + +.btn-ombi{ + background-color:$ombi-active-text; } \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss index 315beb1df..64b377ac9 100644 --- a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss +++ b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.scss @@ -92,7 +92,7 @@ font-size: 0.8em; font-weight: 100; display:flex; - justify-content: end; + justify-content: flex-end; align-items: flex-end; text-transform: capitalize; flex:0 0 250px; @@ -139,7 +139,6 @@ text-transform: uppercase; color: $ombi-active; align-items:center; - justify-content: center; font-weight: 700; font-size:36px; padding:40px 20px; @@ -147,7 +146,6 @@ max-width: 350px; display: flex; white-space: normal; - text-align: center; } .outer-profile { diff --git a/src/Ombi/wwwroot/translations/en.json b/src/Ombi/wwwroot/translations/en.json index cf865fce7..fab6213a7 100644 --- a/src/Ombi/wwwroot/translations/en.json +++ b/src/Ombi/wwwroot/translations/en.json @@ -31,7 +31,9 @@ "Validation": "Please check your entered values" }, "Cancel": "Cancel", - "Submit": "Submit" + "Submit": "Submit", + "tvShow": "TV Show", + "movie": "Movie" }, "PasswordReset": { "EmailAddressPlaceholder": "Email Address",