fix header style in articles
diff --git a/_scss/_pages.doc.scss b/_scss/_pages.doc.scss
new file mode 100644
index 0000000..04d2064
--- /dev/null
+++ b/_scss/_pages.doc.scss
@@ -0,0 +1,12 @@
+#ec-doc-main .ec-doc-tutorial .page-description {
+ h4 {
+ margin: 1.33em 0;
+ padding: 0;
+ font-weight: bold;
+ }
+ h5 {
+ margin: 1.67em 0;
+ padding: 0;
+ font-weight: bold;
+ }
+}
\ No newline at end of file
diff --git a/_scss/_pages.examples.charts.scss b/_scss/_pages.examples.charts.scss
deleted file mode 100644
index 6c9bf28..0000000
--- a/_scss/_pages.examples.charts.scss
+++ /dev/null
@@ -1,132 +0,0 @@
-$chart-list-title-height: 90px;
-
-#explore-container {
- position: relative;
- margin-left: $chart-nav-width;
- z-index: 10;
- background-color: $clr-lightest;
-}
-
-#chart-demo {
- position: absolute;
- top: 50px;
- left: $chart-nav-width;
- right: 0;
- bottom: 0;
- overflow: hidden;
-
- iframe {
- width: 100%;
- height: 100%;
- border: none;
- }
-}
-
-.chart-list-panel {
- padding: 30px 15px 30px 15px;
-
- h3 {
- margin-bottom: 20px;
- border-bottom: 1px solid #ccc;
- padding-bottom: 5px;
- margin-top: 50px;
- }
-
- .chart {
- width: 100%;
- max-width: 350px;
- margin: 0 auto;
- margin-bottom: 30px;
-
- border-radius: 4px;
- background: #fff;
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
-
-
- .chart-link {
- position: relative;
- display: block;
-
- .chart-area {
- width: 100%;
- height: 100%;
- padding: 8px;
- }
-
- .chart-title {
- color: $clr-primary;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-
- padding: 10px 10px 2px 10px;
- margin: 0;
- font-weight: normal;
-
- font-size: 16px;
- }
- }
-
- .chart-info {
- padding: 5px 0;
-
- font-weight: bold;
-
- .chart-icon {
- float: right;
-
- .chart-delete {
- display: none;
-
- transition: 1s;
- }
- }
- }
-
- &:hover .chart-info .chart-icon .chart-delete {
- display: block;
-
- text-decoration: none;
- }
- }
-}
-
-@media (max-width: 768px) {
- .chart-list-panel .chart .chart-link {
- .chart-hover {
- opacity: 1;
- position: static;
- color: $clr-dark;
- margin-top: 0;
- height: auto;
-
- .chart-title {
- border-top: none;
- color: $clr-contrast;
- margin-top: 20px;
- margin-bottom: 0;
- }
-
- .chart-subtitle {
- display: none;
- }
-
- .chart-title:before, .chart-subtitle:after {
- display: none;
- }
- }
-
- &:hover .chart-hover-bg {
- display: none;
- }
- }
-
- #explore-container {
- margin-left: 0;
- }
- #chart-demo {
- left: 0;
- }
-}
diff --git a/_scss/_pages.examples.nav.scss b/_scss/_pages.examples.nav.scss
deleted file mode 100644
index 05aa673..0000000
--- a/_scss/_pages.examples.nav.scss
+++ /dev/null
@@ -1,153 +0,0 @@
-$chart-nav-width: 180px;
-$chart-icon-width: 32px;
-$chart-icon-border: 1px;
-
-#left-chart-nav {
- position: fixed;
- top: 49px;
- bottom: 0;
- left: 0;
- border-top: 1px solid $clr-primary-darker;
-
- // padding-top: $nav-height;
- width: $chart-nav-width;
-
- background-color: $clr-primary;
- overflow-y: hidden;
- z-index: 15;
-
- &:hover {
- overflow-y: auto;
- }
-
- ul {
- padding: 0;
- }
-
- li {
- height: 54px;
- transition: 0.5s;
- padding: 0;
-
- a {
- display: block;
- padding: 10px 15px;
- color: #ccc;
- position: relative;
- display: block;
- transition: 0.5s;
-
- .chart-name {
- display: inline-block;
- position: relative;
- top: -12px;
- margin-left: 10px;
- }
-
- .chart-icon {
- content: '';
- display: inline-block;
- width: $chart-icon-width;
- height: $chart-icon-width;
- background-image: url('../images/chart-icon.png');
- background-size: $chart-icon-width;
- background-repeat: no-repeat;
- border-radius: 50%;
- border: $chart-icon-border solid $clr-light;
- }
- }
-
- &.active {
- background-color: $clr-contrast;
-
- a {
- color: $clr-lightest;
- }
-
- .chart-icon {
- border-color: $clr-lightest;
- }
- }
-
- &:hover {
- background-color: $clr-primary-dark;
-
- &.active {
- background-color: $clr-contrast;
- }
- }
- }
-}
-
-@media (max-width: 768px) {
- #left-chart-nav {
- display: none;
- }
-}
-
-#nav-mask {
- display: none;
- position: fixed;
- top: 50px;
- left: 155px;
- bottom: 0;
- right: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, .3);
- z-index: 12;
-}
-#nav-layer {
- display: none;
- position: fixed;
- width: 620px;
- max-height: 350px;
- left: $chart-nav-width;
- top: 200px;
- z-index: 15;
- background-color: #fff;
- overflow-y: scroll;
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
-
- .chart-list {
- @include clearfix;
- width: 100%;
- clear: both;
- padding: 10px;
- box-sizing: border-box;
- }
- li {
- float: left;
- width: 180px;
- margin: 10px 10px;
- padding: 5px;
- // border-radius: 10px;
- // border: 1px solid rgba(0, 0, 0, .2);
- box-shadow: 0 0 1px rgba(0, 0, 0, .3);
- transition: box-shadow 0.5s ease-out;
- &:hover {
- box-shadow: 0 0 20px rgba(0, 0, 0, .3);
- }
- }
- img {
- width: 100%;
- height: 100%;
- }
-}
-
-
-
-// icon sprites
-$chart-types: 'line', 'bar', 'scatter', 'pie', 'radar', 'funnel', 'gauge', 'map',
- 'graph', 'treemap', 'parallel', 'sankey', 'candlestick', 'boxplot', 'heatmap',
- 'pictorialBar', 'themeRiver', 'calendar', 'custom', 'sunburst', 'gl', 'tree';
-$chart-position: 0, 1, 2, 4, 5, 10, 9, 8, 7, 15, 16, 17, 3, 18, 11, 24, 25, 26, 27, 28, 29, 14;
-
-@each $type in $chart-types {
- $i: index($chart-types, $type);
- $pos: nth($chart-position, $i);
- #left-chart-nav-#{$type} .chart-icon {
- background-position-x: - $chart-icon-border;
- background-position-y: - $chart-icon-border - $pos * $chart-icon-width;
- }
-}
diff --git a/_scss/_pages.examples.next.scss b/_scss/_pages.examples.scss
similarity index 100%
rename from _scss/_pages.examples.next.scss
rename to _scss/_pages.examples.scss
diff --git a/_scss/main.scss b/_scss/main.scss
index 8e14125..36a8310 100644
--- a/_scss/main.scss
+++ b/_scss/main.scss
@@ -96,9 +96,8 @@
// styles only used in certain pages like index or examples
@import 'pages.index';
@import 'pages.index.feature';
-// @import 'pages.examples.nav';
-// @import 'pages.examples.charts';
-@import 'pages.examples.next';
+@import 'pages.examples';
+@import 'pages.doc';
@import 'components.reset';
@import 'pages.download';