Browse Source

fix css on update bubble

causefx 8 years ago
parent
commit
3241dd0ac8
4 changed files with 34 additions and 1 deletions
  1. 0 1
      api/functions/homepage-connect-functions.php
  2. 29 0
      css/organizr.css
  3. 0 0
      css/organizr.min.css
  4. 5 0
      js/functions.js

+ 0 - 1
api/functions/homepage-connect-functions.php

@@ -1954,7 +1954,6 @@ function testAPIConnection($array)
 		case 'deluge':
 			if (!empty($GLOBALS['delugeURL']) && !empty($GLOBALS['delugePassword'])) {
 				try {
-					
 					$deluge = new deluge($GLOBALS['delugeURL'], decrypt($GLOBALS['delugePassword']));
 					$torrents = $deluge->getTorrents(null, 'comment, download_payload_rate, eta, hash, is_finished, is_seed, message, name, paused, progress, queue, state, total_size, upload_payload_rate');
 					return true;

+ 29 - 0
css/organizr.css

@@ -988,7 +988,23 @@ i.fa.fa-life-ring.fa-fw {
     border: 1px solid #232323;
     border-bottom: transparent;
 }
+.iziToast.update-notify>.iziToast-body .iziToast-icon {
+    color: #9e67f4;
+}
+.iziToast.update-notify>.iziToast-body .iziToast-title,
+.iziToast.update-notify>.iziToast-body .iziToast-message {
+    color: white;
+}
+.update-notify .iziToast-progressbar div {
+    background: #9e67f4;
+}
+.iziToast.update-notify.iziToast-layout2 {
+    background: #1b1a1a;
+    border: 1px solid #232323;
+    border-bottom: transparent;
+}
 .iziToast.success-notify.iziToast-balloon:before,
+.iziToast.update-notify.iziToast-balloon:before,
 .iziToast.info-notify.iziToast-balloon:before,
 .iziToast.warning-notify.iziToast-balloon:before,
 .iziToast.error-notify.iziToast-balloon:before {
@@ -999,6 +1015,7 @@ i.fa.fa-life-ring.fa-fw {
 .ajs-message.ajs-info-alertify { color: #3A83F0;  background-color: #1b1a1a;  border-color: #3A83F0; }
 .ajs-message.ajs-warning-alertify { color: #FFEB3B;  background-color: #1b1a1a;  border-color: #FFEB3B; }
 .ajs-message.ajs-error-alertify { color: #F44336;  background-color: #1b1a1a;  border-color: #F44336; }
+.ajs-message.ajs-update-alertify { color: #9e67f4;  background-color: #1b1a1a;  border-color: #9e67f4; }
 .noty_type__success-noty .noty_body{
     background: #1b1a1a;
     color: rgb(0, 255, 184);
@@ -1024,6 +1041,12 @@ i.fa.fa-life-ring.fa-fw {
     border: 1px solid #232323;
     border-bottom: transparent;
 }
+.noty_type__update-noty .noty_body{
+    background: #1b1a1a;
+    color: #9e67f4;
+    border: 1px solid #232323;
+    border-bottom: transparent;
+}
 
 .noty_type__success-noty.noty_has_timeout.noty_has_progressbar .noty_progressbar {
     background-color: rgb(0, 255, 184);
@@ -1037,6 +1060,9 @@ i.fa.fa-life-ring.fa-fw {
 .noty_type__error-noty.noty_has_timeout.noty_has_progressbar .noty_progressbar {
     background-color: #F44336;
 }
+.noty_type__update-noty.noty_has_timeout.noty_has_progressbar .noty_progressbar {
+    background-color: #9e67f4;
+}
 .noty_type__success-noty ellipse {
     fill: rgb(0, 255, 184);
 }
@@ -1048,4 +1074,7 @@ i.fa.fa-life-ring.fa-fw {
 }
 .noty_type__error-noty ellipse {
     fill: #F44336;
+}
+.noty_type__update-noty ellipse {
+    fill: #9e67f4;
 }

File diff suppressed because it is too large
+ 0 - 0
css/organizr.min.css


+ 5 - 0
js/functions.js

@@ -4136,6 +4136,11 @@ function message(heading,text,position,color,icon,timeout){
                             icon: 'mdi mdi-alert-circle-outline',
                         };
                         break;
+                    case 'update':
+                        var msg ={
+                            icon: 'mdi mdi-webpack',
+                        };
+                        break;
                     default:
                         var msg ={
                             icon: 'mdi mdi-alert-circle-outline',

Some files were not shown because too many files changed in this diff