add slider to change VLAN colors
This commit is contained in:
		
							
								
								
									
										14
									
								
								style.css
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								style.css
									
									
									
									
									
								
							| @ -67,4 +67,18 @@ td { | |||||||
|     position: absolute; |     position: absolute; | ||||||
|     bottom: 0; |     bottom: 0; | ||||||
|     left: 0; |     left: 0; | ||||||
|  | } | ||||||
|  | footer { | ||||||
|  |     display: flex; | ||||||
|  |     flex-flow: column; | ||||||
|  |     align-items: center; | ||||||
|  | } | ||||||
|  | #colorSlider { | ||||||
|  |     width: 33%; | ||||||
|  | } | ||||||
|  | @media print { | ||||||
|  |     #colorSliderLabel, | ||||||
|  |     #colorSlider { | ||||||
|  |         display: none; | ||||||
|  |     } | ||||||
| } | } | ||||||
| @ -82,5 +82,10 @@ foreach ($vlans as $vlan) { | |||||||
| </tbody> | </tbody> | ||||||
| </table> | </table> | ||||||
| </main> | </main> | ||||||
|  | <footer>   | ||||||
|  | <label id="colorSliderLabel" for="colorSlider">Changer les couleurs</label> | ||||||
|  | <input id="colorSlider" type="range" min="0" max="2000000" step="0.000000001" value="1353651.53435435" | ||||||
|  |     oninput="document.documentElement.style.setProperty('--k', this.value);"> | ||||||
|  | </footer> | ||||||
| </body> | </body> | ||||||
| </html> | </html> | ||||||
		Reference in New Issue
	
	Block a user