mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 14:39:16 +08:00
fix(cli): duplicated site base style
This commit is contained in:
parent
caa568895d
commit
5485d2ce21
@ -1,13 +1,13 @@
|
|||||||
@import './variable';
|
@import './var';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
min-width: 1100px;
|
min-width: 1100px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
color: #333;
|
color: @van-doc-black;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: PingFang SC, 'Helvetica Neue', Arial, sans-serif;
|
font-family: PingFang SC, 'Helvetica Neue', Arial, sans-serif;
|
||||||
background-color: #f0f3f6;
|
background-color: @van-doc-background-color;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import './variable';
|
@import './var';
|
||||||
|
|
||||||
code {
|
code {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
@import './variable';
|
|
||||||
@import './base';
|
|
||||||
@import './highlight';
|
|
@ -4,6 +4,7 @@
|
|||||||
@van-doc-fuchsia: #a7419e;
|
@van-doc-fuchsia: #a7419e;
|
||||||
@van-doc-text-color: #34495e;
|
@van-doc-text-color: #34495e;
|
||||||
@van-doc-text-light-blue: rgba(69, 90, 100, .6);
|
@van-doc-text-light-blue: rgba(69, 90, 100, .6);
|
||||||
|
@van-doc-background-color: #f7f8fa;
|
||||||
@van-doc-grey: #999;
|
@van-doc-grey: #999;
|
||||||
@van-doc-dark-grey: #666;
|
@van-doc-dark-grey: #666;
|
||||||
@van-doc-light-grey: #ccc;
|
@van-doc-light-grey: #ccc;
|
@ -90,6 +90,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
@import '../common/style/base';
|
||||||
|
@import '../common/style/highlight';
|
||||||
|
|
||||||
.van-doc-intro {
|
.van-doc-intro {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
|
font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
|
||||||
|
@ -18,7 +18,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-container {
|
.van-doc-container {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -21,7 +21,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-content {
|
.van-doc-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -116,7 +116,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-header {
|
.van-doc-header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -71,7 +71,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-nav {
|
.van-doc-nav {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -40,7 +40,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-search {
|
.van-doc-search {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
@ -44,7 +44,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-simulator {
|
.van-doc-simulator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -104,5 +104,5 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
</style>
|
</style>
|
||||||
|
@ -16,13 +16,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
@import '../common/style/var';
|
||||||
|
@import '../common/style/base';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
min-width: 100vw;
|
min-width: 100vw;
|
||||||
color: #323233;
|
|
||||||
font-family: 'PingFang SC', Helvetica, Tohoma, Arial, sans-serif;
|
|
||||||
line-height: 1;
|
|
||||||
background-color: #f8f8f8;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
@ -16,7 +16,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.van-doc-demo-block {
|
.van-doc-demo-block {
|
||||||
&__title {
|
&__title {
|
||||||
@ -25,6 +25,7 @@ export default {
|
|||||||
color: @van-doc-text-light-blue;
|
color: @van-doc-text-light-blue;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
line-height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
|
@ -51,7 +51,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.demo-home {
|
.demo-home {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@ -64,6 +64,7 @@ export default {
|
|||||||
&__desc {
|
&__desc {
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
line-height: 1;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,11 +43,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@import '../../common/style/index';
|
@import '../../common/style/var';
|
||||||
|
|
||||||
.demo-home-nav {
|
.demo-home-nav {
|
||||||
&__title {
|
&__title {
|
||||||
margin: 24px 0 12px 16px;
|
margin: 24px 0 8px 16px;
|
||||||
color: rgba(69, 90, 100, 0.6);
|
color: rgba(69, 90, 100, 0.6);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
@ -70,3 +70,11 @@ export default {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
.demo-address-edit {
|
||||||
|
.van-doc-demo-block__title {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -94,3 +94,11 @@ export default {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
.demo-address-list {
|
||||||
|
.van-doc-demo-block__title {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user