HTML improvements and mobile support using responsive design.
[pyTivo/wmcbrine/lucasnz.git] / plugins / settings / content / settings.css
blobb35957ec64d3131f6f8b66af804efec492b76ad8
1 html, body {
2 margin: 0;
3 padding: 0;
4 border: none;
5 height: 100%;
6 overflow: hidden;
9 table#main {
10 height: 85%;
11 width: 98%;
12 margin-left: auto;
13 margin-right: auto;
14 table-layout: fixed;
15 text-align: left;
18 table.settings {
19 width: 100%;
22 td.panel1 {
23 width: 200px;
26 td.panel2 {
27 width: 350px;
30 td.panel3 {
34 div#settings, div#sidesections {
35 border-left: 1px dotted #999;
38 td.panel {
39 vertical-align: top;
40 height: 100%
43 td.ulined {
44 border-bottom: 1px solid #999;
47 div#leftframe {
48 width: 100%;
49 height: 100%;
50 overflow: hidden;
53 div#settings, div#sidesections, div.sett-sect, div.help-sect {
54 width: 100%;
55 height: 100%;
56 overflow: auto;
59 div#leftframe, div.sett-sect {
60 text-align: center;
63 div.add-setting {
64 width: 100%;
65 position: static;
68 table.add-setting {
69 width: 100%;
72 div.add-button, div.add-field, div.sett-sect, div.help-sect {
73 position: static;
74 left: 0px;
75 top: 0px;
78 div.add-button {
79 width: 100%;
82 div.add-field, div.sett-sect {
83 display: none;
86 hr {
87 border: 0px;
88 background-color: #999;
89 height: 1px;
90 width: 90%;
93 /* Smartphones (portrait and landscape) ----------- */
94 @media only screen
95 and (max-width : 750px) {
96 html, body {
97 margin: 0;
98 padding: 0;
99 border: none;
100 height: auto;
101 overflow: visible;
104 table#main {
105 height: auto;
106 width: 98%;
107 margin-left: auto;
108 margin-right: auto;
109 table-layout: fixed;
112 table#main td {
113 display: block;
116 td.panel1 {
117 width: 98%;
118 text-align: center;
121 td.panel2 {
122 width: 98%;
123 text-align: center;
126 td.panel3 {
127 width: 98%;
130 input , select {
131 width: 85%;
132 font-size: large;
133 margin: 5px;
136 div#settings, div#sidesections {
137 border-left: none;
140 td.panel {
141 vertical-align: top;
142 height: auto;
143 border-bottom: 1px dotted #000000;
146 td.ulined {
147 border-bottom: 1px solid #999;
148 font-weight: bold;
149 width: 85%;
150 margin-left: auto;
151 margin-right: auto;
154 div#leftframe {
155 width: 98%;
156 margin-left: auto;
157 margin-right: auto;
158 height: auto;
159 overflow: hidden;
162 div#settings, div#sidesections, div.sett-sect, div.help-sect {
163 width: 98%;
164 margin-left: auto;
165 margin-right: auto;
166 height: auto;
167 overflow: visible;