12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- @import "~@less/variables.less";
- @media print{
- .modal-header{
- .close{
- display: none;
- }
- }
- }
- .modal-header {
- padding:0 20px;
- padding:10px 20px 0px 20px\0;
- min-height: 40px;
- line-height: 40px;
- background: #e5e5e5;
- border-top-left-radius: @border-radius;
- border-top-right-radius: @border-radius;
- .close{
- outline: 0;
- position: absolute;
- right: 20px;
- top: 10px;
- font-size: 12px;
- line-height: 1.66666667;
- color: #272c36;
- width: 20px;
- padding: 0 4px;
- background: none;
- border-style: none;
- }
- .title {
- display: block;
- color: #272c36;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 100%;
- line-height: 0\0; //ie8打印修正
- }
- }
- @media screen and(-ms-high-contrast:active),(-ms-high-contrast:none) {
- .modal-header{
- padding:5px 20px 0px;
- }
- }
|