diff --git a/src/Our.Umbraco.Look.BackOffice/Client/Controllers/MatchesController.js b/src/Our.Umbraco.Look.BackOffice/Client/Controllers/MatchesController.js index f5f8e57..7823cac 100644 --- a/src/Our.Umbraco.Look.BackOffice/Client/Controllers/MatchesController.js +++ b/src/Our.Umbraco.Look.BackOffice/Client/Controllers/MatchesController.js @@ -85,7 +85,11 @@ template: '/App_Plugins/Look/BackOffice/LookTree/Partials/Details.html', show: true }); - }; + }; + + $scope.isActive = function (match) { + return match === matchService.selectedMatch; + }; $scope.reload = function () { diff --git a/src/Our.Umbraco.Look.BackOffice/Client/Look.css b/src/Our.Umbraco.Look.BackOffice/Client/Look.css index 0e40c01..631d391 100644 --- a/src/Our.Umbraco.Look.BackOffice/Client/Look.css +++ b/src/Our.Umbraco.Look.BackOffice/Client/Look.css @@ -76,16 +76,19 @@ margin: 0 0 10px 0; clear: both; background-color: #f3f3f5; + border-left: #f3f3f5 4px solid; + padding: 0 3px 0 5px; } -.look-match:hover { - cursor:pointer; - background-color:white; +.look-match:hover, .look-match:focus, look-match:active { + cursor: pointer; + background-color: white; } .look-match.active { - cursor:default; - background-color:white; + cursor: default; + background-color: #eafffe; + border-color: #00aea2; } .look-match.even { @@ -102,12 +105,15 @@ font-size: xx-small; } - +.look-match-type, .look-match-details, .look-match-checkboxes { + display: inline-block; + vertical-align: middle; +} .look-match-type { - float: left; - position:relative; + position: relative; margin-right: -15px; + margin-left: -5px; } .look-match-detached-icon { @@ -126,17 +132,13 @@ color: lightgray; } - .look-match-checkboxes { - float: left; + margin-right: 18px; } .look-match-details { - margin-left:30px; - float: left; -} - +} .look-banner { border:solid 2px green; diff --git a/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Details.html b/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Details.html index d4e2a45..5419699 100644 --- a/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Details.html +++ b/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Details.html @@ -1,4 +1,4 @@ -
+

{{ viewData.match.name }}

@@ -11,12 +11,12 @@

{{ viewData.match.name }}

Culture: {{ viewData.match.culture }}
-
+
  {{ tagGroup.name ? tagGroup.name : '<Default>' }} {{ tagGroup.name ? tagGroup.name : '<Default>' }} - +
  • @@ -29,10 +29,14 @@

    {{ viewData.match.name }}

-
+

+ +
\ No newline at end of file diff --git a/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Matches.html b/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Matches.html index 9e04d87..4b44df2 100644 --- a/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Matches.html +++ b/src/Our.Umbraco.Look.BackOffice/Client/Views/Partials/Matches.html @@ -7,8 +7,8 @@

{{match.name.charAt(0)}}

-
- +
+ {{match.score}}