diff --git a/src/index.less b/src/index.less index d9bbb2a..af40022 100755 --- a/src/index.less +++ b/src/index.less @@ -1,218 +1,209 @@ -@import '~iview/src/styles/index.less'; - -@menu-dark-title: #001529; -@menu-dark-active-bg: #000c17; -@layout-sider-background: #001529; -@primary-color: #0070cc; -@btn-border-radius : 0; -@btn-border-radius-small: 0; - -.search-box{ - position:relative; - width:100%; - display:-webkit-flex; - -webkit-box-orient:horizontal; - -webkit-box-direction:normal; - -ms-flex-direction:row; - flex-direction:row; - -webkit-box-align:center; - -ms-flex-align:center; - align-items:center; - margin-bottom:15px -} -.search-box .search-left-box { - width:50%; - display:-webkit-box; - display:-ms-flexbox; - display:flex -} -.search-box .search-left-tools{ - display:inline-block; - margin-right:5px -} -.search-box .total{ - position:absolute; - right:0; - font-weight:700 -} -.search-box .total .icon{ - font-size:20px; - font-weight:800; - color:#199be6 -} -.search-box .search-right-tools{ - text-align:right -} -.complex-search-box{ - position: relative; - width: 100%; - display: -webkit-flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - margin-bottom: 15px -} -.complex-search-box .search-box-button, .complex-search-box .search-box-date, .complex-search-box .search-box-input { - margin-right: 5px +body { + background: #F5F5F5 !important; + font-size: 12px; } -.complex-search-box .search-box-input{ - width: 180px; - margin-right: 10px +.main-container { + width: 960px; + margin: 0 auto; + min-height: 500px; +} +.main-container .breadcrumb{ + margin-bottom: 10px; + font-size: 12px; +} +.main-container .breadcrumb .location{ + margin-right: 10px; + font-size: 12px !important; +} +.main-container .breadcrumb .el-breadcrumb__item{ + font-size: 12px !important; +} +.main-container .breadcrumb .location i.el-breadcrumb__separator{ + display: none; } -.complex-search-box .total{ - position: absolute; - right: 0; - font-weight: 700 +.linear { + background-image: linear-gradient(to right, #42A8CE, #427FCE); } -.complex-search-box .total .icon { +.text-linear { font-size: 20px; - font-weight: 800; - color: #199be6 -} -.search-content{ - width: 365px + background-image: -webkit-linear-gradient(right, #42A8CE, #427FCE) !important; + background-image: linear-gradient(to right, #42A8CE, #427FCE) !important; + -webkit-background-clip: text !important; + color: transparent !important; + border: 2px solid #42A8CE !important; + font-weight: 900 !important; + letter-spacing: 3px; } -.search-content-input{ - width: 250px; - margin-right: 10px; - float: left +.card_style1 .el-card__header, .card_menu .el-card__header { + background-image: linear-gradient(to right, #42A8CE, #427FCE); + color: #fff; + font-weight: 700; + padding: 9px 10px !important; } -.search-content:after { - content: ""; - display: block; - clear: both +.el-pager .active, .el-table__header thead, .el-button--primary { + background-image: linear-gradient(to right, #42A8CE, #427FCE) !important; } -.select { - width: 100px; - margin-right: 5px; - float: left; -} -.button_block.ivu-btn { - display:block; - height:18px; - padding:0!important; - line-height:18px; - width:100%; - text-align:left; - color:#657180!important -} -.btn-position{ - position: relative; - margin-right: 8px; -} -.card-account { - margin-right: 20px -} -.container{ - margin-top: 20px; - margin-bottom: 20px -} -.page{ - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - margin-top: 20px -} -.page li,.page .ivu-select-selection,.page .ivu-page-options-elevator input { - border-radius: 0; -} -.ivu-page-item-active { - background: #0070cc !important; -} -.ivu-page-item-active { - border-color: #0070cc; -} -.ivu-page-item-active a { + +.el-table__header thead { color: #fff !important; } -.help-block { - color: #8c8c8c; + +.el-table th.el-table__cell, .el-table .el-table__header tr { + background: transparent !important; } -input[readonly] { - background-color: #f3f3f3; + +.el-table__header > tr, .el-table__header > th { + background: transparent !important; } -.ivu-btn-text:hover,.ivu-btn-text.active,.ivu-btn-text:focus { - background-color: transparent; - border-color: transparent; - box-shadow: none; + +.card_menu .box-card { + background: #F5F5F5; } -.drawer-footer { - width:100%; - position:absolute; - bottom:50px; - left:0; - border-top:1px solid #e8e8e8; - padding:10px 16px; - text-align:right; - background:#fff; + +.card_menu .el-card__body { + background: #FFF; } -.text-primary { - color:#0070cc + +.card_menu .el-card__header { + text-align: center; + font-size: 16px; + border-top-left-radius: 10px; + border-top-right-radius: 10px; } -.text-error { - color:#f54743!important; - border:none; - background-color:transparent!important + +.card_style1 .el-card__header .el-divider { + width: 3px; + background: #FFF; } -.text-error :hover { - color:#f54743; - background-color:transparent + +.card_style2 .el-card__header { + color: #427FCE; + font-weight: 700; + padding: 9px 10px !important; + border-bottom: none !important; } -.pd-l0{ - padding-left: 0!important; + +.card_style2 .el-card__header .el-divider { + width: 3px; + background: #427FCE; +} + +.card_style2 h2 { + font-size: 14px; + color: #333333; } -.pd-r0{ - padding-right: 0!important; + +.card_style2 p { + color: #999999; } -.ivu-btn-text { - color: #0070cc !important; + +.card_style2 .list { + border-bottom: 1px solid #eee; + padding: 10px } -.ivu-card, .ivu-menu-item, .ivu-poptip-title-inner, .txt-min, textarea { - font-size: 12px !important; + +.card_style2 .list:last-child { + border-bottom: none; +} + +.el-card { + border-radius: 0 !important; + border: 0 !important; +} + +.header { + color: #fff !important; + height: 50px; +} + +.header > .el-menu--horizontal > .el-menu-item { + height: 45px !important; + line-height: 45px !important; + color: #fff !important; + font-size: 12px; + padding: 0; + width: 7.6923%; } -.ivu-drawer-content { - top: 50px !important; + +.header > .el-menu--horizontal > .el-menu-item.is-active { + border-bottom: 2px solid #fff } -.ivu-table-expanded-cell{ - padding: 0 10px !important; + +.header > .el-menu--horizontal > .el-menu-item:hover, .header > .el-menu--horizontal > .el-menu-item:focus { + background: transparent !important; } -.ivu-table-cell-expand{ - display: none !important; + +.footer { + color: #fff; + font-size: 10px; + text-align: center; + padding: 10px; } -.app-list { +.footer span { + padding: 10px; +} +.footer .footer-bar { + margin: 10px; } -.list-wrapper .search-box { - margin-bottom: 10px +.footer .copyright { + line-height: 20px; } -.list-wrapper .app-list .item { - position: relative; - border-bottom: 1px solid #efefef; - padding: 10px 0 10px 10px; - cursor: pointer + +.el-pager, +.el-pagination.is-background .btn-next, +.el-pagination.is-background .btn-prev { + padding: 0px 5px !important; } -.list-wrapper .app-list .item .icon { + +.el-carousel__item h3 { + color: #475669; + font-size: 14px; + opacity: 0.75; + line-height: 150px; + margin: 0; +} + +.el-carousel__item:nth-child(2n) { + background-color: #99a9bf; +} + +.el-carousel__item:nth-child(2n+1) { + background-color: #d3dce6; +} + +.logo { + font-size: 20px; + font-weight: 900; position: absolute; - right: 0; - top: 15px + margin-right: 100px; + left: 0; + top: 0; + text-align: center; + line-height: 50px; + width: 100px; +} + +.logo a, .logo a:hover { + color: #fff; } -.list-wrapper .app-list .active { - border-left: 3px solid #0070cc +/*about*/ +.menu-item{ + text-align: center; + padding: 10px; + width: 100%; +} +.card_menu .menu-item.active{ + border-left: 2px solid #427FCE; + background: #eee; } diff --git a/src/view/about-detail.vue b/src/view/about-detail.vue index b5b93ee..068a56a 100755 --- a/src/view/about-detail.vue +++ b/src/view/about-detail.vue @@ -1,6 +1,6 @@