nodelqs0915/installPage/public/css/home.css

216 lines
3.8 KiB
CSS
Raw Permalink Normal View History

2024-09-15 17:48:19 +08:00
@import url('font-awesome-4.7.0/css/font-awesome.min.css');
html, body, h1, h2, h3, p, ul {
margin: 0;
padding: 0;
color: #555;
font-family: '微软雅黑';
}
body {
background-color: #eee;
}
a {
text-decoration: none;
}
header {
height: 12vh;
display: flex;
justify-content: space-between;
padding: 0 40px;
background-color: #000;
color: #fff;
font-size: 18px;
line-height: 12vh;
position: flex;
position: fixed;
width: 100%;
top: 0;
left: 0;
box-sizing: border-box;
}
header span a {
color: #fff;
}
.form {
width: 65%;
margin: 0 auto;
text-align: center;
box-sizing: border-box;
}
.form-title{
line-height: 70px;
margin:0px auto;
}
label {
display: block;
width: 70%;
margin: 0 auto;
text-align: center;
margin-bottom: 16px;
}
.input{
width: 80%;
height: 37px;
padding-left: 10px;
box-sizing: border-box;
font-size: 15px;
border-radius: 6px;
border: 2px solid #ccc;
background: none;
}
.btn {
width: auto;
height: 35px;
background-color: #000;
color: #fff;
font-size: 16px;
border-radius: 5px;
border: none;
cursor: pointer;
padding:0px 10px;
}
input:focus, .btn:focus {
outline: none;
}
.container {
width: 68%;
height: 100vh;
margin: 0 auto;
background-color: #fafafa;
overflow-y: auto;
}
/*滚动条样式*/
.container::-webkit-scrollbar {/*滚动条整体样式*/
width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
height: 4px;
}
.container::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 5px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background: rgba(0,0,0,0.2);
}
.container::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 0;
background: rgba(0,0,0,0.1);
}
.container h1 {
height: 70px;
line-height: 70px;
font-size: 22px;
font-weight: 500;
padding-left: 20px;
border-bottom: 1px dashed #ccc;
}
.container li {
list-style: none;
border-bottom: 1px dashed #ccc;
height: auto;
padding: 20px;
display: flex;
}
.container li div {
box-sizing: border-box;
height: auto;
}
.container li div:nth-child(1) {
font-weight: 600;
}
/* flex布局 */
.u-f,
.u-f-ac {
flex-shrink:0;
display: flex!important;
}
.u-f-ac,
.u-f-ajc {
align-items: center;
}
/* 水平方向居中 */
.u-f-ajc {
justify-content: center;
}
.u-f-ajs {
justify-content: space-between;
}
.u-f-aja {
justify-content: space-around;
}
.u-f-spa{
flex-direction: row;
flex-wrap: wrap;
}
.mysql-form-style,.importSql-form-style{
display: none;
}
.loading-style{
width:100%;
height:100%;
position: absolute;
left:0px;
top:0px;
z-index:999;
opacity:0.9;
background:white;
}
.loading-icon{
width: 150px;
height: 15px;
margin: 0 auto;
text-align: center;
}
.loading-icon span{
display: inline-block;
width: 15px;
height: 100%;
margin-right: 5px;
background: linear-gradient(60deg,rgb(39, 91, 214),rgb(16, 54, 171));
-webkit-animation: load 1.04s ease infinite;
}
.loading-icon span:last-child{
margin-right: 0px;
}
@-webkit-keyframes load{
0%{
opacity: 1;
}
100%{
opacity: 0;
}
}
@keyframes load{
0%{
opacity: 1;
}
100%{
opacity: 0;
}
}
.loading-icon span:nth-child(1){
-webkit-animation-delay:0.13s;
}
.loading-icon span:nth-child(2){
-webkit-animation-delay:0.36s;
}
.loading-icon span:nth-child(3){
-webkit-animation-delay:0.59s;
}
.loading-icon span:nth-child(4){
-webkit-animation-delay:0.72s;
}
.loading-icon span:nth-child(5){
-webkit-animation-delay:0.95s;
}
.startBtn{
display: none;
}