1
0

Cleanup. Update material-components-web to 0.30.0 and fix all changed

objects.
This commit is contained in:
2018-02-18 23:31:14 +01:00
parent 01659d4cfd
commit d13fb868c7
5 changed files with 292 additions and 214 deletions

@ -27,9 +27,9 @@ document.addEventListener 'DOMContentLoaded', (event) ->
activatePanel 'family-keyone'
window.showTooltip = (event) ->
tt = document.querySelector('#tooltip')
tt_title = document.querySelector('#tooltip-title')
tt_text = document.querySelector('#tooltip-text')
tt = document.querySelector '#tooltip'
tt_title = document.querySelector '#tooltip-title'
tt_text = document.querySelector '#tooltip-text'
ref = event.target.parentNode.dataset.ref
ver = event.target.innerText

@ -7,6 +7,18 @@
--mdc-theme-secondary-dark: #c17900;
}
.mdc-toolbar .mdc-tab {
color: var(--mdc-theme-text-secondary-on-primary, rgba(255, 255, 255, 0.7));
}
.mdc-toolbar .mdc-tab--active {
color: var(--mdc-theme-text-primary-on-primary, white);
}
.mdc-toolbar .mdc-tab-bar__indicator {
background-color: var(--mdc-theme-secondary, #ff4081);
}
body {
font-family: sans-serif;
}
@ -35,8 +47,17 @@ main {
max-width: 70%;
}
.tooltip-card__primary {
padding: 1rem;
}
.tooltip-card__supporting-text {
padding: 0 1rem 8px 1rem;
}
#tooltip h1 {
font-weight: bold;
margin: 0;
}
table td+td {