@nebularstreams/libmui 3.1.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/libmui.esm.js +3 -0
- package/dist/libmui.esm.min.js +3 -0
- package/package.json +6 -2
- package/dist/libui.esm.js +0 -3
- package/rollup.config.js +0 -20
- package/src/app/MainState.js +0 -22
- package/src/app/app.js +0 -9
- package/src/css/a-measures.css +0 -6
- package/src/css/b-colors.css +0 -12
- package/src/css/b-root-bootstrap-ext.css +0 -81
- package/src/css/b-root-bootstrap.css +0 -178
- package/src/css/b-root-semantic-flex.css +0 -87
- package/src/css/b-root-semantic-size-new.css +0 -37
- package/src/css/b-root-semantic-size.css +0 -75
- package/src/css/b-root-semantic-skin.css +0 -48
- package/src/css/b-root-semantic.css +0 -111
- package/src/css/b-root.css +0 -3
- package/src/css/cardie.css +0 -6
- package/src/css/flex.css +0 -46
- package/src/css/fontawesome/brands.min.css +0 -16
- package/src/css/fontawesome/fontawesome-ext.css +0 -7
- package/src/css/fontawesome/fontawesome-solid.css +0 -17
- package/src/css/fontawesome/fontawesome.css +0 -4359
- package/src/css/ui.notifications.css +0 -23
- package/src/css/ui.popup.css +0 -127
- package/src/css/ui.witharia.css +0 -25
- package/src/index.js +0 -112
- package/src/meta/InputTemplates.js +0 -3
- package/src/style.js +0 -37
- package/src/util/colorjoe.js +0 -1370
- package/src/util/filepath.js +0 -10
- package/src/util/fuckingconfirm.js +0 -28
- package/src/util/mithril-range.js +0 -445
- package/src/util/tainter.js +0 -39
- package/src/util/util.clone.js +0 -8
- package/src/util/util.tokenizer.js +0 -266
- package/src/util/widgets.core.js +0 -314
- package/src/util/widgets.js +0 -79
- package/src/util/widgets.utils.js +0 -10
- package/src/widgets/Basic.js +0 -352
- package/src/widgets/ButtonChoiceWidget.js +0 -72
- package/src/widgets/CardieWidget.js +0 -168
- package/src/widgets/ColorJoePack.js +0 -108
- package/src/widgets/ColorJoeWidget.js +0 -140
- package/src/widgets/ComboPrompt.js +0 -112
- package/src/widgets/ComboWidget.js +0 -156
- package/src/widgets/CoolContentTicker.js +0 -244
- package/src/widgets/CoolerEmpty.js +0 -37
- package/src/widgets/EmptyButton.js +0 -36
- package/src/widgets/FontSelectorButton.js +0 -37
- package/src/widgets/InputWidget.js +0 -254
- package/src/widgets/NoticeWidget.js +0 -31
- package/src/widgets/OverflowUtils.js +0 -449
- package/src/widgets/PlusMinusWidget.js +0 -55
- package/src/widgets/RangeWidget.js +0 -200
- package/src/widgets/SelectFileMiniButton.js +0 -170
- package/src/widgets/Separator.js +0 -21
- package/src/widgets/SmileysButton.js +0 -19
- package/src/widgets/SwitchWidget.js +0 -42
- package/src/widgets/TemplatedInputWidget.js +0 -1395
- package/src/widgets/TitleBarWidget.js +0 -71
- package/src/widgets/css/buttonchoice.css +0 -62
- package/src/widgets/css/buttonchoice.toggle.css +0 -37
- package/src/widgets/css/choicer.css +0 -24
- package/src/widgets/css/colorjoe.css +0 -230
- package/src/widgets/css/colorjoewidget.css +0 -105
- package/src/widgets/css/combo-ellipsis.css +0 -29
- package/src/widgets/css/fileminibutton.css +0 -12
- package/src/widgets/css/input.css +0 -35
- package/src/widgets/css/mithril-range.css +0 -69
- package/src/widgets/css/progressstrip.css +0 -31
- package/src/widgets/css/range-anims.css +0 -23
- package/src/widgets/css/separator.css +0 -21
- package/src/widgets/css/smileys.css +0 -85
- package/src/widgets/css/templatedinput.css +0 -67
- package/src/widgets/css/ui.titlebar.css +0 -44
- package/src/widgets/css/uploadfile.css +0 -5
- /package/dist/{libui.css → libmui.css} +0 -0
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import m from "mithril"
|
|
2
|
-
import {ButtonNew, defineWidget} from "./Basic";
|
|
3
|
-
import InputWidget from "./InputWidget.js"
|
|
4
|
-
import {OverflowMenu} from "../util/widgets.core.js"
|
|
5
|
-
|
|
6
|
-
const TitleBarWidget = defineWidget(
|
|
7
|
-
({attrs, dom}) => m(
|
|
8
|
-
".titlebar.noshrink.flexrow",
|
|
9
|
-
{
|
|
10
|
-
class: (attrs.class ? " " + attrs.class : "unitheight bg-window-hi pad-2 pad-h shadow-2 font-125"),
|
|
11
|
-
...attrs.onTitleClick && {onclick: attrs.onTitleClick}
|
|
12
|
-
},
|
|
13
|
-
[
|
|
14
|
-
...attrs.onClick ? [m(ButtonNew, {icon: "arrow-left", onClick: () => attrs.onClick()})] : [],
|
|
15
|
-
|
|
16
|
-
...attrs.logo
|
|
17
|
-
? [m("img.title-logo", {src: attrs.logo})]
|
|
18
|
-
: [],
|
|
19
|
-
...(attrs.editable && attrs.onchange)
|
|
20
|
-
? [
|
|
21
|
-
m(InputWidget, {
|
|
22
|
-
containerClass: "grows" + (attrs.onClick ? "" : " pad-2 pad-h"),
|
|
23
|
-
hint: attrs.title, // attrs.hint,
|
|
24
|
-
onchange: attrs.onchange,
|
|
25
|
-
oninput: () => {
|
|
26
|
-
},
|
|
27
|
-
value: attrs.value
|
|
28
|
-
})
|
|
29
|
-
]
|
|
30
|
-
: [m("span.grows.ellipsis", {class: attrs.onClick ? "" : "pad-2 pad-h"}, attrs.title)],
|
|
31
|
-
|
|
32
|
-
...attrs.auxaction ? [m(ButtonNew, {
|
|
33
|
-
icon: attrs.auxaction.icon,
|
|
34
|
-
class: attrs.auxaction.class,
|
|
35
|
-
title: attrs.auxaction.title,
|
|
36
|
-
onClick: attrs.auxaction.onClick
|
|
37
|
-
})] : [],
|
|
38
|
-
...attrs.auxactions
|
|
39
|
-
? attrs.auxactions.map((action) => m(ButtonNew, {
|
|
40
|
-
class: action.class,
|
|
41
|
-
title: action.title,
|
|
42
|
-
icon: action.icon,
|
|
43
|
-
text: action.caption,
|
|
44
|
-
onClick: action.onClick
|
|
45
|
-
}))
|
|
46
|
-
: [],
|
|
47
|
-
...attrs.action ? [m(ButtonNew, {
|
|
48
|
-
icon: attrs.action.icon,
|
|
49
|
-
class: attrs.action.class,
|
|
50
|
-
title: attrs.action.title,
|
|
51
|
-
onClick: attrs.action.onClick
|
|
52
|
-
|
|
53
|
-
})] : [],
|
|
54
|
-
...attrs.overflow
|
|
55
|
-
? [
|
|
56
|
-
m(ButtonNew, {
|
|
57
|
-
icon: attrs.overflow.icon || "ellipsis-v",
|
|
58
|
-
class: attrs.overflow.class || "",
|
|
59
|
-
onClick: () => OverflowMenu(
|
|
60
|
-
dom,
|
|
61
|
-
{title: attrs.title},
|
|
62
|
-
attrs.overflow.items
|
|
63
|
-
)
|
|
64
|
-
.then(({action}) => action.onClick())
|
|
65
|
-
})
|
|
66
|
-
]
|
|
67
|
-
: []
|
|
68
|
-
])
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
export default TitleBarWidget;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.buttonchoice > .wrap > button {
|
|
3
|
-
/*border-bottom: solid 1px var(--border-color);*/
|
|
4
|
-
padding: 0 0.2rem;
|
|
5
|
-
line-height: var(--unitsize-small);
|
|
6
|
-
height: var(--unitsize-small);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.buttonchoice.withicon {
|
|
10
|
-
background: var(--window-background);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.buttonchoice.withicon:before {
|
|
14
|
-
width: var(--unitsize);
|
|
15
|
-
display: block;
|
|
16
|
-
text-align: center;
|
|
17
|
-
flex-grow: 0;
|
|
18
|
-
flex-shrink: 0;
|
|
19
|
-
font-family: 'Font Awesome 5 Free';
|
|
20
|
-
align-self: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/*
|
|
24
|
-
.buttonchoice.witharia > div {
|
|
25
|
-
margin-top: 0.25rem;
|
|
26
|
-
}
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
.hud .clrcombo {
|
|
30
|
-
color: var(--text-lo);
|
|
31
|
-
font-size: 1rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.combowidget.novalue button {
|
|
35
|
-
color: var(--text-lo);
|
|
36
|
-
opacity: 0.6;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.hud .innercard .title .combowidget {
|
|
40
|
-
background: transparent;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.buttonchoice.withicon > .bg-inputs button.accent {
|
|
44
|
-
color: var(--text-over-accent) !important;
|
|
45
|
-
background: var(--accent) !important;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.buttonchoice.withicon > .bg-inputs button.accent.alt-accent {
|
|
49
|
-
background: var(--green) !important;
|
|
50
|
-
color: var(--text-over-accent) !important;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.buttonchoice button.alt-accent {
|
|
54
|
-
background: var(--back-error);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* fixes
|
|
58
|
-
.buttonchoice.withicon > .bg-inputs button.accent {
|
|
59
|
-
color: var(--accent) !important;
|
|
60
|
-
background: transparent;
|
|
61
|
-
}
|
|
62
|
-
*/
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
.buttonchoice > div > button {
|
|
2
|
-
border: 0;
|
|
3
|
-
font-size: 1rem;
|
|
4
|
-
min-width: 2rem;
|
|
5
|
-
font-variant: all-small-caps;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.buttonchoice.istoggler > div > button.accent {
|
|
9
|
-
border-bottom-color: var(--accent) !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.buttonchoice.istoggler > div > button {
|
|
13
|
-
border-bottom: solid var(--border-color);
|
|
14
|
-
color: var(--text-lo);
|
|
15
|
-
transition: all 0.25s ease-in-out;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.hud .tgbutton.accent {
|
|
19
|
-
border-bottom-color: var(--accent) !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.hud .tgbutton.accent.important {
|
|
23
|
-
border-bottom-color: red !important;
|
|
24
|
-
color: red !important;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.hud .tgbutton.accent.warning {
|
|
28
|
-
border-bottom-color: orange !important;
|
|
29
|
-
color: orange !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.hud .tgbutton {
|
|
33
|
-
font-size: 1rem;
|
|
34
|
-
border-bottom: solid var(--border-color);
|
|
35
|
-
color: var(--text-lo);
|
|
36
|
-
transition: all 0.25s ease-in-out;
|
|
37
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.choicer > div:before {
|
|
2
|
-
flex-grow: 1;
|
|
3
|
-
font-family: 'Font Awesome 5 Free';
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.confhud .choicer:before, ul.sessionevents:before {
|
|
7
|
-
content: attr(data-title);
|
|
8
|
-
text-align: left;
|
|
9
|
-
font-size: 1em;
|
|
10
|
-
background: rgba(0, 0, 0, 0.1);
|
|
11
|
-
padding: 0;
|
|
12
|
-
margin: 0 0 1rem 0 !important;
|
|
13
|
-
font-variant: all-small-caps;
|
|
14
|
-
font-weight: bold;
|
|
15
|
-
border-bottom: solid;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.choicer:before {
|
|
19
|
-
margin: .25rem 0 .25rem 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.combowidget button {
|
|
23
|
-
font-size: inherit;
|
|
24
|
-
}
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
#rgbValue, #hslaValue {
|
|
2
|
-
float: right;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.cj-container {
|
|
6
|
-
overflow: auto;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
#showPicker {
|
|
10
|
-
float: left;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.colorjoe-popper .colorprobe i {
|
|
14
|
-
position: static !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.colorjoe-wrapper {
|
|
18
|
-
display: flex;
|
|
19
|
-
position: absolute;
|
|
20
|
-
left: 3%;
|
|
21
|
-
z-index: 100002;
|
|
22
|
-
width: 94%;
|
|
23
|
-
box-shadow: 0 0 3px var(--shadow-color);
|
|
24
|
-
background: var(--window-background);
|
|
25
|
-
border-radius: 0.5rem;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.colorPicker {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: space-evenly;
|
|
31
|
-
--colorjoe-size: 200px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.colorjoe-popper .colorPicker {
|
|
35
|
-
--colorjoe-size: 300px;
|
|
36
|
-
}
|
|
37
|
-
/*
|
|
38
|
-
.colorPicker {
|
|
39
|
-
display: flex;
|
|
40
|
-
position: absolute;
|
|
41
|
-
left: 3%;
|
|
42
|
-
z-index: 100002;
|
|
43
|
-
width: 94%;
|
|
44
|
-
justify-content: space-evenly;
|
|
45
|
-
box-shadow: 0 0 3px var(--shadow-color);
|
|
46
|
-
padding: 0.6rem 0;
|
|
47
|
-
background: var(--window-background);
|
|
48
|
-
border-radius: 0.5rem;
|
|
49
|
-
margin: 0.5rem 0;
|
|
50
|
-
}
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
.underlay {
|
|
54
|
-
position: fixed;
|
|
55
|
-
top: 0;
|
|
56
|
-
left: 0;
|
|
57
|
-
height: 100%;
|
|
58
|
-
right: 0;
|
|
59
|
-
background: transparent;
|
|
60
|
-
z-index: 100000;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.colorPicker .extras {
|
|
64
|
-
float: right;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.colorPicker .extras .currentColorContainer {
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.colorPicker .extras .currentColor {
|
|
72
|
-
float: right;
|
|
73
|
-
width: 65px;
|
|
74
|
-
height: 30px;
|
|
75
|
-
border: 1px solid #BBB;
|
|
76
|
-
-moz-border-radius: .3em;
|
|
77
|
-
border-radius: .3em;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.colorPicker .extras .colorFields {
|
|
81
|
-
margin-top: 0.5em;
|
|
82
|
-
margin-bottom: 0.5em;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.colorPicker .extras .color {
|
|
86
|
-
text-align: right;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.colorPicker .extras .colorFields input {
|
|
90
|
-
width: 40px;
|
|
91
|
-
margin-left: 0.5em;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.colorPicker .extras .hex {
|
|
95
|
-
float: right;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.colorPicker .extras .hex input {
|
|
99
|
-
width: 60px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.colorPicker .twod {
|
|
103
|
-
float: left;
|
|
104
|
-
margin: 0.5em;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* main dimensions */
|
|
108
|
-
.colorPicker .twod, .colorPicker .twod .bg {
|
|
109
|
-
width: var(--colorjoe-size);
|
|
110
|
-
height: var(--colorjoe-size);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.colorPicker .oned, .colorPicker .oned .bg {
|
|
114
|
-
height: var(--colorjoe-size);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.colorPicker .oned, .colorPicker .oned .bg, .colorPicker .oned .pointer .shape {
|
|
118
|
-
width: 20px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.colorPicker .twod .bg {
|
|
122
|
-
position: absolute;
|
|
123
|
-
|
|
124
|
-
/* These seem to cause issues in some browsers, careful!
|
|
125
|
-
border: 1px solid #BBB;
|
|
126
|
-
-moz-border-radius: .3em;
|
|
127
|
-
border-radius: .3em;
|
|
128
|
-
*/
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.colorPicker .twod .pointer {
|
|
132
|
-
position: relative;
|
|
133
|
-
z-index: 2;
|
|
134
|
-
width: 8px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.colorPicker .twod .pointer .shape {
|
|
138
|
-
position: absolute;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.colorPicker .twod .pointer .shape1 {
|
|
142
|
-
-webkit-transform: translate(-50%, -50%);
|
|
143
|
-
-ms-transform: translate(-50%, -50%);
|
|
144
|
-
transform: translate(-50%, -50%);
|
|
145
|
-
width: 10px;
|
|
146
|
-
height: 10px;
|
|
147
|
-
border: 2px solid black;
|
|
148
|
-
-moz-border-radius: 5px;
|
|
149
|
-
border-radius: 5px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.colorPicker .twod .pointer .shape2 {
|
|
153
|
-
-webkit-transform: translate(-50%, -50%);
|
|
154
|
-
-ms-transform: translate(-50%, -50%);
|
|
155
|
-
transform: translate(-50%, -50%);
|
|
156
|
-
width: 8px;
|
|
157
|
-
height: 8px;
|
|
158
|
-
border: 2px solid white;
|
|
159
|
-
-moz-border-radius: 4px;
|
|
160
|
-
border-radius: 4px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.colorPicker .oned {
|
|
164
|
-
float: left;
|
|
165
|
-
margin: 0.5em;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.colorPicker .oned .bg {
|
|
169
|
-
border: 1px solid #BBB;
|
|
170
|
-
/*
|
|
171
|
-
-moz-border-radius: .3em;
|
|
172
|
-
border-radius: .3em;
|
|
173
|
-
*/
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.colorPicker .oned .pointer {
|
|
177
|
-
position: relative;
|
|
178
|
-
z-index: 2;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.colorPicker .oned .pointer .shape {
|
|
182
|
-
position: absolute;
|
|
183
|
-
margin-left: -1px;
|
|
184
|
-
margin-top: -4px;
|
|
185
|
-
height: 5px;
|
|
186
|
-
border: 2px solid black;
|
|
187
|
-
-moz-border-radius: 5px;
|
|
188
|
-
border-radius: 5px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/* gradients, tweak as needed based on which browsers you want to support */
|
|
192
|
-
.colorPicker .oned .bg {
|
|
193
|
-
background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 66%, #ff00ff 83%, #ff0000 100%);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.colorPicker .twod .bg1 {
|
|
197
|
-
z-index: 0;
|
|
198
|
-
background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.colorPicker .twod .bg2 {
|
|
202
|
-
z-index: 1;
|
|
203
|
-
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
#hslPicker .twod .bg1 {
|
|
207
|
-
background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 66%, #ff00ff 83%, #ff0000 100%);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
#hslPicker .twod .bg2 {
|
|
211
|
-
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(127, 127, 127, 1) 100%);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
#hslPicker .oned .bg {
|
|
215
|
-
z-index: 1;
|
|
216
|
-
background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
#hslPicker .extras {
|
|
220
|
-
width: 100px;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
#hslPicker .oned.alpha {
|
|
224
|
-
margin: 0;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
#hslPicker .oned.alpha .bg,
|
|
228
|
-
.colorPicker .oned.alpha .bg {
|
|
229
|
-
background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* W3C */
|
|
230
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
.hud .colorjoe-wrapper {
|
|
2
|
-
display: flex;
|
|
3
|
-
position: absolute;
|
|
4
|
-
left: 0.25rem;
|
|
5
|
-
right: 0.25rem;
|
|
6
|
-
z-index: 100002;
|
|
7
|
-
width: auto;
|
|
8
|
-
justify-content: space-evenly;
|
|
9
|
-
box-shadow: none;
|
|
10
|
-
padding: 0.6rem 0;
|
|
11
|
-
background: var(--window-background);
|
|
12
|
-
border-radius: 0.25rem;
|
|
13
|
-
margin: 0.5rem 0;
|
|
14
|
-
border: solid 1px var(--border-color);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.hud .colorjoe-cell {
|
|
18
|
-
border-radius: 0.25rem;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
border: solid 1px var(--border-color);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
.hud .gradient .colorjoe-cell > .inset {
|
|
25
|
-
min-width: unset;
|
|
26
|
-
position: relative;
|
|
27
|
-
height: -webkit-fill-available;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
.hud .colorjoe-cell > .inset.titled:before {
|
|
32
|
-
color: #fff;
|
|
33
|
-
content: attr(data-caption);
|
|
34
|
-
display: inline-block;
|
|
35
|
-
font-size: 0.75rem;
|
|
36
|
-
font-variant: all-small-caps;
|
|
37
|
-
text-align: center;
|
|
38
|
-
text-shadow: 0 0 4px #000;
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.hud .colorjoe-cell.withalt > .inset:after {
|
|
43
|
-
content: "";
|
|
44
|
-
background: var(--accent);
|
|
45
|
-
height: 4px;
|
|
46
|
-
width: var(--data-altval);
|
|
47
|
-
position: absolute;
|
|
48
|
-
left: 0;
|
|
49
|
-
bottom: 2px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.hud .colorjoe-cell > .inset {
|
|
53
|
-
min-width: 2.54rem;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
height: -webkit-fill-available;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.hud .gradient {
|
|
59
|
-
border-radius: 0.25rem;
|
|
60
|
-
border: solid 1px var(--border-color);
|
|
61
|
-
height: auto;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.hud .gradient button {
|
|
65
|
-
border-top-right-radius: 0.25rem;
|
|
66
|
-
border-bottom-right-radius: 0.25rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.hud .gradient button.leftmost {
|
|
70
|
-
border-radius: 0.25rem 0 0 0.25rem;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.hud .gradient > .colorjoe-cell + .colorjoe-cell {
|
|
74
|
-
border-radius: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.hud .gradient .colorjoe-cell {
|
|
78
|
-
border-radius: 0;
|
|
79
|
-
border: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.hud .underlay {
|
|
83
|
-
position: fixed;
|
|
84
|
-
top: 0;
|
|
85
|
-
left: 0;
|
|
86
|
-
height: 100%;
|
|
87
|
-
right: 0;
|
|
88
|
-
background: transparent;
|
|
89
|
-
z-index: 100;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.hud .colorjoe-cell.chequered.open {
|
|
94
|
-
margin-bottom: 360px;
|
|
95
|
-
min-width: 300px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.hud .innercard .colorjoe-cell.chequered.open {
|
|
99
|
-
min-width: 260px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
.ptype_color {
|
|
104
|
-
position: relative;
|
|
105
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.ptype_combo .combovalue span {
|
|
2
|
-
font-size: 1rem;
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
text-overflow: ellipsis;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.combovalue, .combowidget {
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
font-variant: all-small-caps;;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.combowidget .icon {
|
|
14
|
-
width: var(--unitsize);
|
|
15
|
-
flex-shrink: 0;
|
|
16
|
-
padding: 0 !important;
|
|
17
|
-
margin: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.combowidget button {
|
|
21
|
-
font-size: inherit;
|
|
22
|
-
padding: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.combovalue, .combowidget {
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
font-variant: all-small-caps;
|
|
29
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.textfield {
|
|
2
|
-
position: relative;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.textfield input {
|
|
6
|
-
height: 2rem;
|
|
7
|
-
bordeR: solid 1px var(--border-color);
|
|
8
|
-
background: var(--inputs);
|
|
9
|
-
padding: 0 0.2rem;
|
|
10
|
-
color: var(--text);
|
|
11
|
-
outline: none !Important;
|
|
12
|
-
border-radius: 0.25rem;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.textfield input.withicon {
|
|
16
|
-
padding-right: 3.5rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.textfield input.withicon-2 {
|
|
20
|
-
padding-right: 3rem;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.input-static.withdrag {
|
|
24
|
-
cursor: ns-resize;
|
|
25
|
-
border: solid 1px var(--border-color);
|
|
26
|
-
padding: 0.25rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/* selector */
|
|
31
|
-
.selector.withbodytitle>.bodytitle {
|
|
32
|
-
border-bottom: solid var(--accent);
|
|
33
|
-
line-height: var(--unitsize);
|
|
34
|
-
text-align: center;
|
|
35
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/* Styles for mithril-range */
|
|
2
|
-
|
|
3
|
-
/* Container hit area */
|
|
4
|
-
.mithril-range {
|
|
5
|
-
position: relative;
|
|
6
|
-
width: 100%;
|
|
7
|
-
padding: 0.7rem 0.5rem;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
user-select: none;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
outline: none !important;
|
|
12
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.mithril-range:focus .mithril-range-handle {
|
|
17
|
-
background: var(--accent-alt) !important;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* Bar in the middle of hit area */
|
|
21
|
-
|
|
22
|
-
.mithril-range-bar {
|
|
23
|
-
position: relative;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 1.2rem;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.mithril-range-bar-0, .mithril-range-bar-1 {
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
height: .5rem;
|
|
32
|
-
position: absolute;
|
|
33
|
-
top: .3rem
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.mithril-range-bar-1 {
|
|
37
|
-
left: 0;
|
|
38
|
-
width: 100%;
|
|
39
|
-
background-color: var(--accent);
|
|
40
|
-
border-top-left-radius: 1rem;
|
|
41
|
-
border-bottom-left-radius: 1rem;
|
|
42
|
-
z-index: 13;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.mithril-range-bar-0 {
|
|
46
|
-
right: 0;
|
|
47
|
-
width: 0;
|
|
48
|
-
border-top-right-radius: 1rem;
|
|
49
|
-
border-bottom-right-radius: 1rem;
|
|
50
|
-
background: var(--mithril-range-scale);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* Handle centered on bar */
|
|
54
|
-
.mithril-range-handle {
|
|
55
|
-
position: absolute;
|
|
56
|
-
left: 0;
|
|
57
|
-
top: 0.1rem;
|
|
58
|
-
display: inline-block;
|
|
59
|
-
background-color: #FFF;
|
|
60
|
-
width: 2px;
|
|
61
|
-
height: 0.8rem;
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
border-top: 0;
|
|
64
|
-
border-bottom: 0;
|
|
65
|
-
box-shadow: 0 0 4px var(--shadow-color);
|
|
66
|
-
margin-top: 0.05rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/* End styles for mithril-range */
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.hud .progstrip {
|
|
2
|
-
border-radius: 0.25rem;
|
|
3
|
-
background: var(--window-background-lo);
|
|
4
|
-
cursor: crosshair;
|
|
5
|
-
border: solid 1px var(--border-color);
|
|
6
|
-
margin-top: 0.5rem;
|
|
7
|
-
margin-bottom: 0;
|
|
8
|
-
height: 1.25rem;
|
|
9
|
-
line-height: 1.25rem;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.videocollapsed.ispaused .progstrip > .inner {
|
|
14
|
-
background: yellow;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.hud .progstrip .cuein,
|
|
18
|
-
.hud .progstrip .cueout {
|
|
19
|
-
width: 2px;
|
|
20
|
-
background: red;
|
|
21
|
-
}
|
|
22
|
-
.hud .progstrip:after {
|
|
23
|
-
content: attr(data-time) " / " attr(data-total);
|
|
24
|
-
position: absolute;
|
|
25
|
-
color: white;
|
|
26
|
-
width: 100%;
|
|
27
|
-
font-weight: bold;
|
|
28
|
-
font-size: 0.75rem;
|
|
29
|
-
mix-blend-mode: difference;
|
|
30
|
-
text-align: center;
|
|
31
|
-
}
|