This commit is contained in:
vickihe
2019-09-06 21:29:12 +08:00
parent 8a2fbe426f
commit 8a077ad253
30 changed files with 95 additions and 21 deletions

View File

@@ -0,0 +1,155 @@
body {
background-color: papayawhip;
margin: 0px;
background-image: url("images/老人1.jpg");
background-repeat: no-repeat;
background-size: 100%;
}
/* LOGO */
.box1 {
text-align: left;
position: absolute;
top: 30px;
left: 10px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.upper {
color: rgb(255, 115, 0);
font-weight: bolder;
font-family: sans-serif;
font-size: 45px;
letter-spacing: -10px;
}
.lower {
color: rgb(255, 183, 124);
font-family: sans-serif;
font-size: 45px;
letter-spacing: -5px;
}
/* 注册界面1 */
.register_1 {
width: 400px;
height: 500px;
background-color: rgba(255, 255, 255, 0.6);
position: absolute;
top: 75px;
left: 850px;
}
.register_1 h3 {
padding: 0 0 0 30px;
color: rgb(255, 115, 0);
}
.register_1 form input{
width: 220px;
height: 35px;
position: relative;
top: 10px;
left: 90px;
text-align: center;
border-radius: 25px;
border: 0.5px solid rgb(170, 170, 170);
font-size: 15px;
margin: 50px 0 30px 0;
outline: none;
background-color: rgba(255, 255, 255, 0.4);
}
.register_1 form input#next {
width: 40px;
height: 40px;
border: none;
background-color: rgb(255, 115, 0);
color: white;
position: relative;
top: 100px;
left: 340px;
}
.register_1 form input#next:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 3px 3px 3px rgba(131, 131, 131, 0.6);
}
.register_1 form input#next:active {
background-color: rgba(255, 115, 0, 0.3);
}
/* 注册界面2 */
.register_2 {
width: 400px;
height: 500px;
background-color: rgba(255, 255, 255, 0.6);
position: absolute;
top: 75px;
left: 850px;
}
.register_2 h3 {
padding: 0 0 0 30px;
color: rgb(255, 115, 0);
}
.register_2 form input {
width: 220px;
height: 35px;
position: relative;
top: 10px;
left: 90px;
text-align: center;
border-radius: 25px;
border: 0.5px solid rgb(170, 170, 170, 0.6);
font-size: 15px;
margin: 20px 0 0 0;
outline: none;
background-color: rgba(255, 255, 255, 0.4);
}
.register_2 form .gender input{
width: 10px;
height: 10px;
position: relative;
left: 110px;
margin-right: 120px;
}
.register_2 form .gender span {
position: relative;
left: -10px;
top: 10px;
color: gray;
}
.register_2 form span#birthday {
color: gray;
position: relative;
top: 10px;
left: 110px;
}
.register_2 form input#date {
width: auto;
height: auto;
position: relative;
left: 110px;
}
.register_2 form input#submit {
width: 40px;
height: 40px;
border: none;
background-color: rgb(255, 115, 0);
color: white;
position: relative;
top: 100px;
left: 340px;
}
.register_2 form input#submit:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 3px 3px 3px rgba(131, 131, 131, 0.6);
}
.register_2 form input#submit:active {
background-color: rgba(255, 115, 0, 0.3);
}

View File

@@ -0,0 +1,80 @@
body {
margin: 0px;
background-color: papayawhip;
background-image: url("images/老人3.jpg");
background-repeat: no-repeat;
background-size: 100%;
}
/* LOGO */
.box1 {
text-align: left;
position: absolute;
top: 30px;
left: 10px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.upper {
color: rgb(255, 115, 0);
font-weight: bolder;
font-family: sans-serif;
font-size: 45px;
letter-spacing: -10px;
}
.lower {
color: rgb(255, 183, 124);
font-family: sans-serif;
font-size: 45px;
letter-spacing: -5px;
}
/* 注销界面 */
.delete {
width: 420px;
height: 250px;
background-color: rgba(255, 255, 255, 0.6);
position: absolute;
top: 150px;
left: 830px;
}
.delete h2 {
padding: 0 0 0 30px;
color: rgb(255, 115, 0);
}
.delete form input {
width: 300px;
height: 35px;
position: relative;
top: 20px;
left: 60px;
text-align: center;
outline: none;
border-radius: 25px;
border: 0.5px solid rgba(128, 128, 128, 0.6);
background-color: rgba(255, 255, 255, 0.3);
}
.delete form input#submit {
width: 40px;
height: 40px;
border: none;
background-color: rgb(255, 115, 0);
color: white;
position: relative;
top: 80px;
left: 355px;
}
.delete form input#submit:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 3px 3px 3px rgba(131, 131, 131, 0.6);
}
.delete form input#submit:active {
background-color: rgba(255, 115, 0, 0.3);
/* js写一个弹出确认框 显示老人名字和身份证号 */
}

View File

@@ -0,0 +1,128 @@
body {
height: 1450px;
margin: 0px;
background-image: url("images/天空1.jpg");
background-repeat: no-repeat;
background-size: cover;
}
/* LOGO */
.box1 {
text-align: left;
position: absolute;
top: 30px;
left: 10px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.upper {
color: rgb(255, 115, 0);
font-weight: bolder;
font-family: sans-serif;
font-size: 45px;
letter-spacing: -10px;
}
.lower {
color: rgb(255, 183, 124);
font-family: sans-serif;
font-size: 45px;
letter-spacing: -5px;
}
/* 横向菜单栏 */
.menu {
width: auto;
height: 50px;
background-color: rgb(255, 183, 124);
margin-top: 100px;
}
ul {
width: auto;
list-style-type: none;
white-space: nowrap;
padding: 0;
}
.menu li {
float: left;
}
.menu li#self {
margin: 0 0 0 979px;
}
.menu li a {
color: white;
text-decoration-line: none;
display: block;
padding: 14px 40px 15px 70px;
}
.menu li a:hover {
background-color: rgba(248, 148, 66, 0.7);
}
.menu ul li a#firstPage {
background-image: url("icons/首页.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
.menu ul li a#my {
background-image: url("icons/管理员.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
/* 操作界面 */
.box2 {
width: auto;
height: auto;
/* background-color: yellow; */
margin: 0 0 0 190px;
}
.box2 table tr td {
padding: 150px 50px 90px 0;
}
.box2 table tr td a {
color: papayawhip;
text-decoration-line: none;
font-size: 14px;
background-image: url("icons/房间.png");
background-repeat: no-repeat;
padding: 100px 90px 20px 100px;
background-position: 70px 35px;
background-size: 40%;
margin: 0 0 0 5px;
/* background-color: yellow; */
}
.box2 table tr td a:hover {
background-image: url("icons/房间light.png");
}
.box2 table tr td.last {
padding: 150px 0 90px 0;
}
/* 纵向导航栏 */
.guide {
width: 190px;
height: 1400px;
background-color: rgba(255, 183, 124, 0.3);
position: absolute;
top: 150px;
}
.guide li {
margin: 50px 0 0 0;
}
.guide li#delete {
margin: 60px 0;
/* background-color: yellow; */
}
.guide li a {
text-decoration-line: none;
color: white;
padding: 16px 76px 20px 50px;
/* background-color: yellow; */
}
.guide li a:hover {
background-color: rgba(248, 148, 66, 0.7);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@@ -0,0 +1,72 @@
body {
background-color: papayawhip;
margin: 0px;
}
.background_text {
width: 100%;
color: rgb(255, 183, 124,0.3);
font-style: italic;
font-family: sans-serif;
font-size: 125px;
position: relative;
top: 120px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
/* background-color: yellow; */
}
#title_1 {
width: 100%;
color: slategray;
font-family: youyuan;
font-size: 30px;
text-align: center;
position: absolute;
top: 100px;
}
#name {
/* width: 120px; */
width: 100%;
color: slategray;
font-family: youyuan;
font-size: 24px;
text-align: center;
position: absolute;
/* left: 490px; */
top: 230px;
}
input[name] {
background-color: rgba(240, 248, 255, 0);
height: 30px;
border: 0.5px solid rgba(128, 128, 128, 0.5);
border-radius: 15px;
position: relative;
font-family: youyuan;
text-align: center;
font-size: 18px;
outline: none;
}
#submit {
background-color: rgb(255, 183, 124);
height: 40px;
width: 40px;
border: none;
border-radius: 100%;
font-size: 22px;
color: white;
padding: 0;
outline: none;
}
#submit:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
}
#submit:active {
background-color: rgba(255, 183, 124, 0.5);
}

View File

@@ -0,0 +1,240 @@
body {
height: 880px;
/* background-color: papayawhip; */
margin: 0px;
background-image: url("images/天空1.jpg");
background-repeat: no-repeat;
background-size: cover;
}
/* LOGO */
.box1 {
text-align: left;
position: absolute;
top: 30px;
left: 10px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.upper {
color: rgb(255, 115, 0);
font-weight: bolder;
font-family: sans-serif;
font-size: 45px;
letter-spacing: -10px;
}
.lower {
color: rgb(255, 183, 124);
font-family: sans-serif;
font-size: 45px;
letter-spacing: -5px;
}
/* 横向菜单栏 */
.menu {
width: auto;
height: 50px;
background-color: rgb(255, 183, 124);
margin-top: 100px;
}
ul {
width: auto;
list-style-type: none;
white-space: nowrap;
padding: 0;
}
.menu li {
float: left;
}
.menu li#self {
margin: 0 0 0 979px;
}
.menu li a {
color: white;
text-decoration-line: none;
display: block;
padding: 14px 40px 15px 70px;
}
.menu li a:hover {
background-color: rgba(248, 148, 66, 0.7);
}
.menu ul li a#firstPage {
background-image: url("icons/首页.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
.menu ul li a#my {
background-image: url("icons/管理员.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
/* 头像及账号资料 */
.background {
width: 700px;
height: 200px;
background-color: white;
margin: 50px 0 0 280px;
position: absolute;
border-radius: 2px;
}
.background .pic {
width: 128px;
height: 128px;
position: relative;
top: 36px;
left: 30px;
/* background-color: yellow; */
}
.background .pic a {
background-image: url("icons/管理员头像.png");
background-repeat: no-repeat;
background-size: 100%;
border-radius: 2px;
display: block;
padding: 64px;
}
.background .backgroundText {
width: 200px;
height: auto;
position: relative;
top: -100px;
left: 308px;
/* background-color: yellow; */
}
.background .logout input {
width: 90px;
height: 30px;
border-style: none;
border-radius: 2px;
color: white;
background-color: red;
outline: none;
position: relative;
top: -135px;
left: 550px;
}
.background .logout input:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
}
.background .logout input:active {
background-color: rgba(255, 55, 55, 0.781);
}
.background:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 10px 10px 5px rgba(90, 90, 90, 0.3);
}
/* 消息块 */
.messages {
width: 400px;
height: auto;
background-color: white;
position: absolute;
top: 420px;
left: 280px;
}
.messages:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 10px 10px 5px rgb(90, 90, 90, 0.3);
}
.messages h2 {
/* background-color: yellow; */
padding: 0 0 0 20px;
}
.messages div {
width: 180px;
height: 140px;
border-top: 1px rgb(224, 224, 224) solid;
float: left;
margin: 5px 5px 10px 12px;
color: black;
/* background: linear-gradient(left,rgb(248, 235, 233),rgba(245, 239, 230, 0.897));
background: -webkit-linear-gradient(left,rgb(248, 235, 233),rgba(245, 239, 230, 0.897));
background: -o-linear-gradient(left,rgb(248, 235, 233),rgba(245, 239, 230, 0.897));
background: -moz-linear-gradient(left,rgb(248, 235, 233),rgba(245, 239, 230, 0.897)); */
}
.messages div h5 {
margin: 2px 0 0 0;
padding: 0 0 0 10px;
/* background-color: yellow; */
}
.messages div p {
width: 170px;
height: 105px;
padding: 0 0 0 10px;
/* background-color: rgb(255, 183, 124); */
}
/* 修改密码 */
.modify {
width: 280px;
height: 383px;
background-color: white;
position: absolute;
top: 420px;
left: 700px;
}
.modify:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 10px 10px 5px rgb(90, 90, 90, 0.3);
}
.modify h2 {
padding: 0 0 0 20px;
}
.modify form input {
position: relative;
top: 25px;
left: 40px;
border: 1px rgb(224, 224, 224) solid;
border-radius: 25px;
text-align: center;
outline: none;
font-size: 16px;
}
.modify form input#new {
margin-top: 30px;
}
.modify form input#submit {
margin-top: 20px;
margin-left: 80px;
width: 40px;
height: 40px;
color: white;
background-color: rgb(255, 115, 0);
border: none;
}
.modify form input#submit:hover {
transform: translate(0,-1px);
-ms-transform: translate(0,-1px);
-webkit-transform: translate(0,-1px);
-o-transform: translate(0,-1px);
-moz-transform: translate(0,-1px);
box-shadow: 3px 3px 3px rgba(192, 192, 192, 0.801);
}
.modify form input#submit:active {
background-color: rgba(255, 115, 0, 0.3);
}

1466
web/html/css/styles.css Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,122 @@
body {
height: 2000px;
margin: 0px;
background-image: url("images/天空1.jpg");
background-repeat: no-repeat;
background-size: cover;
}
/* LOGO */
.box1 {
text-align: left;
position: absolute;
top: 30px;
left: 10px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.upper {
color: rgb(255, 115, 0);
font-weight: bolder;
font-family: sans-serif;
font-size: 45px;
letter-spacing: -10px;
}
.lower {
color: rgb(255, 183, 124);
font-family: sans-serif;
font-size: 45px;
letter-spacing: -5px;
}
/* 横向菜单栏 */
.menu {
width: auto;
height: 50px;
background-color: rgb(255, 183, 124);
margin-top: 100px;
}
ul {
width: auto;
list-style-type: none;
white-space: nowrap;
padding: 0;
}
.menu li {
float: left;
}
.menu li#self {
margin: 0 0 0 979px;
}
.menu li a {
color: white;
text-decoration-line: none;
display: block;
padding: 14px 40px 15px 70px;
}
.menu li a:hover {
background-color: rgba(248, 148, 66, 0.7);
}
.menu ul li a#firstPage {
background-image: url("icons/首页.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
.menu ul li a#my {
background-image: url("icons/管理员.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
/* 资料卡 */
.info {
width: 450px;
height: 350px;
background-color: white;
position: absolute;
top: 170px;
left: 140px;
}
.info h2 {
padding: 0 0 0 20px;
color: rgb(255, 115, 0);
}
.info span {
position: relative;
left: 20px;
padding: 10px 0 10px 0;
/* background-color: yellow; */
}
/* 房间实况 */
.room {
width: 450px;
height: 350px;
background-color: white;
position: absolute;
top: 170px;
left: 660px;
}
.room h2 {
padding: 0 0 0 20px;
color: rgb(255, 115, 0);
}
/* 健康监测卡 */
.health {
width: 450px;
height: 350px;
background-color: white;
position: absolute;
top: 580px;
left: 140px;
}
.health h2 {
padding: 0 0 0 20px;
color: rgb(255, 115, 0);
}