From 4da0beb6e7a853b5b39ae134292cf1ee70908026 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Thu, 20 Jun 2013 13:45:37 -0400 Subject: [PATCH] Tweaked modal dialog header. Made it not quite so overbearing. Still not happy with it though. --- ansibleworks/ui/static/css/ansible-ui.css | 13 ++++++------- ansibleworks/ui/static/js/helpers/Lookup.js | 1 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ansibleworks/ui/static/css/ansible-ui.css b/ansibleworks/ui/static/css/ansible-ui.css index 4663a2510d..6ca9fe8739 100644 --- a/ansibleworks/ui/static/css/ansible-ui.css +++ b/ansibleworks/ui/static/css/ansible-ui.css @@ -61,12 +61,6 @@ width: 130px; } - /*.modal-header { - border-bottom: 1px solid #000; - padding-top: 15px; - padding-bottom: 15px; - }*/ - a:hover { text-decoration: none; } @@ -496,7 +490,7 @@ /* overrides to TB modal */ .modal-header { - padding: 15px 15px; + padding: 10px 10; border-bottom: 1px solid #eee; background-color: #36454F; color: #A9A9A9; @@ -519,6 +513,11 @@ } .modal-header h3 { + font-size: 20px; margin: 0; text-rendering: optimizeLegibility; } + +.modal-body { + padding-top: 30px; +} diff --git a/ansibleworks/ui/static/js/helpers/Lookup.js b/ansibleworks/ui/static/js/helpers/Lookup.js index fe19472d38..dab316a453 100644 --- a/ansibleworks/ui/static/js/helpers/Lookup.js +++ b/ansibleworks/ui/static/js/helpers/Lookup.js @@ -82,6 +82,7 @@ angular.module('LookUpHelper', [ 'RestServices', 'Utilities', 'SearchHelper', 'P listScope[list.iterator + "_" + id + "_class"] = "success"; } } + SearchInit({ scope: listScope, set: list.name, list: list, url: defaultUrl }); PaginateInit({ scope: listScope, list: list, url: defaultUrl, mode: 'lookup' }); listScope.search(list.iterator);