Skip to content
Permalink
Browse files
fix large btn style applied on theme-builder
  • Loading branch information
pissang committed Aug 7, 2020
1 parent 568c247 commit 1bc79aca2cf8ca4e38d850038aa280be3a452339
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
@@ -123,7 +123,7 @@ block content
//- input(type="text" name="email" id="email" placeholder="someone@email.com")
//- .clear
//- div
a.btn.btn-thirdary#build(href="javascript:;") #{isCN ? '下载' : 'Download'}
a.btn.btn-main.btn-thirdary#build(href="javascript:;") #{isCN ? '下载' : 'Download'}

if isCN
include ./footer
@@ -90,9 +90,9 @@ block content
h3 方法三:选择需要的模块,在线定制下载

if isECharts4
a.btn.btn-thirdary.more-btn(href="builder.html") 在线定制
a.btn.btn-main.btn-thirdary.more-btn(href="builder.html") 在线定制
else
a.btn.btn-thirdary.more-btn(href="builder3.html") 在线定制
a.btn.btn-main.btn-thirdary.more-btn(href="builder3.html") 在线定制
p.center 可自由选择所需图表和组件进行打包下载

h3 下载后……
@@ -114,8 +114,8 @@ block content
//- .circle-wrap
//- span.mode 源代码
//- span.size 1.74 MB
//- a.btn.btn-thirdary.btn-two(href="#{host}/#{ecWWWLang}/option-gl.html") 查看 GL 文档
//- a.btn.btn-thirdary.btn-two(href="#{host}/examples/#{ecWWWLang}/index.html#chart-type-globe") 查看 GL 实例
//- a.btn.btn-main.btn-thirdary.btn-two(href="#{host}/#{ecWWWLang}/option-gl.html") 查看 GL 文档
//- a.btn.btn-main.btn-thirdary.btn-two(href="#{host}/examples/#{ecWWWLang}/index.html#chart-type-globe") 查看 GL 实例
//- .d-section-theme.d-section
//- h2 主题
@@ -129,7 +129,7 @@ block content
//- a(href="asset/theme/dark.js" class="download-theme" download="dark.js" target="_blank")
//- img(src="asset/theme/thumb/dark.png")
//- p 深色主题
//- a.btn.btn-thirdary.more-btn(href="download-theme.html") 更多主题
//- a.btn.btn-main.btn-thirdary.more-btn(href="download-theme.html") 更多主题
//- .d-section-map.d-section
//- h2 地图数据
@@ -143,7 +143,7 @@ block content
//- a(href="asset/map/json/world.json" download="world.json" target="_blank")
//- img.hover-shadow(src="asset/map/thumb/world.png")
//- p 世界地图
//- a.btn.btn-thirdary.more-btn(href="download-map.html") 更多地图
//- a.btn.btn-main.btn-thirdary.more-btn(href="download-map.html") 更多地图
//- #download-extension-container.container
//- .d-section-extension.d-section.last-section
@@ -162,7 +162,7 @@ block content
//- a(href="https://github.com/ecomfe/echarts/tree/master/extension/bmap")
//- img.hover-shadow(src="images/extensions/bmap.jpg")
//- p 百度地图
//- a.btn.btn-thirdary.more-btn(href="download-extension.html") 更多插件
//- a.btn.btn-main.btn-thirdary.more-btn(href="download-extension.html") 更多插件
include ./footer

@@ -72,7 +72,7 @@ block content
h3 Submit your ECharts extension
p We will get in touch with you as soon as possible, and the extensions you make will be available to ECharts users on this page.
p Thank you again for your support and contribution to ECharts!
a.btn.btn-thirdary(href='mailto:dev@echarts.apache.com')
a.btn.btn-main.btn-thirdary(href='mailto:dev@echarts.apache.com')
img(src='#{cdnPayRoot}/#{ecWWWLang}/images/btn-email.png?_v_=#{cdnPayVersion}')
span Send Email

@@ -30,7 +30,7 @@ block content
section.section-bg#theme-configure-section
.container
#theme-builder
a.btn.btn-thirdary.more-btn(href="https://www.echartsjs.com/theme-builder/") Theme Builder
a.btn.btn-main.btn-thirdary.more-btn(href="https://www.echartsjs.com/theme-builder/") Theme Builder
p Make a custom theme and use it for your charts. Currently, this tool has Chinese version only.

section
@@ -63,7 +63,7 @@ block content
p <code>npm install echarts</code>

h3 Option 3: Custom Build
a.btn.btn-thirdary.more-btn(href="builder.html") Customize
a.btn.btn-main.btn-thirdary.more-btn(href="builder.html") Customize
p Choose the features you want and build the file online.

h3 After downloading...
@@ -60,7 +60,7 @@ html(lang='#{htmlAttrLang}')
else
p Apache ECharts 是一个正在由 Apache 孵化器赞助的 Apache 开源基金会孵化的项目。
p 我们正在处理将本站跳转到 <a href="https://echarts.apache.org" target="_blank">https://echarts.apache.org</a> 的迁移工作。您可以现在就前往我们的 Apache 官网。
a.btn(href="https://echarts.apache.org", target="_blank", onclick="logApache()")
a.btn.btn-main(href="https://echarts.apache.org", target="_blank", onclick="logApache()")
if ecWWWLang == 'en'
div Visit Official Website
else
@@ -69,7 +69,7 @@ block content
h3 提交您的 ECharts 插件
p 我们会尽快与您取得联系,之后您制作的插件将会在此页面提供给广大 ECharts 用户使用。
p 再次感谢您对 ECharts 的支持与贡献!
a.btn.btn-thirdary(href='mailto:dev@echarts.apache.org')
a.btn.btn-main.btn-thirdary(href='mailto:dev@echarts.apache.org')
img(src='#{cdnPayRoot}/#{ecWWWLang}/images/btn-email.png?_v_=#{cdnPayVersion}')
span 发邮件提交

@@ -64,7 +64,7 @@ block content
//- a(href="asset/map/json/province/#{provincePinyin[idx]}.json" download="#{provincePinyin[idx]}.json" target="_blank") JSON
//- section.section-bg
//- a.btn.btn-thirdary.more-btn(href='https://ecomfe.github.io/echarts-map-tool/') 地图定制
//- a.btn.btn-main.btn-thirdary.more-btn(href='https://ecomfe.github.io/echarts-map-tool/') 地图定制
//- p 可在线选择生成省、市、县各级地图
//- .container
@@ -26,7 +26,7 @@ block content
section.section-bg#theme-configure-section
.container
#theme-builder
a.btn.btn-thirdary.more-btn(href="https://www.echartsjs.com/theme-builder/") 定制主题
a.btn.btn-main.btn-thirdary.more-btn(href="https://www.echartsjs.com/theme-builder/") 定制主题
p 可在线编辑定义主题并进行下载

section
@@ -20,8 +20,8 @@ block content
.description
include ../components/svg/echarts-logo
.btn-panel
a.btn.btn-index-home(href='./feature.html') 特性
a.btn.btn-index-home(href='./download.html') 下载
a.btn.btn-main.btn-index-home(href='./feature.html') 特性
a.btn.btn-main.btn-index-home(href='./download.html') 下载
.main-bg

//- section.banner-section(style='background: #1e2e55')
@@ -207,10 +207,10 @@ body {
}



.btn {
padding: 8px 50px;
.btn-main {
border-radius: 20px;
padding: 8px 50px;

transition-duration: 0.5s;

& + .btn {

0 comments on commit 1bc79ac

Please sign in to comment.