Fix #1062: fixed transparent 'later' button in update message
This commit is contained in:
		
							parent
							
								
									02d35ded25
								
							
						
					
					
						commit
						75de92b30b
					
				| 
						 | 
					@ -406,16 +406,16 @@ export default {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    'serviceWorker.updateAvailable': {
 | 
					    'serviceWorker.updateAvailable': {
 | 
				
			||||||
      handler (v) {
 | 
					      handler (v) {
 | 
				
			||||||
        if (!v) {
 | 
					        // if (!v) {
 | 
				
			||||||
          return
 | 
					        //   return
 | 
				
			||||||
        }
 | 
					        // }
 | 
				
			||||||
        let self = this
 | 
					        let self = this
 | 
				
			||||||
        this.$store.commit('ui/addMessage', {
 | 
					        this.$store.commit('ui/addMessage', {
 | 
				
			||||||
          content: this.$pgettext("App/Message/Paragraph", "A new version of the app is available."),
 | 
					          content: this.$pgettext("App/Message/Paragraph", "A new version of the app is available."),
 | 
				
			||||||
          date: new Date(),
 | 
					          date: new Date(),
 | 
				
			||||||
          key: 'refreshApp',
 | 
					          key: 'refreshApp',
 | 
				
			||||||
          displayTime: 0,
 | 
					          displayTime: 0,
 | 
				
			||||||
          classActions: 'bottom attached',
 | 
					          classActions: 'bottom attached opaque',
 | 
				
			||||||
          actions: [
 | 
					          actions: [
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
              text: this.$pgettext("App/Message/Paragraph", "Update"),
 | 
					              text: this.$pgettext("App/Message/Paragraph", "Update"),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,7 +31,7 @@ $link-color: rgb(255, 144, 0);
 | 
				
			||||||
      color: $text-color;
 | 
					      color: $text-color;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .main.with-background {
 | 
					  .main.with-background, .opaque {
 | 
				
			||||||
    background-color: $background-color;
 | 
					    background-color: $background-color;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .ui.link.list.list .active.item,
 | 
					  .ui.link.list.list .active.item,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,7 @@
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .main.with-background {
 | 
					  .main.with-background, .opaque {
 | 
				
			||||||
    background-color: white;
 | 
					    background-color: white;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue