增加admin管理帐号和项目的界面--初步实现
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
@use './var' as *;
|
||||
@use '../mixins/mixins' as *;
|
||||
@use '../mixins/var' as *;
|
||||
|
||||
:root {
|
||||
@include set-component-css-var('popup', $popup);
|
||||
}
|
||||
|
||||
.v-modal-enter {
|
||||
animation: v-modal-in getCssVar('transition-duration-fast') ease;
|
||||
}
|
||||
|
||||
.v-modal-leave {
|
||||
animation: v-modal-out getCssVar('transition-duration-fast') ease forwards;
|
||||
}
|
||||
|
||||
@keyframes v-modal-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes v-modal-out {
|
||||
0% {
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.v-modal {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: getCssVar('popup-modal-opacity');
|
||||
background: getCssVar('popup-modal-bg-color');
|
||||
}
|
||||
|
||||
@include b(popup-parent) {
|
||||
@include m(hidden) {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
@use '../mixins/config' as *;
|
||||
@use '../mixins/mixins' as *;
|
||||
|
||||
.fade-in-linear-enter-active,
|
||||
.fade-in-linear-leave-active {
|
||||
transition: getCssVar('transition-fade', 'linear');
|
||||
}
|
||||
|
||||
.fade-in-linear-enter-from,
|
||||
.fade-in-linear-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.#{$namespace}-fade-in-linear-enter-active,
|
||||
.#{$namespace}-fade-in-linear-leave-active {
|
||||
transition: getCssVar('transition-fade', 'linear');
|
||||
}
|
||||
.#{$namespace}-fade-in-linear-enter-from,
|
||||
.#{$namespace}-fade-in-linear-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.#{$namespace}-fade-in-enter-active,
|
||||
.#{$namespace}-fade-in-leave-active {
|
||||
transition: all getCssVar('transition-duration') cubic-bezier(0.55, 0, 0.1, 1);
|
||||
}
|
||||
.#{$namespace}-fade-in-enter-from,
|
||||
.#{$namespace}-fade-in-leave-active {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.#{$namespace}-zoom-in-center-enter-active,
|
||||
.#{$namespace}-zoom-in-center-leave-active {
|
||||
transition: all getCssVar('transition-duration') cubic-bezier(0.55, 0, 0.1, 1);
|
||||
}
|
||||
.#{$namespace}-zoom-in-center-enter-from,
|
||||
.#{$namespace}-zoom-in-center-leave-active {
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
|
||||
.#{$namespace}-zoom-in-top-enter-active,
|
||||
.#{$namespace}-zoom-in-top-leave-active {
|
||||
opacity: 1;
|
||||
transform: scaleY(1);
|
||||
transition: getCssVar('transition-md-fade');
|
||||
transform-origin: center top;
|
||||
|
||||
&[data-popper-placement^='top'] {
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
}
|
||||
.#{$namespace}-zoom-in-top-enter-from,
|
||||
.#{$namespace}-zoom-in-top-leave-active {
|
||||
opacity: 0;
|
||||
transform: scaleY(0);
|
||||
}
|
||||
|
||||
.#{$namespace}-zoom-in-bottom-enter-active,
|
||||
.#{$namespace}-zoom-in-bottom-leave-active {
|
||||
opacity: 1;
|
||||
transform: scaleY(1);
|
||||
transition: getCssVar('transition-md-fade');
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
.#{$namespace}-zoom-in-bottom-enter-from,
|
||||
.#{$namespace}-zoom-in-bottom-leave-active {
|
||||
opacity: 0;
|
||||
transform: scaleY(0);
|
||||
}
|
||||
|
||||
.#{$namespace}-zoom-in-left-enter-active,
|
||||
.#{$namespace}-zoom-in-left-leave-active {
|
||||
opacity: 1;
|
||||
transform: scale(1, 1);
|
||||
transition: getCssVar('transition-md-fade');
|
||||
transform-origin: top left;
|
||||
}
|
||||
.#{$namespace}-zoom-in-left-enter-from,
|
||||
.#{$namespace}-zoom-in-left-leave-active {
|
||||
opacity: 0;
|
||||
transform: scale(0.45, 0.45);
|
||||
}
|
||||
|
||||
.collapse-transition {
|
||||
transition:
|
||||
getCssVar('transition-duration') height ease-in-out,
|
||||
getCssVar('transition-duration') padding-top ease-in-out,
|
||||
getCssVar('transition-duration') padding-bottom ease-in-out;
|
||||
}
|
||||
|
||||
.#{$namespace}-collapse-transition-leave-active,
|
||||
.#{$namespace}-collapse-transition-enter-active {
|
||||
transition:
|
||||
getCssVar('transition-duration') max-height ease-in-out,
|
||||
getCssVar('transition-duration') padding-top ease-in-out,
|
||||
getCssVar('transition-duration') padding-bottom ease-in-out;
|
||||
}
|
||||
|
||||
.horizontal-collapse-transition {
|
||||
transition:
|
||||
getCssVar('transition-duration') width ease-in-out,
|
||||
getCssVar('transition-duration') padding-left ease-in-out,
|
||||
getCssVar('transition-duration') padding-right ease-in-out;
|
||||
}
|
||||
|
||||
.#{$namespace}-list-enter-active,
|
||||
.#{$namespace}-list-leave-active {
|
||||
transition: all 1s;
|
||||
}
|
||||
|
||||
.#{$namespace}-list-enter-from,
|
||||
.#{$namespace}-list-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateY(-30px);
|
||||
}
|
||||
|
||||
.#{$namespace}-list-leave-active {
|
||||
position: absolute !important;
|
||||
}
|
||||
|
||||
.#{$namespace}-opacity-transition {
|
||||
transition: opacity getCssVar('transition-duration')
|
||||
cubic-bezier(0.55, 0, 0.1, 1);
|
||||
}
|
||||
+1673
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user