Design: Adjust skeleton gradient
This commit is contained in:
parent
8770fd9f38
commit
b6cff02c5d
@ -124,17 +124,17 @@ function handleSubmit() {
|
|||||||
|
|
||||||
.skeleton {
|
.skeleton {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1em;
|
height: 1.1em;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
120deg,
|
120deg,
|
||||||
var(--color-border) 30%,
|
var(--color-border) 10%,
|
||||||
var(--color-background-soft) 38%,
|
var(--color-background-soft) 20%,
|
||||||
var(--color-background-soft) 42%,
|
var(--color-background-soft) 30%,
|
||||||
var(--color-border) 50%
|
var(--color-border) 40%
|
||||||
);
|
);
|
||||||
background-size: 200% 100%;
|
background-size: 200% 100%;
|
||||||
background-position: 100% 0;
|
background-position: 100% 0;
|
||||||
animation: skeleton 1.5s infinite;
|
animation: skeleton 1.5s infinite ease-in-out;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.sidebar {
|
.sidebar {
|
||||||
|
flex-shrink: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
// HTTP Status Code
|
// HTTP Status Code
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
|
||||||
export const httpStatusCode = {
|
export const httpStatusCode = {
|
||||||
OK: 200,
|
OK: 200,
|
||||||
CREATE: 201,
|
CREATE: 201,
|
||||||
NOCONTENT: 204,
|
NOCONTENT: 204,
|
||||||
UNAUTHORIZED: 401,
|
UNAUTHORIZED: 401,
|
||||||
FORBIDDEN: 403,
|
FORBIDDEN: 403,
|
||||||
NOTFOUND: 404,
|
NOTFOUND: 404,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user