|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
| 6 | + <link href="../lib/metro.css" rel="stylesheet"> |
| 7 | + <link href="../lib/icons.css" rel="stylesheet"> |
| 8 | + |
| 9 | + <title>Action Button - Metro UI :: Popular HTML, CSS and JS library</title> |
| 10 | +</head> |
| 11 | +<body class="cloak h-100-vh"> |
| 12 | +<nav data-role="appbar" class="border-bottom bd-default"> |
| 13 | + <span class="app-bar-item">Action Button</span> |
| 14 | + <div class="app-bar-item-static no-hover"> |
| 15 | + <input type="checkbox" data-role="theme-switcher"/> |
| 16 | + </div> |
| 17 | +</nav> |
| 18 | + |
| 19 | +<div class="d-flex flex-center h-100"> |
| 20 | + <div class="action-button" style="--num-icons: 8;"> |
| 21 | + <button class="" onclick="$(this).toggleClass('active')"> |
| 22 | + <span class="icon"><span class="mif-git"></span></span> |
| 23 | + </button> |
| 24 | + <ul class="actions"> |
| 25 | + <li style="--i: 0;"><a href="#"><span class="mif-git-branch"></span></a></li> |
| 26 | + <li style="--i: 1;"><a href="#"><span class="mif-git-clone"></span></a></li> |
| 27 | + <li style="--i: 2"><a href="#"><span class="mif-git-commit"></span></a></li> |
| 28 | + <li style="--i: 3;"><a href="#"><span class="mif-git-compare"></span></a></li> |
| 29 | + <li style="--i: 4;"><a href="#"><span class="mif-git-diff"></span></a></li> |
| 30 | + <li style="--i: 5;"><a href="#"><span class="mif-git-draft"></span></a></li> |
| 31 | + <li style="--i: 6;"><a href="#"><span class="mif-git-fork"></span></a></li> |
| 32 | + <li style="--i: 7;"><a href="#"><span class="mif-git-pull"></span></a></li> |
| 33 | + <li style="--i: 8;"><a href="#"><span class="mif-git-push"></span></a></li> |
| 34 | + </ul> |
| 35 | + </div> |
| 36 | +</div> |
| 37 | + |
| 38 | +<script src="../lib/metro.js"></script> |
| 39 | +<script> |
| 40 | + Metro.welcome() |
| 41 | +</script> |
| 42 | +</body> |
| 43 | +</html> |
0 commit comments