mirrored from git://git.moodle.org/moodle.git
/
search.scss
96 lines (89 loc) · 1.77 KB
/
search.scss
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
85
86
87
88
89
90
91
92
93
94
95
96
.search-results .result {
margin-left: 0;
margin-right: 0;
}
.search-results .result .result-content {
margin: 7px 0;
}
.search-results .result .filename {
font-style: italic;
}
.simplesearchform {
.btn {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.btn .icon {
margin: 0;
}
.btn-submit {
border-color: $input-border-color;
color: $gray-600;
}
.btn-close,
.btn-clear {
position: absolute;
top: 0;
right: 0;
color: $gray-600;
z-index: 4;
}
.btn-close {
right: 2.2rem;
}
.btn-submit {
background-color: $gray-100;
}
.withclear {
padding-right: 2rem;
}
.searchinput {
display: flex;
flex: 1 1 auto;
}
.collapsing {
height: inherit;
transition: none;
width: inherit;
}
}
@include media-breakpoint-down(md) {
.simplesearchform .collapse.show,
.simplesearchform .collapsing {
position: absolute;
left: 0;
top: 0;
width: 100%;
display: flex;
background-color: $white;
z-index: $zindex-popover;
height: $navbar-height;
.form-inline {
width: auto;
margin-left: auto;
margin-right: auto;
}
}
}
.navbar.navbar-light {
.simplesearchform .btn-open {
color: $navbar-light-color;
&:hover {
color: $navbar-light-hover-color;
}
}
}
.search-areas-actions {
margin-bottom: $spacer;
}
.search-areas-actions > div {
margin-right: $spacer;
display: inline-block;
}
#core-search-areas .lastcol li {
margin-left: 24px;
text-indent: -24px;
}
#core-search-areas .lastcol li > i {
text-indent: 0;
}