Skip to content

Commit cb51890

Browse files
author
pixel
committed
css样式美化
1 parent 9d9404b commit cb51890

File tree

1 file changed

+66
-73
lines changed

1 file changed

+66
-73
lines changed

web/src/style/main.scss

Lines changed: 66 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ li {
621621
padding: 0 15px;
622622
border-left: 1px solid #ebeef5;
623623
border-right: 1px solid #ebeef5;
624-
.demo-form-inline{
624+
.demo-form-inline {
625625
margin-bottom: 10px;
626626
}
627627
}
@@ -668,7 +668,6 @@ li {
668668
padding: 20px 0!important;
669669
}
670670

671-
672671
.el-row {
673672
padding: 10px 0;
674673
.el-col>label {
@@ -850,100 +849,93 @@ li {
850849
}
851850

852851
// 导航*****
853-
854-
855-
856852
// add 5.13
857-
.el-container{
858-
.admin-box{
853+
.el-container {
854+
.admin-box {
859855
padding: 24px 24px 40px 24px;
860-
margin: 115px 24px;
856+
margin: 115px 24px 24px 24px;
861857
border-radius: 2px;
862-
.button-box{
858+
.button-box {
863859
border: none;
864860
padding: 0 0 10px 0px;
865861
}
866-
.el-table--border{
862+
.el-table--border {
867863
border-radius: 4px;
868864
margin-bottom: 15px;
869865
}
870866
.el-table--border {
871-
th{
867+
th {
872868
border-left: 1px solid #e8e8e8;
873869
}
874870
}
875-
876-
.el-table{
877-
th{
871+
.el-table {
872+
th {
878873
padding: 5px 0;
879-
.cell{
874+
.cell {
880875
min-height: 34px;
881876
line-height: 34px;
882-
883877
}
884878
}
885-
td{
879+
td {
886880
padding: 8px 0;
887881
}
888882
td,
889-
th.is-leaf{
883+
th.is-leaf {
890884
border-bottom: 1px solid #e8e8e8;
891885
}
892886
}
893-
894-
.el-table__body-wrapper{
895-
tr{
896-
td{
887+
.el-table__body-wrapper {
888+
tr {
889+
td {
897890
padding: 5px 0;
898-
.cell{
891+
.cell {
899892
height: 34px;
900893
line-height: 34px;
901894
overflow: hidden;
902895
}
903896
}
904-
905897
}
906-
.el-cascader{
898+
.el-cascader {
907899
line-height: 34px;
908900
}
909901
}
910-
.upload{
911-
.el-table__body-wrapper{
912-
tr{
913-
td{
902+
.upload {
903+
.el-table__body-wrapper {
904+
tr {
905+
td {
914906
padding: 5px 0;
915-
.cell{
907+
.cell {
916908
height: auto;
917-
918909
}
919910
}
920911
}
921912
}
922913
}
923-
.search-term{
914+
.search-term {
924915
border-left: none;
925916
border-right: none;
926917
padding: 0 5px;
927-
.el-form-item{
918+
.el-form-item {
928919
margin-bottom: 10px;
929920
}
930921
}
931-
.el-pagination{
922+
.el-pagination {
932923
padding: 20px 0 0 0;
933924
}
934-
.upload-demo, .upload{
925+
.upload-demo,
926+
.upload {
935927
padding: 0;
936928
}
937-
.system{
929+
.system {
938930
padding: 0;
939931
}
940-
.el-form.el-form--inline{
941-
.el-form-item:last-child{
942-
margin-bottom: 0;
943-
}
932+
.el-form.el-form--inline {
933+
.el-form-item:last-child {
934+
margin-bottom: 0;
935+
}
944936
}
945937
.edit_container,
946-
.edit{
938+
.edit {
947939
padding: 0;
948940
}
949941
}
@@ -953,53 +945,54 @@ li {
953945
display: block;
954946
clear: both;
955947
}
956-
.tips{
948+
.tips {
957949
margin-top: 10px;
958950
font-size: 14px;
959951
font-weight: 400;
960952
color: #606266;
961-
}
953+
}
962954
}
963-
.el-container.layout-cont{
964-
.header-cont,.breadcrumb{
955+
956+
.el-container.layout-cont {
957+
.header-cont,
958+
.breadcrumb {
965959
height: 40px !important;
966960
line-height: 40px !important;
967961
}
968-
.main-cont.el-main{
962+
.main-cont.el-main {
969963
background-color: #f0f2f5;
970-
.menu-total{
964+
.menu-total {
971965
font-size: 22px;
972966
color: #838383;
973967
margin-top: 7px;
974968
}
975-
// background-color: #f0f2f5;
976-
}
977-
}
969+
// background-color: #f0f2f5;
970+
}
971+
}
978972

979-
.el-container.layout-cont{
980-
.main-cont{
981-
.router-history{
973+
.el-container.layout-cont {
974+
.main-cont {
975+
.router-history {
982976
padding-bottom: 8px;
983977
padding-top: 5px;
984978
border-color: #f9f9f9;
985979
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
986-
.el-tabs__header{
987-
margin: 0px 0 0 0 ;
988-
.el-tabs__item{
980+
.el-tabs__header {
981+
margin: 0px 0 0 0;
982+
.el-tabs__item {
989983
line-height: 35px;
990984
height: 35px;
991985
}
992986
}
993987
}
994988
}
995-
996-
}
989+
}
997990

998-
.el-table__row{
999-
.el-button.el-button--text.el-button--small{
1000-
position:relative;
991+
.el-table__row {
992+
.el-button.el-button--text.el-button--small {
993+
position: relative;
1001994
}
1002-
.el-button.el-button--text.el-button--small::after{
995+
.el-button.el-button--text.el-button--small::after {
1003996
content: '';
1004997
position: absolute;
1005998
width: 1px;
@@ -1008,18 +1001,18 @@ li {
10081001
margin-left: 15px;
10091002
background-color: #e8e8e8;
10101003
}
1011-
.cell{
1012-
button:last-child::after{
1004+
.cell {
1005+
button:last-child::after {
10131006
content: ''!important;
1014-
position: absolute!important;
1007+
position: absolute!important;
10151008
width: 0px!important;
1016-
}
1017-
}
1009+
}
1010+
}
10181011
}
10191012

1020-
.clear:after,
1021-
.clear:before {
1022-
content: "";
1023-
display: block;
1024-
clear: both;
1025-
}
1013+
.clear:after,
1014+
.clear:before {
1015+
content: "";
1016+
display: block;
1017+
clear: both;
1018+
}

0 commit comments

Comments
 (0)