f18style.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. @import url("dashboard_style.css");
  2. body,input,select,textarea { font-family:Arial, sans-serif; font-size:16px;}
  3. td {padding: 0;}
  4. textarea, .ui-dialog.ui-widget textarea { font-family:Courier; }
  5. input,textarea { border-style:ridge; }
  6. input.maininput { margin-left:10px; }
  7. #logo {
  8. position:absolute; top:6.5px; left:10px; width:32px; height:32px; z-index:10;
  9. background-image:url(../images/default/fhemicon.png);
  10. background-size: contain; background-repeat: no-repeat;
  11. }
  12. #menuBtn { position: absolute; top:6.5px; left:10px; width:32px; height:32px;
  13. display:none; }
  14. #hdr { position: absolute; top:10px; left:40px; }
  15. #content {
  16. position: absolute; top:50px; left:130px; bottom:0; right: 0;
  17. padding-right: 10px;
  18. padding-bottom: 10px;
  19. }
  20. #menu {
  21. top:50px; bottom:10px; left:10px;
  22. z-index:20;
  23. display:inline-block;
  24. padding:0 0.5em 0.5em 0;
  25. position: absolute;
  26. }
  27. #menu > table td { padding-top: 2px; }
  28. #menu.hidden { left:-120%!important; }
  29. #console { width:100%; top:2em; bottom:0px; position:absolute; overflow-y:auto;}
  30. #errmsg { background-color: #000000; color: #FFFFFF;
  31. position:fixed; top:0px; left:40px; z-index: 10; }
  32. .devType { padding-top:20px; }
  33. a { color:#278727; }
  34. img { border-style:none; vertical-align: top;}
  35. .wide { width:100%; }
  36. table.readings td:nth-child(2) { word-break: break-all; }
  37. table.block { border:1px solid gray; }
  38. table { border-collapse: collapse; }
  39. table.room { border:1px solid gray; width: 100%; }
  40. tr.column > td { vertical-align:top;}
  41. .changed a, .changed { color:red; }
  42. .fhemlog { color:#278727; }
  43. .col2 { text-align:center; }
  44. /* Documentation */
  45. h2,h4 { color:#52865D; line-height:1.3;
  46. margin-top:1.5em; font-family:Arial,Sans-serif; }
  47. h3 { margin-bottom:0; color:#52865D; line-height:1.3;
  48. margin-top:1.5em; font-family:Arial,Sans-serif; }
  49. div.dist { padding-top:0.3em; }
  50. button.dist { margin:10px; background:transparent; border:0px; cursor:pointer; }
  51. div.block { border:1px solid gray; background: #F8F8E0; padding:0.7em; }
  52. #right { position:absolute; top:10px; left:10px; bottom:5px; right: 5px; }
  53. .langLinks { font-size: 0.6em; }
  54. /* Widgets */
  55. .makeTable { display:inline; float:left; clear:left; margin-bottom:20px; }
  56. .makeTable:not(:first-child) { margin-top:10px; }
  57. .makeSelect { display:inline; float:left; clear:left; }
  58. select { margin-left:5px; margin-right:5px; }
  59. .slider { float:left; width:250px; height:26px; }
  60. .colorpicker_ct .slider { background: url(../jscolor/ct_background.svg); }
  61. .colorpicker_ct_mired .slider { background: url(../jscolor/ct_mired_background.svg); }
  62. .colorpicker_hue .slider { background: url(../jscolor/hue_background.svg); }
  63. .get,.set,.attr { margin-bottom:5px; float:left; }
  64. select.svgSrc { width:100px; }
  65. select.svgColumn { width:50px; }
  66. select.svgRegexp { width:120px; }
  67. /* sortable Widget */
  68. ul.sortable-src, ul.sortable-dest {
  69. min-width: 130px; min-height:1.8em;
  70. list-style-type: none;border: 2px solid black;
  71. vertical-align:middle; border-radius: 3px; margin: 3px;
  72. background: #eee; padding: 2px;
  73. }
  74. ul.sortable-src li, ul.sortable-dest li {
  75. color: black!important;font-size: 0.8em;
  76. line-height: 1.6em; vertical-align:middle;
  77. text-align:left; border-radius:3px;
  78. margin: 3px; padding: 2px; padding-left:4px;
  79. min-width: 120px;
  80. }
  81. ul.sortable-dest { background: #278727; }
  82. span.sort-item-delete-link {
  83. float:right; margin:0px;
  84. vertical-align:middle;
  85. margin-left:3px; padding:0px;
  86. }
  87. .ui-state-highlight { height: 1.1em; line-height: 1.1em; }
  88. .handle { position:relative; cursor:pointer; width:50px;
  89. height:20px; line-height:20px;
  90. -webkit-user-select:none; -moz-user-select:none; -user-select:none;
  91. border:3px solid; color:#278727; text-align:center; }
  92. .downText { margin-top:2px; }
  93. .set .set { margin-bottom:2px; margin-top:3px; } /* timepicker */
  94. pre { white-space: pre-wrap; }
  95. svg { height:32px; width:32px; vertical-align:middle; margin:2px 0;}
  96. svg:not([fill]):not(.jssvg) { fill:#278727; }
  97. svg.on,svg.FS20_on { fill:orange!important; }
  98. /* next lines are for remotecontrol */
  99. .rc_body { border-style:solid; border-color:gray;
  100. border-width:2px; padding:5px;
  101. background:#C8C8B0; font-size:6px;}
  102. .rc_button { padding: 5px 7px;}
  103. .rc_button img { border-style:solid; border-width:1px;
  104. border-color:transparent; }
  105. .rc_button img:active { border-color: gray; }
  106. /* jQuery-UI mods */
  107. div.ui-dialog { border:3px solid #278727; padding:0; }
  108. div.ui-dialog-titlebar { padding:0!important; border:none; background:#F0F0D8; }
  109. button.ui-dialog-titlebar-close { display:none; }
  110. div.ui-widget-content a {color:#278727!important;}
  111. .ui-widget { font-family:Arial,sans-serif!important; }
  112. .ui-button-text { font-weight:normal!important; color:#555!important; }
  113. /* UZSU */
  114. .ui-button-text-only.ui-state-active { background:#F0F0D8; }
  115. #fwmenu {
  116. position: absolute; z-index:1005;
  117. text-align:left; max-width:600px;
  118. font-weight: normal; font-size: 100%;
  119. border:1px solid #278727;
  120. }
  121. #fwmenu li a { color:#278727; }
  122. div#svgmarker {
  123. position: absolute; z-index:1005; padding: 6px 10px;
  124. text-align:left; max-width:600px;
  125. color:#278727; background:#FFFFE7;
  126. border:2px solid #278727; border-radius:4px;
  127. }
  128. div.detLink { display:inline-block; margin-right:0.5em; }
  129. select [value^=l0] { color: red; }
  130. select [value^=l1] { color: green; }
  131. select [value^=l2] { color: blue; }
  132. select [value^=l3] { color: pink; }
  133. select [value^=l4] { color: brown; }
  134. select [value^=l5] { color: black; }
  135. select [value^=l6] { color: olive; }
  136. select [value^=l7] { color: gray; }
  137. select [value^=l8] { color: yellow; }
  138. svg.zw_nr .zwBox { stroke-width:2px; }
  139. svg.zw_nr .zwDongle { stroke:red; stroke-width:2px; }
  140. svg.zw_nr .zwMargin { stroke-width:1px; fill:none; }
  141. svg.zw_nr .zwLine { stroke-width:1px; }
  142. svg.zw_nr .zwArrowHead { stroke-width:1px; }
  143. svg.zw_nr { height:auto; width:auto; margin:0; }
  144. .col_fg { color:#000000; }
  145. .col_link { color:#278727; stroke:#278727; }
  146. .col_bg { background: #FFFFE7; fill:#FFFFE7; }
  147. .col_evenrow { background: #F8F8E0; fill:#F8F8E0; }
  148. .col_oddrow { background: #F0F0D8; fill:#F0F0D8; }
  149. .col_header { background: #E0E0C8; fill:#E0E0C8; }
  150. .col_menu { background: #D7FFFF; fill:#D7FFFF; }
  151. .col_sel { background: #A0FFFF; fill:#A0FFFF; }
  152. /* end of defaultCommon.css */
  153. table.room,table.block.wide,table.fileList {
  154. border:0;
  155. border-radius:0;
  156. border-spacing:0;
  157. border-top:1px solid gray;
  158. border-bottom:1px solid gray;
  159. }
  160. table.block.wide td > div, #menu td td { padding:2px 4px; }
  161. #menuScrollArea { display:none; } /* commandref */
  162. body[fw_id] #menuScrollArea { display:block; } /* not commandref */
  163. input[type=submit] { border:none; background:none; }
  164. select { background:none; }
  165. #menu img.icon { width:18px; height:18px; }/* Firefox assumes 100px bef.load */
  166. table.roomoverview { border-spacing:0; }
  167. div#menu > table { border-spacing:0; }
  168. tr.devTypeTr td { padding:0px; }
  169. tr.column > td { padding-right:10px; }
  170. .animated { transition: all .1s ease-in; }
  171. a { text-decoration:none; }
  172. div.dist { padding-top:0.3em; }
  173. button.dist { margin:10px; background:transparent; border:0px; cursor:pointer; }
  174. select,input[type=submit] { cursor:pointer; }
  175. div.pin, div.dragger { float:right; width:1em; height:1em; margin-left:0.5em; }
  176. div.pinHeader { height:1em; padding:2px; }
  177. body.touch a { font-size: 20px; }
  178. body.touch #menu { font-size: 20px; } /* for the menuTree icon */
  179. body.touch div.col1, body.touch #menu table.room div { padding:0.25em 0; }
  180. body.fixedInput #logo,
  181. body.fixedInput #menu,
  182. body.fixedInput #menuBtn,
  183. body.fixedInput #content,
  184. body.fixedInput #hdr {
  185. position: fixed;
  186. overflow: auto;
  187. }
  188. @media screen and (max-width: 480px) and (orientation: portrait) {
  189. #content > table { width: 100%; table-layout: fixed; }
  190. #content > table, table.block.wide { width: 100%; }
  191. table.block tr td:nth-child(2) { width: 0; }
  192. table.block tr td:nth-child(n+3) { width: 0px; display: none; }
  193. .SVGplot { overflow-x: auto;}
  194. /* flex-collapsing table */
  195. .wrapcolumns,
  196. .wrapcolumns thead,
  197. .wrapcolumns tbody,
  198. .wrapcolumns th,
  199. .wrapcolumns td {
  200. display: block;
  201. }
  202. .wrapcolumns tr {
  203. display: flex;
  204. flex-wrap: wrap;
  205. }
  206. .wrapcolumns td {
  207. word-wrap: break-word;
  208. align-self: center;
  209. max-width: 100%;
  210. }
  211. .wrapcolumns tr td:nth-child(1) { flex-grow: 1; }
  212. .wrapcolumns tr td:nth-child(2) { width: auto!important; }
  213. }
  214. body.pinnedMenu #menuBtn { display:none; }
  215. body.pinnedMenu #menu { left:10px; }
  216. body.pinnedMenu #logo { left:10px; }
  217. body { background-repeat: no-repeat; background-size:cover; }
  218. div.SVGlabel { display:inline-block; }