Light12306/Web12306/css/buttons.css

120 lines
2.0 KiB
CSS
Raw Normal View History

2014-06-12 21:36:05 +08:00
button, input {
font-family: inherit;
}
button:focus {
outline: none;
}
.button {
border-radius: 3px;
box-shadow: #ECEBEB 1px 1px 2px;
line-height: 26px;
padding: 4px 10px 4px 10px;
cursor: pointer;
color: #898989;
display: inline-block;
box-sizing: border-box;
}
.button:disabled, .button:hover:disabled {
border: 1px solid #cbcbcb;
background: linear-gradient(to top, #cbcbcb, #cfcfcf);
}
.button-default {
background: linear-gradient(to bottom, #f4f4f4, #e8e8e8);
border: 1px solid #d3d3d3;
}
.button-default:hover {
background: linear-gradient(to bottom, #fefefe, #dddcdc);
}
.button-default:active {
background: linear-gradient(to bottom, #fefdfd, #d4d1d1);
}
.button-primary {
background: linear-gradient(to top, #ff7e08, #ff9e14);
color: #fff;
border: 1px solid #ec8b00;
font-weight: bold;
}
a.button-primary {
color: #fff;
}
2014-08-26 21:29:58 +08:00
.button-primary:hover {
background: linear-gradient(to top, #ff912d, #ffb72e);
color: #ffffff;
}
2014-06-12 21:36:05 +08:00
2014-08-26 21:29:58 +08:00
.button-primary:active {
background: linear-gradient(to top, #ee7609, #ff9712);
color: #ffffff;
}
2014-06-12 21:36:05 +08:00
.button-block {
display: block;
width: 100%;
}
.button-large {
font-size: 18px;
line-height: 40px;
}
2014-07-31 21:30:48 +08:00
.button-mini {
2014-08-26 21:29:58 +08:00
padding: 0 15px;
2014-07-31 21:30:48 +08:00
}
2014-06-12 21:36:05 +08:00
.text {
border-radius: 4px;
border: 1px solid #b7b7b7;
background-color: #ffffff;
box-shadow: inset 0 0 10px rgba(160, 160, 160, 0.5);
padding: 10px;
}
.text-block {
display: block;
width: 100%;
box-sizing: border-box;
}
2014-06-26 22:24:54 +08:00
select.normal {
padding: 5px;
background-color: #ffffff;
box-shadow: inset 0 0 5px 0 rgba(150,150,150,0.3);
width: 160px;
border: 1px solid #b5b5b5;
color: #737373;
}
2014-08-26 21:29:58 +08:00
select.normal:disabled {
color: #bbbbbb;
background-color: #f6f6f6;
border-color: #d9d9d9;
}
select.normal:focus {
outline: none;
}
.txt-input {
border: 1px solid #b7b7b7;
border-radius: 2px;
line-height: 16px;
background-image: linear-gradient(to bottom, #e7e7e7 0, #fff 20%);
font-size: 14px;
padding: 4px;
2014-06-26 22:24:54 +08:00
}
2014-08-26 21:29:58 +08:00
.txt-input-block {
display: block;
box-sizing: border-box;
width: 100%;
2014-06-26 22:24:54 +08:00
}