From 075286644853c81d1960eec7544d087b57a8ccb9 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 10 Dec 2016 23:04:03 +0800 Subject: [PATCH] add context menu --- bower.json | 1 + src/index.html | 1 + src/styles/core/core.css | 4 +++ src/views/list.html | 76 +++++++++++++++++++++++++++++++++++++++- 4 files changed, 81 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index c57efb4..7bd6fc5 100644 --- a/bower.json +++ b/bower.json @@ -31,6 +31,7 @@ "sweetalert": "^1.1.3", "awesome-bootstrap-checkbox": "^0.3.7", "jquery-slimscroll": "^1.3.8", + "bootstrap-contextmenu": "^0.3.4", "angular": "1.4.10", "angular-route": "1.4.10", "angular-sanitize": "1.4.10", diff --git a/src/index.html b/src/index.html index 5549771..03e51d5 100644 --- a/src/index.html +++ b/src/index.html @@ -276,6 +276,7 @@ + diff --git a/src/styles/core/core.css b/src/styles/core/core.css index 6c063eb..a74443c 100644 --- a/src/styles/core/core.css +++ b/src/styles/core/core.css @@ -104,6 +104,10 @@ td { margin-right: -10px; } +.dropdown-menu > li.dropdown-submenu:hover { + background-color: #e1e3e9; +} + .dropdown-submenu:hover > a:after { border-left-color: #fff; } diff --git a/src/views/list.html b/src/views/list.html index dd2876f..5924e83 100644 --- a/src/views/list.html +++ b/src/views/list.html @@ -33,7 +33,8 @@
-