index.less 998 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @import "~@less/variables.less";
  2. @media print{
  3. .modal-header{
  4. .close{
  5. display: none;
  6. }
  7. }
  8. }
  9. .modal-header {
  10. padding:0 20px;
  11. padding:10px 20px 0px 20px\0;
  12. min-height: 40px;
  13. line-height: 40px;
  14. background: #e5e5e5;
  15. border-top-left-radius: @border-radius;
  16. border-top-right-radius: @border-radius;
  17. .close{
  18. outline: 0;
  19. position: absolute;
  20. right: 20px;
  21. top: 10px;
  22. font-size: 12px;
  23. line-height: 1.66666667;
  24. color: #272c36;
  25. width: 20px;
  26. padding: 0 4px;
  27. background: none;
  28. border-style: none;
  29. }
  30. .title {
  31. display: block;
  32. color: #272c36;
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. white-space: nowrap;
  36. width: 100%;
  37. line-height: 0\0; //ie8打印修正
  38. }
  39. }
  40. @media screen and(-ms-high-contrast:active),(-ms-high-contrast:none) {
  41. .modal-header{
  42. padding:5px 20px 0px;
  43. }
  44. }