{{ element.id }} [{{ element.author }}] {{ element.title }}
@@ -105,25 +105,21 @@ export default {
diff --git a/src/components/GithubCorner/index.vue b/src/components/GithubCorner/index.vue
index 54445fb1..970faaf1 100644
--- a/src/components/GithubCorner/index.vue
+++ b/src/components/GithubCorner/index.vue
@@ -4,7 +4,7 @@
width="80"
height="80"
viewBox="0 0 250 250"
- style="fill: #40c9c6; color: #fff;"
+ style="fill:#40c9c6; color:#fff;"
aria-hidden="true"
>
@@ -25,33 +25,30 @@
diff --git a/src/components/ImageCropper/index.vue b/src/components/ImageCropper/index.vue
index 9f8596e9..13ae9a11 100644
--- a/src/components/ImageCropper/index.vue
+++ b/src/components/ImageCropper/index.vue
@@ -819,31 +819,46 @@ export default {
diff --git a/src/components/JsonEditor/index.vue b/src/components/JsonEditor/index.vue
index e7dc196d..07b282e4 100644
--- a/src/components/JsonEditor/index.vue
+++ b/src/components/JsonEditor/index.vue
@@ -55,21 +55,18 @@ export default {
diff --git a/src/components/Kanban/index.vue b/src/components/Kanban/index.vue
index 6735d89d..82f7dd7e 100644
--- a/src/components/Kanban/index.vue
+++ b/src/components/Kanban/index.vue
@@ -91,7 +91,7 @@ export default {
line-height: 54px;
padding: 5px 10px;
box-sizing: border-box;
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
+ box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.2);
}
}
}
diff --git a/src/components/MDinput/index.vue b/src/components/MDinput/index.vue
index 4f83c659..c59ea34a 100644
--- a/src/components/MDinput/index.vue
+++ b/src/components/MDinput/index.vue
@@ -208,14 +208,14 @@ export default {
// Utils
$spacer: 12px;
$transition: 0.2s ease all;
- $index: 0;
+ $index: 0px;
$index-has-icon: 30px;
// Theme:
$color-white: white;
- $color-grey: #9e9e9e;
- $color-grey-light: #e0e0e0;
- $color-blue: #2196f3;
- $color-red: #f44336;
+ $color-grey: #9E9E9E;
+ $color-grey-light: #E0E0E0;
+ $color-blue: #2196F3;
+ $color-red: #F44336;
$color-black: black;
// Base clases:
%base-bar-pseudo {
@@ -239,11 +239,9 @@ export default {
.material-input__component {
margin-top: 36px;
position: relative;
-
* {
box-sizing: border-box;
}
-
.iconClass {
.material-input__icon {
position: absolute;
@@ -257,16 +255,13 @@ export default {
font-weight: $font-weight-normal;
pointer-events: none;
}
-
.material-label {
left: $index-has-icon;
}
-
.material-input {
text-indent: $index-has-icon;
}
}
-
.material-input {
font-size: $font-size-base;
padding: $spacer $spacer $spacer - $apixel * 10 $spacer / 2;
@@ -275,14 +270,12 @@ export default {
border: none;
line-height: 1;
border-radius: 0;
-
&:focus {
outline: none;
border: none;
border-bottom: 1px solid transparent; // fixes the height issue
}
}
-
.material-label {
font-weight: $font-weight-normal;
position: absolute;
@@ -292,18 +285,15 @@ export default {
transition: $transition;
font-size: $font-size-small;
}
-
.material-input-bar {
position: relative;
display: block;
width: 100%;
-
- &::before {
+ &:before {
@extend %base-bar-pseudo;
left: 50%;
}
-
- &::after {
+ &:after {
@extend %base-bar-pseudo;
right: 50%;
}
@@ -323,8 +313,8 @@ export default {
// Active state:
&.material--active {
.material-input-bar {
- &::before,
- &::after {
+ &:before,
+ &:after {
width: 50%;
}
}
@@ -333,21 +323,18 @@ export default {
.material-input__component {
background: $color-white;
-
.material-input {
background: none;
color: $color-black;
text-indent: $index;
border-bottom: 1px solid $color-grey-light;
}
-
.material-label {
color: $color-grey;
}
-
.material-input-bar {
- &::before,
- &::after {
+ &:before,
+ &:after {
background: $color-blue;
}
}
@@ -362,10 +349,9 @@ export default {
&.material--active .material-label {
color: $color-red;
}
-
.material-input-bar {
- &::before,
- &::after {
+ &:before,
+ &:after {
background: transparent;
}
}
diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 0fc96d0e..c815e132 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -95,7 +95,6 @@ export default {
background: #fff;
padding: 32px 16px;
}
-
.pagination-container.hidden {
display: none;
}
diff --git a/src/components/PanThumb/index.vue b/src/components/PanThumb/index.vue
index 5dc50f54..1bcf4170 100644
--- a/src/components/PanThumb/index.vue
+++ b/src/components/PanThumb/index.vue
@@ -91,7 +91,7 @@ export default {
letter-spacing: 2px;
font-size: 18px;
margin: 0 60px;
- padding: 22px 0 0;
+ padding: 22px 0 0 0;
height: 85px;
font-family: 'Open Sans', Arial, sans-serif;
text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3);
@@ -137,6 +137,6 @@ export default {
.pan-item:hover .pan-info p a {
opacity: 1;
- transform: translateX(0) rotate(0deg);
+ transform: translateX(0px) rotate(0deg);
}
diff --git a/src/components/RightPanel/index.vue b/src/components/RightPanel/index.vue
index fe057dcb..55e8c1e5 100644
--- a/src/components/RightPanel/index.vue
+++ b/src/components/RightPanel/index.vue
@@ -90,8 +90,8 @@ export default {
top: 0;
left: 0;
opacity: 0;
- transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
- background: rgba(0, 0, 0, 0.2);
+ transition: opacity .3s cubic-bezier(.7, .3, .1, 1);
+ background: rgba(0, 0, 0, .2);
z-index: -1;
}
@@ -102,15 +102,15 @@ export default {
position: fixed;
top: 0;
right: 0;
- box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05);
- transition: all 0.25s cubic-bezier(0.7, 0.3, 0.1, 1);
+ box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .05);
+ transition: all .25s cubic-bezier(.7, .3, .1, 1);
transform: translate(100%);
background: #fff;
z-index: 40000;
}
.show {
- transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
+ transition: all .3s cubic-bezier(.7, .3, .1, 1);
.rightPanel-background {
z-index: 20000;
@@ -137,7 +137,6 @@ export default {
cursor: pointer;
color: #fff;
line-height: 48px;
-
i {
font-size: 24px;
line-height: 48px;
diff --git a/src/components/Screenfull/index.vue b/src/components/Screenfull/index.vue
index 61d0859e..260c90de 100644
--- a/src/components/Screenfull/index.vue
+++ b/src/components/Screenfull/index.vue
@@ -52,7 +52,7 @@ export default {
.screenfull-svg {
display: inline-block;
cursor: pointer;
- fill: #5a5e66;
+ fill: #5a5e66;;
width: 20px;
height: 20px;
vertical-align: 10px;
diff --git a/src/components/Share/DropdownMenu.vue b/src/components/Share/DropdownMenu.vue
index 2efd5325..d194a517 100644
--- a/src/components/Share/DropdownMenu.vue
+++ b/src/components/Share/DropdownMenu.vue
@@ -39,14 +39,12 @@ export default {
diff --git a/src/components/TextHoverEffect/Mallki.vue b/src/components/TextHoverEffect/Mallki.vue
index 9de62dd7..5d6d16ca 100644
--- a/src/components/TextHoverEffect/Mallki.vue
+++ b/src/components/TextHoverEffect/Mallki.vue
@@ -48,7 +48,7 @@ export default {
content: '';
width: 100%;
height: 6px;
- margin: -3px 0 0;
+ margin: -3px 0 0 0;
background: #3888fa;
position: absolute;
left: 0;
diff --git a/src/components/Tinymce/components/EditorImage.vue b/src/components/Tinymce/components/EditorImage.vue
index 60f0c576..d4a98e84 100644
--- a/src/components/Tinymce/components/EditorImage.vue
+++ b/src/components/Tinymce/components/EditorImage.vue
@@ -104,7 +104,6 @@ export default {
diff --git a/src/components/Upload/SingleImage2.vue b/src/components/Upload/SingleImage2.vue
index 4b81971f..07637a9e 100644
--- a/src/components/Upload/SingleImage2.vue
+++ b/src/components/Upload/SingleImage2.vue
@@ -81,30 +81,25 @@ export default {
width: 100%;
height: 100%;
position: relative;
-
.image-uploader {
height: 100%;
}
-
.image-preview {
width: 100%;
height: 100%;
position: absolute;
- left: 0;
- top: 0;
+ left: 0px;
+ top: 0px;
border: 1px dashed #d9d9d9;
-
.image-preview-wrapper {
position: relative;
width: 100%;
height: 100%;
-
img {
width: 100%;
height: 100%;
}
}
-
.image-preview-action {
position: absolute;
width: 100%;
@@ -116,17 +111,15 @@ export default {
color: #fff;
opacity: 0;
font-size: 20px;
- background-color: rgba(0, 0, 0, 0.5);
- transition: opacity 0.3s;
+ background-color: rgba(0, 0, 0, .5);
+ transition: opacity .3s;
cursor: pointer;
text-align: center;
line-height: 200px;
-
.el-icon-delete {
font-size: 36px;
}
}
-
&:hover {
.image-preview-action {
opacity: 1;
diff --git a/src/components/Upload/SingleImage3.vue b/src/components/Upload/SingleImage3.vue
index c67a80ea..6300da4b 100644
--- a/src/components/Upload/SingleImage3.vue
+++ b/src/components/Upload/SingleImage3.vue
@@ -86,18 +86,15 @@ export default {
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index 22920199..ac0c8d8f 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -32,7 +32,6 @@ export default {
diff --git a/src/views/charts/line.vue b/src/views/charts/line.vue
index 390e65c6..fea1497e 100644
--- a/src/views/charts/line.vue
+++ b/src/views/charts/line.vue
@@ -14,10 +14,10 @@ export default {
diff --git a/src/views/charts/mix-chart.vue b/src/views/charts/mix-chart.vue
index 130c8f6e..c57db75a 100644
--- a/src/views/charts/mix-chart.vue
+++ b/src/views/charts/mix-chart.vue
@@ -14,10 +14,10 @@ export default {
diff --git a/src/views/clipboard/index.vue b/src/views/clipboard/index.vue
index 8a6daf14..4a6bdd1e 100644
--- a/src/views/clipboard/index.vue
+++ b/src/views/clipboard/index.vue
@@ -2,21 +2,13 @@
-
+
copy
-
+
copy
@@ -37,10 +29,6 @@ export default {
data() {
return {
activeName: 'directly',
- inputStyle: {
- maxWidth: '100%',
- width: '400px'
- },
inputData: 'https://github.com/PanJiaChen/vue-element-admin'
}
},
diff --git a/src/views/components-demo/avatar-upload.vue b/src/views/components-demo/avatar-upload.vue
index 34301541..5cb20a56 100644
--- a/src/views/components-demo/avatar-upload.vue
+++ b/src/views/components-demo/avatar-upload.vue
@@ -7,14 +7,7 @@
-
+
Change Avatar
@@ -59,10 +52,10 @@ export default {
diff --git a/src/views/components-demo/count-to.vue b/src/views/components-demo/count-to.vue
index 72fc2414..70681df6 100644
--- a/src/views/components-demo/count-to.vue
+++ b/src/views/components-demo/count-to.vue
@@ -15,7 +15,7 @@
:autoplay="false"
class="example"
/>
-
+
@@ -25,7 +25,7 @@
-
+
Start
@@ -124,96 +124,95 @@ export default {
diff --git a/src/views/components-demo/drag-kanban.vue b/src/views/components-demo/drag-kanban.vue
index 9d66d4bd..943be455 100644
--- a/src/views/components-demo/drag-kanban.vue
+++ b/src/views/components-demo/drag-kanban.vue
@@ -38,27 +38,24 @@ export default {
diff --git a/src/views/components-demo/markdown.vue b/src/views/components-demo/markdown.vue
index 3ce69e8a..25cf3e37 100644
--- a/src/views/components-demo/markdown.vue
+++ b/src/views/components-demo/markdown.vue
@@ -42,7 +42,7 @@
-
+
Get HTML
@@ -92,11 +92,10 @@ export default {
diff --git a/src/views/components-demo/mixin.vue b/src/views/components-demo/mixin.vue
index 075bced9..425cf4fb 100644
--- a/src/views/components-demo/mixin.vue
+++ b/src/views/components-demo/mixin.vue
@@ -5,7 +5,7 @@
Buttons
-
+
Documentation
@@ -40,13 +40,13 @@
-
+
Material Design 的input
-
+
@@ -96,14 +96,14 @@
-
+
Share
-
-
+
+
@@ -160,11 +160,10 @@ export default {
diff --git a/src/views/components-demo/split-pane.vue b/src/views/components-demo/split-pane.vue
index c6eff812..7dba353f 100644
--- a/src/views/components-demo/split-pane.vue
+++ b/src/views/components-demo/split-pane.vue
@@ -39,29 +39,29 @@ export default {
diff --git a/src/views/components-demo/sticky.vue b/src/views/components-demo/sticky.vue
index bfe03d69..f01d088a 100644
--- a/src/views/components-demo/sticky.vue
+++ b/src/views/components-demo/sticky.vue
@@ -18,7 +18,7 @@
Link
-
+
Url
diff --git a/src/views/components-demo/tinymce.vue b/src/views/components-demo/tinymce.vue
index e33d15a5..c70179fa 100644
--- a/src/views/components-demo/tinymce.vue
+++ b/src/views/components-demo/tinymce.vue
@@ -29,7 +29,7 @@ export default {
diff --git a/src/views/dashboard/admin/components/BoxCard.vue b/src/views/dashboard/admin/components/BoxCard.vue
index 9dad0cc3..dff8462a 100644
--- a/src/views/dashboard/admin/components/BoxCard.vue
+++ b/src/views/dashboard/admin/components/BoxCard.vue
@@ -1,12 +1,12 @@
-
+
-
-
+
+
-
+
Vue
@@ -62,61 +62,55 @@ export default {
diff --git a/src/views/error-log/index.vue b/src/views/error-log/index.vue
index 076dcaf6..e999c85b 100644
--- a/src/views/error-log/index.vue
+++ b/src/views/error-log/index.vue
@@ -1,5 +1,5 @@
-
+
Please click the bug icon in the upper right corner
@@ -26,7 +26,7 @@ export default {
diff --git a/src/views/error-page/401.vue b/src/views/error-page/401.vue
index 324d6430..a52ed23b 100644
--- a/src/views/error-page/401.vue
+++ b/src/views/error-page/401.vue
@@ -1,5 +1,5 @@
-
+
返回
@@ -59,45 +59,37 @@ export default {
diff --git a/src/views/example/components/Dropdown/SourceUrl.vue b/src/views/example/components/Dropdown/SourceUrl.vue
index c01c1e2c..8f47485a 100644
--- a/src/views/example/components/Dropdown/SourceUrl.vue
+++ b/src/views/example/components/Dropdown/SourceUrl.vue
@@ -4,8 +4,8 @@
Link
-
-
+
+
URL
diff --git a/src/views/example/list.vue b/src/views/example/list.vue
index 07ae9732..7cdc4ac0 100644
--- a/src/views/example/list.vue
+++ b/src/views/example/list.vue
@@ -1,6 +1,6 @@
-
+
{{ scope.row.id }}
@@ -104,7 +104,6 @@ export default {
.edit-input {
padding-right: 100px;
}
-
.cancel-btn {
position: absolute;
right: 15px;
diff --git a/src/views/excel/components/AutoWidthOption.vue b/src/views/excel/components/AutoWidthOption.vue
index 6e9b9b26..9050e659 100644
--- a/src/views/excel/components/AutoWidthOption.vue
+++ b/src/views/excel/components/AutoWidthOption.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/views/excel/components/BookTypeOption.vue b/src/views/excel/components/BookTypeOption.vue
index 149a63cc..af9fed39 100644
--- a/src/views/excel/components/BookTypeOption.vue
+++ b/src/views/excel/components/BookTypeOption.vue
@@ -1,7 +1,7 @@
-
+
-
+
-
-
-
+
+
+
diff --git a/src/views/excel/export-excel.vue b/src/views/excel/export-excel.vue
index c7dde385..b4d7500b 100644
--- a/src/views/excel/export-excel.vue
+++ b/src/views/excel/export-excel.vue
@@ -5,10 +5,10 @@
-
+
Export Excel
-
+
Documentation
@@ -108,8 +108,8 @@ export default {
diff --git a/src/views/table/dynamic-table/components/FixedThead.vue b/src/views/table/dynamic-table/components/FixedThead.vue
index 4a3602e7..c3deb925 100644
--- a/src/views/table/dynamic-table/components/FixedThead.vue
+++ b/src/views/table/dynamic-table/components/FixedThead.vue
@@ -14,7 +14,7 @@
-
+
diff --git a/src/views/table/dynamic-table/components/UnfixedThead.vue b/src/views/table/dynamic-table/components/UnfixedThead.vue
index ca5f14b5..831b070a 100644
--- a/src/views/table/dynamic-table/components/UnfixedThead.vue
+++ b/src/views/table/dynamic-table/components/UnfixedThead.vue
@@ -14,7 +14,7 @@
-
+
diff --git a/src/views/table/dynamic-table/index.vue b/src/views/table/dynamic-table/index.vue
index 98605aef..5a4dd363 100644
--- a/src/views/table/dynamic-table/index.vue
+++ b/src/views/table/dynamic-table/index.vue
@@ -1,11 +1,11 @@
-
+
Fixed header, sorted by header order,
-
+
Not fixed header, sorted by click order
diff --git a/src/views/table/inline-edit-table.vue b/src/views/table/inline-edit-table.vue
index a399dcea..31e0065f 100644
--- a/src/views/table/inline-edit-table.vue
+++ b/src/views/table/inline-edit-table.vue
@@ -1,6 +1,6 @@
-
+
{{ row.id }}
@@ -141,7 +141,6 @@ export default {
.edit-input {
padding-right: 100px;
}
-
.cancel-btn {
position: absolute;
right: 15px;
diff --git a/src/views/theme/index.vue b/src/views/theme/index.vue
index 552badba..0af7711a 100644
--- a/src/views/theme/index.vue
+++ b/src/views/theme/index.vue
@@ -9,7 +9,7 @@
Change Theme :
-
@@ -101,14 +101,13 @@ export default {