summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2017-04-19 17:10:25 +0200
committerAlexander Weidinger <alexwegoo@gmail.com>2017-04-19 17:11:31 +0200
commit513acdf6327b6c37e3841608ae21202beb476672 (patch)
tree86db20ae911d272792e03bcd8e7cb03ceab14a48
parent6abcedf6e916bdcfc04ea1346e4bf9585614d02f (diff)
Single class for item-action.
-rw-r--r--css/public/style.css3
-rw-r--r--templates/detailItems/tel.html2
-rw-r--r--templates/detailItems/url.html2
3 files changed, 3 insertions, 4 deletions
diff --git a/css/public/style.css b/css/public/style.css
index fc45da8a..5c81d0d3 100644
--- a/css/public/style.css
+++ b/css/public/style.css
@@ -262,8 +262,7 @@ detailsitem .icon-delete {
opacity: .2;
}
-detailsitem .url-link,
-detailsitem .tel-link {
+detailsitem .item-action {
position: absolute;
padding: 8px 10px;
margin-left: -30px;
diff --git a/templates/detailItems/tel.html b/templates/detailItems/tel.html
index b11e9a06..c522976c 100644
--- a/templates/detailItems/tel.html
+++ b/templates/detailItems/tel.html
@@ -8,4 +8,4 @@
focus-expression="$parent.ctrl.focus === ctrl.name"
/>
<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button>
-<a ng-if="ctrl.data.value.length" class="tel-link" href="tel:{{ctrl.data.value}}">📞</a>
+<a ng-if="ctrl.data.value.length" class="item-action" href="tel:{{ctrl.data.value}}">📞</a>
diff --git a/templates/detailItems/url.html b/templates/detailItems/url.html
index 4d8e783a..d8cdd2e5 100644
--- a/templates/detailItems/url.html
+++ b/templates/detailItems/url.html
@@ -6,4 +6,4 @@
focus-expression="$parent.ctrl.focus === ctrl.name"
/>
<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}"></button>
-<a ng-if="ctrl.data.value.length" class="url-link" target="_blank" href="{{ctrl.data.value}}">↗</a>
+<a ng-if="ctrl.data.value.length" class="item-action" target="_blank" href="{{ctrl.data.value}}">↗</a>