11@import ' ./btn.scss' ;
22// @import './editor.scss';
33@import " ./mixin.scss" ;
4-
54body {
65 // height: 100%;
76 // overflow-y: scroll;
87 -moz-osx-font-smoothing : grayscale ;
98 -webkit-font-smoothing : antialiased ;
109 text-rendering : optimizeLegibility ;
11- font-family : Helvetica Neue,Helvetica ,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial ,sans-serif ;
10+ font-family : Helvetica Neue, Helvetica , PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial , sans-serif ;
1211 // @include scrollBar;
1312}
14- label {
13+
14+ label {
1515 font-weight : 700 ;
1616}
1717
1818html {
1919 box-sizing : border-box ;
2020}
2121
22- * , * :before , * :after {
22+ * ,
23+ * :before ,
24+ * :after {
2325 box-sizing : inherit ;
2426}
2527
@@ -68,21 +70,29 @@ a:hover {
6870 display : block ;
6971}
7072
71- .components-container {
73+ .components-container {
7274 margin : 30px 50px ;
75+ position : relative ;
7376}
7477
75- code {
76- background : #eef1f6 ;
77- padding : 20px 10px ;
78- margin-bottom : 20px ;
79- display : block ;
78+ .editor-container .CodeMirror {
79+ height : 100% !important ;
8080}
81- .fade-enter-active , .fade-leave-active {
81+
82+ code {
83+ background : #eef1f6 ;
84+ padding : 20px 10px ;
85+ margin-bottom : 20px ;
86+ display : block ;
87+ }
88+
89+ .fade-enter-active ,
90+ .fade-leave-active {
8291 transition : all .2s ease
8392}
8493
85- .fade-enter , .fade-leave-active {
94+ .fade-enter ,
95+ .fade-leave-active {
8696 opacity : 0 ;
8797}
8898
@@ -101,7 +111,6 @@ code{
101111// margin: 0 auto;
102112// }
103113// }
104-
105114// main-container全局样式
106115.app-container {
107116 padding : 20px ;
@@ -139,7 +148,6 @@ code{
139148 .el-upload {
140149 float : left ;
141150 width : 100px ;
142-
143151 }
144152 .el-upload-list {
145153 float : left ;
@@ -190,15 +198,18 @@ code{
190198 }
191199}
192200
193- .link-type ,.link-type :focus {
201+ .link-type ,
202+ .link-type :focus {
194203 color : #337ab7 ;
195204 cursor : pointer ;
196- & :hover {
205+ & :hover {
197206 color : rgb (32 , 160 , 255 );
198207 }
199208}
200209
201- .publishedTag , .draftTag , .deletedTag {
210+ .publishedTag ,
211+ .draftTag ,
212+ .deletedTag {
202213 color : #fff ;
203214 background-color : $panGreen ;
204215 line-height : 1 ;
@@ -242,7 +253,7 @@ code{
242253 .el-checkbox {
243254 margin : 0 20px 15px 0 ;
244255 }
245- .el-checkbox + .el-checkbox {
256+ .el-checkbox + .el-checkbox {
246257 margin-left : 0px ;
247258 }
248259}
@@ -272,8 +283,8 @@ code{
272283 p {
273284 display : inline-block ;
274285 }
275- .el-collapse-item__content {
276- padding-right :0px ;
286+ .el-collapse-item__content {
287+ padding-right : 0px ;
277288 }
278289}
279290
@@ -328,12 +339,14 @@ code{
328339 margin-right : 8px ;
329340 }
330341}
331- .small-padding {
332- .cell {
342+
343+ .small-padding {
344+ .cell {
333345 padding-left : 8px ;
334346 padding-right : 8px ;
335347 }
336348}
349+
337350.status-col {
338351 .cell {
339352 padding : 0 10px ;
@@ -348,7 +361,10 @@ code{
348361// margin-left: 0px!important;
349362// }
350363.no-border {
351- .el-input-group__prepend , .el-input__inner , .el-date-editor__editor , .multiselect__tags {
364+ .el-input-group__prepend ,
365+ .el-input__inner ,
366+ .el-date-editor__editor ,
367+ .multiselect__tags {
352368 border : none ;
353369 }
354370}
@@ -384,7 +400,7 @@ code{
384400}
385401
386402// 暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
387- .el-dialog {
403+ .el-dialog {
388404 transform : none ;
389405 left : 0 ;
390406 position : relative ;
0 commit comments