Light12306/Web12306/css/ui/query-result.css
2014-09-05 18:34:16 +08:00

256 lines
4.6 KiB
CSS

/*搜索结果*/
.result {
background: #fffefa;
border-top: 1px solid #c6701a;
margin-bottom: 140px;
}
.result .auto-refresh {
}
.result table {
border-collapse: collapse;
width: 100%;
color: #444444;
font-size: 16px;
border: 1px solid #dcdcdc;
}
.result table th {
background: #f5f5f5;
color: #777777;
line-height: 30px;
font-size: 14px;
border-left: 1px solid #dcdcdc;
border-right: 1px solid #dcdcdc;
text-align: center;
}
.result tr.selected td {
background-color: #ebf6e5;
}
.result .train-num {
padding: 8px 10px 8px 15px;
width: 80px;
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 tr.selected .train-num {
background-color: #d3edcb;
}
.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: 6px 0 1px 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-limitsell,
.result .train-seats .train-notsell {
font-size: 20px;
color: #999;
}
.result .train-seats .train-notontime {
font-size: 20px;
color: #999;
}
.result .train-seats .row2 {
}
.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, #fffefe 5%, #f5f5f5);
border-radius: 4px;
padding: 6px 10px;
color: #4e4e4e;
box-shadow: 0 1px 8px rgba(155, 155, 155, 0.2);
width: 105px;
margin-bottom: 5px;
margin-right: 5px;
}
.result td .ticket-block-selected {
border-color: #e3c69b;
background: linear-gradient(to bottom, #ffffff, #ffffff 5%, #fcf6e1 );
font-weight: bold;
}
.result .ticket-block:hover {
border-color: #d9d8d8;
background: linear-gradient(to bottom, #ffffff, #fefefe 5%, #f5f5f5);
}
.result td .ticket-block-selected:hover {
border-color: #e6d3b7;
background: linear-gradient(to bottom, #ffffff, #fffefb 5%, #fffbee);
font-weight: bold;
}
.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: 1px solid #ccc;
}
.result .train-needauto td button {
margin-left: 20px;
}
/*购票建议*/
#suggestion {
display: none;
border: 1px solid #d5d5d5;
margin-bottom: 10px;
border-radius: 3px;
}
#suggestion > header {
line-height: 30px;
font-weight: bold;
text-indent: 10px;
}
#suggestion > header a {
float: right;
margin-right: 20px;
font-weight: normal;
}
#suggestion > footer {
padding: 10px;
}
#suggestion > footer > span {
color: #c23825;
font-weight: bold;
}
#suggestion .result {
margin-bottom: 0;
}
#suggestion .result th {
text-indent: 15px;
}
#suggestion .result .train-linename {
border: 1px solid #dcdcdc;
border-left: none;
line-height: 150%;
text-align: center;
color: #707070;
width: 80px;
}
#suggestion .result .train-seats {
border-right: none;
}
#suggestion .result .train-linename span {
display: block;
font-weight: bold;
color: #707070;
}
#suggestion .result .train-extraprice {
border: 1px solid #dcdcdc;
padding: 10px;
border-right: none;
width: 221px;
}
#suggestion .result .train-extraprice span {
font-weight: bold;
color: rgb(209, 72, 72);
margin-left: 5px;
margin-right: 5px;
}
#suggestion .result .train-list {
border: 1px solid #dcdcdc;
padding: 10px;
}
#suggestion .result .train-list span {
font-weight: bold;
color: rgb(209, 72, 72);
margin-left: 5px;
margin-right: 5px;
}
#suggestion .result td.train-action {
border: 1px solid #dcdcdc;
}