Light12306/Web12306/css/ui/query-result.css
2014-07-31 21:30:48 +08:00

224 lines
4.1 KiB
CSS

/*搜索结果*/
.result {
margin-bottom: 55px;
background: #fffefa;
border-top: 1px solid #c6701a;
margin-bottom: 220px;
}
.result .auto-refresh {
}
.result table {
border-collapse: collapse;
width: 100%;
color: #444444;
font-size: 16px;
}
.result table thead {
background: #f5f5f5;
color: #777777;
line-height: 30px;
font-size: 14px;
border-left: 1px solid #dcdcdc;
border-right: 1px solid #dcdcdc;
text-align: left;
}
.result table thead tr th:nth-child(1) {
padding-left: 40px;
}
.result table thead tr th:nth-child(2) {
padding-left: 38px;
}
.result table thead tr th:nth-child(4) {
text-align: center;
}
.result .train-num {
padding: 18px 20px 18px 20px;
width: 100px;
font-family: tahoma;
color: #4D5873;
font-size: 24px;
text-align: left;
line-height: 19px;
border: 1px solid #dcdcdc;
border-right: 1px solid #ccc7ba;
background: #fff9e8;
}
.result .train-empty td {
font-size: 24px;
line-height: 100px;
color: #ccc;
text-shadow: 3px 3px 5px rgba(150,150,150,0.2);
text-align: center;
}
.result .train-seats {
padding: 10px 0 5px 0;
border: 1px solid #cccccc;
border-left: none;
line-height: 18px;
overflow: hidden;
}
.result .train-seats:empty:before {
content: '本车次车票已售完';
color: #cccccc;
}
.result .train-seats .train-notsell {
font-size: 20px;
color: #999;
}
.result .train-seats .train-notontime {
font-size: 20px;
color: #999;
}
.result .train-seats .row2 {
margin-top: 5px;
}
.result .train-info {
width: 120px;
padding: 0 25px 0 25px;
border-top: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
}
.result .train-city {
width: 110px;
border-top: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
padding: 0 0 0 5px;
}
.result .ticket-block {
display: block;
float: left;
border: 1px solid rgba(0, 0, 0, 0.2);
background: linear-gradient(to bottom, #ffffff, #ffffff 5%, #f5f5f5);
border-radius: 4px;
padding: 11px 16px;
color: #4e4e4e;
box-shadow: 0 1px 8px rgba(155, 155, 155, 0.2);
width: 105px;
margin-bottom: 5px;
margin-right: 5px;
}
.result .ticket-block-selected {
border-color: #e3c69b;
background: linear-gradient(to bottom, #ffffff, #ffffff 5%, #fcf6e1 );
font-weight: bold;
}
.result .ticket-block:hover {
border-color: #dec496;
background: linear-gradient(to bottom, #ffffff, #ffffff 5%, #fcf6e1);
}
.result .ticket-num {
color: #e00000;
}
.result .train-station-type {
font-size: 12px;
margin-top: 5px;
color: #888;
}
.result .train-station-type:after {
content: '';
border-top: 5px solid #888;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
top: 13px;
position: relative;
left: 2px;
}
/*始发终到标记*/
.result .train-city .start:after {
content: ' [始]';
color: #c23825;
}
.result .train-city .end:after {
content: ' [终]';
color: #c23825;
}
.result .train-needauto td {
line-height: 60px;
text-align: center;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-top: 1px solid #ccc;
}
.result .train-needauto td button {
margin-left: 20px;
}
/*购票建议*/
#suggestion {
display: none;
border: 1px solid #D1AB7B;
margin-top: 10px;
border-radius: 3px;
}
#suggestion > header {
line-height: 30px;
background: #D1AB7B;
font-size: 16px;
font-weight: bold;
text-indent: 20px;
color: #fff;
}
#suggestion > button {
margin: 10px auto;
display: block;
}
#suggestion > div {
padding: 20px;
}
#suggestion ul {
list-style-type: square;
}
#suggestion .train-suggestion-link-target {
font-weight: bold;
text-decoration: underline;
margin-left: 5px;
margin-right: 5px;
color: #c23825;
}
#suggestion a.train-suggestion-link-end,
#suggestion a.train-suggestion-link-start {
margin-left: 5px;
font-weight: bold;
text-decoration: underline;
color: #c23825;
}
#suggestion .train-code,
#suggestion .train-suggestion-target {
color: #8160d4;
font-weight: bold;
margin-left: 5px;
margin-right: 5px;
}