frame.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .frame {
  2. @bg: #f5f5f5;
  3. @btn_default: #05a;
  4. @lh: 28px;
  5. text-align: center;
  6. white-space: nowrap;
  7. &:before {
  8. content: '';
  9. display: inline-block;
  10. height: 100%;
  11. vertical-align: middle;
  12. width: 0;
  13. }
  14. h3 {
  15. font-size: 14px;
  16. margin: 0;
  17. padding: 0;
  18. }
  19. .ant-modal {
  20. display: inline-block;
  21. vertical-align: middle;
  22. top: 0;
  23. //top: 50%;
  24. //left: 50%;
  25. //transform: translate(-50%, -50%);
  26. padding-bottom: 0;
  27. text-align: left;
  28. .prompt-body {
  29. //padding: 20px 20px;
  30. .ln {
  31. line-height: @lh;
  32. padding: 2px 0;
  33. margin-bottom: 10px;
  34. white-space: normal;
  35. .title {
  36. float: left;
  37. width: 100px;
  38. line-height: @lh;
  39. }
  40. .cnt {
  41. margin-left: 100px;
  42. line-height: @lh;
  43. input[type=text] {
  44. width: 240px;
  45. outline: none;
  46. padding: 4px 10px;
  47. }
  48. textarea {
  49. font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  50. }
  51. }
  52. .inform {
  53. color: #aaa;
  54. line-height: 20px;
  55. margin-bottom: 5px;
  56. }
  57. }
  58. input[type=password] {
  59. letter-spacing: 8px;
  60. }
  61. }
  62. }
  63. }
  64. .frame.sudo-prompt {
  65. .ant-modal {
  66. width: 300px;
  67. }
  68. }