utilities-animation.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>SB Admin 2 - Animation Utilities</title>
  10. <!-- Custom fonts for this template-->
  11. <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  12. <link
  13. href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
  14. rel="stylesheet">
  15. <!-- Custom styles for this template-->
  16. <link href="css/sb-admin-2.min.css" rel="stylesheet">
  17. </head>
  18. <body id="page-top">
  19. <!-- Page Wrapper -->
  20. <div id="wrapper">
  21. <!-- Sidebar -->
  22. <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
  23. <!-- Sidebar - Brand -->
  24. <a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">
  25. <div class="sidebar-brand-icon rotate-n-15">
  26. <i class="fas fa-laugh-wink"></i>
  27. </div>
  28. <div class="sidebar-brand-text mx-3">SB Admin <sup>2</sup></div>
  29. </a>
  30. <!-- Divider -->
  31. <hr class="sidebar-divider my-0">
  32. <!-- Nav Item - Dashboard -->
  33. <li class="nav-item">
  34. <a class="nav-link" href="index.html">
  35. <i class="fas fa-fw fa-tachometer-alt"></i>
  36. <span>Dashboard</span></a>
  37. </li>
  38. <!-- Divider -->
  39. <hr class="sidebar-divider">
  40. <!-- Heading -->
  41. <div class="sidebar-heading">
  42. Interface
  43. </div>
  44. <!-- Nav Item - Pages Collapse Menu -->
  45. <li class="nav-item">
  46. <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTwo"
  47. aria-expanded="true" aria-controls="collapseTwo">
  48. <i class="fas fa-fw fa-cog"></i>
  49. <span>Components</span>
  50. </a>
  51. <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
  52. <div class="bg-white py-2 collapse-inner rounded">
  53. <h6 class="collapse-header">Custom Components:</h6>
  54. <a class="collapse-item" href="buttons.html">Buttons</a>
  55. <a class="collapse-item" href="cards.html">Cards</a>
  56. </div>
  57. </div>
  58. </li>
  59. <!-- Nav Item - Utilities Collapse Menu -->
  60. <li class="nav-item active">
  61. <a class="nav-link" href="#" data-toggle="collapse" data-target="#collapseUtilities"
  62. aria-expanded="true" aria-controls="collapseUtilities">
  63. <i class="fas fa-fw fa-wrench"></i>
  64. <span>Utilities</span>
  65. </a>
  66. <div id="collapseUtilities" class="collapse show" aria-labelledby="headingUtilities"
  67. data-parent="#accordionSidebar">
  68. <div class="bg-white py-2 collapse-inner rounded">
  69. <h6 class="collapse-header">Custom Utilities:</h6>
  70. <a class="collapse-item" href="utilities-color.html">Colors</a>
  71. <a class="collapse-item" href="utilities-border.html">Borders</a>
  72. <a class="collapse-item active" href="utilities-animation.html">Animations</a>
  73. <a class="collapse-item" href="utilities-other.html">Other</a>
  74. </div>
  75. </div>
  76. </li>
  77. <!-- Divider -->
  78. <hr class="sidebar-divider">
  79. <!-- Heading -->
  80. <div class="sidebar-heading">
  81. Addons
  82. </div>
  83. <!-- Nav Item - Pages Collapse Menu -->
  84. <li class="nav-item">
  85. <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages"
  86. aria-expanded="true" aria-controls="collapsePages">
  87. <i class="fas fa-fw fa-folder"></i>
  88. <span>Pages</span>
  89. </a>
  90. <div id="collapsePages" class="collapse" aria-labelledby="headingPages" data-parent="#accordionSidebar">
  91. <div class="bg-white py-2 collapse-inner rounded">
  92. <h6 class="collapse-header">Login Screens:</h6>
  93. <a class="collapse-item" href="login.html">Login</a>
  94. <a class="collapse-item" href="register.html">Register</a>
  95. <a class="collapse-item" href="forgot-password.html">Forgot Password</a>
  96. <div class="collapse-divider"></div>
  97. <h6 class="collapse-header">Other Pages:</h6>
  98. <a class="collapse-item" href="404.html">404 Page</a>
  99. <a class="collapse-item" href="blank.html">Blank Page</a>
  100. </div>
  101. </div>
  102. </li>
  103. <!-- Nav Item - Charts -->
  104. <li class="nav-item">
  105. <a class="nav-link" href="charts.html">
  106. <i class="fas fa-fw fa-chart-area"></i>
  107. <span>Charts</span></a>
  108. </li>
  109. <!-- Nav Item - Tables -->
  110. <li class="nav-item">
  111. <a class="nav-link" href="tables.html">
  112. <i class="fas fa-fw fa-table"></i>
  113. <span>Tables</span></a>
  114. </li>
  115. <!-- Divider -->
  116. <hr class="sidebar-divider d-none d-md-block">
  117. <!-- Sidebar Toggler (Sidebar) -->
  118. <div class="text-center d-none d-md-inline">
  119. <button class="rounded-circle border-0" id="sidebarToggle"></button>
  120. </div>
  121. </ul>
  122. <!-- End of Sidebar -->
  123. <!-- Content Wrapper -->
  124. <div id="content-wrapper" class="d-flex flex-column">
  125. <!-- Main Content -->
  126. <div id="content">
  127. <!-- Topbar -->
  128. <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
  129. <!-- Sidebar Toggle (Topbar) -->
  130. <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
  131. <i class="fa fa-bars"></i>
  132. </button>
  133. <!-- Topbar Search -->
  134. <form
  135. class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-search">
  136. <div class="input-group">
  137. <input type="text" class="form-control bg-light border-0 small" placeholder="Search for..."
  138. aria-label="Search" aria-describedby="basic-addon2">
  139. <div class="input-group-append">
  140. <button class="btn btn-primary" type="button">
  141. <i class="fas fa-search fa-sm"></i>
  142. </button>
  143. </div>
  144. </div>
  145. </form>
  146. <!-- Topbar Navbar -->
  147. <ul class="navbar-nav ml-auto">
  148. <!-- Nav Item - Search Dropdown (Visible Only XS) -->
  149. <li class="nav-item dropdown no-arrow d-sm-none">
  150. <a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button"
  151. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  152. <i class="fas fa-search fa-fw"></i>
  153. </a>
  154. <!-- Dropdown - Messages -->
  155. <div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in"
  156. aria-labelledby="searchDropdown">
  157. <form class="form-inline mr-auto w-100 navbar-search">
  158. <div class="input-group">
  159. <input type="text" class="form-control bg-light border-0 small"
  160. placeholder="Search for..." aria-label="Search"
  161. aria-describedby="basic-addon2">
  162. <div class="input-group-append">
  163. <button class="btn btn-primary" type="button">
  164. <i class="fas fa-search fa-sm"></i>
  165. </button>
  166. </div>
  167. </div>
  168. </form>
  169. </div>
  170. </li>
  171. <!-- Nav Item - Alerts -->
  172. <li class="nav-item dropdown no-arrow mx-1">
  173. <a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button"
  174. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  175. <i class="fas fa-bell fa-fw"></i>
  176. <!-- Counter - Alerts -->
  177. <span class="badge badge-danger badge-counter">3+</span>
  178. </a>
  179. <!-- Dropdown - Alerts -->
  180. <div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in"
  181. aria-labelledby="alertsDropdown">
  182. <h6 class="dropdown-header">
  183. Alerts Center
  184. </h6>
  185. <a class="dropdown-item d-flex align-items-center" href="#">
  186. <div class="mr-3">
  187. <div class="icon-circle bg-primary">
  188. <i class="fas fa-file-alt text-white"></i>
  189. </div>
  190. </div>
  191. <div>
  192. <div class="small text-gray-500">December 12, 2019</div>
  193. <span class="font-weight-bold">A new monthly report is ready to download!</span>
  194. </div>
  195. </a>
  196. <a class="dropdown-item d-flex align-items-center" href="#">
  197. <div class="mr-3">
  198. <div class="icon-circle bg-success">
  199. <i class="fas fa-donate text-white"></i>
  200. </div>
  201. </div>
  202. <div>
  203. <div class="small text-gray-500">December 7, 2019</div>
  204. $290.29 has been deposited into your account!
  205. </div>
  206. </a>
  207. <a class="dropdown-item d-flex align-items-center" href="#">
  208. <div class="mr-3">
  209. <div class="icon-circle bg-warning">
  210. <i class="fas fa-exclamation-triangle text-white"></i>
  211. </div>
  212. </div>
  213. <div>
  214. <div class="small text-gray-500">December 2, 2019</div>
  215. Spending Alert: We've noticed unusually high spending for your account.
  216. </div>
  217. </a>
  218. <a class="dropdown-item text-center small text-gray-500" href="#">Show All Alerts</a>
  219. </div>
  220. </li>
  221. <!-- Nav Item - Messages -->
  222. <li class="nav-item dropdown no-arrow mx-1">
  223. <a class="nav-link dropdown-toggle" href="#" id="messagesDropdown" role="button"
  224. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  225. <i class="fas fa-envelope fa-fw"></i>
  226. <!-- Counter - Messages -->
  227. <span class="badge badge-danger badge-counter">7</span>
  228. </a>
  229. <!-- Dropdown - Messages -->
  230. <div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in"
  231. aria-labelledby="messagesDropdown">
  232. <h6 class="dropdown-header">
  233. Message Center
  234. </h6>
  235. <a class="dropdown-item d-flex align-items-center" href="#">
  236. <div class="dropdown-list-image mr-3">
  237. <img class="rounded-circle" src="img/undraw_profile_1.svg"
  238. alt="...">
  239. <div class="status-indicator bg-success"></div>
  240. </div>
  241. <div class="font-weight-bold">
  242. <div class="text-truncate">Hi there! I am wondering if you can help me with a
  243. problem I've been having.</div>
  244. <div class="small text-gray-500">Emily Fowler · 58m</div>
  245. </div>
  246. </a>
  247. <a class="dropdown-item d-flex align-items-center" href="#">
  248. <div class="dropdown-list-image mr-3">
  249. <img class="rounded-circle" src="img/undraw_profile_2.svg"
  250. alt="...">
  251. <div class="status-indicator"></div>
  252. </div>
  253. <div>
  254. <div class="text-truncate">I have the photos that you ordered last month, how
  255. would you like them sent to you?</div>
  256. <div class="small text-gray-500">Jae Chun · 1d</div>
  257. </div>
  258. </a>
  259. <a class="dropdown-item d-flex align-items-center" href="#">
  260. <div class="dropdown-list-image mr-3">
  261. <img class="rounded-circle" src="img/undraw_profile_3.svg"
  262. alt="...">
  263. <div class="status-indicator bg-warning"></div>
  264. </div>
  265. <div>
  266. <div class="text-truncate">Last month's report looks great, I am very happy with
  267. the progress so far, keep up the good work!</div>
  268. <div class="small text-gray-500">Morgan Alvarez · 2d</div>
  269. </div>
  270. </a>
  271. <a class="dropdown-item d-flex align-items-center" href="#">
  272. <div class="dropdown-list-image mr-3">
  273. <img class="rounded-circle" src="https://source.unsplash.com/Mv9hjnEUHR4/60x60"
  274. alt="...">
  275. <div class="status-indicator bg-success"></div>
  276. </div>
  277. <div>
  278. <div class="text-truncate">Am I a good boy? The reason I ask is because someone
  279. told me that people say this to all dogs, even if they aren't good...</div>
  280. <div class="small text-gray-500">Chicken the Dog · 2w</div>
  281. </div>
  282. </a>
  283. <a class="dropdown-item text-center small text-gray-500" href="#">Read More Messages</a>
  284. </div>
  285. </li>
  286. <div class="topbar-divider d-none d-sm-block"></div>
  287. <!-- Nav Item - User Information -->
  288. <li class="nav-item dropdown no-arrow">
  289. <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button"
  290. data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  291. <span class="mr-2 d-none d-lg-inline text-gray-600 small">Douglas McGee</span>
  292. <img class="img-profile rounded-circle"
  293. src="img/undraw_profile.svg">
  294. </a>
  295. <!-- Dropdown - User Information -->
  296. <div class="dropdown-menu dropdown-menu-right shadow animated--grow-in"
  297. aria-labelledby="userDropdown">
  298. <a class="dropdown-item" href="#">
  299. <i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>
  300. Profile
  301. </a>
  302. <a class="dropdown-item" href="#">
  303. <i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>
  304. Settings
  305. </a>
  306. <a class="dropdown-item" href="#">
  307. <i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>
  308. Activity Log
  309. </a>
  310. <div class="dropdown-divider"></div>
  311. <a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">
  312. <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
  313. Logout
  314. </a>
  315. </div>
  316. </li>
  317. </ul>
  318. </nav>
  319. <!-- End of Topbar -->
  320. <!-- Begin Page Content -->
  321. <div class="container-fluid">
  322. <!-- Page Heading -->
  323. <h1 class="h3 mb-1 text-gray-800">Animation Utilities</h1>
  324. <p class="mb-4">Bootstrap's default utility classes can be found on the official <a
  325. href="https://getbootstrap.com/docs">Bootstrap Documentation</a> page. The custom utilities
  326. below were created to extend this theme past the default utility classes built into Bootstrap's
  327. framework.</p>
  328. <!-- Content Row -->
  329. <div class="row">
  330. <!-- Grow In Utility -->
  331. <div class="col-lg-6">
  332. <div class="card position-relative">
  333. <div class="card-header py-3">
  334. <h6 class="m-0 font-weight-bold text-primary">Grow In Animation Utilty</h6>
  335. </div>
  336. <div class="card-body">
  337. <div class="mb-3">
  338. <code>.animated--grow-in</code>
  339. </div>
  340. <div class="small mb-1">Navbar Dropdown Example:</div>
  341. <nav class="navbar navbar-expand navbar-light bg-light mb-4">
  342. <a class="navbar-brand" href="#">Navbar</a>
  343. <ul class="navbar-nav ml-auto">
  344. <li class="nav-item dropdown">
  345. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown"
  346. role="button" data-toggle="dropdown" aria-haspopup="true"
  347. aria-expanded="false">
  348. Dropdown
  349. </a>
  350. <div class="dropdown-menu dropdown-menu-right animated--grow-in"
  351. aria-labelledby="navbarDropdown">
  352. <a class="dropdown-item" href="#">Action</a>
  353. <a class="dropdown-item" href="#">Another action</a>
  354. <div class="dropdown-divider"></div>
  355. <a class="dropdown-item" href="#">Something else here</a>
  356. </div>
  357. </li>
  358. </ul>
  359. </nav>
  360. <p class="mb-0 small">Note: This utility animates the CSS transform property,
  361. meaning it will override any existing transforms on an element being animated!
  362. In this theme, the grow in animation is only being used on dropdowns within the
  363. navbar.</p>
  364. </div>
  365. </div>
  366. </div>
  367. <!-- Fade In Utility -->
  368. <div class="col-lg-6">
  369. <div class="card position-relative">
  370. <div class="card-header py-3">
  371. <h6 class="m-0 font-weight-bold text-primary">Fade In Animation Utilty</h6>
  372. </div>
  373. <div class="card-body">
  374. <div class="mb-3">
  375. <code>.animated--fade-in</code>
  376. </div>
  377. <div class="small mb-1">Navbar Dropdown Example:</div>
  378. <nav class="navbar navbar-expand navbar-light bg-light mb-4">
  379. <a class="navbar-brand" href="#">Navbar</a>
  380. <ul class="navbar-nav ml-auto">
  381. <li class="nav-item dropdown">
  382. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown"
  383. role="button" data-toggle="dropdown" aria-haspopup="true"
  384. aria-expanded="false">
  385. Dropdown
  386. </a>
  387. <div class="dropdown-menu dropdown-menu-right animated--fade-in"
  388. aria-labelledby="navbarDropdown">
  389. <a class="dropdown-item" href="#">Action</a>
  390. <a class="dropdown-item" href="#">Another action</a>
  391. <div class="dropdown-divider"></div>
  392. <a class="dropdown-item" href="#">Something else here</a>
  393. </div>
  394. </li>
  395. </ul>
  396. </nav>
  397. <div class="small mb-1">Dropdown Button Example:</div>
  398. <div class="dropdown mb-4">
  399. <button class="btn btn-primary dropdown-toggle" type="button"
  400. id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
  401. aria-expanded="false">
  402. Dropdown
  403. </button>
  404. <div class="dropdown-menu animated--fade-in"
  405. aria-labelledby="dropdownMenuButton">
  406. <a class="dropdown-item" href="#">Action</a>
  407. <a class="dropdown-item" href="#">Another action</a>
  408. <a class="dropdown-item" href="#">Something else here</a>
  409. </div>
  410. </div>
  411. <p class="mb-0 small">Note: This utility animates the CSS opacity property, meaning
  412. it will override any existing opacity on an element being animated!</p>
  413. </div>
  414. </div>
  415. </div>
  416. </div>
  417. </div>
  418. <!-- /.container-fluid -->
  419. </div>
  420. <!-- End of Main Content -->
  421. <!-- Footer -->
  422. <footer class="sticky-footer bg-white">
  423. <div class="container my-auto">
  424. <div class="copyright text-center my-auto">
  425. <span>Copyright &copy; Your Website 2020</span>
  426. </div>
  427. </div>
  428. </footer>
  429. <!-- End of Footer -->
  430. </div>
  431. <!-- End of Content Wrapper -->
  432. </div>
  433. <!-- End of Page Wrapper -->
  434. <!-- Scroll to Top Button-->
  435. <a class="scroll-to-top rounded" href="#page-top">
  436. <i class="fas fa-angle-up"></i>
  437. </a>
  438. <!-- Logout Modal-->
  439. <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  440. aria-hidden="true">
  441. <div class="modal-dialog" role="document">
  442. <div class="modal-content">
  443. <div class="modal-header">
  444. <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
  445. <button class="close" type="button" data-dismiss="modal" aria-label="Close">
  446. <span aria-hidden="true">×</span>
  447. </button>
  448. </div>
  449. <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
  450. <div class="modal-footer">
  451. <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
  452. <a class="btn btn-primary" href="login.html">Logout</a>
  453. </div>
  454. </div>
  455. </div>
  456. </div>
  457. <!-- Bootstrap core JavaScript-->
  458. <script src="vendor/jquery/jquery.min.js"></script>
  459. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  460. <!-- Core plugin JavaScript-->
  461. <script src="vendor/jquery-easing/jquery.easing.min.js"></script>
  462. <!-- Custom scripts for all pages-->
  463. <script src="js/sb-admin-2.min.js"></script>
  464. </body>
  465. </html>