Show More
@@ -1,233 +1,241 b'' | |||
|
1 | 1 | |
|
2 | 2 | /* |
|
3 | 3 | LESS file that styles IPython notebook widgets and the area they sit in. |
|
4 | 4 | |
|
5 | 5 | The widget area typically looks something like this: |
|
6 | 6 | +------------------------------------------+ |
|
7 | 7 | | widget-area | |
|
8 | 8 | | +--------+---------------------------+ | |
|
9 | 9 | | | prompt | widget-subarea | | |
|
10 | 10 | | | | +--------+ +--------+ | | |
|
11 | 11 | | | | | widget | | widget | | | |
|
12 | 12 | | | | +--------+ +--------+ | | |
|
13 | 13 | | +--------+---------------------------+ | |
|
14 | 14 | +------------------------------------------+ |
|
15 | 15 | */ |
|
16 | 16 | |
|
17 | 17 | .widget-area { |
|
18 | 18 | page-break-inside: avoid; |
|
19 | 19 | .hbox(); |
|
20 | 20 | |
|
21 | 21 | .widget-subarea { |
|
22 | 22 | padding: 0.44em 0.4em 0.4em 1px; |
|
23 | 23 | margin-left: 6px; |
|
24 | 24 | .border-box-sizing(); |
|
25 | 25 | .vbox(); |
|
26 | 26 | .box-flex2(); |
|
27 | } | |
|
28 | } | |
|
29 | ||
|
30 | /* THE CLASSES BELOW CAN APPEAR ANYWHERE IN THE DOM */ | |
|
27 | 31 | |
|
28 | 32 |
|
|
29 | 33 |
|
|
30 | 34 |
|
|
31 | 35 |
|
|
32 | 36 |
|
|
33 | 37 |
|
|
34 | 38 |
|
|
35 | 39 | } |
|
36 | 40 | |
|
37 | 41 |
|
|
38 | 42 |
|
|
39 | 43 |
|
|
40 | 44 |
|
|
41 | 45 |
|
|
42 | 46 | } |
|
43 | 47 | |
|
44 | 48 | |
|
45 | 49 |
|
|
46 | 50 |
|
|
47 | 51 |
|
|
48 | 52 |
|
|
49 | 53 |
|
|
50 | 54 | } |
|
51 | 55 | |
|
52 | 56 |
|
|
53 | 57 | |
|
54 | 58 |
|
|
55 | 59 |
|
|
56 | 60 |
|
|
57 | 61 |
|
|
58 | 62 |
|
|
59 | 63 | |
|
60 | 64 |
|
|
61 | 65 |
|
|
62 | 66 |
|
|
63 | 67 |
|
|
64 | 68 |
|
|
65 | 69 |
|
|
66 | 70 |
|
|
67 | 71 |
|
|
68 | 72 |
|
|
69 | 73 |
|
|
70 | 74 | */ |
|
71 | 75 |
|
|
72 | 76 | |
|
73 | 77 |
|
|
74 | 78 |
|
|
75 | 79 |
|
|
76 | 80 |
|
|
77 | 81 |
|
|
78 | 82 | |
|
79 | 83 |
|
|
80 | 84 |
|
|
81 | 85 |
|
|
82 | 86 |
|
|
83 | 87 |
|
|
84 | 88 | |
|
85 | 89 |
|
|
86 | 90 |
|
|
87 | 91 | |
|
88 | 92 |
|
|
89 | 93 |
|
|
90 | 94 | |
|
91 | 95 |
|
|
92 | 96 |
|
|
93 | 97 |
|
|
94 | 98 |
|
|
95 | 99 |
|
|
96 | 100 |
|
|
97 | 101 |
|
|
98 | 102 | |
|
99 | 103 |
|
|
100 | 104 |
|
|
101 | 105 |
|
|
102 | 106 | |
|
103 | 107 |
|
|
104 | 108 |
|
|
105 | 109 | } |
|
106 | 110 | } |
|
107 | 111 | |
|
108 | 112 |
|
|
109 | 113 |
|
|
110 | 114 | |
|
111 | 115 |
|
|
112 | 116 |
|
|
113 | 117 |
|
|
114 | 118 |
|
|
115 | 119 | |
|
116 | 120 |
|
|
117 | 121 |
|
|
118 | 122 |
|
|
119 | 123 |
|
|
120 | 124 |
|
|
121 | 125 | |
|
122 | 126 |
|
|
123 | 127 |
|
|
124 | 128 | |
|
125 | 129 |
|
|
126 | 130 |
|
|
127 | 131 | |
|
128 | 132 |
|
|
129 | 133 |
|
|
130 | 134 |
|
|
131 | 135 |
|
|
132 | 136 |
|
|
133 | 137 |
|
|
134 | 138 |
|
|
135 | 139 |
|
|
136 | 140 |
|
|
137 | 141 | |
|
138 | 142 |
|
|
139 | 143 |
|
|
140 | 144 |
|
|
141 | 145 |
|
|
142 | 146 |
|
|
143 | 147 | } |
|
144 | 148 | } |
|
145 | 149 | |
|
146 | 150 |
|
|
147 | 151 |
|
|
148 | 152 |
|
|
149 | 153 |
|
|
150 | 154 | } |
|
151 | 155 | |
|
152 | 156 |
|
|
153 | 157 |
|
|
154 | 158 |
|
|
155 | 159 |
|
|
156 | 160 | } |
|
157 | 161 | |
|
158 | 162 |
|
|
159 | 163 |
|
|
160 | 164 |
|
|
161 | 165 | } |
|
162 | 166 | |
|
163 | 167 |
|
|
164 | 168 |
|
|
165 | 169 |
|
|
166 | 170 | |
|
167 | 171 |
|
|
168 | 172 |
|
|
169 | 173 |
|
|
170 | 174 |
|
|
171 | 175 |
|
|
172 | 176 |
|
|
173 | 177 |
|
|
174 | 178 | } |
|
175 | 179 | } |
|
176 | 180 | |
|
177 | 181 |
|
|
178 | 182 |
|
|
179 | 183 |
|
|
180 | 184 | } |
|
181 | 185 | |
|
182 | 186 |
|
|
183 | 187 |
|
|
184 | 188 | |
|
185 | 189 |
|
|
186 | 190 |
|
|
187 | 191 |
|
|
188 | 192 |
|
|
189 | 193 |
|
|
190 | 194 |
|
|
191 | 195 |
|
|
192 | 196 | */ |
|
193 | 197 |
|
|
194 | 198 |
|
|
195 | 199 |
|
|
196 | 200 |
|
|
197 | 201 | } |
|
198 | 202 |
|
|
199 | 203 |
|
|
200 | 204 |
|
|
201 | 205 | } |
|
202 | 206 |
|
|
203 | 207 |
|
|
204 | 208 |
|
|
205 | 209 | } |
|
206 | 210 |
|
|
207 | 211 |
|
|
208 | 212 |
|
|
209 | 213 |
|
|
210 | 214 | } |
|
211 | } | |
|
212 | } | |
|
213 | ||
|
214 | /* THE CLASSES BELOW CAN APPEAR ANYWHERE IN THE DOM */ | |
|
215 | ||
|
216 | 215 | /* ContainerWidget - ModalView */ |
|
217 | 216 | .widget-modal { |
|
218 | 217 | overflow: hidden; |
|
219 | 218 | position: absolute !important; |
|
220 | 219 | top: 0px; |
|
221 | 220 | left: 0px; |
|
222 | 221 | margin-left: 0px !important; |
|
223 | 222 | } |
|
224 | 223 | |
|
225 | 224 | /* ContainerWidget - ModalView Body */ |
|
226 | 225 | .widget-modal-body { |
|
227 | 226 | max-height: none !important; |
|
228 | 227 | } |
|
229 | 228 | |
|
230 | 229 | /* ContainerWidget */ |
|
231 | 230 | .widget-container { |
|
232 | 231 | .border-box-sizing(); |
|
233 | 232 | } |
|
233 | ||
|
234 | /* Horizontal Label */ | |
|
235 | .docked-widget-modal { | |
|
236 | overflow: hidden; | |
|
237 | position: relative !important; | |
|
238 | top: 0px !important; | |
|
239 | left: 0px !important; | |
|
240 | margin-left: 0px !important; | |
|
241 | } |
General Comments 0
You need to be logged in to leave comments.
Login now