保存进度!

This commit is contained in:
Kane Wang 2022-11-22 16:44:16 +08:00
parent 9397c45b87
commit af1205ffed
3 changed files with 114 additions and 68 deletions

27
css/app.css Normal file
View File

@ -0,0 +1,27 @@
/*
* @Author: Kane
* @Date: 2022-11-12 23:32:20
* @LastEditors: Kane
* @LastEditTime: 2022-11-16 11:08:23
* @FilePath: \car_dealer\css\app.css
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
@import url("colors.css");
body {
background-color: var(--backupground-color);
padding: 50px;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #fff;
width: 25rem;
margin: 0px auto;
border-radius: 5px;
}

View File

@ -1,64 +1,53 @@
/*
* @Author: Kane
* @Date: 2022-10-12 08:49:14
* @LastEditors: Kane
* @LastEditTime: 2022-11-12 23:34:06
* @FilePath: \car_dealer\css\kane.css
* @Description: vue学习用的样式表
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
html { html {
--backupground-color: #f7f7f7; --backupground-color: #f4f5f7ff;
--btn-color-blue: #307dbe; --btn-color-blue: #307dbe;
--btn-color-yellow: #f7b24d; --btn-color-yellow: #f7b24d;
--btn-color-green: #5bad60; --btn-color-green: #5bad60;
--btn-color-red: #e56651; --btn-color-red: #e56651;
--btn-font-color: #fff; --btn-font-color: #fff;
background-color: #eee;
} }
#root, #root,
#app { #app {
height: 100vh;
width: 100vw;
position: fixed;
padding: 50px; padding: 50px;
/* font-size: 0; */
overflow: auto;
} }
#root, .content {
#app * + * { display: flex;
margin-top: 15px; flex-direction: column;
align-items: center;
justify-content: center;
} }
hr { hr {
background-color: steelblue; background-color: steelblue;
border: none; border: none;
height: 3px; height: 3px;
/* width: 100% */
} }
.test { /* .test {
width: 110vw; width : 110vw;
height: 100vh; height : 100vh;
border: 1px solid red; border : 1px solid red;
overflow: auto; overflow : auto;
} } */
button { input[type="text"] {
padding: 5px 10px;
background-color: var(--btn-color-red);
color: var(--btn-font-color);
width: 10em;
border: none;
border-radius: 0.25em;
font-size: 1.5rem;
}
button + button {
margin-left: 0.5em;
}
button:active {
background-color: var(--btn-font-color);
color: var(--btn-color-red);
}
input {
border: none; border: none;
outline: solid 2px #e56651; outline: solid 2px #e56651;
font-size: 2rem; /* font-size: 2rem; */
} }
label { label {

92
css/normalize.css vendored
View File

@ -9,8 +9,10 @@
*/ */
html { html {
line-height: 1.15; /* 1 */ line-height: 1.15;
-webkit-text-size-adjust: 100%; /* 2 */ /* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */
} }
/* Sections /* Sections
@ -51,9 +53,12 @@ h1 {
*/ */
hr { hr {
box-sizing: content-box; /* 1 */ box-sizing: content-box;
height: 0; /* 1 */ /* 1 */
overflow: visible; /* 2 */ height: 0;
/* 1 */
overflow: visible;
/* 2 */
} }
/** /**
@ -62,8 +67,10 @@ hr {
*/ */
pre { pre {
font-family: monospace, monospace; /* 1 */ font-family: monospace, monospace;
font-size: 1em; /* 2 */ /* 1 */
font-size: 1em;
/* 2 */
} }
/* Text-level semantics /* Text-level semantics
@ -83,9 +90,12 @@ a {
*/ */
abbr[title] { abbr[title] {
border-bottom: none; /* 1 */ border-bottom: none;
text-decoration: underline; /* 2 */ /* 1 */
text-decoration: underline dotted; /* 2 */ text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */
} }
/** /**
@ -105,8 +115,10 @@ strong {
code, code,
kbd, kbd,
samp { samp {
font-family: monospace, monospace; /* 1 */ font-family: monospace, monospace;
font-size: 1em; /* 2 */ /* 1 */
font-size: 1em;
/* 2 */
} }
/** /**
@ -162,10 +174,14 @@ input,
optgroup, optgroup,
select, select,
textarea { textarea {
font-family: inherit; /* 1 */ font-family: inherit;
font-size: 100%; /* 1 */ /* 1 */
line-height: 1.15; /* 1 */ font-size: 100%;
margin: 0; /* 2 */ /* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */
} }
/** /**
@ -174,7 +190,8 @@ textarea {
*/ */
button, button,
input { /* 1 */ input {
/* 1 */
overflow: visible; overflow: visible;
} }
@ -184,7 +201,8 @@ input { /* 1 */
*/ */
button, button,
select { /* 1 */ select {
/* 1 */
text-transform: none; text-transform: none;
} }
@ -238,12 +256,18 @@ fieldset {
*/ */
legend { legend {
box-sizing: border-box; /* 1 */ box-sizing: border-box;
color: inherit; /* 2 */ /* 1 */
display: table; /* 1 */ color: inherit;
max-width: 100%; /* 1 */ /* 2 */
padding: 0; /* 3 */ display: table;
white-space: normal; /* 1 */ /* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */
} }
/** /**
@ -269,8 +293,10 @@ textarea {
[type="checkbox"], [type="checkbox"],
[type="radio"] { [type="radio"] {
box-sizing: border-box; /* 1 */ box-sizing: border-box;
padding: 0; /* 2 */ /* 1 */
padding: 0;
/* 2 */
} }
/** /**
@ -288,8 +314,10 @@ textarea {
*/ */
[type="search"] { [type="search"] {
-webkit-appearance: textfield; /* 1 */ -webkit-appearance: textfield;
outline-offset: -2px; /* 2 */ /* 1 */
outline-offset: -2px;
/* 2 */
} }
/** /**
@ -306,8 +334,10 @@ textarea {
*/ */
::-webkit-file-upload-button { ::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */ -webkit-appearance: button;
font: inherit; /* 2 */ /* 1 */
font: inherit;
/* 2 */
} }
/* Interactive /* Interactive
@ -346,4 +376,4 @@ template {
[hidden] { [hidden] {
display: none; display: none;
} }