Loading: update style/Add favicon

This commit is contained in:
Leopoldthecoder 2016-11-09 17:57:00 +08:00
parent 41c53099c8
commit 813dc78c51
7 changed files with 24 additions and 21 deletions

View File

@ -18,7 +18,13 @@ cooking.set({
'element-ui': './src/index.js'
} : './examples/entry.js',
dist: './examples/element-ui/',
template: './examples/index.tpl',
template: [
{
template: './examples/index.tpl',
filename: './index.html',
favicon: './examples/favicon.ico'
}
],
publicPath: process.env.CI_ENV || '/',
hash: true,
devServer: {

8
examples/assets/images/element-logo.svg Normal file → Executable file

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

View File

@ -3,7 +3,7 @@
class="el-loading-spinner"
:class="{ 'is-full-screen': fullScreen }">
<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>
<p v-if="text" class="el-loading-text">{{ text }}</p>
</div>

View File

@ -543,5 +543,5 @@
/* Loading
--------------------------*/
--loading-spinner-size: 42px;
--loading-fullscreen-spinner-size: 64px;
--loading-fullscreen-spinner-size: 50px;
}

View File

@ -19,6 +19,7 @@
border-radius: 4px;
transition: var(--border-transition-base);
outline: none;
font-size: inherit;
line-height: normal;
&::placeholder {

View File

@ -10,7 +10,7 @@
.el-loading-text {
color: var(--color-primary);
margin: 3px 0;
font-size: 16px;
font-size: 14px;
}
.circular {
@ -23,7 +23,7 @@
stroke-dashoffset: 0;
stroke-width: 2;
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;
}
@ -33,10 +33,6 @@
.circular {
width: var(--loading-fullscreen-spinner-size);
}
.path {
stroke-width: 3;
}
}
}

View File

@ -25,6 +25,14 @@
}
}
& .el-input__inner {
cursor: pointer;
&:focus {
border-color: var(--select-input-focus-background);
}
}
& .el-input {
& .el-input__icon {
color: var(--select-input-color);
@ -55,14 +63,6 @@
}
}
& .el-input__inner {
cursor: pointer;
&:focus {
border-color: var(--select-input-focus-background);
}
}
&.is-disabled {
& .el-input__inner {
cursor: not-allowed;