summaryrefslogtreecommitdiff
path: root/assets/sass/_select_dropdown.sass
blob: c5ebfca6674128233071b196930c6d500dc66fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@import variables

#select-dropdown-menu
  position: absolute
  display: block
  z-index: 1000
  min-width: 160px
  padding: 5px 0
  background: #fff
  list-style: none
  border: 1px solid #ccc
  border-radius: 3px
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175)
  overflow: scroll

.select-dropdown-menu-item
  white-space: nowrap
  overflow: hidden
  padding: 3px 10px
  color: color('medium')
  cursor: pointer
  border-bottom: 1px solid #f8f8f8
  line-height: 1.5em
  font-weight: 400
  &.active
    color: #fff
    background: #428bca
  &:last-child
    border: none

.select-dropdown-input-container
  position: relative
  border: 1px solid #ccc
  border-radius: 5px
  background-color: #fff
  width: 300px
  input.select-dropdown-input
    margin: 0 0 0 5px
    border: none
    height: 23px
    width: 270px
    &:focus
      border: none
      box-shadow: none
  .select-dropdown-chevron
    color: color('medium')
    position: absolute
    top: 4px
    right: 5px
    cursor: pointer
  .select-loading-icon
    color: color('medium')
    position: absolute
    top: 4px
    right: 5px