Skip to content

Commit

Permalink
#2 remove import _layout.css
Browse files Browse the repository at this point in the history
  • Loading branch information
myyasuda committed Mar 26, 2018
1 parent 0dfb32b commit b3b0b21
Show file tree
Hide file tree
Showing 5 changed files with 317 additions and 317 deletions.

Large diffs are not rendered by default.

626 changes: 313 additions & 313 deletions sphinx_materialdesign_theme/static/sphinx_materialdesign_theme.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/sphinx_materialdesign_theme.js
Expand Up @@ -23,7 +23,7 @@ $(function() {
$li.append($linkWrapper.append($link));

const isCurrent = $li.hasClass('current') && !$link.hasClass('current');
const $ul = $li.children('ul')
const $ul = $li.children('ul');
if ($ul.length) {
const ulId = `globalnav-${index}`;
$ul.attr('id', ulId);
Expand Down
1 change: 0 additions & 1 deletion src/scss/sphinx_materialdesign_theme.scss
@@ -1,5 +1,4 @@
@import "material-design-lite/src/shadow/shadow";
@import "material-design-lite/src/layout/layout";
@import "material-design-lite/src/data-table/data-table";
@import "material-design-lite/src/footer/mini_footer";

Expand Down
3 changes: 2 additions & 1 deletion src/scss/toc/_globaltoc.scss
Expand Up @@ -15,11 +15,12 @@
display: flex;
justify-content: space-between;
> a {
@extend .mdl-navigation__link;
padding: 12px 0;
display: block;
width: 100%;
font-size: 1rem;
text-decoration: none;
color: $layout-drawer-navigation-color;
&.current {
font-weight: bold;
}
Expand Down

0 comments on commit b3b0b21

Please sign in to comment.