iframebuilder.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**无边框的table表格样式**/
  2. .sp-fb-grid{border-collapse: collapse;width:100%; border:1px solid #E1E6EB; border-left:none;}
  3. .sp-fb-grid tbody td{ outline: none;text-align: left;height:26px; line-height:26px;
  4. border-bottom:1px solid #E1E6EB; border-left:1px solid #E1E6EB;
  5. /*vertical-align:text-top;*/
  6. }
  7. /*vertical-align:text-top;把元素的顶端与父元素字体的顶端对齐;
  8. middle:把此元素放置在父元素的中部。
  9. text-bottom:把元素的底端与父元素字体的底端对齐。 */
  10. .sp-fb-grid tbody td input[type='text']{outline:none;border:1px solid transparent;width:99%;margin-left:0.5%; text-indent:5px; color:#666; line-height:26px;}
  11. .sp-fb-grid tbody td input[type='date']{outline:none;border:1px solid transparent;width:99%;margin-left:0.5%; text-indent:5px; color:#666; line-height:26px;}
  12. .sp-fb-grid tbody td input[type='datetime']{outline:none;border:1px solid transparent;width:99%;margin-left:0.5%; text-indent:5px; color:#666; line-height:26px;}
  13. .sp-fb-grid tbody td input[type='number']{outline:none;border:1px solid transparent;width:99%;margin-left:0.5%; text-indent:5px; color:#666; line-height:26px;}
  14. .sp-fb-grid tbody td select{outline:none;border:1px solid transparent;width:99%;margin-left:0.5%; text-indent:5px;color:#666;height:26px;line-height:26px;}
  15. .sp-fb-grid tbody td select:hover{border:1px solid #ddd;}
  16. .sp-fb-grid tbody td textarea{outline:none;border:1px solid transparent;width:99%;margin-left:0.5%; padding:0 5px; line-height:22px;color:#666; box-sizing:border-box !important; }
  17. .sp-fb-grid-div{width:100%;height:40px;line-height:40px; text-align:center; border:1px solid #E1E6EB; border-top:none;}
  18. .sp-fb-grid-div a{color:#0066cc !important;}
  19. /**单项选择器--图标*/
  20. .spfb-input-popradiobox{ background:url('./icons/spfb-popradiobox.png') right center no-repeat #fff;
  21. background-size:20px 20px; box-sizing: border-box; cursor:pointer;}
  22. .spfb-textarea-popcheckbox-1{ background:url('./icons/spfb-textarea-popcheckbox-1.png') right bottom no-repeat #fff;
  23. background-size:20px 20px; box-sizing: border-box; cursor:pointer;}
  24. /**无边框的子表table表格样式**/
  25. .sp-fb-subgrid{border-collapse: collapse;width:99%; margin:5px 0.5%; border:1px solid #E1E6EB; border-left:none;}
  26. .sp-fb-subgrid thead th{ outline: none;text-align: center;height:26px; line-height:26px; font-weight:bold; border-bottom:1px solid #E1E6EB; border-left:1px solid #E1E6EB;}
  27. .sp-fb-subgrid tbody td{ outline: none;text-align: center;height:26px; line-height:26px;border-bottom:1px solid #E1E6EB; border-left:1px solid #E1E6EB;}
  28. .sp-fb-subgrid tbody td input[type='text']{outline:none; border:1px solid transparent;width:100%; line-height:26px; text-indent:5px; color:#666; float:left;}
  29. .sp-fb-subgrid tbody td input[type='number']{outline:none; border:1px solid transparent;width:100%; line-height:26px;text-indent:5px; color:#666; float:left;}
  30. .sp-fb-subgrid tbody td select{outline:none;border:1px solid transparent;float:left;width:100%; height:26px; line-height:26px;text-indent:5px;color:#666; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
  31. .sp-fb-subgrid tbody td select:hover{border:1px solid #ddd;}
  32. .sp-fb-subgrid tbody td textarea{outline:none;border:1px solid transparent;width:100%;padding:0 5px; line-height:22px !important;color:#666; float:left;}
  33. .sp-fb-subgrid-div{width:100%;height:40px;line-height:40px; text-align:center; border:1px solid #E1E6EB; border-top:none;}
  34. .sp-fb-subgrid-div a{color:#0066cc !important;}
  35. /****/
  36. .sp-fb-grid tbody td input[type='text']:hover{border:1px dashed #aaa; box-sizing: border-box;}
  37. .sp-fb-grid tbody td input[type='number']:hover{border:1px dashed #aaa; box-sizing: border-box;}
  38. .sp-fb-grid tbody td textarea:hover{border:1px dashed #aaa; box-sizing: border-box;}
  39. /**红色主题表格---2023-01-09***/
  40. .sp-fb-grid-red{ border:2px solid #ea2625 !important;}
  41. .sp-fb-grid-red tbody td{ border-bottom:2px solid #ea2625; border-left:2px solid #ea2625;color:#ff5454; padding:2px 5px;}
  42. .sp-fb-grid-red tbody td input[type='text']{color:#666;}
  43. .sp-fb-grid-red tbody td input[type='date']{color:#666;}
  44. .sp-fb-grid-red tbody td input[type='datetime']{color:#666;}
  45. .sp-fb-grid-red tbody td input[type='number']{color:#666;}
  46. .sp-fb-grid-red tbody td select{color:#666;}
  47. .sp-fb-grid-red tbody td select:hover{color:#666;}
  48. .sp-fb-grid-red tbody td textarea{color:#666;}
  49. /**表单颜色字体**/
  50. .sp-fb-red{color:#ff0000;}
  51. /**去掉表格外层边框**/
  52. .sp-fb-grid-noneOutLine{border:none !important; border-left:none;}
  53. .sp-fb-grid-noneOutLine tbody tr td:first-child{ border-left:none !important;}
  54. /*为单选多选区域指定class名称*/
  55. .fb-radiopart{float:left; width:100%; border:1px solid transparent;}
  56. .fb-radiopart:hover{border:1px dashed #aaa; box-sizing: border-box;}
  57. .fb-checkboxpart{float:left; width:100%; border:1px solid transparent;}
  58. .fb-checkboxpart:hover{border:1px dashed #aaa; box-sizing: border-box;}
  59. /**表格中选中后的样式**/
  60. .sp-grid-control-checked{background-color:#fff8dc;border:1px dashed #aaa !important; box-sizing: border-box;}
  61. /**控件后面的删除图标按钮**/
  62. .sp-fb-control-del{position:absolute; width:20px; height:20px; line-height:20px; text-align:center;
  63. border-radius:10px; background-color:#e4cd70; color:#fff; margin-top:-10px; margin-left:-2px; z-index:101;
  64. cursor:pointer; display:none !important;
  65. }
  66. /*文件上传中的file控件咱先隐藏*/
  67. .sp-upload input[type='file']{display:none;}
  68. /*子表按钮样式*/
  69. .fb-add-data{outline: none;border: 0;background: transparent;cursor: pointer;}
  70. .fb-edit-data{outline: none;border: 0;background: transparent;cursor: pointer;}
  71. .fb-delete-data{outline: none;border: 0;background: transparent;cursor: pointer;}
  72. .fb-submit-data{display:none;outline: none;border: 0;background: transparent;cursor: pointer;}
  73. .fb-add-data i,.fb-edit-data i,.fb-delete-data i,.fb-submit-data i{
  74. width: 22px;
  75. }
  76. /**签写意见--按钮--布局设置***/
  77. .spfb-btn-sign{float:right; clear:both; margin:5px 5px 5px 0; padding:2px 10px; border-radius:3px;}