Skip to content

Commit

Permalink
Merge branch 'chooser-style-#419' into unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
jth- committed Feb 5, 2016
2 parents b0e6dba + 45c207e commit de39d99
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/apostrophe-docs/views/chooser.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
{# AJAX populates me #}
</div>
{% if data.autocomplete %}
<input type="text" name="autocomplete" data-autocomplete />
<input type="text" name="autocomplete" class="apos-field-input apos-field-input-text" data-autocomplete />
{% endif %}
24 changes: 24 additions & 0 deletions lib/modules/apostrophe-ui/public/css/components/autocomplete.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.ui-autocomplete
{
background: none;
background-color: @apos-white;
.apos-drop-shadow;

.ui-menu-item
{
border: none;
padding: @apos-padding-2;
font-family: "Roboto", "Helvetica", sans-serif;
font-size: 16px;
font-weight: 500;
}

.ui-menu-item:hover,
.ui-menu-item.ui-state-focus
{
border: none;
background: none;
color: @apos-white;
background-color: @apos-primary;
}
}
3 changes: 3 additions & 0 deletions lib/modules/apostrophe-ui/public/css/user.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// UI-Scoped Styles ===================================
// Styles here must be scoped to override the reset
// which is scoped to the class '.apos-ui'

.apos-ui
{
// Globals =================================
Expand All @@ -23,3 +24,5 @@
@import 'components/fields.less';
@import 'components/tables.less';
}

@import 'components/autocomplete.less';

0 comments on commit de39d99

Please sign in to comment.