]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/assets/app.scss
Fix CORS issue for Radarr and Sonarr services
[github/bastienwirtz/homer.git] / src / assets / app.scss
index 001e3a4d395adb37ea8fbbb6ba2e1d95477fc62e..6bb50686259aa06ab029156b3af72abcde01dae7 100644 (file)
   text-overflow: ellipsis;
 }
 
-html {
+html, body, body #app {
   height: 100%;
+  background-color: var(--background);
 }
 
 body {
   font-family: "Raleway", sans-serif;
-  height: 100%;
 
   #app {
+    height: auto;
     min-height: 100%;
-    background-color: var(--background);
+    background-image: var(--background-image);
+    background-size: cover;
+    background-position: center;
     color: var(--text);
     transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
 
@@ -167,6 +170,7 @@ body {
 
     .title {
       font-size: 1.1em;
+      line-height: 1.2em;
       @include ellipsis();
     }
 
@@ -193,6 +197,11 @@ body {
     }
   }
 
+  .media.no-subtitle {
+    display: flex;
+    align-items: center;
+  }
+
   .media-content {
     overflow: hidden;
     text-overflow: inherit;
@@ -202,7 +211,7 @@ body {
     color: var(--highlight-secondary);
     background-color: var(--highlight-secondary);
     position: absolute;
-    top: 1rem;
+    bottom: 1rem;
     right: -0.2rem;
     width: 3px;
     overflow: hidden;
@@ -215,10 +224,10 @@ body {
   }
 
   .card {
-    border-radius: 5px;
     border: none;
     box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
     transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
+    overflow: visible;
 
     a {
       outline: none;
@@ -250,11 +259,13 @@ body {
     }
 
     .column div:first-of-type .card {
-      border-radius: 5px 5px 0 0;
+      border-top-left-radius: 0.25rem;
+      border-top-right-radius: 0.25rem;
     }
 
     .column div:last-child .card {
-      border-radius: 0 0 5px 5px;
+      border-bottom-left-radius: 0.25rem;
+      border-bottom-right-radius: 0.25rem;
     }
   }
 
@@ -322,11 +333,11 @@ body {
     text-align: center;
     margin: 35px 0;
 
-    svg {
+    i {
       font-size: 2rem;
     }
 
-    svg.fa-redo-alt {
+    i.fa-redo-alt {
       font-size: 1.3rem;
       line-height: 1rem;
       vertical-align: middle;
@@ -335,3 +346,7 @@ body {
     }
   }
 }
+
+.group-logo {
+  float: left;
+}