f18style.css 9.6 KB

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