smart-webcomponents-react 19.0.0 → 19.0.5
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/chart/ganttchart.d.ts +1 -1
- package/ganttchart/ganttchart.d.ts +1 -1
- package/ganttchart/ganttchart.esm.js +3 -3
- package/ganttchart/ganttchart.umd.js +3 -3
- package/index.d.ts +1 -2
- package/package.json +1 -1
- package/source/modules/smart.3dchart.js +1 -1
- package/source/modules/smart.accordion.js +1 -1
- package/source/modules/smart.array.js +1 -1
- package/source/modules/smart.barcode.js +1 -1
- package/source/modules/smart.breadcrumb.js +1 -1
- package/source/modules/smart.button.js +1 -1
- package/source/modules/smart.buttongroup.js +1 -1
- package/source/modules/smart.calendar.js +1 -1
- package/source/modules/smart.card.js +1 -1
- package/source/modules/smart.cardview.js +3 -3
- package/source/modules/smart.carousel.js +1 -1
- package/source/modules/smart.chart.js +2 -2
- package/source/modules/smart.checkbox.js +1 -1
- package/source/modules/smart.checkinput.js +1 -1
- package/source/modules/smart.chip.js +1 -1
- package/source/modules/smart.colorinput.js +1 -1
- package/source/modules/smart.colorpanel.js +1 -1
- package/source/modules/smart.colorpicker.js +1 -1
- package/source/modules/smart.combobox.js +1 -1
- package/source/modules/smart.common.js +2 -2
- package/source/modules/smart.countryinput.js +1 -1
- package/source/modules/smart.dateinput.js +1 -1
- package/source/modules/smart.daterangeinput.js +1 -1
- package/source/modules/smart.datetimepicker.js +1 -1
- package/source/modules/smart.dockinglayout.js +1 -1
- package/source/modules/smart.dropdownbutton.js +1 -1
- package/source/modules/smart.dropdownlist.js +1 -1
- package/source/modules/smart.editor.js +2 -2
- package/source/modules/smart.element.js +1 -1
- package/source/modules/smart.fileupload.js +1 -1
- package/source/modules/smart.form.js +1 -1
- package/source/modules/smart.formulaparser.js +1 -1
- package/source/modules/smart.ganttchart.js +4 -4
- package/source/modules/smart.gauge.js +1 -1
- package/source/modules/smart.grid.js +8 -8
- package/source/modules/smart.gridpanel.js +3 -3
- package/source/modules/smart.input.js +1 -1
- package/source/modules/smart.kanban.js +3 -3
- package/source/modules/smart.layout.js +1 -1
- package/source/modules/smart.led.js +1 -1
- package/source/modules/smart.listbox.js +1 -1
- package/source/modules/smart.listmenu.js +1 -1
- package/source/modules/smart.map.js +1 -1
- package/source/modules/smart.maskedtextbox.js +1 -1
- package/source/modules/smart.menu.js +1 -1
- package/source/modules/smart.multicomboinput.js +1 -1
- package/source/modules/smart.multiinput.js +1 -1
- package/source/modules/smart.multilinetextbox.js +1 -1
- package/source/modules/smart.multisplitbutton.js +1 -1
- package/source/modules/smart.numberinput.js +1 -1
- package/source/modules/smart.numerictextbox.js +1 -1
- package/source/modules/smart.pager.js +1 -1
- package/source/modules/smart.passwordinput.js +1 -1
- package/source/modules/smart.passwordtextbox.js +1 -1
- package/source/modules/smart.path.js +1 -1
- package/source/modules/smart.phoneinput.js +1 -1
- package/source/modules/smart.pivottable.js +3 -3
- package/source/modules/smart.progressbar.js +1 -1
- package/source/modules/smart.qrcode.js +1 -1
- package/source/modules/smart.querybuilder.js +1 -1
- package/source/modules/smart.radiobutton.js +1 -1
- package/source/modules/smart.rating.js +1 -1
- package/source/modules/smart.ribbon.js +1 -1
- package/source/modules/smart.router.js +2 -2
- package/source/modules/smart.scheduler.js +2 -2
- package/source/modules/smart.scrollbar.js +1 -1
- package/source/modules/smart.slider.js +1 -1
- package/source/modules/smart.sortable.js +1 -1
- package/source/modules/smart.splitter.js +1 -1
- package/source/modules/smart.switchbutton.js +1 -1
- package/source/modules/smart.table.js +3 -3
- package/source/modules/smart.tabs.js +1 -1
- package/source/modules/smart.tank.js +1 -1
- package/source/modules/smart.textarea.js +1 -1
- package/source/modules/smart.textbox.js +1 -1
- package/source/modules/smart.timeinput.js +1 -1
- package/source/modules/smart.timepicker.js +1 -1
- package/source/modules/smart.toast.js +1 -1
- package/source/modules/smart.tooltip.js +1 -1
- package/source/modules/smart.tree.js +1 -1
- package/source/modules/smart.validator.js +1 -1
- package/source/modules/smart.window.js +1 -1
- package/source/smart.3dchart.js +1 -1
- package/source/smart.accordion.js +1 -1
- package/source/smart.ajax.js +1 -1
- package/source/smart.array.js +1 -1
- package/source/smart.barcode.js +1 -1
- package/source/smart.bootstrap.js +1 -1
- package/source/smart.breadcrumb.js +1 -1
- package/source/smart.button.js +1 -1
- package/source/smart.buttongroup.js +1 -1
- package/source/smart.calendar.js +1 -1
- package/source/smart.card.js +1 -1
- package/source/smart.cardview.js +1 -1
- package/source/smart.carousel.js +1 -1
- package/source/smart.chart.annotations.js +1 -1
- package/source/smart.chart.api.js +1 -1
- package/source/smart.chart.core.js +1 -1
- package/source/smart.chart.js +1 -1
- package/source/smart.chart.rangeselector.js +1 -1
- package/source/smart.chart.waterfall.js +1 -1
- package/source/smart.checkbox.js +1 -1
- package/source/smart.checkinput.js +1 -1
- package/source/smart.chip.js +1 -1
- package/source/smart.colorinput.js +1 -1
- package/source/smart.colorpanel.js +1 -1
- package/source/smart.colorpicker.js +1 -1
- package/source/smart.combobox.js +1 -1
- package/source/smart.complex.js +1 -1
- package/source/smart.core.js +1 -1
- package/source/smart.countryinput.js +1 -1
- package/source/smart.data.js +2 -2
- package/source/smart.date.js +1 -1
- package/source/smart.dateformatpanel.js +1 -1
- package/source/smart.dateinput.js +1 -1
- package/source/smart.daterangeinput.js +1 -1
- package/source/smart.datetimepicker.js +1 -1
- package/source/smart.dockinglayout.js +1 -1
- package/source/smart.draw.js +1 -1
- package/source/smart.dropdownbutton.js +1 -1
- package/source/smart.dropdownlist.js +1 -1
- package/source/smart.editor.js +2 -2
- package/source/smart.element.js +1 -1
- package/source/smart.elements.js +10 -10
- package/source/smart.export.js +1 -1
- package/source/smart.fileupload.js +1 -1
- package/source/smart.filter.js +1 -1
- package/source/smart.filterbuilder.js +1 -1
- package/source/smart.filterpanel.js +1 -1
- package/source/smart.form.js +1 -1
- package/source/smart.format.js +1 -1
- package/source/smart.formulaparser.js +1 -1
- package/source/smart.ganttchart.js +2 -2
- package/source/smart.gauge.js +1 -1
- package/source/smart.grid.cell.js +1 -1
- package/source/smart.grid.chart.js +1 -1
- package/source/smart.grid.column.js +1 -1
- package/source/smart.grid.core.js +2 -2
- package/source/smart.grid.dialog.js +2 -2
- package/source/smart.grid.edit.js +2 -2
- package/source/smart.grid.export.js +1 -1
- package/source/smart.grid.filter.js +1 -1
- package/source/smart.grid.group.js +1 -1
- package/source/smart.grid.js +1 -1
- package/source/smart.grid.menu.js +1 -1
- package/source/smart.grid.pager.js +1 -1
- package/source/smart.grid.reorder.js +1 -1
- package/source/smart.grid.resize.js +1 -1
- package/source/smart.grid.row.js +2 -2
- package/source/smart.grid.select.js +1 -1
- package/source/smart.grid.sort.js +2 -2
- package/source/smart.grid.toolbar.js +1 -1
- package/source/smart.grid.tree.js +1 -1
- package/source/smart.grid.view.js +1 -1
- package/source/smart.gridpanel.js +2 -2
- package/source/smart.input.js +1 -1
- package/source/smart.kanban.js +1 -1
- package/source/smart.layout.js +1 -1
- package/source/smart.led.js +1 -1
- package/source/smart.listbox.js +1 -1
- package/source/smart.listmenu.js +1 -1
- package/source/smart.map.js +1 -1
- package/source/smart.maskedtextbox.js +1 -1
- package/source/smart.math.js +1 -1
- package/source/smart.menu.js +1 -1
- package/source/smart.multicomboinput.js +1 -1
- package/source/smart.multiinput.js +1 -1
- package/source/smart.multilinetextbox.js +1 -1
- package/source/smart.multisplitbutton.js +1 -1
- package/source/smart.numberformatpanel.js +1 -1
- package/source/smart.numberinput.js +1 -1
- package/source/smart.numeric.js +1 -1
- package/source/smart.numerictextbox.js +1 -1
- package/source/smart.pager.js +1 -1
- package/source/smart.passwordinput.js +1 -1
- package/source/smart.passwordtextbox.js +1 -1
- package/source/smart.path.js +1 -1
- package/source/smart.phoneinput.js +1 -1
- package/source/smart.pivottable.js +1 -1
- package/source/smart.powerbutton.js +1 -1
- package/source/smart.progressbar.js +1 -1
- package/source/smart.qrcode.js +1 -1
- package/source/smart.radiobutton.js +1 -1
- package/source/smart.rating.js +1 -1
- package/source/smart.ribbon.js +1 -1
- package/source/smart.router.js +1 -1
- package/source/smart.scheduler.js +1 -1
- package/source/smart.scrollbar.js +1 -1
- package/source/smart.slider.js +1 -1
- package/source/smart.sortable.js +1 -1
- package/source/smart.sparkline.js +1 -1
- package/source/smart.splitter.js +1 -1
- package/source/smart.switchbutton.js +1 -1
- package/source/smart.table.js +1 -1
- package/source/smart.tabs.js +1 -1
- package/source/smart.tank.js +1 -1
- package/source/smart.textarea.js +1 -1
- package/source/smart.textbox.js +1 -1
- package/source/smart.tickintervalhandler.js +1 -1
- package/source/smart.timeinput.js +1 -1
- package/source/smart.timepicker.js +1 -1
- package/source/smart.toast.js +1 -1
- package/source/smart.tooltip.js +1 -1
- package/source/smart.tree.js +1 -1
- package/source/smart.validationpanel.js +1 -1
- package/source/smart.validator.js +1 -1
- package/source/smart.window.js +1 -1
- package/source/styles/bootstrap/smart.bootstrap.blue.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.cyan.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.green.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.indigo.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.orange.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.pink.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.purple.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.red.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.teal.css +3369 -3372
- package/source/styles/bootstrap/smart.bootstrap.turquoise.css +3369 -3372
- package/source/styles/components/smart.array.css +1 -1
- package/source/styles/components/smart.calendar.css +2 -2
- package/source/styles/components/smart.cardview.css +2 -2
- package/source/styles/components/smart.checkinput.css +1 -1
- package/source/styles/components/smart.colorinput.css +1 -1
- package/source/styles/components/smart.columnpanel.css +1 -1
- package/source/styles/components/smart.countryinput.css +1 -1
- package/source/styles/components/smart.dateinput.css +2 -2
- package/source/styles/components/smart.daterangeinput.css +2 -2
- package/source/styles/components/smart.datetimeformatpanel.css +1 -1
- package/source/styles/components/smart.datetimepicker.css +1 -1
- package/source/styles/components/smart.editor.css +2 -2
- package/source/styles/components/smart.filterbuilder.css +2 -2
- package/source/styles/components/smart.filterpanel.css +1 -1
- package/source/styles/components/smart.ganttchart.css +2 -2
- package/source/styles/components/smart.grid.css +3 -3
- package/source/styles/components/smart.gridpanel.css +1 -1
- package/source/styles/components/smart.input.css +1 -1
- package/source/styles/components/smart.kanban.css +2 -2
- package/source/styles/components/smart.maskedtextbox.css +1 -1
- package/source/styles/components/smart.multicolumnfilterpanel.css +2 -2
- package/source/styles/components/smart.multicomboinput.css +1 -1
- package/source/styles/components/smart.multiinput.css +1 -1
- package/source/styles/components/smart.multilinetextbox.css +1 -1
- package/source/styles/components/smart.numberformatpanel.css +1 -1
- package/source/styles/components/smart.numberinput.css +1 -1
- package/source/styles/components/smart.pager.css +1 -1
- package/source/styles/components/smart.passwordinput.css +1 -1
- package/source/styles/components/smart.passwordtextbox.css +1 -1
- package/source/styles/components/smart.phoneinput.css +1 -1
- package/source/styles/components/smart.pivottable.css +1 -1
- package/source/styles/components/smart.querybuilder.css +3 -3
- package/source/styles/components/smart.ribbon.css +1 -1
- package/source/styles/components/smart.scheduler.css +2 -2
- package/source/styles/components/smart.sortpanel.css +1 -1
- package/source/styles/components/smart.table.css +1 -1
- package/source/styles/components/smart.textarea.css +1 -1
- package/source/styles/components/smart.textbox.css +1 -1
- package/source/styles/components/smart.timeinput.css +1 -1
- package/source/styles/components/smart.validationpanel.css +1 -1
- package/source/styles/components/smart.window.css +1 -1
- package/source/styles/default/scss/textbox/_multi-combo-input.scss +5 -0
- package/source/styles/default/smart.accordion.css +309 -309
- package/source/styles/default/smart.array.css +77 -77
- package/source/styles/default/smart.badge.css +50 -50
- package/source/styles/default/smart.barcode.css +3 -3
- package/source/styles/default/smart.breadcrumb.css +324 -324
- package/source/styles/default/smart.button.css +515 -515
- package/source/styles/default/smart.calendar.css +742 -742
- package/source/styles/default/smart.card.css +53 -53
- package/source/styles/default/smart.chart.css +119 -119
- package/source/styles/default/smart.checkbox.css +148 -148
- package/source/styles/default/smart.chip.css +101 -101
- package/source/styles/default/smart.colorpanel.css +617 -617
- package/source/styles/default/smart.colorpicker.css +132 -132
- package/source/styles/default/smart.currencyformatpanel.css +71 -71
- package/source/styles/default/smart.dateformatpanel.css +105 -105
- package/source/styles/default/smart.datetimepicker.css +611 -611
- package/source/styles/default/smart.dockinglayout.css +748 -748
- package/source/styles/default/smart.dropdownbutton.css +257 -257
- package/source/styles/default/smart.editor.css +1528 -1527
- package/source/styles/default/smart.editors.css +150 -150
- package/source/styles/default/smart.fileupload.css +498 -498
- package/source/styles/default/smart.ganttchart.css +1594 -1594
- package/source/styles/default/smart.gauge.css +145 -145
- package/source/styles/default/smart.inputgroup.css +483 -483
- package/source/styles/default/smart.layout.css +465 -465
- package/source/styles/default/smart.layouts.css +483 -483
- package/source/styles/default/smart.led.css +144 -144
- package/source/styles/default/smart.link-button.css +321 -321
- package/source/styles/default/smart.listbox.css +564 -564
- package/source/styles/default/smart.listmenu.css +661 -661
- package/source/styles/default/smart.loader.css +203 -203
- package/source/styles/default/smart.maskedtextbox.css +27 -27
- package/source/styles/default/smart.multilinetextbox.css +190 -190
- package/source/styles/default/smart.multisplitbutton.css +225 -225
- package/source/styles/default/smart.numberformatpanel.css +72 -72
- package/source/styles/default/smart.numerictextbox.css +522 -522
- package/source/styles/default/smart.pager.css +253 -253
- package/source/styles/default/smart.passwordtextbox.css +129 -129
- package/source/styles/default/smart.path.css +581 -581
- package/source/styles/default/smart.pivottable.css +800 -800
- package/source/styles/default/smart.powerbutton.css +100 -100
- package/source/styles/default/smart.progressbar.css +501 -501
- package/source/styles/default/smart.qrcode.css +3 -3
- package/source/styles/default/smart.querybuilder.css +624 -623
- package/source/styles/default/smart.radiobutton.css +137 -137
- package/source/styles/default/smart.rating.css +17 -17
- package/source/styles/default/smart.scheduler.css +2789 -2789
- package/source/styles/default/smart.scrollbar.css +118 -118
- package/source/styles/default/smart.scrollviewer.css +109 -109
- package/source/styles/default/smart.slider.css +464 -464
- package/source/styles/default/smart.sortable.css +114 -114
- package/source/styles/default/smart.splitter.css +395 -395
- package/source/styles/default/smart.switchbutton.css +293 -293
- package/source/styles/default/smart.table.css +2025 -2025
- package/source/styles/default/smart.tabs.css +923 -923
- package/source/styles/default/smart.tank.css +661 -661
- package/source/styles/default/smart.textbox.css +3431 -3427
- package/source/styles/default/smart.timepicker.css +150 -150
- package/source/styles/default/smart.toast.css +252 -252
- package/source/styles/default/smart.toggle.css +175 -175
- package/source/styles/default/smart.tooltip.css +124 -124
- package/source/styles/default/smart.tree.css +783 -783
- package/source/styles/default/smart.validationpanel.css +116 -116
- package/source/styles/default/smart.window.css +829 -829
- package/source/styles/smart.default.css +4 -4
- package/source/styles/smart.fluent.css +3313 -3313
- package/source/typescript/smart.elements.d.ts +1 -2
- package/source/typescript/smart.ganttchart.d.ts +1 -2
|
@@ -1,662 +1,662 @@
|
|
|
1
|
-
/* .smart-tank */
|
|
2
|
-
smart-tank {
|
|
3
|
-
padding-left: 5px;
|
|
4
|
-
padding-right: 5px;
|
|
5
|
-
width: var(--smart-tank-default-width);
|
|
6
|
-
height: var(--smart-tank-default-height);
|
|
7
|
-
}
|
|
8
|
-
smart-tank.smart-element {
|
|
9
|
-
overflow: visible;
|
|
10
|
-
border: none;
|
|
11
|
-
background: none;
|
|
12
|
-
}
|
|
13
|
-
smart-tank.smart-scale-far .smart-tick {
|
|
14
|
-
top: initial;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
smart-slider * {
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
}
|
|
20
|
-
smart-slider:focus {
|
|
21
|
-
outline: none;
|
|
22
|
-
}
|
|
23
|
-
smart-slider.smart-element {
|
|
24
|
-
overflow: visible;
|
|
25
|
-
border: none;
|
|
26
|
-
background: none;
|
|
27
|
-
}
|
|
28
|
-
smart-slider .smart-container {
|
|
29
|
-
overflow: visible;
|
|
30
|
-
}
|
|
31
|
-
smart-slider .smart-scale {
|
|
32
|
-
position: relative;
|
|
33
|
-
user-select: none;
|
|
34
|
-
pointer-events: none;
|
|
35
|
-
}
|
|
36
|
-
smart-slider .smart-label {
|
|
37
|
-
position: absolute;
|
|
38
|
-
float: left;
|
|
39
|
-
white-space: nowrap;
|
|
40
|
-
font-family: inherit;
|
|
41
|
-
font-size: inherit;
|
|
42
|
-
color: var(--smart-background-color);
|
|
43
|
-
}
|
|
44
|
-
smart-slider .smart-tooltip {
|
|
45
|
-
z-index: 1;
|
|
46
|
-
}
|
|
47
|
-
smart-slider .smart-tooltip-content {
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
white-space: nowrap;
|
|
50
|
-
text-overflow: ellipsis;
|
|
51
|
-
}
|
|
52
|
-
smart-slider .smart-track-container {
|
|
53
|
-
touch-action: none;
|
|
54
|
-
}
|
|
55
|
-
smart-slider .smart-track-ticks-container {
|
|
56
|
-
position: absolute;
|
|
57
|
-
width: 100%;
|
|
58
|
-
height: 100%;
|
|
59
|
-
pointer-events: none;
|
|
60
|
-
}
|
|
61
|
-
smart-slider[ticks-visibility=major] .smart-tick-minor,
|
|
62
|
-
smart-slider[ticks-visibility=major] .smart-tick, smart-slider[ticks-visibility=none] .smart-tick-minor,
|
|
63
|
-
smart-slider[ticks-visibility=none] .smart-tick {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
smart-slider[labels-visibility=endPoints] .smart-label-middle {
|
|
67
|
-
visibility: hidden;
|
|
68
|
-
}
|
|
69
|
-
smart-slider[labels-visibility=none] .smart-label {
|
|
70
|
-
visibility: hidden;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.smart-tank * {
|
|
74
|
-
box-sizing: border-box;
|
|
75
|
-
}
|
|
76
|
-
.smart-tank .smart-container {
|
|
77
|
-
overflow: visible;
|
|
78
|
-
}
|
|
79
|
-
.smart-tank .smart-track {
|
|
80
|
-
height: 100%;
|
|
81
|
-
width: calc(100% - var(--smart-tank-scale-size) - 4px);
|
|
82
|
-
min-width: var(--smart-tank-minimum-track-size);
|
|
83
|
-
position: relative;
|
|
84
|
-
border: solid var(--smart-border);
|
|
85
|
-
border-width: var(--smart-border-width);
|
|
86
|
-
background-color: var(--smart-background);
|
|
87
|
-
float: left;
|
|
88
|
-
margin-top: 0;
|
|
89
|
-
margin-bottom: 0;
|
|
90
|
-
margin-left: 2px;
|
|
91
|
-
margin-right: 2px;
|
|
92
|
-
border-top-left-radius: var(--smart-border-top-left-radius);
|
|
93
|
-
border-bottom-left-radius: var(--smart-border-bottom-left-radius);
|
|
94
|
-
border-top-right-radius: var(--smart-border-top-right-radius);
|
|
95
|
-
border-bottom-right-radius: var(--smart-border-bottom-right-radius);
|
|
96
|
-
touch-action: none;
|
|
97
|
-
}
|
|
98
|
-
.smart-tank .smart-track.track-hovered {
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
}
|
|
101
|
-
.smart-tank .smart-track-ticks-container {
|
|
102
|
-
position: absolute;
|
|
103
|
-
width: 100%;
|
|
104
|
-
height: 100%;
|
|
105
|
-
pointer-events: none;
|
|
106
|
-
}
|
|
107
|
-
.smart-tank .smart-value {
|
|
108
|
-
width: 100%;
|
|
109
|
-
height: 0;
|
|
110
|
-
background-color: var(--smart-primary);
|
|
111
|
-
border-color: var(--smart-primary);
|
|
112
|
-
position: absolute;
|
|
113
|
-
}
|
|
114
|
-
.smart-tank .smart-label {
|
|
115
|
-
position: absolute;
|
|
116
|
-
float: left;
|
|
117
|
-
white-space: nowrap;
|
|
118
|
-
font-family: inherit;
|
|
119
|
-
font-size: inherit;
|
|
120
|
-
color: var(--smart-background-color);
|
|
121
|
-
}
|
|
122
|
-
.smart-tank .smart-thumb {
|
|
123
|
-
display: none;
|
|
124
|
-
position: absolute;
|
|
125
|
-
width: var(--smart-tank-thumb-width);
|
|
126
|
-
height: var(--smart-tank-thumb-height);
|
|
127
|
-
transform: scale(0);
|
|
128
|
-
transition: transform 0.2s ease-out;
|
|
129
|
-
left: calc(-1 * var(--smart-tank-thumb-width) * 2);
|
|
130
|
-
top: calc(-1 * var(--smart-tank-thumb-height) / 2);
|
|
131
|
-
border-radius: 50%;
|
|
132
|
-
background-color: var(--smart-primary);
|
|
133
|
-
}
|
|
134
|
-
.smart-tank .smart-thumb:before {
|
|
135
|
-
transform: scale(1.1) rotate(45deg);
|
|
136
|
-
border: 1px solid var(--smart-primary);
|
|
137
|
-
border-radius: 50% 0 50% 50%;
|
|
138
|
-
background-color: var(--smart-primary);
|
|
139
|
-
width: 100%;
|
|
140
|
-
height: 100%;
|
|
141
|
-
display: block;
|
|
142
|
-
content: "";
|
|
143
|
-
}
|
|
144
|
-
.smart-tank .smart-thumb-label-container {
|
|
145
|
-
overflow: hidden;
|
|
146
|
-
text-overflow: ellipsis;
|
|
147
|
-
width: var(--smart-tank-thumb-width);
|
|
148
|
-
height: var(--smart-tank-thumb-height);
|
|
149
|
-
position: absolute;
|
|
150
|
-
top: 0;
|
|
151
|
-
left: 0;
|
|
152
|
-
}
|
|
153
|
-
.smart-tank .smart-scale {
|
|
154
|
-
position: relative;
|
|
155
|
-
user-select: none;
|
|
156
|
-
pointer-events: none;
|
|
157
|
-
float: left;
|
|
158
|
-
margin-top: var(--smart-border-width);
|
|
159
|
-
margin-left: initial;
|
|
160
|
-
height: calc(100% - var(--smart-border-width));
|
|
161
|
-
width: var(--smart-tank-scale-size);
|
|
162
|
-
max-width: calc(100% - var(--smart-tank-minimum-track-size) - 4px);
|
|
163
|
-
/* 4px is the margin left/right of the track */
|
|
164
|
-
}
|
|
165
|
-
.smart-tank .smart-scale-near .smart-tick {
|
|
166
|
-
bottom: initial;
|
|
167
|
-
right: 0;
|
|
168
|
-
}
|
|
169
|
-
.smart-tank .smart-scale-near .smart-label {
|
|
170
|
-
bottom: initial;
|
|
171
|
-
right: calc(var(--smart-tank-tick-size) + 2px);
|
|
172
|
-
}
|
|
173
|
-
.smart-tank .smart-scale-far .smart-label {
|
|
174
|
-
left: calc(var(--smart-tank-tick-size) + 2px);
|
|
175
|
-
top: initial;
|
|
176
|
-
}
|
|
177
|
-
.smart-tank .smart-tooltip {
|
|
178
|
-
position: absolute;
|
|
179
|
-
display: flex;
|
|
180
|
-
align-items: center;
|
|
181
|
-
justify-content: center;
|
|
182
|
-
border: 1px solid var(--smart-border);
|
|
183
|
-
width: var(--smart-tank-tooltip-width);
|
|
184
|
-
height: var(--smart-tank-tooltip-height);
|
|
185
|
-
padding: 5px;
|
|
186
|
-
background-color: var(--smart-background);
|
|
187
|
-
color: var(--smart-background-color);
|
|
188
|
-
opacity: 0.7;
|
|
189
|
-
left: calc(-1 * var(--smart-tank-tooltip-width) - 10.5px);
|
|
190
|
-
top: calc(-1 * var(--smart-tank-tooltip-height) / 2);
|
|
191
|
-
z-index: 1;
|
|
192
|
-
}
|
|
193
|
-
.smart-tank .smart-tooltip:before {
|
|
194
|
-
content: "";
|
|
195
|
-
width: 0;
|
|
196
|
-
height: 0;
|
|
197
|
-
border-right: none;
|
|
198
|
-
border-left: 6px solid var(--smart-border);
|
|
199
|
-
border-top: 6px solid transparent;
|
|
200
|
-
border-bottom: 6px solid transparent;
|
|
201
|
-
position: absolute;
|
|
202
|
-
top: calc(50% - 6px);
|
|
203
|
-
right: -7px;
|
|
204
|
-
left: auto;
|
|
205
|
-
}
|
|
206
|
-
.smart-tank .smart-tooltip.smart-hidden {
|
|
207
|
-
display: none;
|
|
208
|
-
}
|
|
209
|
-
.smart-tank .smart-tooltip-content {
|
|
210
|
-
overflow: hidden;
|
|
211
|
-
white-space: nowrap;
|
|
212
|
-
text-overflow: ellipsis;
|
|
213
|
-
}
|
|
214
|
-
.smart-tank .smart-tick {
|
|
215
|
-
position: absolute;
|
|
216
|
-
background-color: var(--smart-background-color);
|
|
217
|
-
float: initial;
|
|
218
|
-
width: var(--smart-tank-tick-size);
|
|
219
|
-
height: 1px;
|
|
220
|
-
}
|
|
221
|
-
.smart-tank .smart-tick-minor {
|
|
222
|
-
width: var(--smart-tank-minor-tick-size);
|
|
223
|
-
height: 1px;
|
|
224
|
-
}
|
|
225
|
-
.smart-tank:focus {
|
|
226
|
-
outline: none;
|
|
227
|
-
}
|
|
228
|
-
.smart-tank:focus .smart-track {
|
|
229
|
-
border-style: solid;
|
|
230
|
-
border-color: var(--smart-outline);
|
|
231
|
-
border-width: var(--smart-border-width);
|
|
232
|
-
}
|
|
233
|
-
.smart-tank:active .smart-track {
|
|
234
|
-
cursor: n-resize;
|
|
235
|
-
}
|
|
236
|
-
.smart-tank:not([animation=none]) .smart-value {
|
|
237
|
-
transition: height 0.15s ease-out, margin-top 0.15s ease-out;
|
|
238
|
-
}
|
|
239
|
-
.smart-tank:not([animation=none]) .smart-value.disable-animation {
|
|
240
|
-
transition: none;
|
|
241
|
-
}
|
|
242
|
-
.smart-tank:not([animation=none]) .smart-bubble-container {
|
|
243
|
-
position: relative;
|
|
244
|
-
overflow: hidden;
|
|
245
|
-
touch-action: none;
|
|
246
|
-
width: 100%;
|
|
247
|
-
height: 100%;
|
|
248
|
-
user-select: none;
|
|
249
|
-
}
|
|
250
|
-
.smart-tank:not([animation=none]) .bubble {
|
|
251
|
-
user-select: none;
|
|
252
|
-
pointer-events: none;
|
|
253
|
-
border-radius: 50%;
|
|
254
|
-
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0px 10px 25px 5px rgb(255, 255, 255);
|
|
255
|
-
width: 50px;
|
|
256
|
-
height: 50px;
|
|
257
|
-
}
|
|
258
|
-
.smart-tank:not([animation=none]) .bubble1 {
|
|
259
|
-
left: 10%;
|
|
260
|
-
top: 40%;
|
|
261
|
-
animation: animateBubble 12.5s linear infinite, sideWays 5s ease-in-out infinite alternate;
|
|
262
|
-
transform: scale(0.25);
|
|
263
|
-
}
|
|
264
|
-
.smart-tank:not([animation=none]) .bubble2 {
|
|
265
|
-
left: 5%;
|
|
266
|
-
top: 35%;
|
|
267
|
-
animation: animateBubble 15s linear infinite, sideWays 4.5s ease-in-out infinite alternate;
|
|
268
|
-
transform: scale(0.2);
|
|
269
|
-
}
|
|
270
|
-
.smart-tank:not([animation=none]) .bubble3 {
|
|
271
|
-
left: 0;
|
|
272
|
-
top: 50%;
|
|
273
|
-
animation: animateBubble 10s linear infinite, sideWays 7s ease-in-out infinite alternate;
|
|
274
|
-
transform: scale(0.3);
|
|
275
|
-
}
|
|
276
|
-
.smart-tank:not([animation=none]) .bubble4 {
|
|
277
|
-
left: 10%;
|
|
278
|
-
top: 60%;
|
|
279
|
-
animation: animateBubble 7s linear infinite, sideWays 11s ease-in-out infinite alternate;
|
|
280
|
-
transform: scale(0.275);
|
|
281
|
-
}
|
|
282
|
-
.smart-tank:not([animation=none]) .bubble5 {
|
|
283
|
-
left: 8%;
|
|
284
|
-
top: 70%;
|
|
285
|
-
animation: animateBubble 14.5s linear infinite, sideWays 8s ease-in-out infinite alternate;
|
|
286
|
-
transform: scale(0.35);
|
|
287
|
-
}
|
|
288
|
-
.smart-tank:not([animation=none])[disabled] .bubble, .smart-tank:not([animation=none])[inverted] .bubble, .smart-tank:not([animation=none])[orientation=horizontal] .bubble {
|
|
289
|
-
display: none;
|
|
290
|
-
}
|
|
291
|
-
.smart-tank[readonly] .smart-track.track-hovered, .smart-tank[disabled] .smart-track.track-hovered {
|
|
292
|
-
cursor: default;
|
|
293
|
-
}
|
|
294
|
-
.smart-tank[readonly]:active .smart-track, .smart-tank[disabled]:active .smart-track {
|
|
295
|
-
cursor: default;
|
|
296
|
-
}
|
|
297
|
-
.smart-tank[inverted] .smart-thumb {
|
|
298
|
-
top: calc(100% - var(--smart-tank-thumb-height) / 2);
|
|
299
|
-
margin-left: initial;
|
|
300
|
-
margin-top: initial;
|
|
301
|
-
}
|
|
302
|
-
.smart-tank[inverted] .smart-tooltip {
|
|
303
|
-
left: calc(-1 * var(--smart-tank-tooltip-width) - 10.5px);
|
|
304
|
-
top: calc(100% - 1 * var(--smart-tank-tooltip-height) / 2);
|
|
305
|
-
}
|
|
306
|
-
.smart-tank[inverted]:focus .smart-thumb {
|
|
307
|
-
top: calc(100% - var(--smart-tank-thumb-height) / 2);
|
|
308
|
-
}
|
|
309
|
-
.smart-tank[inverted][tooltip-position=far] .smart-tooltip {
|
|
310
|
-
top: calc(100% - var(--smart-tank-tooltip-height) / 2);
|
|
311
|
-
}
|
|
312
|
-
.smart-tank[inverted][tooltip-position=far][scale-position=none] .smart-tooltip {
|
|
313
|
-
left: calc(-100% - 7px);
|
|
314
|
-
}
|
|
315
|
-
.smart-tank[inverted][tooltip-position=near] .smart-tooltip {
|
|
316
|
-
left: calc(-1 * var(--smart-tank-tooltip-width) - 10.5px);
|
|
317
|
-
top: calc(100% - var(--smart-tank-tooltip-height) / 2);
|
|
318
|
-
}
|
|
319
|
-
.smart-tank[inverted][orientation=vertical] .smart-thumb {
|
|
320
|
-
top: calc(100% - var(--smart-tank-thumb-height) / 2);
|
|
321
|
-
}
|
|
322
|
-
.smart-tank[ticks-visibility=none] .smart-tick-minor,
|
|
323
|
-
.smart-tank[ticks-visibility=none] .smart-tick {
|
|
324
|
-
display: none;
|
|
325
|
-
}
|
|
326
|
-
.smart-tank[ticks-visibility=none] .smart-scale-near .smart-label {
|
|
327
|
-
right: 2px;
|
|
328
|
-
}
|
|
329
|
-
.smart-tank[ticks-visibility=none] .smart-scale-far .smart-label {
|
|
330
|
-
left: 2px;
|
|
331
|
-
top: initial;
|
|
332
|
-
}
|
|
333
|
-
.smart-tank[ticks-visibility=major] .smart-tick-minor,
|
|
334
|
-
.smart-tank[ticks-visibility=major] .smart-tick {
|
|
335
|
-
display: none;
|
|
336
|
-
}
|
|
337
|
-
.smart-tank[ticks-position=track] .smart-tick {
|
|
338
|
-
width: 100%;
|
|
339
|
-
}
|
|
340
|
-
.smart-tank[ticks-position=track] .smart-tick-minor {
|
|
341
|
-
width: 80%;
|
|
342
|
-
left: 50%;
|
|
343
|
-
transform: translateX(-50%);
|
|
344
|
-
}
|
|
345
|
-
.smart-tank[ticks-position=track] .smart-scale-near .smart-label {
|
|
346
|
-
right: 2px;
|
|
347
|
-
}
|
|
348
|
-
.smart-tank[ticks-position=track] .smart-scale-far .smart-label {
|
|
349
|
-
left: 2px;
|
|
350
|
-
top: initial;
|
|
351
|
-
}
|
|
352
|
-
.smart-tank[tooltip-position=far] .smart-tooltip {
|
|
353
|
-
left: calc(100% + 10.5px);
|
|
354
|
-
top: calc(-1 * var(--smart-tank-tooltip-height) / 2);
|
|
355
|
-
}
|
|
356
|
-
.smart-tank[tooltip-position=far] .smart-tooltip:before {
|
|
357
|
-
border-left: none;
|
|
358
|
-
border-top: 6px solid transparent;
|
|
359
|
-
border-bottom: 6px solid transparent;
|
|
360
|
-
border-right: 6px solid var(--smart-border);
|
|
361
|
-
top: calc(50% - 6px);
|
|
362
|
-
left: -7px;
|
|
363
|
-
}
|
|
364
|
-
.smart-tank[show-thumb-label] .smart-thumb {
|
|
365
|
-
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
366
|
-
overflow: visible;
|
|
367
|
-
display: initial;
|
|
368
|
-
}
|
|
369
|
-
.smart-tank[show-thumb-label] .smart-thumb-label {
|
|
370
|
-
position: absolute;
|
|
371
|
-
top: 50%;
|
|
372
|
-
left: 50%;
|
|
373
|
-
transform: translate(-50%, -50%);
|
|
374
|
-
font-size: 0.65rem;
|
|
375
|
-
font-family: var(--smart-font-family);
|
|
376
|
-
user-select: none;
|
|
377
|
-
color: var(--smart-background-color);
|
|
378
|
-
}
|
|
379
|
-
.smart-tank[show-thumb-label]:focus .smart-thumb {
|
|
380
|
-
left: calc(-1 * var(--smart-tank-thumb-width) - var(--smart-tank-thumb-width) / 2 - 2px);
|
|
381
|
-
/* 2px comes from the border */
|
|
382
|
-
transform: scale(1);
|
|
383
|
-
}
|
|
384
|
-
.smart-tank[show-thumb-label]:not([animation=none]) .smart-thumb {
|
|
385
|
-
transition: transform 0.2s ease-out, left 0.2s ease-in-out, top 0.2s ease-in-out;
|
|
386
|
-
}
|
|
387
|
-
.smart-tank[show-thumb-label][thumb-label-position=far] .smart-thumb {
|
|
388
|
-
left: calc(100% - var(--smart-tank-thumb-width) / 2);
|
|
389
|
-
}
|
|
390
|
-
.smart-tank[show-thumb-label][orientation=horizontal] .smart-thumb {
|
|
391
|
-
left: 100%;
|
|
392
|
-
top: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
393
|
-
}
|
|
394
|
-
.smart-tank[show-thumb-label][orientation=horizontal][inverted] .smart-thumb {
|
|
395
|
-
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
396
|
-
}
|
|
397
|
-
.smart-tank[show-thumb-label][orientation=horizontal][thumb-label-position=far] .smart-thumb {
|
|
398
|
-
left: 100%;
|
|
399
|
-
top: calc(100% - var(--smart-tank-thumb-width) / 2);
|
|
400
|
-
}
|
|
401
|
-
.smart-tank[show-thumb-label][orientation=horizontal][thumb-label-position=far][inverted] .smart-thumb {
|
|
402
|
-
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
403
|
-
}
|
|
404
|
-
.smart-tank[show-thumb-label][orientation=horizontal][thumb-label-position=near] .smart-thumb {
|
|
405
|
-
left: 100%;
|
|
406
|
-
top: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
407
|
-
}
|
|
408
|
-
.smart-tank[thumb-label-position=far] .smart-thumb:before {
|
|
409
|
-
border: 1px solid var(--smart-primary);
|
|
410
|
-
border-radius: 50% 50% 50% 0;
|
|
411
|
-
}
|
|
412
|
-
.smart-tank[thumb-label-position=far]:focus .smart-thumb {
|
|
413
|
-
left: calc(100% + var(--smart-tank-thumb-width) / 2 + 2px);
|
|
414
|
-
/* 2px comes from the border */
|
|
415
|
-
}
|
|
416
|
-
.smart-tank[scale-position=none] .smart-track {
|
|
417
|
-
height: 100%;
|
|
418
|
-
width: 100%;
|
|
419
|
-
position: relative;
|
|
420
|
-
border: solid var(--smart-border);
|
|
421
|
-
border-width: var(--smart-border-width);
|
|
422
|
-
margin-top: 0;
|
|
423
|
-
margin-bottom: 0;
|
|
424
|
-
margin-left: 0;
|
|
425
|
-
margin-right: 0;
|
|
426
|
-
}
|
|
427
|
-
.smart-tank[scale-position=none]:focus .smart-track {
|
|
428
|
-
border-style: solid;
|
|
429
|
-
border-color: var(--smart-outline);
|
|
430
|
-
border-width: var(--smart-border-width);
|
|
431
|
-
}
|
|
432
|
-
.smart-tank[scale-position=none][tooltip-position=near] .smart-tooltip {
|
|
433
|
-
top: calc(-1 * var(--smart-tank-tooltip-height) / 2);
|
|
434
|
-
}
|
|
435
|
-
.smart-tank[scale-position=both] .smart-track {
|
|
436
|
-
width: calc(100% - 2 * var(--smart-tank-scale-size) - 4px);
|
|
437
|
-
}
|
|
438
|
-
.smart-tank[scale-position=both] .smart-scale {
|
|
439
|
-
width: var(--smart-tank-scale-size);
|
|
440
|
-
height: 100%;
|
|
441
|
-
max-width: 47%;
|
|
442
|
-
}
|
|
443
|
-
.smart-tank[labels-visibility=endPoints] .smart-label-middle {
|
|
444
|
-
visibility: hidden;
|
|
445
|
-
}
|
|
446
|
-
.smart-tank[labels-visibility=none] .smart-label {
|
|
447
|
-
visibility: hidden;
|
|
448
|
-
}
|
|
449
|
-
.smart-tank[orientation=vertical][thumb-label-position=far] .smart-thumb:before {
|
|
450
|
-
border: 1px solid var(--smart-primary);
|
|
451
|
-
border-radius: 50% 50% 50% 0;
|
|
452
|
-
}
|
|
453
|
-
.smart-tank[orientation=vertical]:not([animation=none]) .smart-value {
|
|
454
|
-
transition: height 0.15s ease-out, margin-top 0.15s ease-out;
|
|
455
|
-
}
|
|
456
|
-
.smart-tank[orientation=vertical]:not([animation=none]) .smart-value.disable-animation {
|
|
457
|
-
transition: none;
|
|
458
|
-
}
|
|
459
|
-
.smart-tank[orientation=horizontal] {
|
|
460
|
-
padding-top: 5px;
|
|
461
|
-
padding-bottom: 5px;
|
|
462
|
-
padding-left: initial;
|
|
463
|
-
padding-right: initial;
|
|
464
|
-
}
|
|
465
|
-
.smart-tank[orientation=horizontal]:active .smart-track {
|
|
466
|
-
cursor: w-resize;
|
|
467
|
-
}
|
|
468
|
-
.smart-tank[orientation=horizontal] .smart-track {
|
|
469
|
-
height: calc(100% - var(--smart-tank-scale-size) - 4px);
|
|
470
|
-
min-height: var(--smart-tank-minimum-track-size);
|
|
471
|
-
width: 100%;
|
|
472
|
-
background-color: transparent;
|
|
473
|
-
margin-top: 2px;
|
|
474
|
-
margin-bottom: 2px;
|
|
475
|
-
}
|
|
476
|
-
.smart-tank[orientation=horizontal] .smart-value {
|
|
477
|
-
height: 100%;
|
|
478
|
-
width: 0;
|
|
479
|
-
}
|
|
480
|
-
.smart-tank[orientation=horizontal] .smart-thumb {
|
|
481
|
-
margin-left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
482
|
-
}
|
|
483
|
-
.smart-tank[orientation=horizontal] .smart-thumb:before {
|
|
484
|
-
border-radius: 50% 50% 0 50%;
|
|
485
|
-
}
|
|
486
|
-
.smart-tank[orientation=horizontal] .smart-scale {
|
|
487
|
-
width: 100%;
|
|
488
|
-
float: left;
|
|
489
|
-
height: calc(var(--smart-tank-scale-size));
|
|
490
|
-
margin-left: var(--smart-border-width);
|
|
491
|
-
}
|
|
492
|
-
.smart-tank[orientation=horizontal] .smart-scale-near .smart-tick {
|
|
493
|
-
bottom: 0;
|
|
494
|
-
right: initial;
|
|
495
|
-
}
|
|
496
|
-
.smart-tank[orientation=horizontal] .smart-scale-near .smart-label {
|
|
497
|
-
bottom: calc(var(--smart-tank-tick-size) + 2px);
|
|
498
|
-
right: initial;
|
|
499
|
-
}
|
|
500
|
-
.smart-tank[orientation=horizontal] .smart-scale-far .smart-tick {
|
|
501
|
-
top: 0;
|
|
502
|
-
}
|
|
503
|
-
.smart-tank[orientation=horizontal] .smart-scale-far .smart-label {
|
|
504
|
-
top: calc(var(--smart-tank-tick-size) + 2px);
|
|
505
|
-
left: initial;
|
|
506
|
-
}
|
|
507
|
-
.smart-tank[orientation=horizontal] .smart-tooltip {
|
|
508
|
-
top: calc(-1 * var(--smart-tank-tooltip-height) - 12px);
|
|
509
|
-
left: calc(100% - var(--smart-tank-tooltip-width) / 2);
|
|
510
|
-
}
|
|
511
|
-
.smart-tank[orientation=horizontal] .smart-tooltip:before {
|
|
512
|
-
content: "";
|
|
513
|
-
width: 0;
|
|
514
|
-
height: 0;
|
|
515
|
-
border-left: 6px solid transparent;
|
|
516
|
-
border-right: 6px solid transparent;
|
|
517
|
-
border-top: 6px solid var(--smart-border);
|
|
518
|
-
position: absolute;
|
|
519
|
-
top: 100%;
|
|
520
|
-
left: calc(var(--smart-tank-tooltip-width) / 2 - 6px);
|
|
521
|
-
}
|
|
522
|
-
.smart-tank[orientation=horizontal] .smart-tick {
|
|
523
|
-
float: left;
|
|
524
|
-
width: 1px;
|
|
525
|
-
height: var(--smart-tank-tick-size);
|
|
526
|
-
}
|
|
527
|
-
.smart-tank[orientation=horizontal] .smart-tick-minor {
|
|
528
|
-
height: var(--smart-tank-minor-tick-size);
|
|
529
|
-
width: 1px;
|
|
530
|
-
}
|
|
531
|
-
.smart-tank[orientation=horizontal]:not([animation=none]) .smart-value {
|
|
532
|
-
transition: width 0.15s ease-out, margin-left 0.15s ease-out;
|
|
533
|
-
}
|
|
534
|
-
.smart-tank[orientation=horizontal]:not([animation=none]) .smart-value.disable-animation {
|
|
535
|
-
transition: none;
|
|
536
|
-
}
|
|
537
|
-
.smart-tank[orientation=horizontal][inverted] .smart-tooltip {
|
|
538
|
-
top: calc(-1 * var(--smart-tank-tooltip-height) - 12px);
|
|
539
|
-
left: calc(-1 * var(--smart-tank-tooltip-width) / 2);
|
|
540
|
-
}
|
|
541
|
-
.smart-tank[orientation=horizontal][inverted]:focus .smart-thumb {
|
|
542
|
-
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
543
|
-
}
|
|
544
|
-
.smart-tank[orientation=horizontal][inverted][tooltip-position=far] .smart-tooltip {
|
|
545
|
-
left: calc(-1 * var(--smart-tank-tooltip-width) / 2);
|
|
546
|
-
top: calc(100% + 12px);
|
|
547
|
-
}
|
|
548
|
-
.smart-tank[orientation=horizontal][ticks-visibility=none] .smart-scale-near .smart-label {
|
|
549
|
-
bottom: 2px;
|
|
550
|
-
}
|
|
551
|
-
.smart-tank[orientation=horizontal][ticks-visibility=none] .smart-scale-far .smart-label {
|
|
552
|
-
top: 2px;
|
|
553
|
-
left: initial;
|
|
554
|
-
}
|
|
555
|
-
.smart-tank[orientation=horizontal][ticks-position=track] .smart-tick {
|
|
556
|
-
height: 100%;
|
|
557
|
-
width: 1px;
|
|
558
|
-
}
|
|
559
|
-
.smart-tank[orientation=horizontal][ticks-position=track] .smart-tick-minor {
|
|
560
|
-
height: 80%;
|
|
561
|
-
top: 50%;
|
|
562
|
-
transform: translateY(-50%);
|
|
563
|
-
}
|
|
564
|
-
.smart-tank[orientation=horizontal][ticks-position=track] .smart-scale-near .smart-label {
|
|
565
|
-
bottom: 2px;
|
|
566
|
-
}
|
|
567
|
-
.smart-tank[orientation=horizontal][ticks-position=track] .smart-scale-far .smart-label {
|
|
568
|
-
top: 2px;
|
|
569
|
-
left: initial;
|
|
570
|
-
}
|
|
571
|
-
.smart-tank[orientation=horizontal][tooltip-position=near][inverted] .smart-tooltip {
|
|
572
|
-
top: calc(-1 * var(--smart-tank-tooltip-height) - 12px);
|
|
573
|
-
left: calc(-1 * var(--smart-tank-tooltip-width) / 2);
|
|
574
|
-
}
|
|
575
|
-
.smart-tank[orientation=horizontal][tooltip-position=far] .smart-tooltip {
|
|
576
|
-
top: calc(100% + 12px);
|
|
577
|
-
left: calc(100% - var(--smart-tank-tooltip-width) / 2);
|
|
578
|
-
}
|
|
579
|
-
.smart-tank[orientation=horizontal][tooltip-position=far] .smart-tooltip:before {
|
|
580
|
-
border-left: 6px solid transparent;
|
|
581
|
-
border-right: 6px solid transparent;
|
|
582
|
-
border-bottom: 6px solid var(--smart-border);
|
|
583
|
-
border-top: 0;
|
|
584
|
-
position: absolute;
|
|
585
|
-
left: calc(var(--smart-tank-tooltip-width) / 2 - 6px);
|
|
586
|
-
top: -7px;
|
|
587
|
-
}
|
|
588
|
-
.smart-tank[orientation=horizontal][show-thumb-label]:focus .smart-thumb {
|
|
589
|
-
left: 100%;
|
|
590
|
-
top: calc(-1 * var(--smart-tank-thumb-height) - var(--smart-tank-thumb-height) / 2 - 2px);
|
|
591
|
-
/* 2px comes from the border */
|
|
592
|
-
}
|
|
593
|
-
.smart-tank[orientation=horizontal][show-thumb-label][thumb-label-position=far]:focus .smart-thumb {
|
|
594
|
-
top: calc(100% + var(--smart-tank-thumb-height) / 2);
|
|
595
|
-
}
|
|
596
|
-
.smart-tank[orientation=horizontal][thumb-label-position=far] .smart-thumb:before {
|
|
597
|
-
border-radius: 0 50% 50% 50%;
|
|
598
|
-
}
|
|
599
|
-
.smart-tank[orientation=horizontal][thumb-label-position=far]:focus .smart-thumb {
|
|
600
|
-
left: 100%;
|
|
601
|
-
}
|
|
602
|
-
.smart-tank[orientation=horizontal][scale-position=none] .smart-track {
|
|
603
|
-
height: 100%;
|
|
604
|
-
width: 100%;
|
|
605
|
-
position: relative;
|
|
606
|
-
border: solid var(--smart-border);
|
|
607
|
-
border-width: var(--smart-border-width);
|
|
608
|
-
background-color: transparent;
|
|
609
|
-
margin-top: 0;
|
|
610
|
-
margin-bottom: 0;
|
|
611
|
-
}
|
|
612
|
-
.smart-tank[orientation=horizontal][scale-position=both] .smart-track {
|
|
613
|
-
height: calc(100% - 2 * var(--smart-tank-scale-size) - 4px);
|
|
614
|
-
}
|
|
615
|
-
.smart-tank[orientation=horizontal][scale-position=both] .smart-scale {
|
|
616
|
-
width: 100%;
|
|
617
|
-
height: var(--smart-tank-scale-size);
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
@keyframes sideWays {
|
|
621
|
-
0% {
|
|
622
|
-
margin-left: -10%;
|
|
623
|
-
}
|
|
624
|
-
100% {
|
|
625
|
-
margin-left: 55%;
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
@keyframes animateBubble {
|
|
629
|
-
0% {
|
|
630
|
-
margin-top: 100%;
|
|
631
|
-
}
|
|
632
|
-
100% {
|
|
633
|
-
margin-top: -100%;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
smart-tank[right-to-left] .smart-label,
|
|
637
|
-
smart-tank[right-to-left] .smart-tooltip-content {
|
|
638
|
-
direction: rtl;
|
|
639
|
-
}
|
|
640
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal] .smart-thumb {
|
|
641
|
-
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
642
|
-
margin-left: initial;
|
|
643
|
-
}
|
|
644
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][inverted] .smart-thumb {
|
|
645
|
-
left: 100%;
|
|
646
|
-
margin-left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
647
|
-
}
|
|
648
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=far] .smart-thumb {
|
|
649
|
-
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
650
|
-
}
|
|
651
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=far][inverted] .smart-thumb {
|
|
652
|
-
top: calc(100% - var(--smart-tank-thumb-width) / 2);
|
|
653
|
-
}
|
|
654
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=far][inverted]:focus .smart-thumb {
|
|
655
|
-
top: calc(100% + var(--smart-tank-thumb-height) / 2);
|
|
656
|
-
}
|
|
657
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=near][inverted] .smart-thumb {
|
|
658
|
-
top: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
659
|
-
}
|
|
660
|
-
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=near][inverted]:focus .smart-thumb {
|
|
661
|
-
top: calc(-1 * var(--smart-tank-thumb-height) - var(--smart-tank-thumb-height) / 2 - 2px);
|
|
1
|
+
/* .smart-tank */
|
|
2
|
+
smart-tank {
|
|
3
|
+
padding-left: 5px;
|
|
4
|
+
padding-right: 5px;
|
|
5
|
+
width: var(--smart-tank-default-width);
|
|
6
|
+
height: var(--smart-tank-default-height);
|
|
7
|
+
}
|
|
8
|
+
smart-tank.smart-element {
|
|
9
|
+
overflow: visible;
|
|
10
|
+
border: none;
|
|
11
|
+
background: none;
|
|
12
|
+
}
|
|
13
|
+
smart-tank.smart-scale-far .smart-tick {
|
|
14
|
+
top: initial;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
smart-slider * {
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
}
|
|
20
|
+
smart-slider:focus {
|
|
21
|
+
outline: none;
|
|
22
|
+
}
|
|
23
|
+
smart-slider.smart-element {
|
|
24
|
+
overflow: visible;
|
|
25
|
+
border: none;
|
|
26
|
+
background: none;
|
|
27
|
+
}
|
|
28
|
+
smart-slider .smart-container {
|
|
29
|
+
overflow: visible;
|
|
30
|
+
}
|
|
31
|
+
smart-slider .smart-scale {
|
|
32
|
+
position: relative;
|
|
33
|
+
user-select: none;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
smart-slider .smart-label {
|
|
37
|
+
position: absolute;
|
|
38
|
+
float: left;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
font-family: inherit;
|
|
41
|
+
font-size: inherit;
|
|
42
|
+
color: var(--smart-background-color);
|
|
43
|
+
}
|
|
44
|
+
smart-slider .smart-tooltip {
|
|
45
|
+
z-index: 1;
|
|
46
|
+
}
|
|
47
|
+
smart-slider .smart-tooltip-content {
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
}
|
|
52
|
+
smart-slider .smart-track-container {
|
|
53
|
+
touch-action: none;
|
|
54
|
+
}
|
|
55
|
+
smart-slider .smart-track-ticks-container {
|
|
56
|
+
position: absolute;
|
|
57
|
+
width: 100%;
|
|
58
|
+
height: 100%;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
smart-slider[ticks-visibility=major] .smart-tick-minor,
|
|
62
|
+
smart-slider[ticks-visibility=major] .smart-tick, smart-slider[ticks-visibility=none] .smart-tick-minor,
|
|
63
|
+
smart-slider[ticks-visibility=none] .smart-tick {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
smart-slider[labels-visibility=endPoints] .smart-label-middle {
|
|
67
|
+
visibility: hidden;
|
|
68
|
+
}
|
|
69
|
+
smart-slider[labels-visibility=none] .smart-label {
|
|
70
|
+
visibility: hidden;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.smart-tank * {
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
}
|
|
76
|
+
.smart-tank .smart-container {
|
|
77
|
+
overflow: visible;
|
|
78
|
+
}
|
|
79
|
+
.smart-tank .smart-track {
|
|
80
|
+
height: 100%;
|
|
81
|
+
width: calc(100% - var(--smart-tank-scale-size) - 4px);
|
|
82
|
+
min-width: var(--smart-tank-minimum-track-size);
|
|
83
|
+
position: relative;
|
|
84
|
+
border: solid var(--smart-border);
|
|
85
|
+
border-width: var(--smart-border-width);
|
|
86
|
+
background-color: var(--smart-background);
|
|
87
|
+
float: left;
|
|
88
|
+
margin-top: 0;
|
|
89
|
+
margin-bottom: 0;
|
|
90
|
+
margin-left: 2px;
|
|
91
|
+
margin-right: 2px;
|
|
92
|
+
border-top-left-radius: var(--smart-border-top-left-radius);
|
|
93
|
+
border-bottom-left-radius: var(--smart-border-bottom-left-radius);
|
|
94
|
+
border-top-right-radius: var(--smart-border-top-right-radius);
|
|
95
|
+
border-bottom-right-radius: var(--smart-border-bottom-right-radius);
|
|
96
|
+
touch-action: none;
|
|
97
|
+
}
|
|
98
|
+
.smart-tank .smart-track.track-hovered {
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
.smart-tank .smart-track-ticks-container {
|
|
102
|
+
position: absolute;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
pointer-events: none;
|
|
106
|
+
}
|
|
107
|
+
.smart-tank .smart-value {
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 0;
|
|
110
|
+
background-color: var(--smart-primary);
|
|
111
|
+
border-color: var(--smart-primary);
|
|
112
|
+
position: absolute;
|
|
113
|
+
}
|
|
114
|
+
.smart-tank .smart-label {
|
|
115
|
+
position: absolute;
|
|
116
|
+
float: left;
|
|
117
|
+
white-space: nowrap;
|
|
118
|
+
font-family: inherit;
|
|
119
|
+
font-size: inherit;
|
|
120
|
+
color: var(--smart-background-color);
|
|
121
|
+
}
|
|
122
|
+
.smart-tank .smart-thumb {
|
|
123
|
+
display: none;
|
|
124
|
+
position: absolute;
|
|
125
|
+
width: var(--smart-tank-thumb-width);
|
|
126
|
+
height: var(--smart-tank-thumb-height);
|
|
127
|
+
transform: scale(0);
|
|
128
|
+
transition: transform 0.2s ease-out;
|
|
129
|
+
left: calc(-1 * var(--smart-tank-thumb-width) * 2);
|
|
130
|
+
top: calc(-1 * var(--smart-tank-thumb-height) / 2);
|
|
131
|
+
border-radius: 50%;
|
|
132
|
+
background-color: var(--smart-primary);
|
|
133
|
+
}
|
|
134
|
+
.smart-tank .smart-thumb:before {
|
|
135
|
+
transform: scale(1.1) rotate(45deg);
|
|
136
|
+
border: 1px solid var(--smart-primary);
|
|
137
|
+
border-radius: 50% 0 50% 50%;
|
|
138
|
+
background-color: var(--smart-primary);
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: 100%;
|
|
141
|
+
display: block;
|
|
142
|
+
content: "";
|
|
143
|
+
}
|
|
144
|
+
.smart-tank .smart-thumb-label-container {
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
text-overflow: ellipsis;
|
|
147
|
+
width: var(--smart-tank-thumb-width);
|
|
148
|
+
height: var(--smart-tank-thumb-height);
|
|
149
|
+
position: absolute;
|
|
150
|
+
top: 0;
|
|
151
|
+
left: 0;
|
|
152
|
+
}
|
|
153
|
+
.smart-tank .smart-scale {
|
|
154
|
+
position: relative;
|
|
155
|
+
user-select: none;
|
|
156
|
+
pointer-events: none;
|
|
157
|
+
float: left;
|
|
158
|
+
margin-top: var(--smart-border-width);
|
|
159
|
+
margin-left: initial;
|
|
160
|
+
height: calc(100% - var(--smart-border-width));
|
|
161
|
+
width: var(--smart-tank-scale-size);
|
|
162
|
+
max-width: calc(100% - var(--smart-tank-minimum-track-size) - 4px);
|
|
163
|
+
/* 4px is the margin left/right of the track */
|
|
164
|
+
}
|
|
165
|
+
.smart-tank .smart-scale-near .smart-tick {
|
|
166
|
+
bottom: initial;
|
|
167
|
+
right: 0;
|
|
168
|
+
}
|
|
169
|
+
.smart-tank .smart-scale-near .smart-label {
|
|
170
|
+
bottom: initial;
|
|
171
|
+
right: calc(var(--smart-tank-tick-size) + 2px);
|
|
172
|
+
}
|
|
173
|
+
.smart-tank .smart-scale-far .smart-label {
|
|
174
|
+
left: calc(var(--smart-tank-tick-size) + 2px);
|
|
175
|
+
top: initial;
|
|
176
|
+
}
|
|
177
|
+
.smart-tank .smart-tooltip {
|
|
178
|
+
position: absolute;
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
border: 1px solid var(--smart-border);
|
|
183
|
+
width: var(--smart-tank-tooltip-width);
|
|
184
|
+
height: var(--smart-tank-tooltip-height);
|
|
185
|
+
padding: 5px;
|
|
186
|
+
background-color: var(--smart-background);
|
|
187
|
+
color: var(--smart-background-color);
|
|
188
|
+
opacity: 0.7;
|
|
189
|
+
left: calc(-1 * var(--smart-tank-tooltip-width) - 10.5px);
|
|
190
|
+
top: calc(-1 * var(--smart-tank-tooltip-height) / 2);
|
|
191
|
+
z-index: 1;
|
|
192
|
+
}
|
|
193
|
+
.smart-tank .smart-tooltip:before {
|
|
194
|
+
content: "";
|
|
195
|
+
width: 0;
|
|
196
|
+
height: 0;
|
|
197
|
+
border-right: none;
|
|
198
|
+
border-left: 6px solid var(--smart-border);
|
|
199
|
+
border-top: 6px solid transparent;
|
|
200
|
+
border-bottom: 6px solid transparent;
|
|
201
|
+
position: absolute;
|
|
202
|
+
top: calc(50% - 6px);
|
|
203
|
+
right: -7px;
|
|
204
|
+
left: auto;
|
|
205
|
+
}
|
|
206
|
+
.smart-tank .smart-tooltip.smart-hidden {
|
|
207
|
+
display: none;
|
|
208
|
+
}
|
|
209
|
+
.smart-tank .smart-tooltip-content {
|
|
210
|
+
overflow: hidden;
|
|
211
|
+
white-space: nowrap;
|
|
212
|
+
text-overflow: ellipsis;
|
|
213
|
+
}
|
|
214
|
+
.smart-tank .smart-tick {
|
|
215
|
+
position: absolute;
|
|
216
|
+
background-color: var(--smart-background-color);
|
|
217
|
+
float: initial;
|
|
218
|
+
width: var(--smart-tank-tick-size);
|
|
219
|
+
height: 1px;
|
|
220
|
+
}
|
|
221
|
+
.smart-tank .smart-tick-minor {
|
|
222
|
+
width: var(--smart-tank-minor-tick-size);
|
|
223
|
+
height: 1px;
|
|
224
|
+
}
|
|
225
|
+
.smart-tank:focus {
|
|
226
|
+
outline: none;
|
|
227
|
+
}
|
|
228
|
+
.smart-tank:focus .smart-track {
|
|
229
|
+
border-style: solid;
|
|
230
|
+
border-color: var(--smart-outline);
|
|
231
|
+
border-width: var(--smart-border-width);
|
|
232
|
+
}
|
|
233
|
+
.smart-tank:active .smart-track {
|
|
234
|
+
cursor: n-resize;
|
|
235
|
+
}
|
|
236
|
+
.smart-tank:not([animation=none]) .smart-value {
|
|
237
|
+
transition: height 0.15s ease-out, margin-top 0.15s ease-out;
|
|
238
|
+
}
|
|
239
|
+
.smart-tank:not([animation=none]) .smart-value.disable-animation {
|
|
240
|
+
transition: none;
|
|
241
|
+
}
|
|
242
|
+
.smart-tank:not([animation=none]) .smart-bubble-container {
|
|
243
|
+
position: relative;
|
|
244
|
+
overflow: hidden;
|
|
245
|
+
touch-action: none;
|
|
246
|
+
width: 100%;
|
|
247
|
+
height: 100%;
|
|
248
|
+
user-select: none;
|
|
249
|
+
}
|
|
250
|
+
.smart-tank:not([animation=none]) .bubble {
|
|
251
|
+
user-select: none;
|
|
252
|
+
pointer-events: none;
|
|
253
|
+
border-radius: 50%;
|
|
254
|
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0px 10px 25px 5px rgb(255, 255, 255);
|
|
255
|
+
width: 50px;
|
|
256
|
+
height: 50px;
|
|
257
|
+
}
|
|
258
|
+
.smart-tank:not([animation=none]) .bubble1 {
|
|
259
|
+
left: 10%;
|
|
260
|
+
top: 40%;
|
|
261
|
+
animation: animateBubble 12.5s linear infinite, sideWays 5s ease-in-out infinite alternate;
|
|
262
|
+
transform: scale(0.25);
|
|
263
|
+
}
|
|
264
|
+
.smart-tank:not([animation=none]) .bubble2 {
|
|
265
|
+
left: 5%;
|
|
266
|
+
top: 35%;
|
|
267
|
+
animation: animateBubble 15s linear infinite, sideWays 4.5s ease-in-out infinite alternate;
|
|
268
|
+
transform: scale(0.2);
|
|
269
|
+
}
|
|
270
|
+
.smart-tank:not([animation=none]) .bubble3 {
|
|
271
|
+
left: 0;
|
|
272
|
+
top: 50%;
|
|
273
|
+
animation: animateBubble 10s linear infinite, sideWays 7s ease-in-out infinite alternate;
|
|
274
|
+
transform: scale(0.3);
|
|
275
|
+
}
|
|
276
|
+
.smart-tank:not([animation=none]) .bubble4 {
|
|
277
|
+
left: 10%;
|
|
278
|
+
top: 60%;
|
|
279
|
+
animation: animateBubble 7s linear infinite, sideWays 11s ease-in-out infinite alternate;
|
|
280
|
+
transform: scale(0.275);
|
|
281
|
+
}
|
|
282
|
+
.smart-tank:not([animation=none]) .bubble5 {
|
|
283
|
+
left: 8%;
|
|
284
|
+
top: 70%;
|
|
285
|
+
animation: animateBubble 14.5s linear infinite, sideWays 8s ease-in-out infinite alternate;
|
|
286
|
+
transform: scale(0.35);
|
|
287
|
+
}
|
|
288
|
+
.smart-tank:not([animation=none])[disabled] .bubble, .smart-tank:not([animation=none])[inverted] .bubble, .smart-tank:not([animation=none])[orientation=horizontal] .bubble {
|
|
289
|
+
display: none;
|
|
290
|
+
}
|
|
291
|
+
.smart-tank[readonly] .smart-track.track-hovered, .smart-tank[disabled] .smart-track.track-hovered {
|
|
292
|
+
cursor: default;
|
|
293
|
+
}
|
|
294
|
+
.smart-tank[readonly]:active .smart-track, .smart-tank[disabled]:active .smart-track {
|
|
295
|
+
cursor: default;
|
|
296
|
+
}
|
|
297
|
+
.smart-tank[inverted] .smart-thumb {
|
|
298
|
+
top: calc(100% - var(--smart-tank-thumb-height) / 2);
|
|
299
|
+
margin-left: initial;
|
|
300
|
+
margin-top: initial;
|
|
301
|
+
}
|
|
302
|
+
.smart-tank[inverted] .smart-tooltip {
|
|
303
|
+
left: calc(-1 * var(--smart-tank-tooltip-width) - 10.5px);
|
|
304
|
+
top: calc(100% - 1 * var(--smart-tank-tooltip-height) / 2);
|
|
305
|
+
}
|
|
306
|
+
.smart-tank[inverted]:focus .smart-thumb {
|
|
307
|
+
top: calc(100% - var(--smart-tank-thumb-height) / 2);
|
|
308
|
+
}
|
|
309
|
+
.smart-tank[inverted][tooltip-position=far] .smart-tooltip {
|
|
310
|
+
top: calc(100% - var(--smart-tank-tooltip-height) / 2);
|
|
311
|
+
}
|
|
312
|
+
.smart-tank[inverted][tooltip-position=far][scale-position=none] .smart-tooltip {
|
|
313
|
+
left: calc(-100% - 7px);
|
|
314
|
+
}
|
|
315
|
+
.smart-tank[inverted][tooltip-position=near] .smart-tooltip {
|
|
316
|
+
left: calc(-1 * var(--smart-tank-tooltip-width) - 10.5px);
|
|
317
|
+
top: calc(100% - var(--smart-tank-tooltip-height) / 2);
|
|
318
|
+
}
|
|
319
|
+
.smart-tank[inverted][orientation=vertical] .smart-thumb {
|
|
320
|
+
top: calc(100% - var(--smart-tank-thumb-height) / 2);
|
|
321
|
+
}
|
|
322
|
+
.smart-tank[ticks-visibility=none] .smart-tick-minor,
|
|
323
|
+
.smart-tank[ticks-visibility=none] .smart-tick {
|
|
324
|
+
display: none;
|
|
325
|
+
}
|
|
326
|
+
.smart-tank[ticks-visibility=none] .smart-scale-near .smart-label {
|
|
327
|
+
right: 2px;
|
|
328
|
+
}
|
|
329
|
+
.smart-tank[ticks-visibility=none] .smart-scale-far .smart-label {
|
|
330
|
+
left: 2px;
|
|
331
|
+
top: initial;
|
|
332
|
+
}
|
|
333
|
+
.smart-tank[ticks-visibility=major] .smart-tick-minor,
|
|
334
|
+
.smart-tank[ticks-visibility=major] .smart-tick {
|
|
335
|
+
display: none;
|
|
336
|
+
}
|
|
337
|
+
.smart-tank[ticks-position=track] .smart-tick {
|
|
338
|
+
width: 100%;
|
|
339
|
+
}
|
|
340
|
+
.smart-tank[ticks-position=track] .smart-tick-minor {
|
|
341
|
+
width: 80%;
|
|
342
|
+
left: 50%;
|
|
343
|
+
transform: translateX(-50%);
|
|
344
|
+
}
|
|
345
|
+
.smart-tank[ticks-position=track] .smart-scale-near .smart-label {
|
|
346
|
+
right: 2px;
|
|
347
|
+
}
|
|
348
|
+
.smart-tank[ticks-position=track] .smart-scale-far .smart-label {
|
|
349
|
+
left: 2px;
|
|
350
|
+
top: initial;
|
|
351
|
+
}
|
|
352
|
+
.smart-tank[tooltip-position=far] .smart-tooltip {
|
|
353
|
+
left: calc(100% + 10.5px);
|
|
354
|
+
top: calc(-1 * var(--smart-tank-tooltip-height) / 2);
|
|
355
|
+
}
|
|
356
|
+
.smart-tank[tooltip-position=far] .smart-tooltip:before {
|
|
357
|
+
border-left: none;
|
|
358
|
+
border-top: 6px solid transparent;
|
|
359
|
+
border-bottom: 6px solid transparent;
|
|
360
|
+
border-right: 6px solid var(--smart-border);
|
|
361
|
+
top: calc(50% - 6px);
|
|
362
|
+
left: -7px;
|
|
363
|
+
}
|
|
364
|
+
.smart-tank[show-thumb-label] .smart-thumb {
|
|
365
|
+
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
366
|
+
overflow: visible;
|
|
367
|
+
display: initial;
|
|
368
|
+
}
|
|
369
|
+
.smart-tank[show-thumb-label] .smart-thumb-label {
|
|
370
|
+
position: absolute;
|
|
371
|
+
top: 50%;
|
|
372
|
+
left: 50%;
|
|
373
|
+
transform: translate(-50%, -50%);
|
|
374
|
+
font-size: 0.65rem;
|
|
375
|
+
font-family: var(--smart-font-family);
|
|
376
|
+
user-select: none;
|
|
377
|
+
color: var(--smart-background-color);
|
|
378
|
+
}
|
|
379
|
+
.smart-tank[show-thumb-label]:focus .smart-thumb {
|
|
380
|
+
left: calc(-1 * var(--smart-tank-thumb-width) - var(--smart-tank-thumb-width) / 2 - 2px);
|
|
381
|
+
/* 2px comes from the border */
|
|
382
|
+
transform: scale(1);
|
|
383
|
+
}
|
|
384
|
+
.smart-tank[show-thumb-label]:not([animation=none]) .smart-thumb {
|
|
385
|
+
transition: transform 0.2s ease-out, left 0.2s ease-in-out, top 0.2s ease-in-out;
|
|
386
|
+
}
|
|
387
|
+
.smart-tank[show-thumb-label][thumb-label-position=far] .smart-thumb {
|
|
388
|
+
left: calc(100% - var(--smart-tank-thumb-width) / 2);
|
|
389
|
+
}
|
|
390
|
+
.smart-tank[show-thumb-label][orientation=horizontal] .smart-thumb {
|
|
391
|
+
left: 100%;
|
|
392
|
+
top: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
393
|
+
}
|
|
394
|
+
.smart-tank[show-thumb-label][orientation=horizontal][inverted] .smart-thumb {
|
|
395
|
+
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
396
|
+
}
|
|
397
|
+
.smart-tank[show-thumb-label][orientation=horizontal][thumb-label-position=far] .smart-thumb {
|
|
398
|
+
left: 100%;
|
|
399
|
+
top: calc(100% - var(--smart-tank-thumb-width) / 2);
|
|
400
|
+
}
|
|
401
|
+
.smart-tank[show-thumb-label][orientation=horizontal][thumb-label-position=far][inverted] .smart-thumb {
|
|
402
|
+
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
403
|
+
}
|
|
404
|
+
.smart-tank[show-thumb-label][orientation=horizontal][thumb-label-position=near] .smart-thumb {
|
|
405
|
+
left: 100%;
|
|
406
|
+
top: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
407
|
+
}
|
|
408
|
+
.smart-tank[thumb-label-position=far] .smart-thumb:before {
|
|
409
|
+
border: 1px solid var(--smart-primary);
|
|
410
|
+
border-radius: 50% 50% 50% 0;
|
|
411
|
+
}
|
|
412
|
+
.smart-tank[thumb-label-position=far]:focus .smart-thumb {
|
|
413
|
+
left: calc(100% + var(--smart-tank-thumb-width) / 2 + 2px);
|
|
414
|
+
/* 2px comes from the border */
|
|
415
|
+
}
|
|
416
|
+
.smart-tank[scale-position=none] .smart-track {
|
|
417
|
+
height: 100%;
|
|
418
|
+
width: 100%;
|
|
419
|
+
position: relative;
|
|
420
|
+
border: solid var(--smart-border);
|
|
421
|
+
border-width: var(--smart-border-width);
|
|
422
|
+
margin-top: 0;
|
|
423
|
+
margin-bottom: 0;
|
|
424
|
+
margin-left: 0;
|
|
425
|
+
margin-right: 0;
|
|
426
|
+
}
|
|
427
|
+
.smart-tank[scale-position=none]:focus .smart-track {
|
|
428
|
+
border-style: solid;
|
|
429
|
+
border-color: var(--smart-outline);
|
|
430
|
+
border-width: var(--smart-border-width);
|
|
431
|
+
}
|
|
432
|
+
.smart-tank[scale-position=none][tooltip-position=near] .smart-tooltip {
|
|
433
|
+
top: calc(-1 * var(--smart-tank-tooltip-height) / 2);
|
|
434
|
+
}
|
|
435
|
+
.smart-tank[scale-position=both] .smart-track {
|
|
436
|
+
width: calc(100% - 2 * var(--smart-tank-scale-size) - 4px);
|
|
437
|
+
}
|
|
438
|
+
.smart-tank[scale-position=both] .smart-scale {
|
|
439
|
+
width: var(--smart-tank-scale-size);
|
|
440
|
+
height: 100%;
|
|
441
|
+
max-width: 47%;
|
|
442
|
+
}
|
|
443
|
+
.smart-tank[labels-visibility=endPoints] .smart-label-middle {
|
|
444
|
+
visibility: hidden;
|
|
445
|
+
}
|
|
446
|
+
.smart-tank[labels-visibility=none] .smart-label {
|
|
447
|
+
visibility: hidden;
|
|
448
|
+
}
|
|
449
|
+
.smart-tank[orientation=vertical][thumb-label-position=far] .smart-thumb:before {
|
|
450
|
+
border: 1px solid var(--smart-primary);
|
|
451
|
+
border-radius: 50% 50% 50% 0;
|
|
452
|
+
}
|
|
453
|
+
.smart-tank[orientation=vertical]:not([animation=none]) .smart-value {
|
|
454
|
+
transition: height 0.15s ease-out, margin-top 0.15s ease-out;
|
|
455
|
+
}
|
|
456
|
+
.smart-tank[orientation=vertical]:not([animation=none]) .smart-value.disable-animation {
|
|
457
|
+
transition: none;
|
|
458
|
+
}
|
|
459
|
+
.smart-tank[orientation=horizontal] {
|
|
460
|
+
padding-top: 5px;
|
|
461
|
+
padding-bottom: 5px;
|
|
462
|
+
padding-left: initial;
|
|
463
|
+
padding-right: initial;
|
|
464
|
+
}
|
|
465
|
+
.smart-tank[orientation=horizontal]:active .smart-track {
|
|
466
|
+
cursor: w-resize;
|
|
467
|
+
}
|
|
468
|
+
.smart-tank[orientation=horizontal] .smart-track {
|
|
469
|
+
height: calc(100% - var(--smart-tank-scale-size) - 4px);
|
|
470
|
+
min-height: var(--smart-tank-minimum-track-size);
|
|
471
|
+
width: 100%;
|
|
472
|
+
background-color: transparent;
|
|
473
|
+
margin-top: 2px;
|
|
474
|
+
margin-bottom: 2px;
|
|
475
|
+
}
|
|
476
|
+
.smart-tank[orientation=horizontal] .smart-value {
|
|
477
|
+
height: 100%;
|
|
478
|
+
width: 0;
|
|
479
|
+
}
|
|
480
|
+
.smart-tank[orientation=horizontal] .smart-thumb {
|
|
481
|
+
margin-left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
482
|
+
}
|
|
483
|
+
.smart-tank[orientation=horizontal] .smart-thumb:before {
|
|
484
|
+
border-radius: 50% 50% 0 50%;
|
|
485
|
+
}
|
|
486
|
+
.smart-tank[orientation=horizontal] .smart-scale {
|
|
487
|
+
width: 100%;
|
|
488
|
+
float: left;
|
|
489
|
+
height: calc(var(--smart-tank-scale-size));
|
|
490
|
+
margin-left: var(--smart-border-width);
|
|
491
|
+
}
|
|
492
|
+
.smart-tank[orientation=horizontal] .smart-scale-near .smart-tick {
|
|
493
|
+
bottom: 0;
|
|
494
|
+
right: initial;
|
|
495
|
+
}
|
|
496
|
+
.smart-tank[orientation=horizontal] .smart-scale-near .smart-label {
|
|
497
|
+
bottom: calc(var(--smart-tank-tick-size) + 2px);
|
|
498
|
+
right: initial;
|
|
499
|
+
}
|
|
500
|
+
.smart-tank[orientation=horizontal] .smart-scale-far .smart-tick {
|
|
501
|
+
top: 0;
|
|
502
|
+
}
|
|
503
|
+
.smart-tank[orientation=horizontal] .smart-scale-far .smart-label {
|
|
504
|
+
top: calc(var(--smart-tank-tick-size) + 2px);
|
|
505
|
+
left: initial;
|
|
506
|
+
}
|
|
507
|
+
.smart-tank[orientation=horizontal] .smart-tooltip {
|
|
508
|
+
top: calc(-1 * var(--smart-tank-tooltip-height) - 12px);
|
|
509
|
+
left: calc(100% - var(--smart-tank-tooltip-width) / 2);
|
|
510
|
+
}
|
|
511
|
+
.smart-tank[orientation=horizontal] .smart-tooltip:before {
|
|
512
|
+
content: "";
|
|
513
|
+
width: 0;
|
|
514
|
+
height: 0;
|
|
515
|
+
border-left: 6px solid transparent;
|
|
516
|
+
border-right: 6px solid transparent;
|
|
517
|
+
border-top: 6px solid var(--smart-border);
|
|
518
|
+
position: absolute;
|
|
519
|
+
top: 100%;
|
|
520
|
+
left: calc(var(--smart-tank-tooltip-width) / 2 - 6px);
|
|
521
|
+
}
|
|
522
|
+
.smart-tank[orientation=horizontal] .smart-tick {
|
|
523
|
+
float: left;
|
|
524
|
+
width: 1px;
|
|
525
|
+
height: var(--smart-tank-tick-size);
|
|
526
|
+
}
|
|
527
|
+
.smart-tank[orientation=horizontal] .smart-tick-minor {
|
|
528
|
+
height: var(--smart-tank-minor-tick-size);
|
|
529
|
+
width: 1px;
|
|
530
|
+
}
|
|
531
|
+
.smart-tank[orientation=horizontal]:not([animation=none]) .smart-value {
|
|
532
|
+
transition: width 0.15s ease-out, margin-left 0.15s ease-out;
|
|
533
|
+
}
|
|
534
|
+
.smart-tank[orientation=horizontal]:not([animation=none]) .smart-value.disable-animation {
|
|
535
|
+
transition: none;
|
|
536
|
+
}
|
|
537
|
+
.smart-tank[orientation=horizontal][inverted] .smart-tooltip {
|
|
538
|
+
top: calc(-1 * var(--smart-tank-tooltip-height) - 12px);
|
|
539
|
+
left: calc(-1 * var(--smart-tank-tooltip-width) / 2);
|
|
540
|
+
}
|
|
541
|
+
.smart-tank[orientation=horizontal][inverted]:focus .smart-thumb {
|
|
542
|
+
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
543
|
+
}
|
|
544
|
+
.smart-tank[orientation=horizontal][inverted][tooltip-position=far] .smart-tooltip {
|
|
545
|
+
left: calc(-1 * var(--smart-tank-tooltip-width) / 2);
|
|
546
|
+
top: calc(100% + 12px);
|
|
547
|
+
}
|
|
548
|
+
.smart-tank[orientation=horizontal][ticks-visibility=none] .smart-scale-near .smart-label {
|
|
549
|
+
bottom: 2px;
|
|
550
|
+
}
|
|
551
|
+
.smart-tank[orientation=horizontal][ticks-visibility=none] .smart-scale-far .smart-label {
|
|
552
|
+
top: 2px;
|
|
553
|
+
left: initial;
|
|
554
|
+
}
|
|
555
|
+
.smart-tank[orientation=horizontal][ticks-position=track] .smart-tick {
|
|
556
|
+
height: 100%;
|
|
557
|
+
width: 1px;
|
|
558
|
+
}
|
|
559
|
+
.smart-tank[orientation=horizontal][ticks-position=track] .smart-tick-minor {
|
|
560
|
+
height: 80%;
|
|
561
|
+
top: 50%;
|
|
562
|
+
transform: translateY(-50%);
|
|
563
|
+
}
|
|
564
|
+
.smart-tank[orientation=horizontal][ticks-position=track] .smart-scale-near .smart-label {
|
|
565
|
+
bottom: 2px;
|
|
566
|
+
}
|
|
567
|
+
.smart-tank[orientation=horizontal][ticks-position=track] .smart-scale-far .smart-label {
|
|
568
|
+
top: 2px;
|
|
569
|
+
left: initial;
|
|
570
|
+
}
|
|
571
|
+
.smart-tank[orientation=horizontal][tooltip-position=near][inverted] .smart-tooltip {
|
|
572
|
+
top: calc(-1 * var(--smart-tank-tooltip-height) - 12px);
|
|
573
|
+
left: calc(-1 * var(--smart-tank-tooltip-width) / 2);
|
|
574
|
+
}
|
|
575
|
+
.smart-tank[orientation=horizontal][tooltip-position=far] .smart-tooltip {
|
|
576
|
+
top: calc(100% + 12px);
|
|
577
|
+
left: calc(100% - var(--smart-tank-tooltip-width) / 2);
|
|
578
|
+
}
|
|
579
|
+
.smart-tank[orientation=horizontal][tooltip-position=far] .smart-tooltip:before {
|
|
580
|
+
border-left: 6px solid transparent;
|
|
581
|
+
border-right: 6px solid transparent;
|
|
582
|
+
border-bottom: 6px solid var(--smart-border);
|
|
583
|
+
border-top: 0;
|
|
584
|
+
position: absolute;
|
|
585
|
+
left: calc(var(--smart-tank-tooltip-width) / 2 - 6px);
|
|
586
|
+
top: -7px;
|
|
587
|
+
}
|
|
588
|
+
.smart-tank[orientation=horizontal][show-thumb-label]:focus .smart-thumb {
|
|
589
|
+
left: 100%;
|
|
590
|
+
top: calc(-1 * var(--smart-tank-thumb-height) - var(--smart-tank-thumb-height) / 2 - 2px);
|
|
591
|
+
/* 2px comes from the border */
|
|
592
|
+
}
|
|
593
|
+
.smart-tank[orientation=horizontal][show-thumb-label][thumb-label-position=far]:focus .smart-thumb {
|
|
594
|
+
top: calc(100% + var(--smart-tank-thumb-height) / 2);
|
|
595
|
+
}
|
|
596
|
+
.smart-tank[orientation=horizontal][thumb-label-position=far] .smart-thumb:before {
|
|
597
|
+
border-radius: 0 50% 50% 50%;
|
|
598
|
+
}
|
|
599
|
+
.smart-tank[orientation=horizontal][thumb-label-position=far]:focus .smart-thumb {
|
|
600
|
+
left: 100%;
|
|
601
|
+
}
|
|
602
|
+
.smart-tank[orientation=horizontal][scale-position=none] .smart-track {
|
|
603
|
+
height: 100%;
|
|
604
|
+
width: 100%;
|
|
605
|
+
position: relative;
|
|
606
|
+
border: solid var(--smart-border);
|
|
607
|
+
border-width: var(--smart-border-width);
|
|
608
|
+
background-color: transparent;
|
|
609
|
+
margin-top: 0;
|
|
610
|
+
margin-bottom: 0;
|
|
611
|
+
}
|
|
612
|
+
.smart-tank[orientation=horizontal][scale-position=both] .smart-track {
|
|
613
|
+
height: calc(100% - 2 * var(--smart-tank-scale-size) - 4px);
|
|
614
|
+
}
|
|
615
|
+
.smart-tank[orientation=horizontal][scale-position=both] .smart-scale {
|
|
616
|
+
width: 100%;
|
|
617
|
+
height: var(--smart-tank-scale-size);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
@keyframes sideWays {
|
|
621
|
+
0% {
|
|
622
|
+
margin-left: -10%;
|
|
623
|
+
}
|
|
624
|
+
100% {
|
|
625
|
+
margin-left: 55%;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
@keyframes animateBubble {
|
|
629
|
+
0% {
|
|
630
|
+
margin-top: 100%;
|
|
631
|
+
}
|
|
632
|
+
100% {
|
|
633
|
+
margin-top: -100%;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
smart-tank[right-to-left] .smart-label,
|
|
637
|
+
smart-tank[right-to-left] .smart-tooltip-content {
|
|
638
|
+
direction: rtl;
|
|
639
|
+
}
|
|
640
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal] .smart-thumb {
|
|
641
|
+
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
642
|
+
margin-left: initial;
|
|
643
|
+
}
|
|
644
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][inverted] .smart-thumb {
|
|
645
|
+
left: 100%;
|
|
646
|
+
margin-left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
647
|
+
}
|
|
648
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=far] .smart-thumb {
|
|
649
|
+
left: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
650
|
+
}
|
|
651
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=far][inverted] .smart-thumb {
|
|
652
|
+
top: calc(100% - var(--smart-tank-thumb-width) / 2);
|
|
653
|
+
}
|
|
654
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=far][inverted]:focus .smart-thumb {
|
|
655
|
+
top: calc(100% + var(--smart-tank-thumb-height) / 2);
|
|
656
|
+
}
|
|
657
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=near][inverted] .smart-thumb {
|
|
658
|
+
top: calc(-1 * var(--smart-tank-thumb-width) / 2);
|
|
659
|
+
}
|
|
660
|
+
smart-tank[right-to-left][show-thumb-label][orientation=horizontal][thumb-label-position=near][inverted]:focus .smart-thumb {
|
|
661
|
+
top: calc(-1 * var(--smart-tank-thumb-height) - var(--smart-tank-thumb-height) / 2 - 2px);
|
|
662
662
|
}
|