#mask { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; background: #000; opacity: 0; transition: all 0.2s linear; display: none; } #mask.final { opacity: 0.6; transition: all 0.2s linear; } .float-dialog { display: none; left: 50%; top: 50%; position: fixed !important; z-index: 1001; box-shadow: 5px 5px 20px rgba(100, 100, 100, 0.5); border-radius: 10px; background-color: #f6f6f6; } .float-dialog > header { line-height: 32px; font-size: 16px; border-bottom: 1px solid #c6c6c6; color: #333333; text-indent: 30px; font-weight: bold; position: relative; padding: 10px; } .float-dialog > header .fa { color: #999; position: absolute; right: 20px; top: 50%; margin-top: -8px; cursor: pointer; font-size: 16px; } .float-dialog > header .fa:hover { color: #444; } .float-dialog > section { padding: 20px 30px 15px 30px; } .float-dialog > footer { padding: 0 30px 20px 30px; text-align: center; } .float-dialog > footer button, .float-dialog > footer a { margin-right: 10px; width: 150px; } .float-dialog > footer button:last-child, .float-dialog > footer a:last-child { margin-right: 0; } .cancel-button { } /*查询速度表*/ #speed-meter { position: fixed; left: 0; bottom: 0; padding: 5px; border: 1px solid #C2DEC2; background: #EEF9EE; font-size: 12px; color: #50A050; transition: all linear 0.5s; opacity: 0; } #speed-meter.visible { opacity: 1; } #speed-meter.visible:hover { opacity: 0.3; } #speed-meter span { font-weight: bold; } #speed-meter.speed-good { border-color: #C2DEC2; background-color: #EEF9EE; color: #50A050; } #speed-meter.speed-normal { border-color: #C2C8DE; background-color: #EEF2F9; color: #506CA0; } #speed-meter.speed-bad { border-color: #DEC2C2; background-color: #F9EEEE; color: #A05050; }