mirror of https://github.com/ElemeFE/element
commit
d7cbf79b25
|
@ -18,7 +18,13 @@ cooking.set({
|
||||||
'element-ui': './src/index.js'
|
'element-ui': './src/index.js'
|
||||||
} : './examples/entry.js',
|
} : './examples/entry.js',
|
||||||
dist: './examples/element-ui/',
|
dist: './examples/element-ui/',
|
||||||
|
template: [
|
||||||
|
{
|
||||||
template: './examples/index.tpl',
|
template: './examples/index.tpl',
|
||||||
|
filename: './index.html',
|
||||||
|
favicon: './examples/favicon.ico'
|
||||||
|
}
|
||||||
|
],
|
||||||
publicPath: process.env.CI_ENV || '/',
|
publicPath: process.env.CI_ENV || '/',
|
||||||
hash: true,
|
hash: true,
|
||||||
devServer: {
|
devServer: {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
@ -3,7 +3,7 @@
|
||||||
class="el-loading-spinner"
|
class="el-loading-spinner"
|
||||||
:class="{ 'is-full-screen': fullScreen }">
|
:class="{ 'is-full-screen': fullScreen }">
|
||||||
<svg class="circular" viewBox="25 25 50 50">
|
<svg class="circular" viewBox="25 25 50 50">
|
||||||
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"/>
|
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
|
||||||
</svg>
|
</svg>
|
||||||
<p v-if="text" class="el-loading-text">{{ text }}</p>
|
<p v-if="text" class="el-loading-text">{{ text }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -543,5 +543,5 @@
|
||||||
/* Loading
|
/* Loading
|
||||||
--------------------------*/
|
--------------------------*/
|
||||||
--loading-spinner-size: 42px;
|
--loading-spinner-size: 42px;
|
||||||
--loading-fullscreen-spinner-size: 64px;
|
--loading-fullscreen-spinner-size: 50px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
transition: var(--border-transition-base);
|
transition: var(--border-transition-base);
|
||||||
outline: none;
|
outline: none;
|
||||||
|
font-size: inherit;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
.el-loading-text {
|
.el-loading-text {
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
margin: 3px 0;
|
margin: 3px 0;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.circular {
|
.circular {
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
stroke-dashoffset: 0;
|
stroke-dashoffset: 0;
|
||||||
stroke-width: 2;
|
stroke-width: 2;
|
||||||
stroke: var(--color-primary);
|
stroke: var(--color-primary);
|
||||||
animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
|
animation: dash 1.5s ease-in-out infinite;
|
||||||
stroke-linecap: round;
|
stroke-linecap: round;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,10 +33,6 @@
|
||||||
.circular {
|
.circular {
|
||||||
width: var(--loading-fullscreen-spinner-size);
|
width: var(--loading-fullscreen-spinner-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
.path {
|
|
||||||
stroke-width: 3;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .el-input__inner {
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
border-color: var(--select-input-focus-background);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& .el-input {
|
& .el-input {
|
||||||
& .el-input__icon {
|
& .el-input__icon {
|
||||||
color: var(--select-input-color);
|
color: var(--select-input-color);
|
||||||
|
@ -55,14 +63,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& .el-input__inner {
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
border-color: var(--select-input-focus-background);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.is-disabled {
|
&.is-disabled {
|
||||||
& .el-input__inner {
|
& .el-input__inner {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
Loading…
Reference in New Issue