frame.less 1.3 KB

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