Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.sass
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
@import general/table
@import forms/forms
@import forms/confirmation
@import forms/autocomplete

@import general/theming-editor

Expand Down
24 changes: 24 additions & 0 deletions app/assets/stylesheets/forms/_autocomplete.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

// jquery ui override
.ui-autocomplete
@include css4
background: var(--input--background--focus)
border: 1px solid var(--input--border-color--focus)
color: var(--input--text--focus)
list-style: none
padding: 0
.ui-menu-item div
padding: 2px 5px
display: block
cursor: pointer
overflow: hidden
text-overflow: ellipsis
white-space: nowrap
&:hover
@include css4
background: var(--primary)
@include css4
color: var(--white)
// needed for ellipsis in text to work and acts as a min-width
.ui-menu
width: 50px
24 changes: 0 additions & 24 deletions app/assets/stylesheets/forms/_forms.sass
Original file line number Diff line number Diff line change
Expand Up @@ -258,30 +258,6 @@ input[type=submit]
margin-bottom: 3px


// jquery ui override
.ui-autocomplete
@include css4
background: var(--input--background--focus)
border: 1px solid var(--input--border-color--focus)
color: var(--input--text--focus)
list-style: none
padding: 0
.ui-menu-item div
padding: 2px 5px
display: block
cursor: pointer
overflow: hidden
text-overflow: ellipsis
white-space: nowrap
&:hover
@include css4
background: var(--primary)
@include css4
color: var(--white)
// needed for ellipsis in text to work and acts as a min-width
.ui-menu
width: 50px

// form wizard
.wizard-stage
display: none
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/manage.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
@import manage/selectize-fix
@import vendor/simplemde.min
@import vendor/codemirror
@import general/variables
@import general/css4
@import manage/autocomplete

$grey-dark: #555
$grey-med: #999
Expand Down Expand Up @@ -172,6 +175,7 @@ $grey-med: #999
.sidebar-mobile .sidebar-sticky
height: auto


/*
* Datatable changes
*/
Expand Down
12 changes: 12 additions & 0 deletions app/assets/stylesheets/manage/_autocomplete.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

@import ../forms/autocomplete

// jquery ui override
.ui-autocomplete
background: white
border: 1px solid #333
color: #222
.ui-menu-item div
&:hover
background: #999
color: white