luda 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/javascripts/luda-degradation.js +10 -4
- data/assets/javascripts/luda-degradation.js.map +1 -1
- data/assets/javascripts/luda-degradation.min.js +2 -2
- data/assets/javascripts/luda-degradation.min.js.map +1 -1
- data/assets/javascripts/luda-sprockets.js +2 -0
- data/assets/javascripts/luda.js +4003 -2083
- data/assets/javascripts/luda.js.map +1 -1
- data/assets/javascripts/luda.min.js +2 -2
- data/assets/javascripts/luda.min.js.map +1 -1
- data/assets/javascripts/luda/behaviors/disabled.js +24 -0
- data/assets/javascripts/luda/behaviors/enter.js +24 -33
- data/assets/javascripts/luda/behaviors/focus.js +98 -95
- data/assets/javascripts/luda/behaviors/readonly.js +20 -58
- data/assets/javascripts/luda/behaviors/tabulate.js +42 -62
- data/assets/javascripts/luda/behaviors/toggle.js +98 -144
- data/assets/javascripts/luda/degradation.js +9 -3
- data/assets/javascripts/luda/elements/form-file.js +62 -109
- data/assets/javascripts/luda/elements/form-select.js +101 -208
- data/assets/javascripts/luda/index.js +4 -2
- data/assets/javascripts/luda/kernel/index.js +3095 -0
- data/assets/javascripts/luda/mixins/disable.js +34 -0
- data/assets/javascripts/luda/mixins/resetable.js +46 -0
- data/assets/javascripts/luda/mixins/tabable.js +274 -0
- data/assets/javascripts/luda/mixins/toggleable.js +185 -0
- data/assets/javascripts/luda/patterns/carousel.js +115 -333
- data/assets/javascripts/luda/patterns/dropdown.js +132 -271
- data/assets/javascripts/luda/patterns/form-dropdown.js +59 -104
- data/assets/javascripts/luda/patterns/tab.js +49 -150
- data/assets/stylesheets/luda/default/_banner.sass +1 -1
- data/assets/stylesheets/luda/default/_base.sass +1 -1
- data/assets/stylesheets/luda/default/_functions.sass +1 -1
- data/assets/stylesheets/luda/default/_mixins.sass +12 -12
- data/assets/stylesheets/luda/default/_variables.sass +747 -1
- data/assets/stylesheets/luda/default/behaviors/_disabled.sass +1 -1
- data/assets/stylesheets/luda/default/behaviors/_focus.sass +1 -1
- data/assets/stylesheets/luda/default/behaviors/_readonly.sass +1 -1
- data/assets/stylesheets/luda/default/behaviors/_toggle.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_badge.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_baseline.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_button.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_container.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_grid.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_icon.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_media.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_overlay.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_progress.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_scrollbar.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_table.sass +1 -1
- data/assets/stylesheets/luda/default/elements/_turbolinks-progress-bar.sass +1 -1
- data/assets/stylesheets/luda/default/elements/form/_form-check-radio.sass +1 -1
- data/assets/stylesheets/luda/default/elements/form/_form-element.sass +1 -1
- data/assets/stylesheets/luda/default/elements/form/_form-helper.sass +1 -1
- data/assets/stylesheets/luda/default/elements/form/_form-label.sass +1 -1
- data/assets/stylesheets/luda/default/elements/form/_form-range.sass +1 -1
- data/assets/stylesheets/luda/default/elements/form/_form-row.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_code.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_heading.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_link.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_list.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_mark.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_paragraph.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_quote.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_sub-sup.sass +1 -1
- data/assets/stylesheets/luda/default/elements/typography/_typography.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_alert.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_article.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_avatar.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_breadcrumb.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_button-group.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_button-icon.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_carousel.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_dropdown.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_form-dropdown.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_form-group.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_form-icon.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_modal.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_navigation.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_search-bar.sass +1 -1
- data/assets/stylesheets/luda/default/patterns/_tab.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_alignment.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_background.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_border.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_color.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_display.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_flex.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_float.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_opacity.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_overflow.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_position.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_shadow.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_shape.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_size.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_spacing.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_text.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_visibility.sass +1 -1
- data/assets/stylesheets/luda/default/utilities/_z-index.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/_base.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/_functions.sass +23 -0
- data/assets/stylesheets/luda/kernel/behaviors/_disabled.sass +7 -0
- data/assets/stylesheets/luda/kernel/behaviors/_focus.sass +7 -0
- data/assets/stylesheets/luda/kernel/behaviors/_readonly.sass +7 -0
- data/assets/stylesheets/luda/kernel/behaviors/_toggle.sass +4 -0
- data/assets/stylesheets/luda/{_core → kernel}/elements/_badge.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_baseline.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_button.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_container.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_grid.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_icon.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_media.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_overlay.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_progress.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_scrollbar.sass +7 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/_table.sass +1 -1
- data/assets/stylesheets/luda/kernel/elements/_turbolinks-progress-bar.sass +5 -0
- data/assets/stylesheets/luda/{_core → kernel}/elements/form/_form-check-radio.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/form/_form-element.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/form/_form-helper.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/form/_form-label.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/form/_form-range.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/form/_form-row.sass +13 -28
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_code.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_heading.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_link.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_list.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_mark.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_paragraph.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_quote.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/elements/typography/_sub-sup.sass +1 -1
- data/assets/stylesheets/luda/kernel/elements/typography/_typography.sass +6 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_base.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_browser.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_button.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_disabled.sass +1 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_dropdown.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_focus.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_form.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_install.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_media-query.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_overlay.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_sass-lint-fix.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/mixins/_typography.sass +0 -0
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_alert.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_article.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_avatar.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_breadcrumb.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_button-group.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_button-icon.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_carousel.sass +2 -2
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_dropdown.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_form-dropdown.sass +6 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_form-group.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_form-icon.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_modal.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_navigation.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_search-bar.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/patterns/_tab.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_alignment.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_background.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_border.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_color.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_display.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_flex.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_float.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_opacity.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_overflow.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_position.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_shadow.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_shape.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_size.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_spacing.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_text.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_visibility.sass +1 -1
- data/assets/stylesheets/luda/{_core → kernel}/utilities/_z-index.sass +1 -1
- data/lib/luda/version.rb +1 -1
- metadata +86 -89
- data/assets/javascripts/luda/constants.js +0 -18
- data/assets/javascripts/luda/dom.js +0 -143
- data/assets/javascripts/luda/event.js +0 -201
- data/assets/javascripts/luda/factory.js +0 -334
- data/assets/javascripts/luda/install.js +0 -75
- data/assets/javascripts/luda/static.js +0 -224
- data/assets/javascripts/luda/utilities.js +0 -16
- data/assets/stylesheets/luda/_core/_variables.sass +0 -742
- data/assets/stylesheets/luda/_core/behaviors/_disabled.sass +0 -7
- data/assets/stylesheets/luda/_core/behaviors/_focus.sass +0 -7
- data/assets/stylesheets/luda/_core/behaviors/_readonly.sass +0 -14
- data/assets/stylesheets/luda/_core/behaviors/_toggle.sass +0 -4
- data/assets/stylesheets/luda/_core/elements/_turbolinks-progress-bar.sass +0 -5
- data/assets/stylesheets/luda/_core/elements/typography/_typography.sass +0 -6
@@ -1,156 +1,55 @@
|
|
1
|
-
//= require ../
|
2
|
-
//= require ../
|
3
|
-
//= require ../event
|
4
|
-
//= require ../factory
|
1
|
+
//= require ../kernel/index
|
2
|
+
//= require ../mixins/tabable
|
5
3
|
(function (global, factory) {
|
6
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../
|
7
|
-
typeof define === 'function' && define.amd ? define(['../
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../kernel/index.js'), require('../mixins/tabable.js')) :
|
5
|
+
typeof define === 'function' && define.amd ? define(['../kernel/index.js', '../mixins/tabable.js'], factory) :
|
8
6
|
(factory());
|
9
7
|
}(this, (function () { 'use strict';
|
10
8
|
|
11
|
-
luda((
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
}
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
_layout() {
|
58
|
-
this._$panes.forEach(($pane, index) => {
|
59
|
-
$pane.style.transition = 'none';
|
60
|
-
if (index === this._activeIndex) {
|
61
|
-
$pane.classList.add(this.constructor._PANE_ACTIVE_CSS_CLASS);
|
62
|
-
} else {
|
63
|
-
$pane.classList.remove(this.constructor._PANE_ACTIVE_CSS_CLASS);
|
64
|
-
}
|
65
|
-
luda.reflow($pane);
|
66
|
-
return $pane.style.transition = '';
|
67
|
-
});
|
68
|
-
return this._setIndicatorsState();
|
69
|
-
}
|
70
|
-
|
71
|
-
_activate(activatedIndex) {
|
72
|
-
var $activatedPane, $pane;
|
73
|
-
$pane = this._$panes[this._activeIndex];
|
74
|
-
$activatedPane = this._$panes[activatedIndex];
|
75
|
-
$pane.classList.add(this.constructor._PANE_ACTIVE_CSS_CLASS);
|
76
|
-
$activatedPane.classList.remove(this.constructor._PANE_ACTIVE_CSS_CLASS);
|
77
|
-
this._handleTransitionEnd(this._activeIndex, activatedIndex);
|
78
|
-
return this._setIndicatorsState();
|
79
|
-
}
|
80
|
-
|
81
|
-
_canTransition(activeIndex, activatedIndex) {
|
82
|
-
return !this._activatePrevented(this._$panes[activeIndex], activeIndex) && !this._deactivatePrevented(this._$panes[activatedIndex], activatedIndex);
|
83
|
-
}
|
84
|
-
|
85
|
-
_handleTransitionEnd(activeIndex, activatedIndex) {
|
86
|
-
var activateDuration, deactivateDuration;
|
87
|
-
activateDuration = this._handleActivateEnd(this._$panes[activeIndex], activeIndex);
|
88
|
-
return deactivateDuration = this._handleDeactivateEnd(this._$panes[activatedIndex], activatedIndex);
|
89
|
-
}
|
90
|
-
|
91
|
-
_handleTransitionCancel() {
|
92
|
-
var activatedIndex, index;
|
93
|
-
if (this._isActivating()) {
|
94
|
-
index = parseInt(this._getActivatingMark(), 10);
|
95
|
-
this._handleActivateCancel(this._$panes[index], index);
|
96
|
-
}
|
97
|
-
if (this._isDeactivating()) {
|
98
|
-
activatedIndex = parseInt(this._getDeactivatingMark(), 10);
|
99
|
-
return this._handleDeactivateCancel(this._$panes[activatedIndex], activatedIndex);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
_setIndicatorsState() {
|
104
|
-
return this._$indicators.forEach(($indicator, index) => {
|
105
|
-
if (index === this._activeIndex) {
|
106
|
-
$indicator.setAttribute('checked', '');
|
107
|
-
return $indicator.checked = true;
|
108
|
-
} else {
|
109
|
-
$indicator.removeAttribute('checked');
|
110
|
-
return $indicator.checked = false;
|
111
|
-
}
|
112
|
-
});
|
113
|
-
}
|
114
|
-
|
115
|
-
static activate($tab, index) {
|
116
|
-
return this.query($tab).activate(index);
|
117
|
-
}
|
118
|
-
|
119
|
-
// static private
|
120
|
-
static _init() {
|
121
|
-
var self;
|
122
|
-
self = this;
|
123
|
-
return luda.on('change', this._INDICATOR_SELECTOR, function(e) {
|
124
|
-
var instance;
|
125
|
-
if (this.checked) {
|
126
|
-
instance = self.query(luda.$parent(self._SELECTOR, this));
|
127
|
-
instance._setIndicatorsState();
|
128
|
-
return instance.activate(instance._$indicators.indexOf(this));
|
129
|
-
}
|
130
|
-
});
|
131
|
-
}
|
132
|
-
|
133
|
-
};
|
134
|
-
|
135
|
-
_Class._SCOPE = 'tab';
|
136
|
-
|
137
|
-
_Class._SELECTOR = '.tab';
|
138
|
-
|
139
|
-
_Class._PANE_SELECTOR = '.tab-pane';
|
140
|
-
|
141
|
-
_Class._INDICATOR_SELECTOR = '.tab-indicators .btn-radio input[type=radio]';
|
142
|
-
|
143
|
-
_Class._PANE_ACTIVE_CSS_CLASS = 'tab-pane-active';
|
144
|
-
|
145
|
-
_Class._ACTIVE_INDEX = 0;
|
146
|
-
|
147
|
-
_Class._observerConfig = {
|
148
|
-
childList: true,
|
149
|
-
subtree: true
|
150
|
-
};
|
151
|
-
|
152
|
-
return _Class;
|
153
|
-
|
154
|
-
}).call(this));
|
9
|
+
luda.component('tab').protect({
|
10
|
+
cls: {
|
11
|
+
tabable: {
|
12
|
+
active: 'tab-pane-active',
|
13
|
+
indicatorActive: 'btn-active'
|
14
|
+
}
|
15
|
+
},
|
16
|
+
data: {
|
17
|
+
tabable: {
|
18
|
+
interruption: 'data-tab_interruption'
|
19
|
+
}
|
20
|
+
},
|
21
|
+
evt: {
|
22
|
+
tabable: {
|
23
|
+
activate: 'luda:tab:activate',
|
24
|
+
activated: 'luda:tab:activated',
|
25
|
+
deactivate: 'luda:tab:deactivate',
|
26
|
+
deactivated: 'luda:tab:deactivated'
|
27
|
+
}
|
28
|
+
},
|
29
|
+
selector: {
|
30
|
+
tabable: {
|
31
|
+
targets: '.tab-pane',
|
32
|
+
indicators: '.tab-indicators .btn'
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}).include(luda.mixin('tabable').alias({
|
36
|
+
activate: 'tabableActivate'
|
37
|
+
})).protect(luda.mixin('tabable').all()).help({
|
38
|
+
find: function() {
|
39
|
+
return this.tabableFind();
|
40
|
+
},
|
41
|
+
create: function() {
|
42
|
+
return this.tabableCreate();
|
43
|
+
},
|
44
|
+
destroy: function() {
|
45
|
+
return this.tabableDestroy();
|
46
|
+
},
|
47
|
+
watch: function() {
|
48
|
+
return this.tabableWatch();
|
49
|
+
},
|
50
|
+
listen: function() {
|
51
|
+
return this.tabableListen();
|
52
|
+
}
|
53
|
+
});
|
155
54
|
|
156
55
|
})));
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// sass-lint:disable no-empty-rulesets
|
2
2
|
+install(banner)
|
3
3
|
/*!
|
4
|
-
* Luda 0.
|
4
|
+
* Luda 0.3.0 | Theme default | https://oatw.github.io/luda
|
5
5
|
* Copyright 2019 Oatw | https://oatw.blog
|
6
6
|
* MIT license | http://opensource.org/licenses/MIT
|
7
7
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
@import '../
|
1
|
+
@import '../kernel/functions'
|
@@ -1,12 +1,12 @@
|
|
1
|
-
@import '../
|
2
|
-
@import '../
|
3
|
-
@import '../
|
4
|
-
@import '../
|
5
|
-
@import '../
|
6
|
-
@import '../
|
7
|
-
@import '../
|
8
|
-
@import '../
|
9
|
-
@import '../
|
10
|
-
@import '../
|
11
|
-
@import '../
|
12
|
-
@import '../
|
1
|
+
@import '../kernel/mixins/install'
|
2
|
+
@import '../kernel/mixins/browser'
|
3
|
+
@import '../kernel/mixins/media-query'
|
4
|
+
@import '../kernel/mixins/base'
|
5
|
+
@import '../kernel/mixins/disabled'
|
6
|
+
@import '../kernel/mixins/focus'
|
7
|
+
@import '../kernel/mixins/typography'
|
8
|
+
@import '../kernel/mixins/overlay'
|
9
|
+
@import '../kernel/mixins/button'
|
10
|
+
@import '../kernel/mixins/form'
|
11
|
+
@import '../kernel/mixins/dropdown'
|
12
|
+
@import '../kernel/mixins/sass-lint-fix'
|
@@ -1 +1,747 @@
|
|
1
|
-
|
1
|
+
// sass-lint:disable max-file-line-count
|
2
|
+
// sass-lint:disable max-line-length
|
3
|
+
// sass-lint:disable space-after-comma
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
// global variables
|
8
|
+
$opacity-emphasis: 1 !default
|
9
|
+
$opacity-main: 0.9 !default
|
10
|
+
$opacity-muted: 0.618 !default
|
11
|
+
$opacity-more-muted: 0.382 !default
|
12
|
+
$opacity-most-muted: 0.1 !default
|
13
|
+
$opacity-disabled: $opacity-muted
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
$color-primary: hsba(340, 54, 98) !default
|
18
|
+
$color-secondary: hsba(0, 0, 56) !default
|
19
|
+
$color-danger: hsba(0, 82, 82) !default
|
20
|
+
$color-dark: hsba(0, 0, 12) !default
|
21
|
+
$color-light: hsba(0, 0, 100) !default
|
22
|
+
$color-emphasis: $color-dark !default
|
23
|
+
$color-main: lighten($color-dark, 10%) !default
|
24
|
+
$color-muted: lighten($color-dark, 60%) !default
|
25
|
+
$color-inverse-emphasis: $color-light !default
|
26
|
+
$color-inverse-main: rgba($color-light, $opacity-main) !default
|
27
|
+
$color-inverse-muted: rgba($color-light, $opacity-muted) !default
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
$background-color-primary: $color-primary !default
|
32
|
+
$background-color-secondary: lighten($color-secondary, 30%) !default
|
33
|
+
$background-color-danger: $color-danger !default
|
34
|
+
$background-color-dark: lighten($color-dark, 10%) !default
|
35
|
+
$background-color-light: $color-light !default
|
36
|
+
$background-color-muted: darken($background-color-light, 3%) !default
|
37
|
+
$background-color-emphasis: lighten($background-color-primary, 22%) !default
|
38
|
+
$background-color-main: $background-color-light !default
|
39
|
+
$background-color-inverse-emphasis: lighten($background-color-primary, 22%) !default
|
40
|
+
$background-color-inverse-main: $background-color-dark !default
|
41
|
+
$background-color-inverse-muted: lighten($background-color-dark, 3%) !default
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
$line-color-primary: $color-primary !default
|
46
|
+
$line-color-secondary: lighten($color-secondary, 30%) !default
|
47
|
+
$line-color-danger: $color-danger !default
|
48
|
+
$line-color-dark: $color-dark !default
|
49
|
+
$line-color-light: $color-light !default
|
50
|
+
$line-color-emphasis: $line-color-primary !default
|
51
|
+
$line-color-main: darken($line-color-light, 30%) !default
|
52
|
+
$line-color-muted: darken($line-color-light, 8%) !default
|
53
|
+
$line-color-inverse-emphasis: $line-color-primary !default
|
54
|
+
$line-color-inverse-main: rgba($line-color-light, $opacity-main) !default
|
55
|
+
$line-color-inverse-muted: rgba($line-color-light, $opacity-muted) !default
|
56
|
+
$line-width-main: 1px !default
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
$border-radius-sharp: 0 !default
|
61
|
+
$border-radius-rounded: 2px !default
|
62
|
+
$border-radius-circle: 9999px !default
|
63
|
+
$border-radius-main: $border-radius-sharp !default
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
$box-shadow-low: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08) !default
|
68
|
+
$box-shadow-normal: 0 0.56rem 1.68rem rgba(0, 0, 0, 0.112) !default
|
69
|
+
$box-shadow-high: 0 0.784rem 2.352rem rgba(0, 0, 0, 0.1568) !default
|
70
|
+
$box-shadow-inset-low: null !default
|
71
|
+
$box-shadow-inset-normal: null !default
|
72
|
+
$box-shadow-inset-high: null !default
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
$text-shadow-low: null !default
|
77
|
+
$text-shadow-normal: null !default
|
78
|
+
$text-shadow-high: null !default
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
$transition-duration-short: 0.25s !default
|
83
|
+
$transition-duration-normal: 0.5s !default
|
84
|
+
$transition-duration-long: 1s !default
|
85
|
+
$transition-timing-function-main: ease !default
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
$baseline-height-px: 12px !default
|
90
|
+
$breakpoint-width-pxs: (s: 0, m: 768px, l: 1200px) !default
|
91
|
+
$breakpoint-aspect-ratios: (p: 0, l: 1.0001) !default
|
92
|
+
$breakpoint-resolutions: (l: 0, h: 105.6dpi, xh: 201.6dpi) !default
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
$typography-baseline-divided: false !default
|
97
|
+
$typography-size-scale-ratio: constant-get(scale-ratios, major-second) !default
|
98
|
+
$typography-main: constant-get(typography-stacks, sans-serif) !default
|
99
|
+
$typography-main-baseline-offset-ratio: constant-get(baseline-offset-ratios, "Helvetica Neue") !default
|
100
|
+
$typography-main-size-px: 16px !default
|
101
|
+
$typography-main-expected-line-height-ratios: (1.3, 1.5, 1.5, 1.5) !default
|
102
|
+
$typography-main-color: $color-main !default
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
$spacing-tiny-rem: baseline(0.5) !default
|
107
|
+
$spacing-small-rem: baseline(1) !default
|
108
|
+
$spacing-medium-rem: baseline(2) !default
|
109
|
+
$spacing-large-rem: baseline(4) !default
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
$grid-gutter-width-rem: $spacing-medium-rem !default
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
$z-index-low: -1 !default
|
118
|
+
$z-index-normal: 0 !default
|
119
|
+
$z-index-high: 1 !default
|
120
|
+
$z-index-higher: 2 !default
|
121
|
+
$z-index-much-higher: 3 !default
|
122
|
+
$z-index-highest: 4 !default
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
// variables for base
|
127
|
+
$base-cursor: default !default
|
128
|
+
$base-word-break: break-word !default
|
129
|
+
$base-text-underline-position: under !default
|
130
|
+
$base-text-rendering: optimizeLegibility !default
|
131
|
+
$base-webkit-font-smoothing: antialiased !default
|
132
|
+
$base-moz-font-smoothing: grayscale !default
|
133
|
+
// for windows phone add <meta name="msapplication-tap-highlight" content="no"> in head
|
134
|
+
$base-tap-highlight-color: transparent !default
|
135
|
+
$base-webkit-touch-callout: none !default
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
$base-html-background: $background-color-inverse-muted !default
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
$base-body-min-height: 100vh !default
|
144
|
+
$base-body-background: $background-color-main !default
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
$base-selection-color: $color-inverse-main !default
|
149
|
+
$base-selection-background-color: $background-color-dark !default
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
// variables for behaviors
|
154
|
+
$focus-outline-style: dashed !default
|
155
|
+
$focus-outline-width-px: 2px !default
|
156
|
+
$focus-outline-color: $line-color-main !default
|
157
|
+
$focus-outline-offset-px: - $focus-outline-width-px !default
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
// variables for elements
|
162
|
+
$badge-margin-left-em: 0.5em !default
|
163
|
+
$badge-horizontal-padding-em: 0.4em !default
|
164
|
+
$badge-background: $background-color-primary !default
|
165
|
+
$badge-color: $color-inverse-emphasis !default
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
$button-border-width: $line-width-main !default
|
170
|
+
$button-border-style: solid !default
|
171
|
+
$button-border-radius: $border-radius-main !default
|
172
|
+
$button-typography-size-level: 6 !default
|
173
|
+
$button-small-typography-size-level: 7 !default
|
174
|
+
$button-large-typography-size-level: 5 !default
|
175
|
+
$button-height-rem: baseline(3) !default
|
176
|
+
$button-small-height-rem: baseline(2) !default
|
177
|
+
$button-large-height-rem: baseline(4) !default
|
178
|
+
$button-horizontal-padding-em: rem-to-em(harmony-spacing($grid-gutter-width-rem / 2, $button-border-width), $button-typography-size-level) !default
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
$button-primary-color: $color-inverse-main !default
|
183
|
+
$button-primary-hover-color: null !default
|
184
|
+
$button-primary-active-color: null !default
|
185
|
+
$button-primary-background: $background-color-primary !default
|
186
|
+
$button-primary-hover-background: darken($background-color-primary, 2%) !default
|
187
|
+
$button-primary-active-background: darken($background-color-primary, 4%) !default
|
188
|
+
$button-primary-border-color: null !default
|
189
|
+
$button-primary-hover-border-color: null !default
|
190
|
+
$button-primary-active-border-color: null !default
|
191
|
+
$button-primary-box-shadow: null !default
|
192
|
+
$button-primary-hover-box-shadow: null !default
|
193
|
+
$button-primary-active-box-shadow: $button-primary-box-shadow !default
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
$button-secondary-color: $color-main !default
|
198
|
+
$button-secondary-hover-color: null !default
|
199
|
+
$button-secondary-active-color: null !default
|
200
|
+
$button-secondary-background: $background-color-secondary !default
|
201
|
+
$button-secondary-hover-background: darken($background-color-secondary, 2%) !default
|
202
|
+
$button-secondary-active-background: darken($background-color-secondary, 4%) !default
|
203
|
+
$button-secondary-border-color: null !default
|
204
|
+
$button-secondary-hover-border-color: null !default
|
205
|
+
$button-secondary-active-border-color: null !default
|
206
|
+
$button-secondary-box-shadow: null !default
|
207
|
+
$button-secondary-hover-box-shadow: null !default
|
208
|
+
$button-secondary-active-box-shadow: $button-secondary-box-shadow !default
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
$button-danger-color: $color-inverse-main !default
|
213
|
+
$button-danger-hover-color: null !default
|
214
|
+
$button-danger-active-color: null !default
|
215
|
+
$button-danger-background: $background-color-danger !default
|
216
|
+
$button-danger-hover-background: darken($background-color-danger, 2%) !default
|
217
|
+
$button-danger-active-background: darken($background-color-danger, 4%) !default
|
218
|
+
$button-danger-border-color: null !default
|
219
|
+
$button-danger-hover-border-color: null !default
|
220
|
+
$button-danger-active-border-color: null !default
|
221
|
+
$button-danger-box-shadow: null !default
|
222
|
+
$button-danger-hover-box-shadow: null !default
|
223
|
+
$button-danger-active-box-shadow: $button-danger-box-shadow !default
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
$button-dark-color: $color-inverse-main !default
|
228
|
+
$button-dark-hover-color: null !default
|
229
|
+
$button-dark-active-color: null !default
|
230
|
+
$button-dark-background: $background-color-dark !default
|
231
|
+
$button-dark-hover-background: darken($background-color-dark, 2%) !default
|
232
|
+
$button-dark-active-background: darken($background-color-dark, 4%) !default
|
233
|
+
$button-dark-border-color: null !default
|
234
|
+
$button-dark-hover-border-color: null !default
|
235
|
+
$button-dark-active-border-color: null !default
|
236
|
+
$button-dark-box-shadow: null !default
|
237
|
+
$button-dark-hover-box-shadow: null !default
|
238
|
+
$button-dark-active-box-shadow: $button-dark-box-shadow !default
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
$button-light-color: $color-dark !default
|
243
|
+
$button-light-hover-color: null !default
|
244
|
+
$button-light-active-color: null !default
|
245
|
+
$button-light-background: $background-color-light !default
|
246
|
+
$button-light-hover-background: darken($background-color-light, 2%) !default
|
247
|
+
$button-light-active-background: darken($background-color-light, 4%) !default
|
248
|
+
$button-light-border-color: null !default
|
249
|
+
$button-light-hover-border-color: null !default
|
250
|
+
$button-light-active-border-color: null !default
|
251
|
+
$button-light-box-shadow: null !default
|
252
|
+
$button-light-hover-box-shadow: null !default
|
253
|
+
$button-light-active-box-shadow: $button-light-box-shadow !default
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
$button-hollow-primary-color: $color-primary !default
|
258
|
+
$button-hollow-primary-hover-color: null !default
|
259
|
+
$button-hollow-primary-active-color: existing($button-primary-active-color, $button-primary-hover-color, $button-primary-color) !default
|
260
|
+
$button-hollow-primary-hover-background: rgba($background-color-primary, $opacity-most-muted) !default
|
261
|
+
$button-hollow-primary-active-background: existing($button-primary-active-background, $button-primary-hover-background, $button-primary-background) !default
|
262
|
+
$button-hollow-primary-border-color: null !default
|
263
|
+
$button-hollow-primary-hover-border-color: null !default
|
264
|
+
$button-hollow-primary-active-border-color: existing($button-primary-active-border-color, $button-primary-hover-border-color, $button-primary-border-color, transparent) !default
|
265
|
+
$button-hollow-primary-box-shadow: $button-primary-box-shadow !default
|
266
|
+
$button-hollow-primary-hover-box-shadow: $button-primary-hover-box-shadow !default
|
267
|
+
$button-hollow-primary-active-box-shadow: $button-primary-active-box-shadow !default
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
$button-hollow-secondary-color: $color-main !default
|
272
|
+
$button-hollow-secondary-hover-color: null !default
|
273
|
+
$button-hollow-secondary-active-color: existing($button-secondary-active-color, $button-secondary-hover-color, $button-secondary-color) !default
|
274
|
+
$button-hollow-secondary-hover-background: rgba($background-color-secondary, $opacity-more-muted) !default
|
275
|
+
$button-hollow-secondary-active-background: existing($button-secondary-active-background, $button-secondary-hover-background, $button-secondary-background) !default
|
276
|
+
$button-hollow-secondary-border-color: $line-color-secondary !default
|
277
|
+
$button-hollow-secondary-hover-border-color: null !default
|
278
|
+
$button-hollow-secondary-active-border-color: existing($button-secondary-active-border-color, $button-secondary-hover-border-color, $button-secondary-border-color, transparent) !default
|
279
|
+
$button-hollow-secondary-box-shadow: $button-secondary-box-shadow !default
|
280
|
+
$button-hollow-secondary-hover-box-shadow: $button-secondary-hover-box-shadow !default
|
281
|
+
$button-hollow-secondary-active-box-shadow: $button-secondary-active-box-shadow !default
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
$button-hollow-danger-color: $color-danger !default
|
286
|
+
$button-hollow-danger-hover-color: null !default
|
287
|
+
$button-hollow-danger-active-color: existing($button-danger-active-color, $button-danger-hover-color, $button-danger-color) !default
|
288
|
+
$button-hollow-danger-hover-background: rgba($background-color-danger, $opacity-most-muted) !default
|
289
|
+
$button-hollow-danger-active-background: existing($button-danger-active-background, $button-danger-hover-background, $button-danger-background) !default
|
290
|
+
$button-hollow-danger-border-color: null !default
|
291
|
+
$button-hollow-danger-hover-border-color: null !default
|
292
|
+
$button-hollow-danger-active-border-color: existing($button-danger-active-border-color, $button-danger-hover-border-color, $button-danger-border-color, transparent) !default
|
293
|
+
$button-hollow-danger-box-shadow: $button-danger-box-shadow !default
|
294
|
+
$button-hollow-danger-hover-box-shadow: $button-danger-hover-box-shadow !default
|
295
|
+
$button-hollow-danger-active-box-shadow: $button-danger-active-box-shadow !default
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
$button-hollow-dark-color: $color-dark !default
|
300
|
+
$button-hollow-dark-hover-color: null !default
|
301
|
+
$button-hollow-dark-active-color: existing($button-dark-active-color, $button-dark-hover-color, $button-dark-color) !default
|
302
|
+
$button-hollow-dark-hover-background: rgba($background-color-dark, $opacity-most-muted) !default
|
303
|
+
$button-hollow-dark-active-background: existing($button-dark-active-background, $button-dark-hover-background, $button-dark-background) !default
|
304
|
+
$button-hollow-dark-border-color: null !default
|
305
|
+
$button-hollow-dark-hover-border-color: null !default
|
306
|
+
$button-hollow-dark-active-border-color: existing($button-dark-active-border-color, $button-dark-hover-border-color, $button-dark-border-color, transparent) !default
|
307
|
+
$button-hollow-dark-box-shadow: $button-dark-box-shadow !default
|
308
|
+
$button-hollow-dark-hover-box-shadow: $button-dark-hover-box-shadow !default
|
309
|
+
$button-hollow-dark-active-box-shadow: $button-dark-active-box-shadow !default
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
$button-hollow-light-color: $color-light !default
|
314
|
+
$button-hollow-light-hover-color: null !default
|
315
|
+
$button-hollow-light-active-color: existing($button-light-active-color, $button-light-hover-color, $button-light-color) !default
|
316
|
+
$button-hollow-light-hover-background: rgba($background-color-light, $opacity-most-muted) !default
|
317
|
+
$button-hollow-light-active-background: existing($button-light-active-background, $button-light-hover-background, $button-light-background) !default
|
318
|
+
$button-hollow-light-border-color: null !default
|
319
|
+
$button-hollow-light-hover-border-color: null !default
|
320
|
+
$button-hollow-light-active-border-color: existing($button-light-active-border-color, $button-light-hover-border-color, $button-light-border-color, transparent) !default
|
321
|
+
$button-hollow-light-box-shadow: $button-light-box-shadow !default
|
322
|
+
$button-hollow-light-hover-box-shadow: $button-light-hover-box-shadow !default
|
323
|
+
$button-hollow-light-active-box-shadow: $button-light-active-box-shadow !default
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
$button-text-primary-color: $color-primary !default
|
328
|
+
$button-text-primary-hover-color: darken($color-primary, 10%) !default
|
329
|
+
$button-text-primary-active-color: $button-text-primary-hover-color !default
|
330
|
+
$button-text-primary-text-shadow: null !default
|
331
|
+
$button-text-primary-hover-text-shadow: null !default
|
332
|
+
$button-text-primary-active-text-shadow: null !default
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
$button-text-secondary-color: $color-secondary !default
|
337
|
+
$button-text-secondary-hover-color: darken($color-secondary, 10%) !default
|
338
|
+
$button-text-secondary-active-color: $button-text-secondary-hover-color !default
|
339
|
+
$button-text-secondary-text-shadow: null !default
|
340
|
+
$button-text-secondary-hover-text-shadow: null !default
|
341
|
+
$button-text-secondary-active-text-shadow: null !default
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
$button-text-danger-color: $color-danger !default
|
346
|
+
$button-text-danger-hover-color: darken($color-danger, 5%) !default
|
347
|
+
$button-text-danger-active-color: $button-text-danger-hover-color !default
|
348
|
+
$button-text-danger-text-shadow: null !default
|
349
|
+
$button-text-danger-hover-text-shadow: null !default
|
350
|
+
$button-text-danger-active-text-shadow: null !default
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
$button-text-dark-color: lighten($color-dark, 10%) !default
|
355
|
+
$button-text-dark-hover-color: $color-dark !default
|
356
|
+
$button-text-dark-active-color: $button-text-dark-hover-color !default
|
357
|
+
$button-text-dark-text-shadow: null !default
|
358
|
+
$button-text-dark-hover-text-shadow: null !default
|
359
|
+
$button-text-dark-active-text-shadow: null !default
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
$button-text-light-color: rgba($color-light, $opacity-muted) !default
|
364
|
+
$button-text-light-hover-color: $color-light !default
|
365
|
+
$button-text-light-active-color: $button-text-light-hover-color !default
|
366
|
+
$button-text-light-text-shadow: null !default
|
367
|
+
$button-text-light-hover-text-shadow: null !default
|
368
|
+
$button-text-light-active-text-shadow: null !default
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
$container-max-width-rem: px-to-rem(1366px) !default
|
373
|
+
$container-padding-rem: $spacing-medium-rem $spacing-small-rem !default
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
$form-label-typography-size-level: 6 !default
|
378
|
+
$form-label-small-typography-size-level: 7 !default
|
379
|
+
$form-label-large-typography-size-level: 5 !default
|
380
|
+
$form-label-color: null !default
|
381
|
+
$form-label-required-content: " | Required" !default
|
382
|
+
$form-label-required-color: $color-danger !default
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
$form-element-inline-width-rem: baseline(22) !default
|
387
|
+
$form-element-small-inline-width-rem: baseline(18) !default
|
388
|
+
$form-element-large-inline-width-rem: baseline(26) !default
|
389
|
+
$form-element-typography-size-level: 6 !default
|
390
|
+
$form-element-small-typography-size-level: 7 !default
|
391
|
+
$form-element-large-typography-size-level: 5 !default
|
392
|
+
$form-element-color: $color-main !default
|
393
|
+
$form-element-color-on-error: null !default
|
394
|
+
$form-element-color-on-focus: null !default
|
395
|
+
$form-element-background: $background-color-main !default
|
396
|
+
$form-element-background-on-focus: null !default
|
397
|
+
$form-element-background-on-error: null !default
|
398
|
+
$form-element-border-width: $line-width-main !default
|
399
|
+
$form-element-border-style: solid !default
|
400
|
+
$form-element-border-radius: $border-radius-main !default
|
401
|
+
$form-element-border-color: $line-color-muted !default
|
402
|
+
$form-element-border-color-on-error: $line-color-danger !default
|
403
|
+
$form-element-border-color-on-focus: $line-color-primary !default
|
404
|
+
$form-element-box-shadow: null !default
|
405
|
+
$form-element-box-shadow-on-focus: null !default
|
406
|
+
$form-element-box-shadow-on-error: null !default
|
407
|
+
$form-element-icon-size-em: null !default
|
408
|
+
$form-element-icon-color: lighten($color-muted, 10%) !default
|
409
|
+
$form-element-icon-color-on-error: $form-element-border-color-on-error !default
|
410
|
+
$form-element-icon-color-on-focus: $form-element-border-color-on-focus !default
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
$form-element-height-rem: baseline(3) !default
|
415
|
+
$form-element-small-height-rem: baseline(2) !default
|
416
|
+
$form-element-large-height-rem: baseline(4) !default
|
417
|
+
$form-element-multiple-rows-height-rem: $form-element-height-rem * 3 !default
|
418
|
+
$form-element-multiple-rows-small-height-rem: $form-element-small-height-rem * 3 !default
|
419
|
+
$form-element-multiple-rows-large-height-rem: $form-element-large-height-rem * 3 !default
|
420
|
+
$form-element-horizontal-padding-em: rem-to-em(harmony-spacing($grid-gutter-width-rem / 2, $form-element-border-width), $form-element-typography-size-level) !default
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
$form-element-checkfield-size-em: 1.25em !default
|
425
|
+
$form-element-checked-icon-color: $form-element-color !default
|
426
|
+
$form-element-checked-icon-color-on-error: null !default
|
427
|
+
$form-element-checked-icon-color-on-focus: null !default
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
$form-element-track-height-em: 0.25em !default
|
432
|
+
$form-element-track-background: darken($background-color-muted, 5%) !default
|
433
|
+
$form-element-track-background-on-focus: null !default
|
434
|
+
$form-element-track-background-on-error: null !default
|
435
|
+
$form-element-track-border-radius: $border-radius-main !default
|
436
|
+
$form-element-thumb-width-em: 1.25em !default
|
437
|
+
$form-element-thumb-height-em: $form-element-thumb-width-em !default
|
438
|
+
$form-element-thumb-background: $form-element-track-background !default
|
439
|
+
$form-element-thumb-background-on-error: null !default
|
440
|
+
$form-element-thumb-background-on-focus: $background-color-primary !default
|
441
|
+
$form-element-thumb-border-radius: 100% !default
|
442
|
+
$form-element-thumb-border-color: transparent !default
|
443
|
+
$form-element-thumb-border-color-on-error: $form-element-border-color-on-error !default
|
444
|
+
$form-element-thumb-border-color-on-focus: null !default
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
$form-helper-margin-rem: null !default
|
449
|
+
$form-helper-typography-size-level: 7 !default
|
450
|
+
$form-helper-small-typography-size-level: null !default
|
451
|
+
$form-helper-large-typography-size-level: 6 !default
|
452
|
+
$form-hint-color: $color-muted !default
|
453
|
+
$form-error-color: $color-danger !default
|
454
|
+
$form-placeholder-color: $color-muted !default
|
455
|
+
$form-placeholder-color-on-error: null !default
|
456
|
+
$form-placeholder-color-on-focus: null !default
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
$form-element-search-icon: '<svg viewBox="0 0 1000 1000"><path fill="#fill" d="M983.1,908.7L702.1,625.9c114.2-150.9,102.6-366.6-35-504.2c-150.3-150.3-394.1-150.3-544.4,0c-150.3,150.3-150.3,394,0,544.4c137.5,137.5,353.1,149.2,504,35.2l281,282.8c9.2,9.2,24.2,9.2,33.5,0l41.9-41.9C992.3,932.9,992.3,917.9,983.1,908.7L983.1,908.7z M194.1,596.9c-110.4-110.4-110.4-289.4,0-399.7c110.4-110.4,289.4-110.4,399.8,0c110.4,110.4,110.4,289.3,0,399.7C483.4,707.3,304.5,707.3,194.1,596.9L194.1,596.9z"/></svg>' !default
|
461
|
+
$form-element-select-icon: '<svg viewBox="0 0 18 18"><path fill="#fill" d="M2.16,6.246 C2.385,6.246 2.61,6.308 2.81,6.442 L9.039,10.598 L15.076,6.401 C15.617,6.042 16.346,6.188 16.705,6.729 C17.065,7.268 16.92,8 16.38,8.359 L9.692,12.989 C9.298,13.253 8.784,13.254 8.388,12.991 L1.508,8.402 C0.966,8.042 0.82,7.31 1.179,6.77 C1.407,6.429 1.78,6.246 2.16,6.246 L2.16,6.246 Z"></path></svg>' !default
|
462
|
+
$form-element-file-icon: '<svg viewBox="-100 0 600 500"><path fill="#fill" d="M465.064,207.566l0.028,0H284.436V27.25c0-14.84-12.016-27.248-26.856-27.248h-23.116c-14.836,0-26.904,12.408-26.904,27.248v180.316H26.908c-14.832,0-26.908,12-26.908,26.844v23.248c0,14.832,12.072,26.78,26.908,26.78h180.656v180.968c0,14.832,12.064,26.592,26.904,26.592h23.116c14.84,0,26.856-11.764,26.856-26.592V284.438h180.624c14.84,0,26.936-11.952,26.936-26.78V234.41C492,219.566,479.904,207.566,465.064,207.566z"/></svg>' !default
|
463
|
+
$form-element-checked-icon: '<svg viewBox="-150 -150 800 800"><path fill="#fill" d="M487.75,78.125c-13-13-33-13-46,0l-272,272l-114-113c-13-13-33-13-46,0s-13,33,0,46l137,136c6,6,15,10,23,10s17-4,23-10l295-294C500.75,112.125,500.75,91.125,487.75,78.125z"/></svg>' !default
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
$grid-columns: 12 !default
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
$icon-size-em: 1em !default
|
472
|
+
$icon-stroke-width: 2px !default
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
$media-content-aspect-ratio: 16 / 9 !default
|
477
|
+
$media-border-radius: $border-radius-main !default
|
478
|
+
$media-background-color: $background-color-muted !default
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
$overlay-background: rgba($background-color-dark, $opacity-main) !default
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
$progress-height-rem: baseline(2) !default
|
487
|
+
$progress-border-radius: $border-radius-main !default
|
488
|
+
$progress-background: $background-color-muted !default
|
489
|
+
$progress-bar-typography-size-level: 7 !default
|
490
|
+
$progress-bar-min-width-em: 3em !default
|
491
|
+
$progress-bar-padding: 0 $spacing-tiny-rem !default
|
492
|
+
$progress-bar-background: $background-color-primary !default
|
493
|
+
$progress-bar-color: $color-inverse-main !default
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
$scrollbar-width-breakpoint: m !default
|
498
|
+
$scrollbar-breakpoint-vertical-width-rem: $spacing-tiny-rem !default
|
499
|
+
$scrollbar-breakpoint-horizontal-height-rem: $scrollbar-breakpoint-vertical-width-rem !default
|
500
|
+
$scrollbar-thumb-background: rgba($color-muted, $opacity-more-muted) !default
|
501
|
+
$scrollbar-thumb-border-radius: $scrollbar-breakpoint-vertical-width-rem !default
|
502
|
+
$scrollbar-firefox-width-keyword: thin !default
|
503
|
+
$scrollbar-firefox-color: rgba($color-muted, $opacity-more-muted) transparent !default
|
504
|
+
$scrollbar-edge-overflow-style: -ms-autohiding-scrollbar !default
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
$table-cell-padding-rem: $spacing-small-rem !default
|
509
|
+
$table-border-style: solid !default
|
510
|
+
$table-border-width: $line-width-main !default
|
511
|
+
$table-border-color: $line-color-muted !default
|
512
|
+
$table-border-radius: $border-radius-main !default
|
513
|
+
$table-head-background: $background-color-muted !default
|
514
|
+
$table-head-color: $color-emphasis !default
|
515
|
+
$table-body-color: $color-main !default
|
516
|
+
$table-row-even-background: $background-color-muted !default
|
517
|
+
$table-row-odd-background: $background-color-main !default
|
518
|
+
$table-row-hover-background: $background-color-emphasis !default
|
519
|
+
$table-row-hover-color: null !default
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
$typography-heading: null !default
|
525
|
+
$typography-heading-baseline-offset-ratio: $typography-main-baseline-offset-ratio !default
|
526
|
+
$typography-heading-expected-line-height-ratios: (1.2, 1.2, 1.2, 1, 1, 1) !default
|
527
|
+
$typography-heading-color: null !default
|
528
|
+
$typography-heading-font-weight: 500 !default
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
$typography-code: constant-get(typography-stacks, code) !default
|
533
|
+
$typography-code-baseline-offset-ratio: constant-get(baseline-offset-ratios, "Courier New") !default
|
534
|
+
$typography-code-expected-line-height-ratio: nth($typography-main-expected-line-height-ratios, 2) !default
|
535
|
+
$typography-code-padding-em: 0 0.2em !default
|
536
|
+
$typography-code-background: $background-color-muted !default
|
537
|
+
$typography-code-color: $color-main !default
|
538
|
+
$typography-code-border-radius: $border-radius-main !default
|
539
|
+
$typography-block-code-size-level: 7 !default
|
540
|
+
$typography-block-code-padding-rem: 0 $spacing-medium-rem !default
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
$typography-quote: null !default
|
545
|
+
$typography-quote-baseline-offset-ratio: $typography-main-baseline-offset-ratio !default
|
546
|
+
$typography-quote-expected-line-height-ratio: nth($typography-main-expected-line-height-ratios, 1) !default
|
547
|
+
$typography-cite-color: $color-muted !default
|
548
|
+
$typography-block-quote-size-level: 5 !default
|
549
|
+
$typography-block-quote-padding-rem: $spacing-medium-rem !default
|
550
|
+
$typography-block-quote-p-margin-rem: 0 auto $spacing-small-rem !default
|
551
|
+
$typography-block-quote-cite-line-height: $line-width-main !default
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
$typography-mark-padding-em: 0 0.2em !default
|
556
|
+
$typography-mark-background: $background-color-emphasis !default
|
557
|
+
$typography-mark-color: $color-primary !default
|
558
|
+
$typography-mark-border-radius: $border-radius-main !default
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
$typography-link-text-decoration: underline !default
|
563
|
+
$typography-link-hover-text-decoration: null !default
|
564
|
+
$typography-link-active-text-decoration: null !default
|
565
|
+
$typography-link-color: $color-main !default
|
566
|
+
$typography-link-hover-color: $color-emphasis !default
|
567
|
+
$typography-link-active-color: null !default
|
568
|
+
$typography-link-light-color: $color-inverse-main !default
|
569
|
+
$typography-link-light-hover-color: $color-inverse-emphasis !default
|
570
|
+
$typography-link-light-active-color: null !default
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
$typography-sub-sup-size: 100% / $typography-size-scale-ratio !default
|
575
|
+
$typography-sub-bottom-offset-em: -0.25em !default
|
576
|
+
$typography-sup-top-offset-em: -0.5em !default
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
$typography-list-nested-padding-em: 0 0 0 2em !default
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
$turbolinks-progress-bar-height-px: 2px !default
|
585
|
+
$turbolinks-progress-bar-background: $background-color-primary !default
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
// variables for patterns
|
590
|
+
$alert-padding-rem: $spacing-small-rem !default
|
591
|
+
$alert-border-radius: $border-radius-main !default
|
592
|
+
$alert-background: $background-color-dark !default
|
593
|
+
$alert-box-shadow: null !default
|
594
|
+
$alert-action-margin-rem: null !default
|
595
|
+
$alert-content-margin-rem: 0 $spacing-small-rem !default
|
596
|
+
$alert-content-color: $color-inverse-main !default
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
$article-padding-rem: $spacing-small-rem !default
|
601
|
+
$article-max-width-rem: px-to-rem($typography-main-size-px * 70 / 2) + mirror-nth($article-padding-rem, 4) !default
|
602
|
+
$article-elements-margin-rem: $spacing-medium-rem 0 !default
|
603
|
+
$article-headings-margin-rem: $spacing-medium-rem 0 $spacing-small-rem !default
|
604
|
+
$article-heading-group-heading-margin-rem: $spacing-small-rem 0 !default
|
605
|
+
$article-paragraph-margin-rem: $spacing-small-rem 0 !default
|
606
|
+
$article-table-margin-rem: null !default
|
607
|
+
$article-block-code-margin-rem: null !default
|
608
|
+
$article-block-quote-margin-rem: null !default
|
609
|
+
$article-media-margin-rem: null !default
|
610
|
+
$article-list-margin-rem: $article-paragraph-margin-rem !default
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
$avatar-image-size-rem: baseline(4) !default
|
615
|
+
$avatar-small-image-size-rem: baseline(3) !default
|
616
|
+
$avatar-large-image-size-rem: baseline(5) !default
|
617
|
+
$avatar-info-height-rem: baseline(4) !default
|
618
|
+
$avatar-small-info-height-rem: baseline(3) !default
|
619
|
+
$avatar-large-info-height-rem: null !default
|
620
|
+
$avatar-info-padding-top-rem: $spacing-tiny-rem !default
|
621
|
+
$avatar-info-padding-left-rem: $spacing-small-rem !default
|
622
|
+
$avatar-small-info-padding-top-rem: null !default
|
623
|
+
$avatar-small-info-padding-left-rem: null !default
|
624
|
+
$avatar-large-info-padding-top-rem: null !default
|
625
|
+
$avatar-large-info-padding-left-rem: null !default
|
626
|
+
$avatar-name-typography-size-level: 6 !default
|
627
|
+
$avatar-description-typography-size-level: 7 !default
|
628
|
+
$avatar-small-name-typography-size-level: 7 !default
|
629
|
+
$avatar-small-description-typography-size-level: 8 !default
|
630
|
+
$avatar-large-name-typography-size-level: 5 !default
|
631
|
+
$avatar-large-description-typography-size-level: 6 !default
|
632
|
+
$avatar-image-border-radius: 100% !default
|
633
|
+
$avatar-default-image-background-size: 50% auto !default
|
634
|
+
$avatar-default-image: svg-icon('<svg viewBox="0 0 512 512"><path fill="#fill" d="M437.02,330.98c-27.883-27.882-61.071-48.523-97.281-61.018C378.521,243.251,404,198.548,404,148 C404,66.393,337.607,0,256,0S108,66.393,108,148c0,50.548,25.479,95.251,64.262,121.962 c-36.21,12.495-69.398,33.136-97.281,61.018C26.629,379.333,0,443.62,0,512h40c0-119.103,96.897-216,216-216s216,96.897,216,216 h40C512,443.62,485.371,379.333,437.02,330.98z M256,256c-59.551,0-108-48.448-108-108S196.449,40,256,40 c59.551,0,108,48.448,108,108S315.551,256,256,256z"/></svg>',$line-color-main) !default
|
635
|
+
$avatar-background-color: $background-color-muted !default
|
636
|
+
$avatar-name-color: $color-muted !default
|
637
|
+
$avatar-description-color: $avatar-name-color !default
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
$breadcrumb-padding-rem: $spacing-small-rem 0 !default
|
642
|
+
$breadcrumb-color: $color-muted !default
|
643
|
+
$breadcrumb-spliter: "/" !default
|
644
|
+
$breadcrumb-spliter-padding-em: 0 1em !default
|
645
|
+
|
646
|
+
|
647
|
+
$button-group-box-shadow: null !default
|
648
|
+
$button-group-buttons-margin-rem: 0 $spacing-small-rem $spacing-small-rem 0 !default
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
$button-icon-size-em: null !default
|
653
|
+
$button-icon-top-size-em: null !default
|
654
|
+
$button-icon-left-margin-em: 0 0.5em 0 0 !default
|
655
|
+
$button-icon-right-margin-em: 0 0 0 0.5em !default
|
656
|
+
$button-icon-top-margin-em: 0.1em 0 !default
|
657
|
+
$button-icon-top-height-rem: baseline(4) !default
|
658
|
+
$button-icon-top-small-height-rem: baseline(3) !default
|
659
|
+
$button-icon-top-large-height-rem: baseline(5) !default
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
$carousel-width-breakpoint: m !default
|
664
|
+
$carousel-aspect-ratio: 16 / 9 !default
|
665
|
+
$carousel-indicators-top-spacing-rem: $spacing-small-rem !default
|
666
|
+
$carousel-indicators-right-spacing-rem: $spacing-small-rem !default
|
667
|
+
$carousel-indicator-height-rem: 0.2rem !default
|
668
|
+
$carousel-indicator-outline-offset-px: 2px !default
|
669
|
+
$carousel-description-padding-rem: $spacing-small-rem !default
|
670
|
+
$carousel-breakpoint-indicators-top-spacing-rem: $spacing-medium-rem !default
|
671
|
+
$carousel-breakpoint-indicators-right-spacing-rem: $spacing-medium-rem !default
|
672
|
+
$carousel-breakpoint-prev-button-left-spacing-rem: $spacing-small-rem !default
|
673
|
+
$carousel-breakpoint-next-button-right-spacing-rem: $spacing-small-rem !default
|
674
|
+
$carousel-breakpoint-description-padding-rem: $spacing-medium-rem !default
|
675
|
+
$carousel-background: $background-color-muted !default
|
676
|
+
$carousel-description-background: linear-gradient(180deg, transparent 0, rgba($background-color-dark, $opacity-most-muted) 2rem) !default
|
677
|
+
$carousel-description-color: $color-inverse-main !default
|
678
|
+
$carousel-controls-opacity: $opacity-main !default
|
679
|
+
$carousel-controls-disabled-opacity: $opacity-more-muted !default
|
680
|
+
$carousel-controls-opacity-transition-duration: $transition-duration-normal !default
|
681
|
+
$carousel-controls-opacity-transition-timing-function: $transition-timing-function-main !default
|
682
|
+
$carousel-transition-duration: $transition-duration-long !default
|
683
|
+
$carousel-transition-timing-function: $transition-timing-function-main !default
|
684
|
+
$carousel-custom-opacity-transition-duration: $transition-duration-long !default
|
685
|
+
$carousel-custom-opacity-transition-timing-function: $transition-timing-function-main !default
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
$dropdown-width-breakpoint: m !default
|
690
|
+
$dropdown-static-menu-margin-left-rem: $spacing-small-rem !default
|
691
|
+
$dropdown-absolute-max-height-rem: baseline(50) !default
|
692
|
+
$dropdown-absolute-active-gap-rem: $spacing-tiny-rem !default
|
693
|
+
$dropdown-absolute-border-radius: $border-radius-main !default
|
694
|
+
$dropdown-absolute-fixed-background: $background-color-main !default
|
695
|
+
$dropdown-absolute-box-shadow: null !default
|
696
|
+
|
697
|
+
|
698
|
+
|
699
|
+
$form-group-label-vertical-margin-rem: null !default
|
700
|
+
$form-group-element-vertical-margin-rem: $spacing-small-rem !default
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
$modal-padding-rem: $spacing-medium-rem !default
|
705
|
+
$modal-in-overlay-max-width-rem: px-to-rem(640px) !default
|
706
|
+
$modal-in-overlay-min-width-rem: px-to-rem(320px) !default
|
707
|
+
$modal-background: $background-color-muted !default
|
708
|
+
$modal-border-radius: $border-radius-main !default
|
709
|
+
$modal-box-shadow: null !default
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
$navigation-width-breakpoint: m !default
|
714
|
+
$navigation-padding-rem: $spacing-tiny-rem $spacing-small-rem !default
|
715
|
+
$navigation-logo-margin-rem: 0 $spacing-small-rem !default
|
716
|
+
$navigation-open-button-margin-rem: 0 0 0 auto !default
|
717
|
+
$navigation-close-button-margin-rem: $spacing-small-rem $spacing-small-rem 0 auto !default
|
718
|
+
$navigation-search-field-margin-rem: $spacing-medium-rem !default
|
719
|
+
$navigation-items-margin-rem: $spacing-small-rem !default
|
720
|
+
$navigation-sub-items-margin-rem: $navigation-items-margin-rem !default
|
721
|
+
$navigation-logo-image-height-rem: baseline(2) !default
|
722
|
+
$navigation-background: $background-color-dark !default
|
723
|
+
|
724
|
+
|
725
|
+
|
726
|
+
$navigation-header-box-shadow: null !default
|
727
|
+
$navigation-header-breakpoint-padding-rem: $spacing-small-rem !default
|
728
|
+
$navigation-header-breakpoint-search-field-margin-rem: 0 $spacing-small-rem !default
|
729
|
+
$navigation-header-breakpoint-items-margin-rem: 0 auto 0 0 !default
|
730
|
+
$navigation-header-breakpoint-sub-items-margin-rem: 0 !default
|
731
|
+
$navigation-header-breakpoint-search-field-width-rem: baseline(16) !default
|
732
|
+
$navigation-header-breakpoint-dropdown-background: $navigation-background !default
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
$navigation-aside-box-shadow: $navigation-header-box-shadow !default
|
737
|
+
$navigation-aside-breakpoint-padding-rem: 0 !default
|
738
|
+
$navigation-aside-breakpoint-logo-margin-rem: 3 * $spacing-small-rem $spacing-medium-rem $spacing-small-rem !default
|
739
|
+
$navigation-aside-breakpoint-logo-image-height-rem: baseline(8) !default
|
740
|
+
$navigation-aside-breakpoint-logo-image-width-rem: baseline(10) !default
|
741
|
+
$navigation-aside-breakpoint-min-width-rem: baseline(20) !default
|
742
|
+
$navigation-aside-breakpoint-max-width-rem: baseline(22) !default
|
743
|
+
$navigation-aside-breakpoint-box-shadow: none !default
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
$tab-panes-padding-rem: null !default
|