history_styles.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. #history_template h4, #configure_item_template h4 { font-size: 14px; margin-top: 0px; }
  2. #history_template ul, #configure_item_template ul { list-style: none; padding-left: 0px; }
  3. #history_template li, #configure_item_template li {
  4. clear: both;
  5. background: #AAAAAA;
  6. margin: 2px 0 4px 0;
  7. padding: 4px 8px 4px 8px;
  8. position: relative;
  9. border-radius: 4px;
  10. -webkit-border-radius: 4px;
  11. -moz-border-radius: 4px;
  12. border: 1px solid #9F9F9F;
  13. min-height: 15px;
  14. }
  15. #history_template li a, #configure_item_template li a {
  16. text-decoration: none;
  17. }
  18. #history_template li a:hover, #configure_item_template li a:hover {
  19. text-decoration: underline;
  20. }
  21. #history_template li .template_name {
  22. float: left;
  23. }
  24. #history_template li.template_configured {
  25. background: #9A9A9A;
  26. border: 1px solid #858585;
  27. }
  28. #history_template .template_remove, #history_template .template_default {
  29. float: right;
  30. margin-left: 10px;
  31. }
  32. #history_template .template_default {
  33. margin-left: 20px;
  34. }
  35. #history_template .icon-ok {
  36. float: right;
  37. margin-left: 10px;
  38. }
  39. #configure_item_template li span {
  40. cursor: move;
  41. padding-left: 6px;
  42. }
  43. #configure_item_template li .template_item_remove, #configure_item_template li .field_add {
  44. cursor: pointer;
  45. float: right;
  46. margin-left: 20px;
  47. }
  48. #configure_item_template li .template_item_remove:hover, #configure_item_template li .field_add:hover {
  49. opacity:0.7;
  50. filter:alpha(opacity=70);
  51. }
  52. #configure_item_template #template_name {
  53. min-width: 230px;
  54. float: right;
  55. }
  56. #configure_item_template .template_name_wrap {
  57. display: inline-block;
  58. }
  59. #configure_item_template label {
  60. vertical-align: middle;
  61. }
  62. #configure_item_template .template_item_add {
  63. margin-bottom: 10px;
  64. }
  65. #configure_item_template .template_item_add .btn {
  66. padding: 2px 14px 1px;
  67. }
  68. #configure_item_template .template_item_list li {
  69. background-image: url('../css/images/drag.png');
  70. background-repeat: no-repeat;
  71. background-position: 4px 5px;
  72. }
  73. /* Edit History Record */
  74. .ui-dialog form.ui-widget-content dd {
  75. margin-left: 0px;
  76. margin-bottom: 10px;
  77. }
  78. .ui-dialog form.ui-widget-content dt {
  79. margin-bottom: 2px;
  80. }
  81. .ui-dialog form.ui-widget-content dd input {
  82. width: 90%;
  83. }
  84. .bootstrap-datetimepicker-widget ul {
  85. padding-left: 0px !important;
  86. }
  87. .bootstrap-datetimepicker-widget td, .bootstrap-datetimepicker-widget th {
  88. -webkit-border-radius: 2px !important;
  89. -moz-border-radius: 2px !important;
  90. border-radius: 2px !important;
  91. }
  92. .ui-dialog-content .well {
  93. max-width: 230px;
  94. }
  95. .ui-dialog-content .well .date {
  96. margin-left: 25px;
  97. }
  98. .ui-dialog .ui-dialog-content .well .date .add-on {
  99. position: absolute;
  100. left: 30px;
  101. display: inline-block;
  102. width: auto;
  103. height: 20px;
  104. min-width: 16px;
  105. padding: 3px 3px 0px 6px;
  106. font-size: 14px;
  107. font-weight: normal;
  108. line-height: 20px;
  109. text-align: center;
  110. text-shadow: 0 1px 0 #ffffff;
  111. background-color: #eeeeee;
  112. border: 1px solid #ccc;
  113. float: left;
  114. -webkit-border-radius: 4px 0 0 4px;
  115. -moz-border-radius: 4px 0 0 4px;
  116. border-radius: 4px 0 0 4px;
  117. }
  118. .bootstrap-datetimepicker-widget thead tr:first-child th:hover {
  119. background: #5C5C5C !important;
  120. }
  121. #configure_item_template {
  122. width: 100%;
  123. max-width: 620px;
  124. }
  125. .add_more {
  126. float: right;
  127. }
  128. #configure_item_template #template_name {
  129. margin-bottom: 14px;
  130. }
  131. #configure_item_template .template_item_list li {
  132. width: 270px;
  133. }
  134. #configure_item_template li {
  135. width: 270px;
  136. }
  137. #configure_item_template .template_item_list li.field_other {
  138. background-color: #CACACA;
  139. }
  140. .ui-widget-content {
  141. background: #C0C0C0 !important;
  142. }
  143. #history_content .btn-toolbar {
  144. margin: 10px;
  145. }
  146. #history_content div.DTTT_container {
  147. margin-top: 8px;
  148. }
  149. #history_content .dataTables_length {
  150. margin-top: 9px;
  151. margin-right: 10px;
  152. }
  153. .btn [class^="icon-"] {
  154. margin-top: 0;
  155. }
  156. #history_content .ui-tabs .ui-tabs-panel {
  157. padding-top: 10px;
  158. }
  159. div.his-timerange input.error {
  160. background-color: rgba(255,0,0,0.2);
  161. }