ios7smallscreenstyle.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. @import url("ios7Common.css");
  2. /*
  3. Edit: fhainz
  4. */
  5. body { background-color: #e5e5e5; font-family:Helvetica; font-weight:300; }
  6. textarea { font-family:Helvetica; font-weight:300; font-size:16px;}
  7. input { font-family:Helvetica; font-weight:300; font-size:16px;}
  8. select { font-family:Helvetica; font-weight:300; font-size:16px;}
  9. #back { position:absolute; top: 2px; left:18px; }
  10. #logo { position:absolute; top: 2px; left: 2px;
  11. width:64px; height:67px; background-image:url(../images/default/fhemicon_smallscreen.png); }
  12. #menu { position:absolute; top: 2px; left:65px; }
  13. #console { width:100%; height:100%; position:absolute; overflow-y:auto;}
  14. #hdr { position:absolute; top:40px; left:65px; }
  15. #content { position:absolute; top:85px; left: 0px; right: 0px;}
  16. #errmsg { background-color: #000000; color: #FFFFFF; position:absolute; top:0px; left:0px; z-index: 10; }
  17. /* Header ohne Logo
  18. Um den alten Header mit Logo zu reaktieren
  19. die letzten 2 Zeichen in dieser Zeile entfernen --> */
  20. #logo { background: none; display: none; }
  21. #menu { position: relative; top: 0px; left:0px; right: 0px; width: 100%; }
  22. #menuScrollArea { width: 100%; }
  23. #menu select{ width: 100%; }
  24. #back { margin-top: 40px; margin-left: -10px; }
  25. .maininput { width: 100%; }
  26. #hdr { position: relative; top:0px; left:0px; right: 0px; width: 95%; }
  27. textarea { width:100%; }
  28. /* Header ohne Logo Ende */
  29. .devType { padding-top:10px; font-size:16px;}
  30. a { color: #151515; }
  31. table.block a { color: #151515; cursor: pointer; }
  32. table.assoc a { color: #147bff; cursor: pointer; }
  33. table.internals a { color: #147bff cursor: pointer; }
  34. div.dval a { color: #147bff; cursor: pointer; }
  35. img { border-style: none; }
  36. .col2 { text-align:center; }
  37. tr.column td { padding:0; vertical-align:top;}
  38. div.col1 { height: 30px; white-space: nowrap; }
  39. div.col2 { height: 30px;
  40. -webkit-box-pack: center; -moz-box-pack: center; box-pack: center;
  41. white-space: wrap;
  42. font-size:16px;
  43. }
  44. div.col1, div.col2 {
  45. overflow: hidden; text-overflow: ellipsis;
  46. padding-top: 10px; padding-bottom: 10px;
  47. padding-left: 5px; padding-right: 5px;
  48. display: -webkit-box; -webkit-box-align: center;
  49. display: -moz-box; -moz-box-align: center;
  50. background: #fff;
  51. }
  52. div.dname, div.dval {
  53. white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  54. font-size:16px;
  55. }
  56. div.tiny { font-size:10px; }
  57. table { width: 100%; }
  58. table.roomoverview { width: 100%; }
  59. table.block { width: 100%; }
  60. table.block { background: #fff; border-spacing:0px; }
  61. table.block tr { border:1px solid gray; border-spacing:0px; }
  62. table.block tr.odd { background: #fff; }
  63. table.block tr.sel { background: #fff; }
  64. table.block td { border-bottom: 1px solid #cbcbcb; }
  65. table.block td:first-child { width: 70%; }
  66. table.block td:nth-child(2) { width: 30%; }
  67. #menu #block { visibility: hidden; }
  68. #right { position:absolute; top:85px; left: 0px; right: 0px;
  69. font-family:Arial, sans-serif; font-size:16px; }
  70. h2,h3,h4 { color:#52865D; line-height:1.3;
  71. margin-top:1.5em; font-family:Arial,Sans-serif; }
  72. div.block { border:1px solid gray; background: #F8F8E0; padding:0.7em; }
  73. div.dist { padding-top:0.3em; }
  74. button.dist { margin:5px; background:transparent; border:0px; cursor:pointer; }
  75. .makeTable { display:inline; float:left; clear:left;
  76. margin-top:10px; margin-bottom:20px; width:100%;}
  77. .makeSelect { display:inline; float:left; clear:left; }
  78. .get,.set,.attr { margin-bottom:5px; float:left;}
  79. .slider { float:right; width:320px; height:26px; }
  80. .get .slider,.set .slider,.attr .slider { background:#F0F0D8; }
  81. .handle { position:relative; cursor:pointer; width:50px;
  82. height:20px; line-height:20px;
  83. -webkit-user-select:none; -moz-user-select:none; -user-select:none;
  84. border:3px solid; color:#278727; text-align:center; }
  85. svg { height:32px; width:32px; fill:#1c7efb; vertical-align:middle; margin:2px 0; }
  86. /* Portrait mode */
  87. @media all and (orientation:portrait) {
  88. table.block tr td:nth-child(n+3) { width: 0px; display: none; }
  89. table.block tr td div.col1 { width: 270px; }
  90. table.block svg.icon { margin-right: 5px; }
  91. table.block select,
  92. table.block input
  93. { width: 0px; display: none; }
  94. }
  95. /* Landscape mode */
  96. @media all and (orientation:landscape) {
  97. table.block input { text-align: center; }
  98. table.block tr td:first-child { width: 60%; }
  99. table.block tr td:nth-child(2) { width: 10%; }
  100. table.block tr td:nth-child(3) { width: 25%; text-align: center; }
  101. table.block tr td div.col1 { width: 270px; }
  102. table.block svg.icon { margin-right: 5px; }
  103. table.block div.slider { width: 180px; text-align: center; }
  104. table.block slider { float: none; }
  105. table.block select { text-align: center; }
  106. }