codeigniter_test2/css/style.css

143 lines
2.7 KiB
CSS
Raw Normal View History

2020-01-02 23:07:40 +07:00
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background-color:#f9f9f9;
font-weight:300;
text-align: left;
text-decoration: none;
}
#wrapper {
width: 300px;
height: 400px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -200px;
}
.form {
width: 300px;
margin: 0 auto;
position: relative;
z-index: 5;
background: #eaeaea;
box-shadow: 0 3px 3px rgba(0,0,0,0.50);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}
.form .header {
padding: 30px 30px 15px 30px;
background: #eaeaea;
}
.form .header h1 {
font-family: 'Sylfaen';
font-weight: 300;
font-size: 28px;
line-height:34px;
color: #7f7f7f;
margin-bottom: 10px;
}
.form .header span {
font-size: 11px;
line-height: 16px;
color: #678889;
text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
}
.form .content {
padding: 20px 30px 25px 30px;
}
.form .content p {
font-size: 16px;
font-family: 'Sylfaen';
color: #7f7f7f;
}
.form .content .input {
width: 188px;
padding: 15px 25px;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 400;
font-size: 14px;
color: #9d9e9e;
background: #ffffff;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}
.form .content .input:hover {
background: #ffffff;
color: #414848;
}
.form .content .input:focus {
background: #fff9d9;
color: #414848;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}
.input {
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
}
.form .footer {
padding: 20px 30px 20px 30px;
overflow: auto;
}
.form .footer .button {
float:right;
padding: 8px 15px;
font-family: 'Bree Serif', serif;
font-weight: 300;
font-size: 18px;
color: #ffffff;
text-shadow: 0px 2px 2px rgba(0,0,0,0.25);
background: #438BFF;
cursor: pointer;
}
.form .footer .button:hover {
background: #438BFF;
text-shadow: 0px 2px 2px rgba(0,0,0,0.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.form .footer .button:focus {
position: relative;
bottom: -1px;
color: #5e5e5e;
background: #438BFF;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
transition: all 0.2s;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
}