Do not highlight selected prompt

This commit is contained in:
Siteshwar Vashisht 2013-11-09 23:33:56 +05:30
parent ea2e1f016f
commit 2271526d2f
2 changed files with 1 additions and 5 deletions

View file

@ -399,10 +399,6 @@ img.delete_icon {
position: relative; /* so that our absolutely positioned elements work */
}
.prompt_demo_selected {
border: solid #00ff00 1px;
}
.save_button, .prompt_save_button {
border-radius: 5px;
border: solid rgba(71,71,71,0.5) 1px;

View file

@ -1,7 +1,7 @@
<div style="padding: 0 10px 15px;">
<div ng-repeat="prompt in samplePrompts">
<div class="prompt_demo_choice_label">{{ prompt.name }}</div>
<div ng-bind-html-unsafe='prompt.demo' ng-class="{'prompt_demo': true, 'prompt_demo_selected': prompt == selectedPrompt}" ng-click="selectPrompt(prompt)"></div>
<div ng-bind-html-unsafe='prompt.demo' class="prompt_demo" ng-click="selectPrompt(prompt)"></div>
<div class="prompt_function" ng-show="selectedPrompt == prompt">
<div class="prompt_function_text">{{ prompt.function }}</div>
</div>