Mercurial > repos > immport-devteam > cs_overview
comparison js/Editor-1.5.6/css/scss/main.scss @ 2:a64ece32a01a draft default tip
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/cs_overview commit a46097db0b6056e1125237393eb6974cfd51eb41"
author | azomics |
---|---|
date | Tue, 28 Jul 2020 08:32:36 -0400 (2020-07-28) |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:bca68066a957 | 2:a64ece32a01a |
---|---|
1 | |
2 | |
3 // The main form. | |
4 // Most of the styles for display of the main form come from the display | |
5 // controller (lightbox and envelope are the two built in options). | |
6 div.DTE_Body { | |
7 padding: 50px 0; // space for hte header and footer which are position: absolute | |
8 | |
9 div.DTE_Body_Content { | |
10 position: relative; | |
11 overflow: auto; | |
12 | |
13 div.DTE_Form_Info { | |
14 padding: 1em 1em 0 1em; | |
15 margin: 0; | |
16 } | |
17 | |
18 div.DTE_Field { | |
19 position: relative; | |
20 zoom: 1; | |
21 | |
22 clear: both; | |
23 padding: 5px 20%; | |
24 border: 1px solid transparent; | |
25 | |
26 &:after { | |
27 display: block; | |
28 content: "."; | |
29 height: 0; | |
30 line-height: 0; | |
31 clear: both; | |
32 visibility: hidden; | |
33 } | |
34 | |
35 &:hover { | |
36 background-color: #f9f9f9; | |
37 border: 1px solid #f3f3f3; | |
38 } | |
39 | |
40 >label { | |
41 float: left; | |
42 width: 40%; | |
43 padding-top: 6px; | |
44 } | |
45 | |
46 >div.DTE_Field_Input { | |
47 float: right; | |
48 width: 60%; | |
49 } | |
50 | |
51 // Field in error state | |
52 &.DTE_Field_StateError { } | |
53 | |
54 &.full { | |
55 padding: 5px 0 5px 20%; | |
56 | |
57 >label { | |
58 width: 30%; | |
59 } | |
60 | |
61 >div.DTE_Field_Input { | |
62 width: 70%; | |
63 } | |
64 } | |
65 | |
66 &.block { | |
67 >div.DTE_Field_Input { | |
68 float: none; | |
69 clear: both; | |
70 width: 100%; | |
71 } | |
72 } | |
73 } | |
74 } | |
75 } | |
76 | |
77 html[dir="rtl"] { | |
78 div.DTE_Body div.DTE_Body_Content div.DTE_Field { | |
79 > label { | |
80 float: right; | |
81 } | |
82 | |
83 >div.DTE_Field_Input { | |
84 float: left; | |
85 } | |
86 } | |
87 | |
88 div.DTE div.DTE_Form_Buttons button { | |
89 float: left; | |
90 } | |
91 } | |
92 | |
93 // iPad in portrait | |
94 @media only screen | |
95 and (max-width : 768px) { | |
96 div.DTE_Body { | |
97 div.DTE_Body_Content { | |
98 div.DTE_Field { | |
99 padding: 5px 10%; | |
100 | |
101 &.full { | |
102 padding: 5px 0 5px 10%; | |
103 | |
104 >label { | |
105 width: 35.5%; | |
106 } | |
107 | |
108 >div.DTE_Field_Input { | |
109 width: 64.5%; | |
110 } | |
111 } | |
112 | |
113 &.block { | |
114 >div.DTE_Field_Input { | |
115 width: 100%; | |
116 } | |
117 } | |
118 } | |
119 } | |
120 } | |
121 } | |
122 | |
123 @media only screen | |
124 and (max-width : 640px) { | |
125 div.DTE_Body { | |
126 div.DTE_Body_Content { | |
127 div.DTE_Field { | |
128 padding: 5px 0; | |
129 | |
130 &.full { | |
131 padding: 5px 0%; | |
132 | |
133 >label { | |
134 width: 40%; | |
135 } | |
136 | |
137 >div.DTE_Field_Input { | |
138 width: 60%; | |
139 } | |
140 } | |
141 | |
142 &.block { | |
143 >div.DTE_Field_Input { | |
144 width: 100%; | |
145 } | |
146 } | |
147 } | |
148 } | |
149 } | |
150 } | |
151 | |
152 // For devices with smaller screens, the fields should be shown stacked | |
153 @media only screen | |
154 and (max-width : 580px) { | |
155 div.DTE_Body { | |
156 div.DTE_Body_Content { | |
157 div.DTE_Field { | |
158 position: relative; | |
159 zoom: 1; | |
160 | |
161 clear: both; | |
162 padding: 5px 0; | |
163 | |
164 >label { | |
165 float: none; | |
166 width: auto; | |
167 padding-top: 0; | |
168 } | |
169 | |
170 >div.DTE_Field_Input { | |
171 float: none; | |
172 width: auto; | |
173 } | |
174 | |
175 &.full, | |
176 &.block { | |
177 padding: 5px 0; | |
178 | |
179 >label, | |
180 >div.DTE_Field_Input { | |
181 width: 100%; | |
182 } | |
183 } | |
184 } | |
185 } | |
186 } | |
187 } | |
188 |