{{ element.id }} [{{ element.author }}] {{ element.title }}
@@ -105,21 +105,25 @@ export default {
diff --git a/src/components/GithubCorner/index.vue b/src/components/GithubCorner/index.vue
index 970faaf1..54445fb1 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,30 +25,33 @@
diff --git a/src/components/ImageCropper/index.vue b/src/components/ImageCropper/index.vue
index 13ae9a11..9f8596e9 100644
--- a/src/components/ImageCropper/index.vue
+++ b/src/components/ImageCropper/index.vue
@@ -819,46 +819,31 @@ export default {
diff --git a/src/components/JsonEditor/index.vue b/src/components/JsonEditor/index.vue
index 07b282e4..e7dc196d 100644
--- a/src/components/JsonEditor/index.vue
+++ b/src/components/JsonEditor/index.vue
@@ -55,18 +55,21 @@ export default {
diff --git a/src/components/Kanban/index.vue b/src/components/Kanban/index.vue
index 82f7dd7e..6735d89d 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: 0px 1px 3px 0 rgba(0, 0, 0, 0.2);
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}
}
}
diff --git a/src/components/MDinput/index.vue b/src/components/MDinput/index.vue
index c59ea34a..4f83c659 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: 0px;
+ $index: 0;
$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,9 +239,11 @@ export default {
.material-input__component {
margin-top: 36px;
position: relative;
+
* {
box-sizing: border-box;
}
+
.iconClass {
.material-input__icon {
position: absolute;
@@ -255,13 +257,16 @@ 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;
@@ -270,12 +275,14 @@ 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;
@@ -285,15 +292,18 @@ 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%;
}
@@ -313,8 +323,8 @@ export default {
// Active state:
&.material--active {
.material-input-bar {
- &:before,
- &:after {
+ &::before,
+ &::after {
width: 50%;
}
}
@@ -323,18 +333,21 @@ 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;
}
}
@@ -349,9 +362,10 @@ 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 c815e132..0fc96d0e 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -95,6 +95,7 @@ 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 1bcf4170..5dc50f54 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 0;
+ padding: 22px 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(0px) rotate(0deg);
+ transform: translateX(0) rotate(0deg);
}
diff --git a/src/components/RightPanel/index.vue b/src/components/RightPanel/index.vue
index 55e8c1e5..fe057dcb 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 .3s cubic-bezier(.7, .3, .1, 1);
- background: rgba(0, 0, 0, .2);
+ transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
+ background: rgba(0, 0, 0, 0.2);
z-index: -1;
}
@@ -102,15 +102,15 @@ export default {
position: fixed;
top: 0;
right: 0;
- box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .05);
- transition: all .25s cubic-bezier(.7, .3, .1, 1);
+ 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);
transform: translate(100%);
background: #fff;
z-index: 40000;
}
.show {
- transition: all .3s cubic-bezier(.7, .3, .1, 1);
+ transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
.rightPanel-background {
z-index: 20000;
@@ -137,6 +137,7 @@ 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 260c90de..61d0859e 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 d194a517..2efd5325 100644
--- a/src/components/Share/DropdownMenu.vue
+++ b/src/components/Share/DropdownMenu.vue
@@ -39,12 +39,14 @@ export default {
diff --git a/src/components/TextHoverEffect/Mallki.vue b/src/components/TextHoverEffect/Mallki.vue
index 5d6d16ca..9de62dd7 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 0;
+ margin: -3px 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 d4a98e84..60f0c576 100644
--- a/src/components/Tinymce/components/EditorImage.vue
+++ b/src/components/Tinymce/components/EditorImage.vue
@@ -104,6 +104,7 @@ export default {
diff --git a/src/components/Upload/SingleImage2.vue b/src/components/Upload/SingleImage2.vue
index 07637a9e..4b81971f 100644
--- a/src/components/Upload/SingleImage2.vue
+++ b/src/components/Upload/SingleImage2.vue
@@ -81,25 +81,30 @@ export default {
width: 100%;
height: 100%;
position: relative;
+
.image-uploader {
height: 100%;
}
+
.image-preview {
width: 100%;
height: 100%;
position: absolute;
- left: 0px;
- top: 0px;
+ left: 0;
+ top: 0;
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%;
@@ -111,15 +116,17 @@ export default {
color: #fff;
opacity: 0;
font-size: 20px;
- background-color: rgba(0, 0, 0, .5);
- transition: opacity .3s;
+ background-color: rgba(0, 0, 0, 0.5);
+ transition: opacity 0.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 6300da4b..c67a80ea 100644
--- a/src/components/Upload/SingleImage3.vue
+++ b/src/components/Upload/SingleImage3.vue
@@ -86,15 +86,18 @@ export default {
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index ac0c8d8f..22920199 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -32,6 +32,7 @@ export default {
diff --git a/src/views/charts/line.vue b/src/views/charts/line.vue
index fea1497e..390e65c6 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 c57db75a..130c8f6e 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 4a6bdd1e..8a6daf14 100644
--- a/src/views/clipboard/index.vue
+++ b/src/views/clipboard/index.vue
@@ -2,13 +2,21 @@
-
+
copy
-
+
copy
@@ -29,6 +37,10 @@ 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 5cb20a56..34301541 100644
--- a/src/views/components-demo/avatar-upload.vue
+++ b/src/views/components-demo/avatar-upload.vue
@@ -7,7 +7,14 @@
-
+
Change Avatar
@@ -52,10 +59,10 @@ export default {
diff --git a/src/views/components-demo/count-to.vue b/src/views/components-demo/count-to.vue
index 70681df6..72fc2414 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,95 +124,96 @@ export default {
diff --git a/src/views/components-demo/drag-kanban.vue b/src/views/components-demo/drag-kanban.vue
index 943be455..9d66d4bd 100644
--- a/src/views/components-demo/drag-kanban.vue
+++ b/src/views/components-demo/drag-kanban.vue
@@ -38,24 +38,27 @@ export default {
diff --git a/src/views/components-demo/markdown.vue b/src/views/components-demo/markdown.vue
index 25cf3e37..3ce69e8a 100644
--- a/src/views/components-demo/markdown.vue
+++ b/src/views/components-demo/markdown.vue
@@ -42,7 +42,7 @@
-
+
Get HTML
@@ -92,10 +92,11 @@ export default {
diff --git a/src/views/components-demo/mixin.vue b/src/views/components-demo/mixin.vue
index 425cf4fb..075bced9 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,10 +160,11 @@ export default {
diff --git a/src/views/components-demo/split-pane.vue b/src/views/components-demo/split-pane.vue
index 7dba353f..c6eff812 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 f01d088a..bfe03d69 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 c70179fa..e33d15a5 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 dff8462a..9dad0cc3 100644
--- a/src/views/dashboard/admin/components/BoxCard.vue
+++ b/src/views/dashboard/admin/components/BoxCard.vue
@@ -1,12 +1,12 @@
-
+
-
-
+
+
-
+
Vue
@@ -62,55 +62,61 @@ export default {
diff --git a/src/views/error-log/index.vue b/src/views/error-log/index.vue
index e999c85b..076dcaf6 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 a52ed23b..324d6430 100644
--- a/src/views/error-page/401.vue
+++ b/src/views/error-page/401.vue
@@ -1,5 +1,5 @@
-
+
返回
@@ -59,37 +59,45 @@ export default {
diff --git a/src/views/example/components/Dropdown/SourceUrl.vue b/src/views/example/components/Dropdown/SourceUrl.vue
index 8f47485a..c01c1e2c 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 7cdc4ac0..07ae9732 100644
--- a/src/views/example/list.vue
+++ b/src/views/example/list.vue
@@ -1,6 +1,6 @@
-
+
{{ scope.row.id }}
@@ -104,6 +104,7 @@ 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 9050e659..6e9b9b26 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 af9fed39..149a63cc 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 b4d7500b..c7dde385 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 c3deb925..4a3602e7 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 831b070a..ca5f14b5 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 5a4dd363..98605aef 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 31e0065f..a399dcea 100644
--- a/src/views/table/inline-edit-table.vue
+++ b/src/views/table/inline-edit-table.vue
@@ -1,6 +1,6 @@
-
+
{{ row.id }}
@@ -141,6 +141,7 @@ 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 0af7711a..552badba 100644
--- a/src/views/theme/index.vue
+++ b/src/views/theme/index.vue
@@ -9,7 +9,7 @@
Change Theme :
-
@@ -101,13 +101,14 @@ export default {