kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.5 KiB
93 lines
2.5 KiB
#project-search-container
|
|
position: relative
|
|
|
|
|
|
.project-search-results
|
|
position: absolute
|
|
width: 400px
|
|
background: white
|
|
// Avoid scrolling body when autocompleter is at bottom
|
|
// (May not be supported by all browsers yet, but soonish)
|
|
overscroll-behavior: contain
|
|
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15)
|
|
|
|
@include default-font($header-drop-down-projects-search-font-color, 13px)
|
|
li
|
|
padding: 0 10px
|
|
font-size: 14px
|
|
|
|
.select2-search
|
|
margin: 1px 0 0 0
|
|
color: #b3b3b3
|
|
border-top: 1px solid #D9D9D9
|
|
border-bottom: 1px solid #D9D9D9
|
|
|
|
&:before
|
|
color: #b3b3b3
|
|
top: 21px
|
|
right: 25px
|
|
font-size: 14px
|
|
|
|
.select2-results
|
|
margin: 6px 0
|
|
padding: 0
|
|
|
|
.select2-highlighted
|
|
@include varprop(background, drop-down-selected-bg-color, !important)
|
|
border-radius: 0 !important
|
|
font-weight: normal !important
|
|
@include varprop(color, drop-down-selected-font-color)
|
|
&:hover
|
|
@include varprop(background, drop-down-hover-bg-color, !important)
|
|
@include varprop(color, drop-down-hover-font-color, !important)
|
|
|
|
// Search input wrapper
|
|
.project-menu-autocomplete--input-container
|
|
padding: 12px 0
|
|
border-width: 1px 1px 0px 1px
|
|
border-style: solid
|
|
border-color: $header-drop-down-border-color
|
|
|
|
// Search input
|
|
input.project-menu-autocomplete--input
|
|
margin: 0 10px
|
|
padding: 0px 32px 0px 10px
|
|
border: 1px solid #D9D9D9
|
|
border-radius: 3px
|
|
box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.1)
|
|
box-sizing: border-box
|
|
width: calc(100% - 20px)
|
|
height: 2.125rem
|
|
background: $header-drop-down-projects-search-input-bg-color
|
|
|
|
// Lens icon on the right
|
|
.project-menu-autocomplete--search-icon
|
|
position: absolute
|
|
color: #b3b3b3
|
|
top: 20px
|
|
right: 20px
|
|
font-size: 14px
|
|
|
|
// Override top menu height
|
|
ul.project-menu-autocomplete--results
|
|
max-height: 55vh
|
|
overflow-y: auto
|
|
// Override the computed width of the input, but span the entire width
|
|
// of the dropdown
|
|
width: 398px !important
|
|
padding-top: 5px
|
|
// Borders to complete the menu look
|
|
border-right: 1px solid $header-drop-down-border-color
|
|
border-bottom: 1px solid $header-drop-down-border-color
|
|
border-left: 1px solid $header-drop-down-border-color
|
|
|
|
// Cut off result element width
|
|
.ui-menu-item-wrapper
|
|
@include text-shortener
|
|
|
|
// Indent the no results pane
|
|
.project-menu-autocomplete--no-results
|
|
// Mirror border from ui results
|
|
border: 2px solid $header-drop-down-border-color
|
|
border-top: none
|
|
padding: 12px
|
|
|