Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Dropdown search and a-z

- Adding search to multi-level dropdown mobile menu
- fixing aria label on a-z template
  • Loading branch information
bcd04001 committed Sep 17, 2018
1 parent 0569313 commit 42ed949a3606871bb87b5ac3ab04e079135e1e1e
Showing with 48 additions and 4 deletions.
  1. +3 −1 content-az.php
  2. +6 −0 inc/nav-drop-multi.php
  3. +1 −1 prepros-6.config
  4. +9 −0 sass/_content.scss
  5. +13 −0 sass/_nav.scss
  6. +14 −0 style.css
  7. +1 −1 style.css.map
  8. +1 −1 style.scss
@@ -69,7 +69,9 @@ function getChars($pages){
}
}
echo '</nav>';

?>
<input id="azFilterInput" type="text" class="form-control" aria-label="search site A to Z" placeholder="Type here to filter this list" />
<?php
// Generate AZ List
//if( !preg_match($pattern, $exclude, $matches) ){
$letters = array();
@@ -72,6 +72,12 @@
);
}
?>

<div class="visible-xs-block">
<div class="navbar-form navbar-right">
<?php get_search_form(); ?>
</div>
</div>
</div>
</nav>
</nav>
@@ -351,7 +351,7 @@
}
],
"projectView": {
"selectedView": "file-tree"
"selectedView": "log"
},
"fileWatcher": {
"enabled": true,
@@ -281,3 +281,12 @@ a.btn {
min-width:100px
}
}

/*--------------------------------------------------------------
10.9 A-Z Search
--------------------------------------------------------------*/

#azFilterInput {
margin-top:10px;
width: 250px;
}
@@ -230,4 +230,17 @@ $nav-z: 9999;

}
}
}

#drop-multi {
.visible-xs-block {
.search {
width:200px;
display: inline-block;
}

.btn-default {
margin-top: -3px;
}
}
}

Some generated files are not rendered by default. Learn more.

Large diffs are not rendered by default.

@@ -29,4 +29,4 @@ $icon-font-path: "../../global/bootstrap-3.3.4/fonts/bootstrap/" !default;
@import "sass/_cal.scss";
@import "sass/_in-page-menus.scss";
@import "sass/_footer.scss";
@import "sass/_page-builder.scss";
@import "sass/_page-builder.scss";

0 comments on commit 42ed949

Please sign in to comment.
You can’t perform that action at this time.