main.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /** DYNAMICFORM **/
  2. /* Conteneur principal du plugin dynamicform */
  3. .dynamicform {
  4. }
  5. #dynamicforms {
  6. }
  7. /* formulaire d'édition de formulaire */
  8. .dynamicform .dynamic-form-form {
  9. }
  10. #dynamic-form-form {
  11. }
  12. .form-layout .field .mandatory,.form-layout .field .readonly{
  13. display:none;
  14. }
  15. .form-layout .field[data-mandatory="1"]{
  16. border-left: 0.25rem solid #FFA100 !important;
  17. }
  18. .form-layout .field[data-mandatory="1"] .mandatory,
  19. .form-layout .field[data-readonly="1"] .readonly{
  20. display: inline-block;
  21. }
  22. .dynamic-fields{
  23. background-color: #f8f8f8;
  24. color: #333333;
  25. padding:15px;
  26. }
  27. .dynamic-fields ul,.dynamic-fields ul li{
  28. padding:0;
  29. margin:0;
  30. list-style-type: none;
  31. }
  32. .dynamic-fields ul li{
  33. margin-bottom:10px;
  34. background-color: #ffffff;
  35. padding:10px;
  36. }
  37. .form-layout .fields{
  38. background: #fff;
  39. padding: 0;
  40. margin: 0;
  41. list-style-type: none;
  42. min-height: 40px;
  43. }
  44. .form-layout .fields li{
  45. }
  46. .page-sheet-dynamic-form .form-layout .fields li:hover{
  47. background-color: #eaeaea!important;
  48. }
  49. .page-sheet-dynamic-form,.page-sheet-dynamic-form body{
  50. background-color: #f5f5f5;
  51. }
  52. .form-layout .row{
  53. padding:5px;
  54. margin:10px 0;
  55. position: relative;
  56. border: 2px solid #8fc5ff;
  57. position: relative;
  58. border-radius: 5px;
  59. min-height: 20px;
  60. }
  61. .form-layout .layout-row-menu .btn-layout{
  62. background-color: #56a7ff;
  63. }
  64. .form-layout .layout-column-menu .btn-layout{
  65. background-color: #92af37;
  66. }
  67. .form-layout .column{
  68. padding: 5px;
  69. margin:5px;
  70. border: 2px solid #c5d495;
  71. position: relative;
  72. min-width: 20px;
  73. min-height: 40px;
  74. border-radius: 5px;
  75. }
  76. .form-layout .btn-layout{
  77. box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  78. width: 20px;
  79. height: 20px;
  80. box-sizing: border-box;
  81. background-color: #ffffff;
  82. color: rgba(255,255,255,0.9);
  83. cursor: pointer;
  84. font-size:10px;
  85. border-radius: 100%;
  86. text-align: center;
  87. padding: 2px;
  88. transition: all 0.2s ease-in-out;
  89. }
  90. .form-layout .btn-layout:hover{
  91. transform: scale(1.2);
  92. }
  93. .form-layout .layout-row-menu{
  94. list-style-type: none;
  95. padding:0;
  96. margin:0;
  97. bottom: -11px;
  98. position: absolute;
  99. z-index: 10;
  100. left: calc(50% - 7px);
  101. }
  102. .form-layout .layout-row-menu li{
  103. display: inline-block;
  104. }
  105. .form-layout .layout-column-menu{
  106. right: 0px;
  107. list-style-type: none;
  108. padding:0;
  109. position: absolute;
  110. z-index: 10;
  111. margin:0;
  112. top : 0;
  113. }
  114. .dynamic-field-panel{
  115. max-height: calc(100% - 50px);
  116. overflow: auto;
  117. width: 500px;
  118. position: fixed;
  119. right: 0px;
  120. top: 0;
  121. margin-top: 50px;
  122. z-index: 100;
  123. }
  124. .dynamic-field-panel.fold{
  125. display: none;
  126. }