smallscreenstyle.css 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. @import url("defaultCommon.css");
  2. #console { height:auto; }
  3. textarea { font-family:Arial, sans-serif; font-size:16px;}
  4. #back { position:absolute; top: 2px; left:18px; }
  5. #logo { position:absolute; top: 2px; left: 2px;
  6. width:64px; height:67px;
  7. background-image:url(../images/default/fhemicon_smallscreen.png); }
  8. #menu { position:absolute; top: 2px; left:65px; }
  9. #hdr { position:absolute; top:40px; left:65px; }
  10. #content { position:absolute; top:85px; left: 0px; right: 0px;}
  11. #right { position:absolute; top:30px; left: 0px; right: 0px; }
  12. #errmsg { left:0px; }
  13. .devType { font-size:12px;}
  14. div.col1 { width: 188px; height: 30px; white-space: nowrap; }
  15. div.col2 { width: 142px; height: 30px;
  16. -webkit-box-pack: center; -moz-box-pack: center; box-pack: center;
  17. white-space: wrap;
  18. font-size:16px;
  19. }
  20. div.col1, div.col2, div.col3 {
  21. overflow: hidden; text-overflow: ellipsis;
  22. padding-top: 10px; padding-bottom: 10px;
  23. padding-left: 5px; padding-right: 5px;
  24. display: -webkit-box; -webkit-box-align: center;
  25. display: -moz-box; -moz-box-align: center;
  26. background-image:-webkit-gradient(linear, right top, right bottom,
  27. color-stop(0%,#fffff7), color-stop(100%,#ffffb7));
  28. background-image:-moz-linear-gradient(top, #fffff7, #ffffb7);
  29. background-image:-o-linear-gradient(top, #fffff7, #ffffb7);
  30. }
  31. div.dname, div.dval {
  32. width: 152px;
  33. white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  34. font-size:16px;
  35. }
  36. div.tiny { font-size:10px; }
  37. table.block { width: 320px; border-spacing:0px; border:0; }
  38. table.block tr { border:1px solid gray; border-spacing:0px; }
  39. table.block td { width: 150px; }
  40. #menu #block { visibility: hidden; }
  41. button.dist { margin:5px; }
  42. .slider { float:right; width:320px; height:26px; }
  43. .set .slider,.get slider,.attr .slider { background:#F0F0D8; }
  44. #cloudfree { display:none; }
  45. /* Portrait mode */
  46. @media all and (orientation:portrait) {
  47. /*table.block select, table.block input { width: 0px; display: none; } */
  48. table.block tr td:nth-child(n+3) { width: 0px; display: none; }
  49. }
  50. /* Landscape mode */
  51. @media all and (orientation:landscape) {
  52. div.col1 { width:282px; }
  53. div.col2 { width:108px; }
  54. div.col3 { width:100%; min-width:108px; height:30px; }
  55. table.block input { text-align: center; }
  56. table.block tr td:nth-child(3) { text-align: center; }
  57. table.block div.slider { min-width: 108px; text-align: center; }
  58. table.block slider { float: none; }
  59. table.block select { text-align: center; }
  60. }
  61. body.commandref ul { -webkit-padding-start:0; }
  62. body.commandref div#menuScrollArea div#menu a { margin-left:10px; }
  63. body.commandref table.class_device { word-break:break-all; }
  64. body.commandref div#right { top:48px; }
  65. body.commandref div#logo { display:none; }
  66. body.commandref div#menu {
  67. position:fixed; z-index:30; background-color:#FFFFE7;
  68. top:0px; left:0px; right:10px; height:48px;
  69. }
  70. body.commandref div#menu a { margin:20px; }
  71. body.commandref div#menu br { display:none; }
  72. body.commandref div#menu h3 { display:none; }
  73. body.commandref div#right { left:5px; right:5px }