@componyx/ui 0.0.0-stage → 1.0.4
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/AppSkin/AppSkin.css +1268 -0
- package/AppSkin/AppSkin.js +2748 -0
- package/AppSkin/Themes/Default.css +241 -0
- package/Base/Base.js +3407 -0
- package/Base/ComponentIcons.css +66 -0
- package/Base/Font/ComponentIcons.woff +0 -0
- package/Base/Font/UI.woff +0 -0
- package/Base/Library.js +8432 -0
- package/Base/NavigationManager.js +462 -0
- package/Base/ResponsiveTemplates.js +371 -0
- package/Base/Sanitizer.js +288 -0
- package/Base/Themes/Default.css +255 -0
- package/Base/UI.css +618 -0
- package/Base/UIResourcePath.js +6 -0
- package/Bindary/Bindary.js +2011 -0
- package/Bindary/Modules/Connection.js +216 -0
- package/Bindary/Modules/Core.js +854 -0
- package/Bindary/Modules/DataUpdater.js +351 -0
- package/Bindary/Modules/ExpressionEngine.js +347 -0
- package/Bindary/Modules/ProxyManager.js +482 -0
- package/Bindary/Modules/Renderer.js +605 -0
- package/Bindary/Modules/Router.js +291 -0
- package/Bindary/Modules/Scroller.js +89 -0
- package/Bindary/Modules/Template.js +1273 -0
- package/BookmarkSpy/BookmarkSpy.js +430 -0
- package/Box/Box.css +36 -0
- package/Box/Box.js +1685 -0
- package/Button/Button.css +470 -0
- package/Button/Button.js +1398 -0
- package/Button/Themes/Default.css +200 -0
- package/Carousel/Carousel.css +273 -0
- package/Carousel/Carousel.js +607 -0
- package/ColorButton/ColorButton.css +39 -0
- package/ColorButton/ColorButton.js +336 -0
- package/ColorPicker/ColorPicker.css +359 -0
- package/ColorPicker/ColorPicker.js +972 -0
- package/ComboBox/ComboBox.css +357 -0
- package/ComboBox/ComboBox.js +2342 -0
- package/ComboBox/Themes/Default.css +23 -0
- package/DataPager/DataPager.css +72 -0
- package/DataPager/DataPager.js +674 -0
- package/DatePicker/DatePicker.css +227 -0
- package/DatePicker/DatePicker.js +1531 -0
- package/DatePicker/Themes/Default.css +26 -0
- package/Dialog/Dialog.css +106 -0
- package/Dialog/Dialog.js +572 -0
- package/Dialog/Themes/Default.css +10 -0
- package/Editor/Data/Emoji.json +8285 -0
- package/Editor/Data/Special.json +1042 -0
- package/Editor/Editor.css +1562 -0
- package/Editor/Editor.js +4058 -0
- package/Editor/Font/Editor.woff +0 -0
- package/Editor/Modules/ComponentFactory.js +565 -0
- package/Editor/Modules/ContentManager.js +748 -0
- package/Editor/Modules/DialogManager.js +1234 -0
- package/Editor/Modules/EventManager.js +458 -0
- package/Editor/Modules/Format.js +950 -0
- package/Editor/Modules/History.js +191 -0
- package/Editor/Modules/LayoutState.js +379 -0
- package/Editor/Modules/ListManager.js +296 -0
- package/Editor/Modules/MenuManager.js +388 -0
- package/Editor/Modules/NodeManager.js +681 -0
- package/Editor/Modules/ParagraphButtons.js +122 -0
- package/Editor/Modules/Resizer.js +176 -0
- package/Editor/Modules/SelectionRange.js +564 -0
- package/Editor/Modules/SourceViewBuilder.js +212 -0
- package/Editor/Modules/SymbolPicker.js +208 -0
- package/Editor/Modules/Table.js +2327 -0
- package/Editor/Modules/TableDialog.js +757 -0
- package/Editor/Modules/Toolbar.js +375 -0
- package/Editor/Modules/TooltipMenu.js +125 -0
- package/Editor/Modules/Utility.js +131 -0
- package/Editor/Themes/Default.css +204 -0
- package/FileUpload/FileUpload.css +156 -0
- package/FileUpload/FileUpload.js +898 -0
- package/FileUpload/Themes/Default.css +17 -0
- package/Form/Form.css +1934 -0
- package/Form/Form.js +4943 -0
- package/Form/Modules/ActionManager.js +368 -0
- package/Form/Modules/BuildPanelManager.js +319 -0
- package/Form/Modules/ComponentFactory.js +468 -0
- package/Form/Modules/ComponentPanel.js +265 -0
- package/Form/Modules/ConfigPanelManager.js +685 -0
- package/Form/Modules/DataBinder.js +602 -0
- package/Form/Modules/DataObserver.js +717 -0
- package/Form/Modules/Draggable.js +756 -0
- package/Form/Modules/OptionsPanel.js +342 -0
- package/Form/Modules/Renderer.js +1889 -0
- package/Form/Modules/RuleEngine.js +585 -0
- package/Form/Modules/RulesPanel.js +1158 -0
- package/Form/Modules/Types.js +1709 -0
- package/Form/Modules/ValidationManager.js +194 -0
- package/Form/Themes/Default.css +216 -0
- package/FormField/FormField.css +468 -0
- package/FormField/FormField.js +576 -0
- package/FormField/Themes/Default.css +99 -0
- package/Grid/Grid.css +544 -0
- package/Grid/Grid.js +3761 -0
- package/Grid/Themes/Default.css +43 -0
- package/LICENSE +126 -0
- package/MaskedTextBox/MaskedTextBox.css +28 -0
- package/MaskedTextBox/MaskedTextBox.js +642 -0
- package/MaskedTextBox/Themes/Default.css +6 -0
- package/Menu/Menu.css +328 -0
- package/Menu/Menu.js +2386 -0
- package/Menu/Themes/Default.css +24 -0
- package/NumericBox/NumericBox.css +120 -0
- package/NumericBox/NumericBox.js +984 -0
- package/PanelBar/PanelBar.css +123 -0
- package/PanelBar/PanelBar.js +505 -0
- package/PanelBar/Themes/Default.css +51 -0
- package/PieChart/PieChart.css +95 -0
- package/PieChart/PieChart.js +820 -0
- package/PieChart/Themes/Default.css +9 -0
- package/README.md +178 -3
- package/Slider/Slider.css +348 -0
- package/Slider/Slider.js +1306 -0
- package/Slider/Themes/Default.css +44 -0
- package/TabStrip/TabStrip.css +52 -0
- package/TabStrip/TabStrip.js +362 -0
- package/TabStrip/Themes/Default.css +35 -0
- package/TimePicker/Themes/Default.css +30 -0
- package/TimePicker/TimePicker.css +253 -0
- package/TimePicker/TimePicker.js +1485 -0
- package/TooltipManager/Themes/Default.css +21 -0
- package/TooltipManager/TooltipManager.css +227 -0
- package/TooltipManager/TooltipManager.js +791 -0
- package/Validator/Validator.css +54 -0
- package/Validator/Validator.js +2508 -0
- package/componyx.html-data.json +619 -0
- package/index.js +27 -0
- package/package.json +43 -4
- package/types/AppSkin.d.ts +842 -0
- package/types/Base.d.ts +1034 -0
- package/types/Bindary.d.ts +1196 -0
- package/types/BookmarkSpy.d.ts +112 -0
- package/types/Box.d.ts +374 -0
- package/types/Button.d.ts +455 -0
- package/types/Carousel.d.ts +136 -0
- package/types/ColorButton.d.ts +120 -0
- package/types/ColorPicker.d.ts +225 -0
- package/types/ComboBox.d.ts +507 -0
- package/types/DataPager.d.ts +152 -0
- package/types/DatePicker.d.ts +354 -0
- package/types/Dialog.d.ts +160 -0
- package/types/Editor.d.ts +1289 -0
- package/types/FileUpload.d.ts +206 -0
- package/types/Form.d.ts +3078 -0
- package/types/FormField.d.ts +204 -0
- package/types/Grid.d.ts +911 -0
- package/types/Library.d.ts +1899 -0
- package/types/MaskedTextBox.d.ts +91 -0
- package/types/Menu.d.ts +577 -0
- package/types/NumericBox.d.ts +310 -0
- package/types/PanelBar.d.ts +223 -0
- package/types/PieChart.d.ts +224 -0
- package/types/ResponsiveTemplates.d.ts +108 -0
- package/types/Slider.d.ts +227 -0
- package/types/TabStrip.d.ts +185 -0
- package/types/TimePicker.d.ts +265 -0
- package/types/TooltipManager.d.ts +178 -0
- package/types/UI.d.ts +29 -0
- package/types/Validator.d.ts +653 -0
- package/types/index.d.ts +59 -0
- package/ui.css +11783 -0
- package/ui.js +79477 -0
- package/ui.min.css +138 -0
- package/ui.min.js +264 -0
- package/ui.min.js.map +1 -0
package/README.md
CHANGED
|
@@ -1,3 +1,178 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# Componyx.UI
|
|
2
|
+
|
|
3
|
+
**Standards-based, framework-free UI components for the web.**
|
|
4
|
+
|
|
5
|
+
📖 **[Full documentation, examples and API reference: componyx.com](https://componyx.com)**
|
|
6
|
+
|
|
7
|
+
> **First public release.** This is the first public release of Componyx.UI, so you
|
|
8
|
+
> may run into issues. If you do, please
|
|
9
|
+
> [open an issue](https://github.com/Componyx/Componyx.UI/issues) so it can be fixed.
|
|
10
|
+
|
|
11
|
+
Componyx.UI is a modular framework for building web interfaces with plain JavaScript, HTML and CSS. There's no build step and no compiler, everything runs directly in the browser.
|
|
12
|
+
|
|
13
|
+
## What's included
|
|
14
|
+
|
|
15
|
+
* **[Components](https://componyx.com/components)** — 25+ ready-to-use UI components: buttons, forms, menus, grids, dialogs and more, built in plain JavaScript with zero external runtime dependencies.
|
|
16
|
+
* **[Bindary](https://componyx.com/bindary)** — a reactive data-binding layer that keeps your UI in sync with your data, without adopting a new templating language. Use it alongside the components, or on its own.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Why Componyx.UI?
|
|
21
|
+
|
|
22
|
+
## Componyx
|
|
23
|
+
|
|
24
|
+
Componyx delivers two products that work together, but stand on their own:
|
|
25
|
+
|
|
26
|
+
* **Componyx.UI** — reusable UI components you can drop into any HTML/JavaScript page.
|
|
27
|
+
* **Bindary** — a reactive data-binding layer that keeps your UI in sync with your data.
|
|
28
|
+
|
|
29
|
+
Use them together, or use either one independently.
|
|
30
|
+
|
|
31
|
+
### Componyx.UI
|
|
32
|
+
|
|
33
|
+
25+ ready-to-use components including buttons, forms, menus, grids, dialogs and more.
|
|
34
|
+
|
|
35
|
+
Built in plain JavaScript with zero external runtime dependencies.
|
|
36
|
+
|
|
37
|
+
### Bindary
|
|
38
|
+
|
|
39
|
+
A reactive data-binding layer for plain HTML.
|
|
40
|
+
|
|
41
|
+
Bind values, repeat data, load routes, and keep your UI in sync without adopting a new templating language.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Why Componyx?
|
|
46
|
+
|
|
47
|
+
### Standards-based
|
|
48
|
+
|
|
49
|
+
Componyx components use HTML attributes and JavaScript events in a way that stays close to the platform.
|
|
50
|
+
|
|
51
|
+
There is no new component syntax to learn. If you know HTML and JavaScript, you already know the foundation.
|
|
52
|
+
|
|
53
|
+
The [API reference](https://componyx.com) documents the available elements, attributes, properties and events.
|
|
54
|
+
|
|
55
|
+
### No build step required
|
|
56
|
+
|
|
57
|
+
Add the Componyx resources to your page and go.
|
|
58
|
+
|
|
59
|
+
Your application does not need a compiler, bundler, or third-party JavaScript packages just to use Componyx.
|
|
60
|
+
|
|
61
|
+
### Modular by design
|
|
62
|
+
|
|
63
|
+
Use a single component or build an entire application interface from Componyx components.
|
|
64
|
+
|
|
65
|
+
Components can be declared directly in HTML or created and configured from JavaScript.
|
|
66
|
+
|
|
67
|
+
### Fast by default
|
|
68
|
+
|
|
69
|
+
Componyx works directly with the browser's DOM.
|
|
70
|
+
|
|
71
|
+
There is no virtual DOM or additional rendering layer between your application and the browser.
|
|
72
|
+
|
|
73
|
+
### Proven, not experimental
|
|
74
|
+
|
|
75
|
+
Componyx was developed over more than a decade in real business applications, handling real users, real data and real-world requirements.
|
|
76
|
+
|
|
77
|
+
It is now being made available as a reusable library.
|
|
78
|
+
|
|
79
|
+
### Free to use
|
|
80
|
+
|
|
81
|
+
Componyx.UI is free to use for personal and commercial projects, by companies, freelancers and agencies.
|
|
82
|
+
|
|
83
|
+
See [`LICENSE`](LICENSE) for the complete license terms.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Getting Started
|
|
88
|
+
|
|
89
|
+
Componyx.UI is designed to work directly in the browser.
|
|
90
|
+
|
|
91
|
+
For installation instructions, examples, component documentation and API reference, visit:
|
|
92
|
+
|
|
93
|
+
**[componyx.com](https://componyx.com)**
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## TypeScript definitions (optional)
|
|
98
|
+
|
|
99
|
+
Componyx.UI ships TypeScript definition files for editor IntelliSense and type checking in plain JavaScript projects. They are for tooling only; the components themselves are 100% JavaScript and nothing changes at runtime.
|
|
100
|
+
When using the NuGet package, the definitions are copied to TypeDefinitions/Componyx.UI on build; add that folder to the include of your tsconfig.json or jsconfig.json.
|
|
101
|
+
|
|
102
|
+
Setup for NPM and NuGet projects is described at [componyx.com](https://componyx.com).
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Editor support
|
|
107
|
+
|
|
108
|
+
Componyx ships a VS Code custom data file for IntelliSense on `ui-*`, `data-ui-*`, `b-*` and `data-bindary-*` attributes. When using the NuGet package, it is copied to `TypeDefinitions/Componyx.UI` on build. Add this to your project's `.vscode/settings.json`:
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{
|
|
112
|
+
"html.customData": ["./TypeDefinitions/Componyx.UI/componyx.html-data.json"]
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Restart VS Code (or reload the window) for it to take effect.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Server-side integration
|
|
121
|
+
|
|
122
|
+
The core UI components are JavaScript-based and are not tied to a particular server-side technology.
|
|
123
|
+
|
|
124
|
+
Componyx provides integrations and helper libraries for server-side environments including:
|
|
125
|
+
|
|
126
|
+
* **.NET 10**
|
|
127
|
+
* **Node.js**
|
|
128
|
+
|
|
129
|
+
These integrations are optional. The client-side UI components can be used independently.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Repository Structure
|
|
134
|
+
|
|
135
|
+
```text
|
|
136
|
+
Componyx.UI/
|
|
137
|
+
├── Build/ Build Scripts for minifying and bundeling scripts and CSS.
|
|
138
|
+
├── Data/ Data like IconPacks, JSDOC Template and Utils.
|
|
139
|
+
├── Docs/ Development documentation.
|
|
140
|
+
├── NET/ .NET integration and C# source.
|
|
141
|
+
├── NodeBackend/ NodeJS backend source files.
|
|
142
|
+
├── Resources/ JavaScript, CSS and other embedded resources
|
|
143
|
+
├── TypeDefinitions/ TypeScript definition files for VS intellisense.
|
|
144
|
+
├── README.md
|
|
145
|
+
└── LICENSE
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
For information about building the repository from source, see [`docs/BUILD.md`](docs/BUILD.md).
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Development
|
|
153
|
+
|
|
154
|
+
The repository contains the source code and build tooling used to develop and package Componyx.UI.
|
|
155
|
+
|
|
156
|
+
The build process bundles and minifies the client-side JavaScript and CSS resources and prepares the resources used by the .NET integration.
|
|
157
|
+
|
|
158
|
+
See [`docs/BUILD.md`](docs/BUILD.md) for development and build instructions.
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Documentation
|
|
163
|
+
|
|
164
|
+
Full documentation, examples and API reference are available at:
|
|
165
|
+
|
|
166
|
+
**[componyx.com](https://componyx.com)**
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## License (TL;DR)
|
|
171
|
+
|
|
172
|
+
Componyx.UI is source-available under the Business Source License 1.1 (BUSL-1.1) with a custom Additional Use Grant. Each version automatically converts to the MIT license four years after its release.
|
|
173
|
+
|
|
174
|
+
Componyx.UI is free to use in production, for personal and commercial projects alike: build, run and sell your own applications, including for clients as a freelancer or agency. Letting your users build forms, pages or layouts within your application is free too.
|
|
175
|
+
|
|
176
|
+
What you may not do is resell, rebrand, or distribute Componyx.UI as your own product, library, or framework. A product whose main purpose is letting others build general-purpose forms, such as an online form builder or survey tool, is licensed separately.
|
|
177
|
+
|
|
178
|
+
See ['LICENSE'](LICENSE) for the full terms. Not sure whether your use is covered? [Contact us](https://componyx.com/contact/license).
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
/*! Componyx.UI | (c) E.H. Daanen / Componyx | BUSL-1.1 | componyx.com/license */
|
|
2
|
+
/* Animation */
|
|
3
|
+
.slider.theme > div.content > div.track > div.range,
|
|
4
|
+
.slider.theme > div.content > span.handle
|
|
5
|
+
{
|
|
6
|
+
transition: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.slider.theme.animation > div.content > div.track > div.range
|
|
10
|
+
{
|
|
11
|
+
transition: all 0.2s;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.slider.theme.animation:not(.vertical) > div.content > span.handle
|
|
16
|
+
{
|
|
17
|
+
transition: left 0.2s;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.slider.theme.animation.vertical > div.content > span.handle
|
|
21
|
+
{
|
|
22
|
+
transition: top 0.2s;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
.slider.theme
|
|
27
|
+
{
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
user-select: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.slider.theme .button.theme
|
|
34
|
+
{
|
|
35
|
+
vertical-align: middle;
|
|
36
|
+
width: 16px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.slider.theme .button.theme span.expand-icon
|
|
40
|
+
{
|
|
41
|
+
margin-left: 0px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.slider.theme > div.content
|
|
45
|
+
{
|
|
46
|
+
position: relative;
|
|
47
|
+
width: auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.slider.theme:not(.fixed-track-size) > div.content
|
|
51
|
+
{
|
|
52
|
+
flex-grow: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.slider.theme > div.content > div.track
|
|
56
|
+
{
|
|
57
|
+
position: relative;
|
|
58
|
+
border-radius: 0px;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.slider.theme > div.content > div.track > div.range
|
|
64
|
+
{
|
|
65
|
+
border-radius: 0px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.slider.theme > div.content > span.handle
|
|
69
|
+
{
|
|
70
|
+
position: absolute;
|
|
71
|
+
z-index: 1;
|
|
72
|
+
width: 24px;
|
|
73
|
+
height: 24px;
|
|
74
|
+
border-width: 1px;
|
|
75
|
+
border-style: solid;
|
|
76
|
+
border-color: transparent;
|
|
77
|
+
border-radius: 100%;
|
|
78
|
+
outline: none;
|
|
79
|
+
transform: translateX(-50%) translateY(-50%);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.slider.theme > div.content > ul.ticks
|
|
83
|
+
{
|
|
84
|
+
margin: 0px;
|
|
85
|
+
padding: 0px;
|
|
86
|
+
list-style: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.slider.theme > div.content > ul.ticks > li.tick
|
|
90
|
+
{
|
|
91
|
+
background: none;
|
|
92
|
+
color: inherit;
|
|
93
|
+
line-height: normal;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.slider.theme > div.content > ul.ticks > li.tick > b
|
|
97
|
+
{
|
|
98
|
+
font-weight: normal;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* horizontal */
|
|
102
|
+
.slider.theme:not(.vertical):not(.fixed-track-size)
|
|
103
|
+
{
|
|
104
|
+
min-width: 300px;
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.slider.theme:not(.vertical) > div.content
|
|
109
|
+
{
|
|
110
|
+
display: inline-block;
|
|
111
|
+
vertical-align: middle;
|
|
112
|
+
margin-left: 20px;
|
|
113
|
+
margin-right: 20px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.slider.theme:not(.vertical) > div.content > ul.ticks
|
|
117
|
+
{
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: space-between;
|
|
120
|
+
margin-bottom: 8px;
|
|
121
|
+
height: 30px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.slider.theme:not(.vertical) > div.content > ul.ticks > li.tick
|
|
125
|
+
{
|
|
126
|
+
position: relative;
|
|
127
|
+
height: 25px;
|
|
128
|
+
width: 1px;
|
|
129
|
+
padding-bottom: 5px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.slider.theme:not(.vertical) > div.content > ul.ticks > li.tick::before
|
|
133
|
+
{
|
|
134
|
+
display: inline-block;
|
|
135
|
+
position: absolute;
|
|
136
|
+
content: '';
|
|
137
|
+
bottom: 0px;
|
|
138
|
+
width: 1px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* tick heights */
|
|
142
|
+
.slider.theme:not(.vertical):not(.minor):not(.major) > div.content > ul.ticks > li.tick::before
|
|
143
|
+
{
|
|
144
|
+
height: 40%;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.slider.theme:not(.vertical).major:not(.minor) > div.content > ul.ticks > li.tick::before
|
|
148
|
+
{
|
|
149
|
+
height: 20%;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.slider.theme:not(.vertical).minor > div.content > ul.ticks > li.tick::before
|
|
153
|
+
{
|
|
154
|
+
height: 10%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.slider.theme:not(.vertical).minor > div.content > ul.ticks > li.tick.minor::before
|
|
158
|
+
{
|
|
159
|
+
height: 20%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.slider.theme:not(.vertical).major > div.content > ul.ticks > li.tick.major::before
|
|
163
|
+
{
|
|
164
|
+
height: 40%;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
/* tick value */
|
|
169
|
+
.slider.theme:not(.vertical) > div.content > ul.ticks > li.tick > b
|
|
170
|
+
{
|
|
171
|
+
display: inline-block;
|
|
172
|
+
position: absolute;
|
|
173
|
+
transform: translateX(-50%);
|
|
174
|
+
white-space: nowrap;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.slider.theme:not(.vertical) > div.content > div.track
|
|
178
|
+
{
|
|
179
|
+
height: 5px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.slider.theme:not(.vertical) > div.content > ul.ticks.after
|
|
183
|
+
{
|
|
184
|
+
position: relative;
|
|
185
|
+
padding-bottom: 0px;
|
|
186
|
+
padding-top: 15px;
|
|
187
|
+
height: 15px;
|
|
188
|
+
margin-top: 8px;
|
|
189
|
+
margin-bottom: 0px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.slider.theme:not(.vertical) > div.content > ul.ticks.after > li.tick::before
|
|
193
|
+
{
|
|
194
|
+
bottom: auto;
|
|
195
|
+
top: -15px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.slider.theme:not(.vertical) > div.content > div.track > div.range
|
|
199
|
+
{
|
|
200
|
+
height: 100%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.slider.theme:not(.vertical).reversed > div.content > div.track > div.range
|
|
204
|
+
{
|
|
205
|
+
position: absolute;
|
|
206
|
+
right: 0px;
|
|
207
|
+
top: 0px;
|
|
208
|
+
bottom: 0px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.slider.theme:not(.vertical) > div.content > span.handle
|
|
212
|
+
{
|
|
213
|
+
top: 50%;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
/* vertical */
|
|
219
|
+
.slider.theme.vertical:not(.fixed-track-size)
|
|
220
|
+
{
|
|
221
|
+
min-height: 300px;
|
|
222
|
+
height: 100%;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.slider.theme.vertical
|
|
226
|
+
{
|
|
227
|
+
align-items: flex-start;
|
|
228
|
+
flex-direction: column;
|
|
229
|
+
width: fit-content;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.slider.theme.vertical .button.theme
|
|
233
|
+
{
|
|
234
|
+
display: flex;
|
|
235
|
+
left: 50%;
|
|
236
|
+
transform: translateX(-50%);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.slider.theme.vertical.reversed > div.content > div.track > div.range
|
|
240
|
+
{
|
|
241
|
+
position: absolute;
|
|
242
|
+
bottom: 0px;
|
|
243
|
+
left: 0px;
|
|
244
|
+
right: 0px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.slider.theme.vertical > div.content
|
|
248
|
+
{
|
|
249
|
+
position: relative;
|
|
250
|
+
display: inline-flex;
|
|
251
|
+
width: auto;
|
|
252
|
+
margin-top: 20px;
|
|
253
|
+
margin-bottom: 20px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.slider.theme.vertical > div.content > ul.ticks
|
|
257
|
+
{
|
|
258
|
+
display: flex;
|
|
259
|
+
justify-content: space-between;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
margin-right: 8px;
|
|
262
|
+
width: 30px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
.slider.theme.vertical > div.content > ul.ticks > li.tick
|
|
267
|
+
{
|
|
268
|
+
position: relative;
|
|
269
|
+
width: 25px;
|
|
270
|
+
height: 1px;
|
|
271
|
+
padding-right: 5px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.slider.theme.vertical > div.content > ul.ticks > li.tick::before
|
|
275
|
+
{
|
|
276
|
+
display: inline-block;
|
|
277
|
+
position: absolute;
|
|
278
|
+
content: '';
|
|
279
|
+
right: 0px;
|
|
280
|
+
height: 1px;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* tick widths */
|
|
284
|
+
.slider.theme.vertical:not(.minor):not(.major) > div.content > ul.ticks > li.tick::before
|
|
285
|
+
{
|
|
286
|
+
width: 40%;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.slider.theme.vertical.major:not(.minor) > div.content > ul.ticks > li.tick::before
|
|
290
|
+
{
|
|
291
|
+
width: 20%;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.slider.theme.vertical.minor > div.content > ul.ticks > li.tick::before
|
|
295
|
+
{
|
|
296
|
+
width: 10%;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.slider.theme.vertical.minor > div.content > ul.ticks > li.tick.minor::before
|
|
300
|
+
{
|
|
301
|
+
width: 20%;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.slider.theme.vertical.major > div.content > ul.ticks > li.tick.major::before
|
|
305
|
+
{
|
|
306
|
+
width: 40%;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* tick value */
|
|
310
|
+
.slider.theme.vertical > div.content > ul.ticks > li.tick > b
|
|
311
|
+
{
|
|
312
|
+
display: inline-block;
|
|
313
|
+
position: absolute;
|
|
314
|
+
transform: translateY(-50%);
|
|
315
|
+
right: 15px;
|
|
316
|
+
text-align: right;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.slider.theme.vertical > div.content > div.track
|
|
320
|
+
{
|
|
321
|
+
width: 5px;
|
|
322
|
+
flex-grow: 1;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.slider.theme.vertical > div.content > ul.ticks.after
|
|
326
|
+
{
|
|
327
|
+
margin-right: 0px;
|
|
328
|
+
margin-left: 8px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.slider.theme.vertical > div.content > ul.ticks.after > li.tick::before
|
|
332
|
+
{
|
|
333
|
+
left: 0px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.slider.theme.vertical > div.content > ul.ticks.after > li.tick > b
|
|
337
|
+
{
|
|
338
|
+
display: inline-block;
|
|
339
|
+
position: absolute;
|
|
340
|
+
transform: translateY(-50%);
|
|
341
|
+
left: 15px;
|
|
342
|
+
text-align: left;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.slider.theme.vertical > div.content > span.handle
|
|
346
|
+
{
|
|
347
|
+
left: 50%;
|
|
348
|
+
}
|