Skip to content

Commit 224cf78

Browse files
committed
Change docs navbar
1 parent 6d002fb commit 224cf78

20 files changed

+940
-20
lines changed

docs/2.0/browser-bugs.html

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,52 @@
137137
<a class="nav-link" href="https://demos.creative-tim.com/material-dashboard/examples/dashboard.html"><i class="material-icons">view_carousel</i> Live Preview</a>
138138
</li>
139139
<li class="nav-item">
140-
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard/issues" target="_blank" rel="noopener"><i class="material-icons">bug_report</i> Report Issue</a>
140+
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard" target="_blank" rel="noopener"><i class="material-icons">star</i> Help with a star</a>
141+
</li>
142+
<li class="nav-item">
143+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
144+
</li>
145+
<li class="nav-item">
146+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
141147
</li>
142148
</ul>
143149
</div>
150+
<a href="https://github.com/creativetimofficial/material-dashboard" class="github-corner" aria-label="View source on Github">
151+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#9c27b0; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
152+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
153+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
154+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
155+
</svg>
156+
</a>
157+
<style>
158+
.github-corner:hover .octo-arm {
159+
animation: octocat-wave 560ms ease-in-out
160+
}
161+
162+
@keyframes octocat-wave {
163+
0%,
164+
100% {
165+
transform: rotate(0)
166+
}
167+
20%,
168+
60% {
169+
transform: rotate(-25deg)
170+
}
171+
40%,
172+
80% {
173+
transform: rotate(10deg)
174+
}
175+
}
176+
177+
@media (max-width:500px) {
178+
.github-corner:hover .octo-arm {
179+
animation: none
180+
}
181+
.github-corner .octo-arm {
182+
animation: octocat-wave 560ms ease-in-out
183+
}
184+
}
185+
</style>
144186
</header>
145187
<div class="container-fluid">
146188
<div class="row flex-xl-nowrap">
@@ -1436,6 +1478,10 @@ <h1 id="most-wanted-features">Most wanted features</h1>
14361478
md.initDashboardPageCharts();
14371479
}
14381480

1481+
if ($('#websiteViewsChart').length != 0) {
1482+
md.initDocumentationCharts();
1483+
}
1484+
14391485

14401486
});
14411487
</script>

docs/2.0/components/alerts.html

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,52 @@
137137
<a class="nav-link" href="https://demos.creative-tim.com/material-dashboard/examples/dashboard.html"><i class="material-icons">view_carousel</i> Live Preview</a>
138138
</li>
139139
<li class="nav-item">
140-
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard/issues" target="_blank" rel="noopener"><i class="material-icons">bug_report</i> Report Issue</a>
140+
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard" target="_blank" rel="noopener"><i class="material-icons">star</i> Help with a star</a>
141+
</li>
142+
<li class="nav-item">
143+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
144+
</li>
145+
<li class="nav-item">
146+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
141147
</li>
142148
</ul>
143149
</div>
150+
<a href="https://github.com/creativetimofficial/material-dashboard" class="github-corner" aria-label="View source on Github">
151+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#9c27b0; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
152+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
153+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
154+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
155+
</svg>
156+
</a>
157+
<style>
158+
.github-corner:hover .octo-arm {
159+
animation: octocat-wave 560ms ease-in-out
160+
}
161+
162+
@keyframes octocat-wave {
163+
0%,
164+
100% {
165+
transform: rotate(0)
166+
}
167+
20%,
168+
60% {
169+
transform: rotate(-25deg)
170+
}
171+
40%,
172+
80% {
173+
transform: rotate(10deg)
174+
}
175+
}
176+
177+
@media (max-width:500px) {
178+
.github-corner:hover .octo-arm {
179+
animation: none
180+
}
181+
.github-corner .octo-arm {
182+
animation: octocat-wave 560ms ease-in-out
183+
}
184+
}
185+
</style>
144186
</header>
145187
<div class="container-fluid">
146188
<div class="row flex-xl-nowrap">
@@ -675,6 +717,10 @@ <h3 id="dismissing">Dismissing</h3>
675717
md.initDashboardPageCharts();
676718
}
677719

720+
if ($('#websiteViewsChart').length != 0) {
721+
md.initDocumentationCharts();
722+
}
723+
678724

679725
});
680726
</script>

docs/2.0/components/buttons.html

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,52 @@
137137
<a class="nav-link" href="https://demos.creative-tim.com/material-dashboard/examples/dashboard.html"><i class="material-icons">view_carousel</i> Live Preview</a>
138138
</li>
139139
<li class="nav-item">
140-
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard/issues" target="_blank" rel="noopener"><i class="material-icons">bug_report</i> Report Issue</a>
140+
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard" target="_blank" rel="noopener"><i class="material-icons">star</i> Help with a star</a>
141+
</li>
142+
<li class="nav-item">
143+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
144+
</li>
145+
<li class="nav-item">
146+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
141147
</li>
142148
</ul>
143149
</div>
150+
<a href="https://github.com/creativetimofficial/material-dashboard" class="github-corner" aria-label="View source on Github">
151+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#9c27b0; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
152+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
153+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
154+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
155+
</svg>
156+
</a>
157+
<style>
158+
.github-corner:hover .octo-arm {
159+
animation: octocat-wave 560ms ease-in-out
160+
}
161+
162+
@keyframes octocat-wave {
163+
0%,
164+
100% {
165+
transform: rotate(0)
166+
}
167+
20%,
168+
60% {
169+
transform: rotate(-25deg)
170+
}
171+
40%,
172+
80% {
173+
transform: rotate(10deg)
174+
}
175+
}
176+
177+
@media (max-width:500px) {
178+
.github-corner:hover .octo-arm {
179+
animation: none
180+
}
181+
.github-corner .octo-arm {
182+
animation: octocat-wave 560ms ease-in-out
183+
}
184+
}
185+
</style>
144186
</header>
145187
<div class="container-fluid">
146188
<div class="row flex-xl-nowrap">
@@ -605,6 +647,10 @@ <h2 id="disabled-state">Disabled state</h2>
605647
md.initDashboardPageCharts();
606648
}
607649

650+
if ($('#websiteViewsChart').length != 0) {
651+
md.initDocumentationCharts();
652+
}
653+
608654

609655
});
610656
</script>

docs/2.0/components/card.html

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,52 @@
137137
<a class="nav-link" href="https://demos.creative-tim.com/material-dashboard/examples/dashboard.html"><i class="material-icons">view_carousel</i> Live Preview</a>
138138
</li>
139139
<li class="nav-item">
140-
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard/issues" target="_blank" rel="noopener"><i class="material-icons">bug_report</i> Report Issue</a>
140+
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard" target="_blank" rel="noopener"><i class="material-icons">star</i> Help with a star</a>
141+
</li>
142+
<li class="nav-item">
143+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
144+
</li>
145+
<li class="nav-item">
146+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
141147
</li>
142148
</ul>
143149
</div>
150+
<a href="https://github.com/creativetimofficial/material-dashboard" class="github-corner" aria-label="View source on Github">
151+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#9c27b0; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
152+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
153+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
154+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
155+
</svg>
156+
</a>
157+
<style>
158+
.github-corner:hover .octo-arm {
159+
animation: octocat-wave 560ms ease-in-out
160+
}
161+
162+
@keyframes octocat-wave {
163+
0%,
164+
100% {
165+
transform: rotate(0)
166+
}
167+
20%,
168+
60% {
169+
transform: rotate(-25deg)
170+
}
171+
40%,
172+
80% {
173+
transform: rotate(10deg)
174+
}
175+
}
176+
177+
@media (max-width:500px) {
178+
.github-corner:hover .octo-arm {
179+
animation: none
180+
}
181+
.github-corner .octo-arm {
182+
animation: octocat-wave 560ms ease-in-out
183+
}
184+
}
185+
</style>
144186
</header>
145187
<div class="container-fluid">
146188
<div class="row flex-xl-nowrap">
@@ -1257,6 +1299,10 @@ <h4 class="card-title">Card title</h4>
12571299
md.initDashboardPageCharts();
12581300
}
12591301

1302+
if ($('#websiteViewsChart').length != 0) {
1303+
md.initDocumentationCharts();
1304+
}
1305+
12601306

12611307
});
12621308
</script>

docs/2.0/components/colors.html

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,52 @@
137137
<a class="nav-link" href="https://demos.creative-tim.com/material-dashboard/examples/dashboard.html"><i class="material-icons">view_carousel</i> Live Preview</a>
138138
</li>
139139
<li class="nav-item">
140-
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard/issues" target="_blank" rel="noopener"><i class="material-icons">bug_report</i> Report Issue</a>
140+
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard" target="_blank" rel="noopener"><i class="material-icons">star</i> Help with a star</a>
141+
</li>
142+
<li class="nav-item">
143+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
144+
</li>
145+
<li class="nav-item">
146+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
141147
</li>
142148
</ul>
143149
</div>
150+
<a href="https://github.com/creativetimofficial/material-dashboard" class="github-corner" aria-label="View source on Github">
151+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#9c27b0; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
152+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
153+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
154+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
155+
</svg>
156+
</a>
157+
<style>
158+
.github-corner:hover .octo-arm {
159+
animation: octocat-wave 560ms ease-in-out
160+
}
161+
162+
@keyframes octocat-wave {
163+
0%,
164+
100% {
165+
transform: rotate(0)
166+
}
167+
20%,
168+
60% {
169+
transform: rotate(-25deg)
170+
}
171+
40%,
172+
80% {
173+
transform: rotate(10deg)
174+
}
175+
}
176+
177+
@media (max-width:500px) {
178+
.github-corner:hover .octo-arm {
179+
animation: none
180+
}
181+
.github-corner .octo-arm {
182+
animation: octocat-wave 560ms ease-in-out
183+
}
184+
}
185+
</style>
144186
</header>
145187
<div class="container-fluid">
146188
<div class="row flex-xl-nowrap">
@@ -551,6 +593,10 @@ <h3 id="change-brand-colors">Change brand colors</h3>
551593
md.initDashboardPageCharts();
552594
}
553595

596+
if ($('#websiteViewsChart').length != 0) {
597+
md.initDocumentationCharts();
598+
}
599+
554600

555601
});
556602
</script>

docs/2.0/components/dropdowns.html

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,52 @@
137137
<a class="nav-link" href="https://demos.creative-tim.com/material-dashboard/examples/dashboard.html"><i class="material-icons">view_carousel</i> Live Preview</a>
138138
</li>
139139
<li class="nav-item">
140-
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard/issues" target="_blank" rel="noopener"><i class="material-icons">bug_report</i> Report Issue</a>
140+
<a class="nav-link" href="https://github.com/creativetimofficial/material-dashboard" target="_blank" rel="noopener"><i class="material-icons">star</i> Help with a star</a>
141+
</li>
142+
<li class="nav-item">
143+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
144+
</li>
145+
<li class="nav-item">
146+
<a class="nav-link" href="" target="_blank" rel="noopener"></a>
141147
</li>
142148
</ul>
143149
</div>
150+
<a href="https://github.com/creativetimofficial/material-dashboard" class="github-corner" aria-label="View source on Github">
151+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#9c27b0; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
152+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
153+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
154+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
155+
</svg>
156+
</a>
157+
<style>
158+
.github-corner:hover .octo-arm {
159+
animation: octocat-wave 560ms ease-in-out
160+
}
161+
162+
@keyframes octocat-wave {
163+
0%,
164+
100% {
165+
transform: rotate(0)
166+
}
167+
20%,
168+
60% {
169+
transform: rotate(-25deg)
170+
}
171+
40%,
172+
80% {
173+
transform: rotate(10deg)
174+
}
175+
}
176+
177+
@media (max-width:500px) {
178+
.github-corner:hover .octo-arm {
179+
animation: none
180+
}
181+
.github-corner .octo-arm {
182+
animation: octocat-wave 560ms ease-in-out
183+
}
184+
}
185+
</style>
144186
</header>
145187
<div class="container-fluid">
146188
<div class="row flex-xl-nowrap">
@@ -607,6 +649,10 @@ <h3 id="single-button-dropdowns">Single button dropdowns</h3>
607649
md.initDashboardPageCharts();
608650
}
609651

652+
if ($('#websiteViewsChart').length != 0) {
653+
md.initDocumentationCharts();
654+
}
655+
610656

611657
});
612658
</script>

0 commit comments

Comments
 (0)