blob: b25cf3a2d3acfde8477510eae0189146956536d6 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/* Copyright 2014-2015 Eucalyptus Systems, Inc. */
/*-----------------------------------------
Colors
----------------------------------------- */
$textcolor: #444;
$background: white;
$itembackground: #e6e7e8;
/*-----------------------------------------
Item list
----------------------------------------- */
@mixin item-list {
.item-list {
margin-bottom: 6px;
.item {
color: #333;
background-color: $itembackground;
margin-right: 8px;
a {
color: white;
}
}
}
}
/*-----------------------------------------
Magic Search bar
----------------------------------------- */
.search-bar {
position: relative;
border: 1px solid black;
background-color: $background;
margin-bottom: 0.5rem;
padding: 4px;
height: auto;
i.fi-filter {
color: $textcolor;
position: absolute;
top: 0.5rem;
left: 0.65rem;
}
.search-main-area {
position: relative;
margin-left: 1.65rem;
margin-right: 1.65rem;
cursor: text;
}
@include item-list;
.item-list {
margin-bottom: 2px;
}
.search-selected {
background-color: $background;
color: $textcolor;
}
.search-entry {
display: inline-block;
height: 1.5rem;
}
.search-input {
width: 220px;
border: 0;
box-shadow: none;
height: 1.5rem;
padding: 3px;
background-color: $background;
&:focus {
box-shadow: none;
}
}
.match {
font-weight: bold;
}
i.cancel {
color: $textcolor;
&:hover {
color: darkred;
}
position: absolute;
top: 0.5rem;
right: 0.65rem;
}
}
|