from.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .from-sm{
  2. font-size: 12.5px;;
  3. .layui-container{
  4. padding: 15px;
  5. }
  6. .layui-input-block{
  7. min-height: 30px;
  8. margin-left: 125px;
  9. margin-right: 20px;
  10. }
  11. .layui-form-label{
  12. height: 30px;
  13. line-height: 30px;
  14. //color: #154A84;
  15. padding: 0;
  16. margin-right: 10px;
  17. position: relative;
  18. display: block;
  19. width: 115px;
  20. font-weight: normal;
  21. text-align: right;
  22. text-overflow: ellipsis;
  23. overflow: hidden;
  24. white-space: nowrap;
  25. .code{
  26. &:before{
  27. font-size: 12.5px;
  28. content: "*";
  29. }
  30. }
  31. }
  32. .layui-form-select{
  33. font-size: 12.5px;
  34. dl{
  35. top: 29px;
  36. dd{
  37. line-height: 22px;
  38. }
  39. }
  40. }
  41. .layui-input{
  42. height: 30px;
  43. line-height: 30px;
  44. padding: 0 10px;
  45. font-size: 12px;
  46. }
  47. }
  48. input[required]{
  49. position: relative;
  50. background-image: url(data:image/gif;base64,R0lGODlhHgAkANUAAPv7+/39/fr6+uvr6/b29vT09M7Ozvz8/Orq6s3NzcTExPPz8/j4+O/v7+Tk5NjY2NHR0ezs7MzMzO7u7srKyvLy8vX19d7e3vn5+d3d3e3t7fHx8fDw8Nzc3NLS0tbW1svLy9vb29XV1cPDw9PT0+jo6MnJyb+/v9ra2vf39+Xl5eLi4sfHx9DQ0M/Pz9fX19nZ2cDAwOHh4cXFxdTU1ODg4MLCwv////7+/gAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az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769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAAAAAAALAAAAAAeACQAAAb/wJsQRywaj8iicHlLOp/M4XNqjDapWCs2G91StV5o18n8jo/DQAAnTYKVN8bg8njUJoJ29cwOOCgKHSoOKCMGA3pEbzcADywDB2xCAg4jMgFXcGV9GRIEVkIVCiV6YDcNMQVNNwclC6s3Giefe2U3AS0rQ4wgCFe3LyGZkrYECqqKAAa+SgMmAJlaNxEQecmH0RYgr5pLbAMk0MkJzIoECRXRXdMe1mwAEuVs59yK6wUzFsMHa0ocFBjU2ToAAVkRAQd+4bhAY5i0AALYJPug4VcBGxscjvEmKUCDT0IwGAiBqRbHKtCibEhAwl23RHE+iBjAYQICEYHEoeHTpwEMMAgGXHjI8GrYS6P2BKRgkBKpvU1uTpLhGcZkoqpHsUaFqjVrV6tOsb75Skzq1yVBAAA7);
  51. background-position: right 50%;
  52. background-repeat: no-repeat;
  53. }
  54. body{
  55. height: 100%;
  56. position: absolute;
  57. left: 0;
  58. right: 0;
  59. bottom: 0;
  60. top: 0;
  61. }
  62. table[lay-size="sm"]{
  63. input{
  64. border: 0;
  65. }
  66. select{
  67. height: inherit;
  68. width: 100%;
  69. background: transparent;
  70. }
  71. }
  72. .lay_alert {
  73. padding: 15px;
  74. margin-bottom: 1rem;
  75. border: 1px solid transparent;
  76. border-radius: .25rem;
  77. }
  78. .lay_alert_info {
  79. color: #31708f;
  80. background-color: #f6fafe;
  81. border-color: #d9edf7;
  82. }
  83. .lay_alert_warning{
  84. color: #8a6d3b;
  85. background-color: #fcf8e3;
  86. border-color: #faf2cc;
  87. }
  88. .lay_alert_success{
  89. color: #3c763d;
  90. background-color: #dff0d8;
  91. border-color: #d0e9c6;
  92. }
  93. .lay_alert_danger{
  94. background-color: #fef0f0;
  95. color: #a94442;
  96. border-color: #ebcccc;
  97. }
  98. .layui-table thead tr, .layui-table-header, .layui-table-tool, .layui-table-patch, .layui-table-mend {
  99. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#f3f3f3));
  100. }
  101. .layui-table[lay-even] tr:nth-child(even) {
  102. background-color: #f8f8f8;
  103. }
  104. select[lay-filter="selType"],.colSel{
  105. border: none;
  106. background-color: transparent;
  107. min-width:100px;
  108. height:inherit;
  109. option{
  110. padding:0 5px;
  111. }
  112. }
  113. button[disabled],button[disabled]:hover{
  114. border: 1px solid #e6e6e6;
  115. background-color: #FBFBFB;
  116. color: #C9C9C9;
  117. cursor: not-allowed;
  118. opacity: 1;
  119. }