@healthcatalyst/catalyst-docfx-template 1.0.149 → 1.0.151

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/styles/main.css CHANGED
@@ -739,6 +739,7 @@ output {
739
739
 
740
740
  #search {
741
741
  border: none;
742
+ display:block;
742
743
  }
743
744
 
744
745
 
@@ -1158,8 +1159,8 @@ output {
1158
1159
  border: 1px lightgray solid;
1159
1160
  display: flex;
1160
1161
  align-items: center;
1161
- width: 180px;
1162
- padding: 2px 2px 2px 10px;
1162
+ width: 100%;
1163
+ /*padding: 2px 2px 2px 10px;*/
1163
1164
  margin: 6px 5px 6px auto;
1164
1165
  }
1165
1166
 
@@ -2098,4 +2099,75 @@ article .tabGroup > ul > li {
2098
2099
  }
2099
2100
  #faqTable tr.header, #faqTable tr:hover {
2100
2101
  background-color: #f1f1f1;
2101
- }
2102
+ }
2103
+
2104
+ /* Side search styling */
2105
+ .sidefilter .docs-search {
2106
+ padding: 10px;
2107
+ background: #f8f9fa;
2108
+ border-bottom: 1px solid #dee2e6;
2109
+ }
2110
+
2111
+ .sidefilter .side-search {
2112
+ position: relative;
2113
+ display: flex;
2114
+ align-items: center;
2115
+ margin: 0;
2116
+ }
2117
+
2118
+ .sidefilter #search-query {
2119
+ width: 100%;
2120
+ padding: 8px 12px 8px 35px;
2121
+ border: 1px solid #ced4da;
2122
+ border-radius: 4px;
2123
+ font-size: 14px;
2124
+ box-sizing: border-box;
2125
+ background-color: #fff;
2126
+ outline: none;
2127
+ }
2128
+
2129
+ .sidefilter #search-query:focus {
2130
+ border-color: #00aeff;
2131
+ box-shadow: 0 0 0 0.2rem rgba(0, 174, 255, 0.25);
2132
+ }
2133
+
2134
+ .sidefilter #search-query::placeholder {
2135
+ color: #a1a1a1;
2136
+ opacity: 1;
2137
+ }
2138
+
2139
+ /* Search icon */
2140
+ .sidefilter .side-search::before {
2141
+ content: "\f002"; /* FontAwesome search icon */
2142
+ font-family: "FontAwesome", "Font Awesome 5 Free";
2143
+ font-weight: 900;
2144
+ position: absolute;
2145
+ left: 12px;
2146
+ color: #6c757d;
2147
+ pointer-events: none;
2148
+ z-index: 1;
2149
+ }
2150
+
2151
+ #search-results {
2152
+ max-width: 935px;
2153
+ margin: 0;
2154
+ padding: 0 0 32px;
2155
+ position: relative;
2156
+ z-index: 1;
2157
+ }
2158
+
2159
+ #search { position:relative; }
2160
+ #search-clear {
2161
+ position:absolute;
2162
+ top:50%;
2163
+ right:8px;
2164
+ transform:translateY(-50%);
2165
+ background:none;
2166
+ border:0;
2167
+ padding:0;
2168
+ font-size:18px;
2169
+ line-height:1;
2170
+ cursor:pointer;
2171
+ color:#666;
2172
+ }
2173
+ #search-clear:hover { color:#000; }