Commit 7f08beb0 authored by 仇晓婷's avatar 仇晓婷

样式

parent 39863f1d
@import "./custom.less";
html body { html body {
min-width: 1240px; min-width: 1240px;
} }
...@@ -25,21 +27,21 @@ div::-webkit-scrollbar { ...@@ -25,21 +27,21 @@ div::-webkit-scrollbar {
} }
div::-webkit-scrollbar-track { div::-webkit-scrollbar-track {
background: rgb(239, 239, 239); background: @scrollbar-track-bg-color;
border-radius: 2px; border-radius: 2px;
} }
div::-webkit-scrollbar-thumb { div::-webkit-scrollbar-thumb {
background: rgba(38, 128, 235, 0.5); background: @scrollbar-thumb-bg-color;
border-radius: 10px; border-radius: 10px;
} }
div::-webkit-scrollbar-thumb:hover { div::-webkit-scrollbar-thumb:hover {
background: rgba(38, 128, 235, 0.8); background: @scrollbar-thumb-bg-color-hover;
} }
div::-webkit-scrollbar-corner { div::-webkit-scrollbar-corner {
background: rgba(38, 128, 235, 1); background: @scrollbar-corner-bg-color;
} }
/*flex*/ /*flex*/
...@@ -100,11 +102,19 @@ div::-webkit-scrollbar-corner { ...@@ -100,11 +102,19 @@ div::-webkit-scrollbar-corner {
.ib { .ib {
display: inline; display: inline;
} }
.pa{
.pa {
position: absolute; position: absolute;
} }
.pr{position: relative;}
.pf{position: fixed;} .pr {
position: relative;
}
.pf {
position: fixed;
}
.f14 { .f14 {
font-size: 14px; font-size: 14px;
} }
...@@ -124,6 +134,7 @@ div::-webkit-scrollbar-corner { ...@@ -124,6 +134,7 @@ div::-webkit-scrollbar-corner {
.f24 { .f24 {
font-size: 24px; font-size: 24px;
} }
.f30 { .f30 {
font-size: 30px; font-size: 30px;
} }
...@@ -230,12 +241,15 @@ div::-webkit-scrollbar-corner { ...@@ -230,12 +241,15 @@ div::-webkit-scrollbar-corner {
.mb30 { .mb30 {
margin-bottom: 30px; margin-bottom: 30px;
} }
.mb50 { .mb50 {
margin-bottom: 50px; margin-bottom: 50px;
} }
.mb60 { .mb60 {
margin-bottom: 60px; margin-bottom: 60px;
} }
.mb70 { .mb70 {
margin-bottom: 70px; margin-bottom: 70px;
} }
...@@ -263,9 +277,11 @@ div::-webkit-scrollbar-corner { ...@@ -263,9 +277,11 @@ div::-webkit-scrollbar-corner {
.ml30 { .ml30 {
margin-left: 30px; margin-left: 30px;
} }
.ml40 { .ml40 {
margin-left: 40px; margin-left: 40px;
} }
.ml50 { .ml50 {
margin-left: 50px; margin-left: 50px;
} }
...@@ -297,6 +313,7 @@ div::-webkit-scrollbar-corner { ...@@ -297,6 +313,7 @@ div::-webkit-scrollbar-corner {
.mr30 { .mr30 {
margin-right: 30px; margin-right: 30px;
} }
.mr40 { .mr40 {
margin-right: 40px; margin-right: 40px;
} }
...@@ -323,15 +340,19 @@ div::-webkit-scrollbar-corner { ...@@ -323,15 +340,19 @@ div::-webkit-scrollbar-corner {
.pt10 { .pt10 {
padding: 10px 0px 0; padding: 10px 0px 0;
} }
.pb5 { .pb5 {
padding-bottom: 5px; padding-bottom: 5px;
} }
.pb10 { .pb10 {
padding-bottom: 10px; padding-bottom: 10px;
} }
.pb20 { .pb20 {
padding-bottom: 20px; padding-bottom: 20px;
} }
.ptb5 { .ptb5 {
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
...@@ -353,9 +374,11 @@ div::-webkit-scrollbar-corner { ...@@ -353,9 +374,11 @@ div::-webkit-scrollbar-corner {
.pl30 { .pl30 {
padding-left: 30px padding-left: 30px
} }
.pl40 { .pl40 {
padding-left: 40px padding-left: 40px
} }
.pl50 { .pl50 {
padding-left: 50px padding-left: 50px
} }
...@@ -375,7 +398,8 @@ div::-webkit-scrollbar-corner { ...@@ -375,7 +398,8 @@ div::-webkit-scrollbar-corner {
.pt15 { .pt15 {
padding-top: 15px padding-top: 15px
} }
.pr30{
.pr30 {
padding-right: 30px; padding-right: 30px;
} }
...@@ -590,10 +614,10 @@ div::-webkit-scrollbar-corner { ...@@ -590,10 +614,10 @@ div::-webkit-scrollbar-corner {
} }
/*字体颜色*/ /*字体颜色*/
.font_fff .font_fff {
{ color: #fff;
color:#fff;
} }
/*按钮颜色*/ /*按钮颜色*/
.bluebg { .bluebg {
...@@ -1483,10 +1507,12 @@ html [type=button] { ...@@ -1483,10 +1507,12 @@ html [type=button] {
.gdShow { .gdShow {
box-shadow: 0px 0px 15px #333; box-shadow: 0px 0px 15px #333;
} }
.bgDDD{
background:#DDD .bgDDD {
background: #DDD
} }
.ftball { .ftball {
background: rgba(0, 0, 0, 0.7); background: rgba(0, 0, 0, 0.7);
color: #fff; color: #fff;
} }
\ No newline at end of file
//定义变量
//滚动条颜色
@scrollbar-track-bg-color: rgb(239, 239, 239);
@scrollbar-thumb-bg-color: rgba(38, 128, 235, 0.5);
@scrollbar-thumb-bg-color-hover: rgba(38, 128, 235, 0.8);
@scrollbar-corner-bg-color: rgba(38, 128, 235, 1);
//顶部导航颜色
@home-mene: #2680eb;
@layout-header: #515A6E;
//弹框颜色
@modal-header-bg-color: #515A6E;
@import '~view-design/src/styles/index.less'; @import '~view-design/src/styles/index.less';
@import "./custom.less";
// @primary-color: #249e91; // @primary-color: #249e91;
.ivu-btn { .ivu-btn {
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
.ivu-modal-header { .ivu-modal-header {
// background-color: #f2f2f2; // background-color: #f2f2f2;
background-color: #515A6E; background-color: @modal-header-bg-color;
color: #fff; color: #fff;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
...@@ -272,7 +272,10 @@ ...@@ -272,7 +272,10 @@
width: 300px; width: 300px;
height: 25px; height: 25px;
} }
//顶部导航
.ivu-layout-header{
background-color: @layout-header !important;
}
//重新定义弹框的footer--[工艺规程管理有用到] //重新定义弹框的footer--[工艺规程管理有用到]
.model_footer { .model_footer {
border-top: 1px solid #e8eaec; border-top: 1px solid #e8eaec;
......
...@@ -419,6 +419,7 @@ export default { ...@@ -419,6 +419,7 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
@import "../../assets/css/custom.less";
.i-layout-header-breadcrumb { .i-layout-header-breadcrumb {
color: #a7b8cc !important; //wheat color: #a7b8cc !important; //wheat
} }
...@@ -456,7 +457,7 @@ export default { ...@@ -456,7 +457,7 @@ export default {
width: 30px; width: 30px;
display: inline-block; display: inline-block;
border-radius: 50%; border-radius: 50%;
background: #2680eb; background: @home-mene;
color: white; color: white;
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment