Update to MDL 1.0.3.

This commit is contained in:
Oliver Hamlet
2015-08-19 16:42:27 +01:00
parent 011238d541
commit 308b75eb7c
2 changed files with 6 additions and 24 deletions
+6 -7
View File
@@ -7,18 +7,17 @@
<link rel="stylesheet" href="/css/overrides.css">
<link rel="shortcut icon" type="image/ico" href="/images/icon.ico">
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.min.js"></script>
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.indigo-blue.min.css">
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.3/material.min.js"></script>
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.3/material.indigo-blue.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en">
<body unresolved fullbleed>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer
mdl-layout--fixed-header">
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">
<img alt="LOOT" src="/images/icon.png">
<span>LOOT</span>
<img alt="LOOT" src="/images/icon.png">
<span>LOOT</span>
</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link mdl-navigation__link--icon" href="/">
-17
View File
@@ -1,20 +1,3 @@
/* Adjust large screen sidebar width. */
@media screen and (min-width: 851px) {
.mdl-layout > .mdl-layout__drawer {
width: 276px !important;
}
.mdl-layout--fixed-drawer > .mdl-layout__content {
margin-left: 276px !important;
}
/* Also stop title bar having too much padding on large screens. */
.mdl-layout__header-row {
padding-left: 40px !important;
}
}
.mdl-layout--fixed-drawer:not(.is-small-screen) > .mdl-layout__header {
margin-left: 276px !important;
width: calc(100% - 276px) !important;
}
/* Limit navigation item height to 48px. */
.mdl-navigation__link--icon {
line-height: 48px;