109 lines
		
	
	
		
			No EOL
		
	
	
		
			1.7 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			No EOL
		
	
	
		
			1.7 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| html {
 | |
|     background: black;
 | |
|     color: white;
 | |
| }
 | |
| 
 | |
| #container {
 | |
|     display: flex;
 | |
|     flex-direction: column;
 | |
| 
 | |
|     background: #111;
 | |
| 
 | |
|     min-width: 30%;
 | |
|     width: fit-content;
 | |
|     max-width: calc(100% - 16rem);
 | |
|     min-height: 30%;
 | |
|     height: fit-content;
 | |
|     max-height: 100%;
 | |
| 
 | |
|     margin: 3rem auto;
 | |
|     padding: 3rem 4rem;
 | |
|     border-radius: 30px;
 | |
| 
 | |
|     @media screen and (max-width: 500px) {
 | |
|         max-width: calc(100% - 8rem);
 | |
|         border-radius: 0;
 | |
|     }
 | |
| }
 | |
| 
 | |
| h1 {
 | |
|     text-align: center;
 | |
| }
 | |
| 
 | |
| input {
 | |
|     background: #222;
 | |
|     color: inherit;
 | |
|     border: none;
 | |
|     border-radius: 2px;
 | |
| 
 | |
|     &#address {
 | |
|         font-family: monospace;
 | |
|         border-radius: 1rem;
 | |
|         padding: 0.5rem 1rem;
 | |
|         width: calc(100% - 2rem);
 | |
|     }
 | |
| 
 | |
|     &#amount {
 | |
|         border-radius: 1rem;
 | |
|         padding: 0.5rem 1rem;
 | |
|     }
 | |
| 
 | |
|     border-top: 1px solid transparent;
 | |
|     border-bottom: 1px solid transparent;
 | |
| 
 | |
|     &:focus {
 | |
|         outline: none;
 | |
|         border-bottom: 1px solid #0aa;
 | |
|     }
 | |
| 
 | |
|     &:focus.invalid {
 | |
|         border-bottom: 1px solid #a00;
 | |
|     }
 | |
| 
 | |
|     &[type="submit"] {
 | |
|         padding: 0.5rem 4rem;
 | |
|         border-radius: 1rem;
 | |
|         margin-left: auto;
 | |
|         align-self: flex-end;
 | |
|     }
 | |
| 
 | |
|     &[type="submit"]:hover {
 | |
|         cursor: pointer;
 | |
|         background: #444;
 | |
|     }
 | |
| }
 | |
| 
 | |
| #row2 {
 | |
|     width: 100%;
 | |
|     display: flex;
 | |
|     flex-wrap: wrap;
 | |
|     gap: 1rem;
 | |
| }
 | |
| 
 | |
| #return {
 | |
|     text-align: center;
 | |
| 
 | |
|     #return-address {
 | |
|         cursor: pointer;
 | |
|         user-select: all;
 | |
|         word-wrap: anywhere;
 | |
|     }
 | |
| }
 | |
| 
 | |
| #status {
 | |
|     position: absolute;
 | |
|     bottom: 0;
 | |
|     right: 2rem;
 | |
| 
 | |
|     .healthy {
 | |
|         color: #666;
 | |
|     }
 | |
| 
 | |
|     .degraded {
 | |
|         color: #fcc;
 | |
|     }
 | |
| 
 | |
|     .empty {
 | |
|         color: #fcc;
 | |
|     }
 | |
| } | 
