]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/docs/_sass/_search.scss
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / rocksdb / docs / _sass / _search.scss
1 input[type="search"] {
2 -moz-appearance: none;
3 -webkit-appearance: none;
4 }
5
6 .navSearchWrapper {
7 align-self: center;
8 position: relative;
9
10 &::before {
11 border: 3px solid $primary-overlay-special;
12 border-radius: 50%;
13 content: " ";
14 display: block;
15 height: 6px;
16 left: 15px;
17 width: 6px;
18 position: absolute;
19 top: 4px;
20 z-index: 1;
21 }
22
23 &::after {
24 background: $primary-overlay-special;
25 content: " ";
26 height: 7px;
27 left: 24px;
28 position: absolute;
29 transform: rotate(-45deg);
30 top: 12px;
31 width: 3px;
32 z-index: 1;
33 }
34
35 .aa-dropdown-menu {
36 background: $secondary-bg;
37 border: 3px solid rgba($text, 0.25);
38 color: $text;
39 font-size: 14px;
40 left: auto !important;
41 line-height: 1.2em;
42 right: 0 !important;
43
44 .algolia-docsearch-suggestion--category-header {
45 background: $primary-overlay-special;
46 color: $primary-bg;
47
48 .algolia-docsearch-suggestion--highlight {
49 background-color: $primary-bg;
50 color: $primary-overlay;
51 }
52 }
53
54 .algolia-docsearch-suggestion--title .algolia-docsearch-suggestion--highlight,
55 .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight {
56 color: $primary-bg;
57 }
58
59 .algolia-docsearch-suggestion__secondary,
60 .algolia-docsearch-suggestion--subcategory-column {
61 border-color: rgba($text, 0.3);
62 }
63 }
64 }
65
66 input#search_input {
67 padding-left: 25px;
68 font-size: 14px;
69 line-height: 20px;
70 border-radius: 20px;
71 background-color: rgba($primary-overlay-special, 0.25);
72 border: none;
73 color: rgba($primary-overlay-special, 0);
74 outline: none;
75 position: relative;
76 transition: background-color .2s cubic-bezier(0.68, -0.55, 0.265, 1.55), width .2s cubic-bezier(0.68, -0.55, 0.265, 1.55), color .2s ease;
77 width: 60px;
78
79 &:focus, &:active {
80 background-color: $secondary-bg;
81 color: $text;
82 width: 240px;
83 }
84 }
85
86 .navigationSlider {
87 .navSearchWrapper {
88 &::before {
89 left: 6px;
90 top: 6px;
91 }
92
93 &::after {
94 left: 15px;
95 top: 14px;
96 }
97 }
98
99 input#search_input_react {
100 box-sizing: border-box;
101 padding-left: 25px;
102 font-size: 14px;
103 line-height: 20px;
104 border-radius: 20px;
105 background-color: rgba($primary-overlay-special, 0.25);
106 border: none;
107 color: $text;
108 outline: none;
109 position: relative;
110 transition: background-color .2s cubic-bezier(0.68, -0.55, 0.265, 1.55), width .2s cubic-bezier(0.68, -0.55, 0.265, 1.55), color .2s ease;
111 width: 100%;
112
113 &:focus, &:active {
114 background-color: $primary-bg;
115 color: $primary-overlay;
116 }
117 }
118
119 .algolia-docsearch-suggestion--subcategory-inline {
120 display: none;
121 }
122
123 & > span {
124 width: 100%;
125 }
126
127 .aa-dropdown-menu {
128 background: $secondary-bg;
129 border: 0px solid $secondary-bg;
130 color: $text;
131 font-size: 12px;
132 line-height: 2em;
133 max-height: 140px;
134 min-width: auto;
135 overflow-y: scroll;
136 -webkit-overflow-scrolling: touch;
137 padding: 0;
138 border-radius: 0;
139 position: relative !important;
140 width: 100%;
141 }
142 }