Debian Codegraph @

jupyter-widgets-controls/css/lumino.css

raw
1 /* This file has code derived from Lumino CSS files, as noted below. The license for this Lumino code is:
2
3 Copyright (c) 2019 Project Jupyter Contributors
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice, this
10 list of conditions and the following disclaimer.
11
12 2. Redistributions in binary form must reproduce the above copyright notice,
13 this list of conditions and the following disclaimer in the documentation
14 and/or other materials provided with the distribution.
15
16 3. Neither the name of the copyright holder nor the names of its
17 contributors may be used to endorse or promote products derived from
18 this software without specific prior written permission.
19
20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
31
32 Copyright (c) 2014-2017, PhosphorJS Contributors
33 All rights reserved.
34
35 Redistribution and use in source and binary forms, with or without
36 modification, are permitted provided that the following conditions are met:
37
38 * Redistributions of source code must retain the above copyright notice, this
39 list of conditions and the following disclaimer.
40
41 * Redistributions in binary form must reproduce the above copyright notice,
42 this list of conditions and the following disclaimer in the documentation
43 and/or other materials provided with the distribution.
44
45 * Neither the name of the copyright holder nor the names of its
46 contributors may be used to endorse or promote products derived from
47 this software without specific prior written permission.
48
49 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
50 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
51 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
52 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
53 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
54 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
55 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
56 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
57 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
58 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
59 */
60
61 /*
62 * The following section is derived from https://github.com/jupyterlab/lumino/blob/23b9d075ebc5b73ab148b6ebfc20af97f85714c4/packages/widgets/style/tabbar.css
63 * We've scoped the rules so that they are consistent with exactly our code.
64 */
65
66 /* <DEPRECATED> */
67 .jupyter-widgets.widget-tab > .p-TabBar, /* </DEPRECATED> */
68 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar, /* </DEPRECATED> */
69 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar {
70 display: flex;
71 -webkit-user-select: none;
72 -moz-user-select: none;
73 -ms-user-select: none;
74 user-select: none;
75 }
76
77 /* <DEPRECATED> */
78 .jupyter-widgets.widget-tab > .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */
79 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar[data-orientation='horizontal'], /* </DEPRECATED> */
80 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar[data-orientation='horizontal'] {
81 flex-direction: row;
82 }
83
84 /* <DEPRECATED> */
85 .jupyter-widgets.widget-tab > .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */
86 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar[data-orientation='vertical'], /* </DEPRECATED> */
87 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar[data-orientation='vertical'] {
88 flex-direction: column;
89 }
90
91 /* <DEPRECATED> */
92 .jupyter-widgets.widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */
93 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar > .p-TabBar-content, /* </DEPRECATED> */
94 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar > .lm-TabBar-content {
95 margin: 0;
96 padding: 0;
97 display: flex;
98 flex: 1 1 auto;
99 list-style-type: none;
100 }
101
102 /* <DEPRECATED> */
103 .jupyter-widgets.widget-tab
104 > .p-TabBar[data-orientation='horizontal']
105 > .p-TabBar-content,
106 /* </DEPRECATED> */
107 /* <DEPRECATED> */
108 .jupyter-widgets.jupyter-widget-tab
109 > .p-TabBar[data-orientation='horizontal']
110 > .p-TabBar-content,
111 /* </DEPRECATED> */
112 .jupyter-widgets.jupyter-widget-tab
113 > .lm-TabBar[data-orientation='horizontal']
114 > .lm-TabBar-content {
115 flex-direction: row;
116 }
117
118 /* <DEPRECATED> */
119 .jupyter-widgets.widget-tab
120 > .p-TabBar[data-orientation='vertical']
121 > .p-TabBar-content,
122 /* </DEPRECATED> */
123 /* <DEPRECATED> */
124 .jupyter-widgets.jupyter-widget-tab
125 > .p-TabBar[data-orientation='vertical']
126 > .p-TabBar-content,
127 /* </DEPRECATED> */
128 .jupyter-widgets.jupyter-widget-tab
129 > .lm-TabBar[data-orientation='vertical']
130 > .lm-TabBar-content {
131 flex-direction: column;
132 }
133
134 /* <DEPRECATED> */
135 .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */
136 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab, /* </DEPRECATED> */
137 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab {
138 display: flex;
139 flex-direction: row;
140 box-sizing: border-box;
141 overflow: hidden;
142 }
143
144 /* <DEPRECATED> */
145 .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */
146 /* <DEPRECATED> */ .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */
147 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabIcon, /* </DEPRECATED> */
148 /* <DEPRECATED> */ .jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabCloseIcon, /* </DEPRECATED> */
149 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabIcon,
150 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabCloseIcon {
151 flex: 0 0 auto;
152 }
153
154 /* <DEPRECATED> */
155 .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */
156 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tabLabel, /* </DEPRECATED> */
157 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tabLabel {
158 flex: 1 1 auto;
159 overflow: hidden;
160 white-space: nowrap;
161 }
162
163 /* <DEPRECATED> */
164 .jupyter-widgets.widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */
165 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar .p-TabBar-tab.p-mod-hidden, /* </DEPRECATED> */
166 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar .lm-TabBar-tab.lm-mod-hidden {
167 display: none !important;
168 }
169
170 /* <DEPRECATED> */
171 .jupyter-widgets.widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */
172 /* <DEPRECATED> */.jupyter-widgets.jupyter-widget-tab > .p-TabBar.p-mod-dragging .p-TabBar-tab, /* </DEPRECATED> */
173 .jupyter-widgets.jupyter-widget-tab > .lm-TabBar.lm-mod-dragging .lm-TabBar-tab {
174 position: relative;
175 }
176
177 /* <DEPRECATED> */
178 .jupyter-widgets.widget-tab
179 > .p-TabBar.p-mod-dragging[data-orientation='horizontal']
180 .p-TabBar-tab,
181 /* </DEPRECATED> */
182 /* <DEPRECATED> */
183 .jupyter-widgets.jupyter-widget-tab
184 > .p-TabBar.p-mod-dragging[data-orientation='horizontal']
185 .p-TabBar-tab,
186 /* </DEPRECATED> */
187 .jupyter-widgets.jupyter-widget-tab
188 > .lm-TabBar.lm-mod-dragging[data-orientation='horizontal']
189 .lm-TabBar-tab {
190 left: 0;
191 transition: left 150ms ease;
192 }
193
194 /* <DEPRECATED> */
195 .jupyter-widgets.widget-tab
196 > .p-TabBar.p-mod-dragging[data-orientation='vertical']
197 .p-TabBar-tab,
198 /* </DEPRECATED> */
199 /* <DEPRECATED> */
200 .jupyter-widgets.jupyter-widget-tab
201 > .p-TabBar.p-mod-dragging[data-orientation='vertical']
202 .p-TabBar-tab,
203 /* </DEPRECATED> */
204 .jupyter-widgets.jupyter-widget-tab
205 > .lm-TabBar.lm-mod-dragging[data-orientation='vertical']
206 .lm-TabBar-tab {
207 top: 0;
208 transition: top 150ms ease;
209 }
210
211 /* <DEPRECATED> */
212 .jupyter-widgets.widget-tab
213 > .p-TabBar.p-mod-dragging
214 .p-TabBar-tab.p-mod-dragging,
215 /* </DEPRECATED> */
216 /* <DEPRECATED> */
217 .jupyter-widgets.jupyter-widget-tab
218 > .p-TabBar.p-mod-dragging
219 .p-TabBar-tab.p-mod-dragging,
220 /* </DEPRECATED> */
221 .jupyter-widgets.jupyter-widget-tab
222 > .lm-TabBar.lm-mod-dragging
223 .lm-TabBar-tab.lm-mod-dragging {
224 transition: none;
225 }
226
227 /* End tabbar.css */