Skip to content

Commit 59749b6

Browse files
committed
Concat style to main.css
1 parent 4bbcdc8 commit 59749b6

File tree

7 files changed

+63
-130
lines changed

7 files changed

+63
-130
lines changed

src/components/page/BaseForm.vue

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,4 @@
7979
}
8080
}
8181
}
82-
</script>
83-
84-
<style>
85-
.form-box{
86-
width:600px;
87-
}
88-
.form-box .line{
89-
text-align: center;
90-
}
91-
.el-time-panel__content::after, .el-time-panel__content::before {
92-
margin-top: -7px;
93-
}
94-
</style>
82+
</script>

src/components/page/Login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
</script>
5454

55-
<style>
55+
<style scoped>
5656
.login-wrap{
5757
position: relative;
5858
width:100%;

src/components/page/Markdown.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,4 @@
3434
markdownEditor
3535
}
3636
}
37-
</script>
38-
39-
<style></style>
37+
</script>

src/components/page/Readme.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,4 @@
9090
.ms-doc article .el-checkbox{
9191
margin-bottom: 5px;
9292
}
93-
</style>
94-
<style>
95-
.ms-doc .el-checkbox__input.is-disabled+.el-checkbox__label{
96-
color: #333;
97-
cursor: pointer;
98-
}
9993
</style>

src/components/page/Upload.vue

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
}
7373
</script>
7474

75-
<style>
75+
<style scoped>
7676
.content-title{
7777
font-weight: 400;
7878
line-height: 50px;
@@ -85,43 +85,4 @@
8585
height: 250px;
8686
margin-bottom: 20px;
8787
}
88-
.pure-button{
89-
width:150px;
90-
height:40px;
91-
line-height: 40px;
92-
text-align: center;
93-
background: #00a2ff;
94-
color: #fff;
95-
border-radius: 3px;
96-
}
97-
.g-core-image-corp-container .info-aside{
98-
height:45px;
99-
}
100-
.el-upload--text {
101-
background-color: #fff;
102-
border: 1px dashed #d9d9d9;
103-
border-radius: 6px;
104-
box-sizing: border-box;
105-
width: 360px;
106-
height: 180px;
107-
text-align: center;
108-
cursor: pointer;
109-
position: relative;
110-
overflow: hidden;
111-
}
112-
.el-upload--text .el-icon-upload {
113-
font-size: 67px;
114-
color: #97a8be;
115-
margin: 40px 0 16px;
116-
line-height: 50px;
117-
}
118-
.el-upload--text {
119-
color: #97a8be;
120-
font-size: 14px;
121-
text-align: center;
122-
}
123-
.el-upload--text em {
124-
color: #20a0ff;
125-
font-style: normal;
126-
}
12788
</style>

src/components/page/VueEditor.vue

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,4 @@
4343
}
4444
}
4545
}
46-
</script>
47-
48-
<style>
49-
.ql-container{
50-
min-height: 400px;
51-
}
52-
.ql-snow .ql-tooltip{
53-
transform: translateX(117.5px) translateY(10px) !important;
54-
}
55-
.editor-btn{
56-
margin-top: 20px;
57-
}
58-
</style>
46+
</script>

static/css/main.css

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ a{text-decoration: none}
3535
.plugins-tips a{
3636
color: #20a0ff;
3737
}
38-
3938
.el-button+.el-tooltip {
4039
margin-left: 10px;
4140
}
@@ -45,73 +44,78 @@ a{text-decoration: none}
4544
.el-table tr:hover{
4645
background: #f6faff;
4746
}
48-
4947
.mgb20{
5048
margin-bottom: 20px;
5149
}
52-
.mgb5{
53-
margin-bottom: 5px;
50+
51+
.move-enter-active,.move-leave-active{
52+
transition: opacity .5s;
5453
}
55-
.dialog{
56-
position: fixed;
57-
top: 0;
58-
right: 0;
59-
bottom: 0;
60-
left: 0;
61-
overflow: auto;
62-
background: rgba(0,0,0,.4);
63-
z-index:-1;
54+
.move-enter,.move-leave{
6455
opacity: 0;
65-
transition: all .5s ease;
66-
}
67-
.dialog.dialog-show{
68-
opacity: 1;
69-
z-index: 1000;
7056
}
71-
.dialog .dialog-wrapper{
72-
position: absolute;
73-
left: 50%;
74-
top: 15%;
75-
width: 50%;
76-
transform: translateX(-50%);
77-
background: #fff;
78-
border-radius: 2px;
79-
box-shadow: 0 1px 3px rgba(0,0,0,.3);
80-
box-sizing: border-box;
81-
transition: top .5s ease;
57+
/*BaseForm*/
58+
.form-box{
59+
width:600px;
8260
}
83-
.dialog.dialog-show .dialog-wrapper{
84-
top: 17%;
61+
.form-box .line{
62+
text-align: center;
8563
}
86-
.dialog .dialog-header{
87-
padding: 20px 20px 0;
64+
.el-time-panel__content::after, .el-time-panel__content::before {
65+
margin-top: -7px;
8866
}
89-
.dialog .dialog-content{
90-
padding: 30px 20px;
91-
color: #475669;
92-
font-size: 14px;
67+
/*Readme*/
68+
.ms-doc .el-checkbox__input.is-disabled+.el-checkbox__label{
69+
color: #333;
70+
cursor: pointer;
9371
}
94-
.dialog .dialog-close{
95-
float: right;
72+
/*Upload*/
73+
.pure-button{
74+
width:150px;
75+
height:40px;
76+
line-height: 40px;
77+
text-align: center;
78+
background: #00a2ff;
79+
color: #fff;
80+
border-radius: 3px;
81+
}
82+
.g-core-image-corp-container .info-aside{
83+
height:45px;
84+
}
85+
.el-upload--text {
86+
background-color: #fff;
87+
border: 1px dashed #d9d9d9;
88+
border-radius: 6px;
89+
box-sizing: border-box;
90+
width: 360px;
91+
height: 180px;
92+
text-align: center;
9693
cursor: pointer;
97-
color: #c0ccda;
94+
position: relative;
95+
overflow: hidden;
9896
}
99-
.dialog .dialog-close:hover{
100-
color: #20a0ff;
101-
animation: close-rotate .3s ease;
102-
97+
.el-upload--text .el-icon-upload {
98+
font-size: 67px;
99+
color: #97a8be;
100+
margin: 40px 0 16px;
101+
line-height: 50px;
103102
}
104-
@keyframes close-rotate {
105-
from{
106-
transform: rotate(-360deg);
107-
}
103+
.el-upload--text {
104+
color: #97a8be;
105+
font-size: 14px;
106+
text-align: center;
108107
}
109-
.el-upload__files{
110-
display: none;
108+
.el-upload--text em {
109+
color: #20a0ff;
110+
font-style: normal;
111111
}
112-
.move-enter-active,.move-leave-active{
113-
transition: opacity .5s;
112+
/*VueEditor*/
113+
.ql-container{
114+
min-height: 400px;
114115
}
115-
.move-enter,.move-leave{
116-
opacity: 0;
116+
.ql-snow .ql-tooltip{
117+
transform: translateX(117.5px) translateY(10px) !important;
118+
}
119+
.editor-btn{
120+
margin-top: 20px;
117121
}

0 commit comments

Comments
 (0)