renusify 2.2.5 → 2.3.0
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/components/app/style.scss +6 -4
- package/components/app/toast/style.scss +4 -3
- package/components/avatar/style.scss +2 -2
- package/components/bar/bottomNavigationCircle.vue +7 -5
- package/components/bar/scss/bottomNav.scss +15 -12
- package/components/bar/scss/toolbar.scss +32 -30
- package/components/bar/toolbar/index.vue +2 -2
- package/components/bar/toolbar/laptop.vue +1 -1
- package/components/bar/toolbar/mobile.vue +1 -1
- package/components/breadcrumb/bredcrumbItem.vue +1 -1
- package/components/breadcrumb/style.scss +6 -6
- package/components/button/index.vue +1 -1
- package/components/button/style.scss +41 -36
- package/components/calendar/index.vue +4 -3
- package/components/card/index.vue +1 -1
- package/components/card/style.scss +14 -11
- package/components/chart/chart.vue +3 -4
- package/components/chart/worldMap.vue +2 -2
- package/components/chat/MessageList.vue +122 -119
- package/components/chat/chatInput.vue +3 -3
- package/components/chat/chatMsg.vue +23 -21
- package/components/chat/index.vue +2 -2
- package/components/chip/style.scss +21 -16
- package/components/codeEditor/highlightCss.vue +1 -1
- package/components/codeEditor/highlightHtml.vue +1 -1
- package/components/codeEditor/highlightJs.vue +1 -1
- package/components/codeEditor/index.vue +6 -6
- package/components/container/style.scss +12 -10
- package/components/content/index.vue +17 -14
- package/components/cropper/index.vue +2 -2
- package/components/float/index.vue +456 -454
- package/components/form/camInput/index.vue +2 -2
- package/components/form/checkInput/index.vue +2 -2
- package/components/form/checkboxInput/index.vue +5 -4
- package/components/form/colorInput/Alpha.vue +1 -1
- package/components/form/colorInput/Preview.vue +1 -1
- package/components/form/colorInput/Saturation.vue +1 -1
- package/components/form/colorInput/index.vue +2 -2
- package/components/form/colorInput/picker.vue +10 -8
- package/components/form/dateInput/index.vue +2 -2
- package/components/form/fileInput/index.vue +0 -3
- package/components/form/fileInput/single.vue +3 -3
- package/components/form/groupInput/index.vue +5 -4
- package/components/form/input/index.vue +31 -29
- package/components/form/jsonInput/JsonView.vue +5 -4
- package/components/form/jsonInput/index.vue +35 -33
- package/components/form/numberInput/index.vue +11 -8
- package/components/form/radioInput/index.vue +6 -4
- package/components/form/rangeInput/index.vue +11 -10
- package/components/form/ratingInput/index.vue +5 -5
- package/components/form/selectInput/index.vue +8 -6
- package/components/form/switchInput/index.vue +9 -7
- package/components/form/telInput/index.vue +2 -2
- package/components/form/text-editor/style.scss +10 -7
- package/components/form/textArea/index.vue +2 -2
- package/components/form/timeInput/timepicker.vue +4 -3
- package/components/form/unitInput/index.vue +8 -6
- package/components/icon/style.scss +5 -4
- package/components/img/index.vue +2 -2
- package/components/index.js +0 -2
- package/components/list/index.vue +1 -1
- package/components/list/style.scss +6 -5
- package/components/map/index.vue +3 -3
- package/components/map/route.vue +2 -2
- package/components/menu/index.vue +4 -3
- package/components/modal/style.scss +19 -15
- package/components/nestable/index.vue +4 -4
- package/components/notify/index.vue +55 -53
- package/components/notify/notification.vue +5 -3
- package/components/progress/style.scss +8 -5
- package/components/searchBox/index.vue +15 -12
- package/components/skeleton/index.vue +5 -3
- package/components/slider/index.vue +18 -15
- package/components/swiper/index.vue +2 -2
- package/components/table/crud/index.vue +2 -2
- package/components/table/style.scss +87 -82
- package/components/tabs/index.vue +2 -2
- package/components/timeline/index.vue +64 -61
- package/components/tree/index.vue +4 -4
- package/components/tree/tree-element.vue +2 -2
- package/directive/animate/style.scss +72 -41
- package/directive/drag/index.js +1 -1
- package/directive/ripple/style.scss +6 -4
- package/directive/skeleton/style.scss +0 -2
- package/directive/sortable/index.js +1 -1
- package/directive/sortable/style.scss +7 -3
- package/directive/title/style.scss +4 -2
- package/index.js +10 -10
- package/package.json +1 -1
- package/style/app.scss +64 -56
- package/style/colors.scss +26 -22
- package/style/functions/index.scss +8 -8
- package/style/mixins/container.scss +24 -19
- package/style/mixins/index.scss +19 -15
- package/style/mixins/utilities.scss +26 -21
- package/style/style.scss +5 -6
- package/style/transitions.scss +14 -13
- package/style/variables/base.scss +26 -24
- package/style/variables/utilities.scss +35 -34
- package/components/html2pdf/index.js +0 -4
- package/components/html2pdf/index.vue +0 -280
- package/components/html2pdf/pageBreak.js +0 -1
- package/components/html2pdf/pageBreak.vue +0 -12
- package/style/_include.scss +0 -3
- package/style/variables/index.scss +0 -3
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../style/style';
|
|
2
|
+
@use "../../style/variables/base";
|
|
3
|
+
@use "../../style/mixins";
|
|
2
4
|
|
|
3
|
-
.#{
|
|
5
|
+
.#{base.$prefix}app {
|
|
4
6
|
display: flex;
|
|
5
7
|
|
|
6
8
|
background: var(--color-sheet);
|
|
@@ -25,9 +27,9 @@
|
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
// Firefox overrides
|
|
28
|
-
@include firefox() {
|
|
30
|
+
@include mixins.firefox() {
|
|
29
31
|
@media print {
|
|
30
|
-
.#{
|
|
32
|
+
.#{base.$prefix}app {
|
|
31
33
|
display: block;
|
|
32
34
|
|
|
33
35
|
&-wrap {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../../../style/variables/base";
|
|
2
3
|
|
|
3
|
-
.#{
|
|
4
|
+
.#{base.$prefix}toast {
|
|
4
5
|
max-width: 500px;
|
|
5
6
|
width: 95vw;
|
|
6
7
|
position: fixed;
|
|
7
8
|
bottom: 15px;
|
|
8
9
|
left: 50%;
|
|
9
10
|
transform: translateX(-50%);
|
|
10
|
-
z-index: map
|
|
11
|
+
z-index: map.get(base.$z-index, 'veryImportant');
|
|
11
12
|
|
|
12
13
|
.toast-content {
|
|
13
14
|
padding: 15px;
|
|
@@ -31,9 +31,11 @@ export default {
|
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<style lang="scss">
|
|
34
|
-
@
|
|
34
|
+
@use "sass:map";
|
|
35
|
+
@use "../../style/variables/base";
|
|
36
|
+
@use "../../style/mixins";
|
|
35
37
|
|
|
36
|
-
.#{
|
|
38
|
+
.#{base.$prefix}bottom-navigation-circle {
|
|
37
39
|
position: fixed;
|
|
38
40
|
bottom: 0;
|
|
39
41
|
display: flex;
|
|
@@ -41,10 +43,10 @@ export default {
|
|
|
41
43
|
justify-content: center;
|
|
42
44
|
width: 100%;
|
|
43
45
|
height: 56px;
|
|
44
|
-
z-index:
|
|
46
|
+
z-index: map.get(base.$z-index, "default");
|
|
45
47
|
background-color: var(--color-sheet);
|
|
46
48
|
color: var(--color-on-sheet);
|
|
47
|
-
@include typography(
|
|
49
|
+
@include mixins.typography(base.$headings, 'body-3');
|
|
48
50
|
|
|
49
51
|
.navigation-item {
|
|
50
52
|
width: 100%;
|
|
@@ -87,7 +89,7 @@ export default {
|
|
|
87
89
|
height: 50px;
|
|
88
90
|
border: 3px solid var(--color-on-one);
|
|
89
91
|
|
|
90
|
-
.#{
|
|
92
|
+
.#{base.$prefix}icon {
|
|
91
93
|
color: var(--color-on-one);
|
|
92
94
|
}
|
|
93
95
|
}
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../../../style/variables/base";
|
|
3
|
+
@use "../../../style/functions";
|
|
4
|
+
@use "../../../style/mixins";
|
|
2
5
|
|
|
3
|
-
$bottom-nav-btn-font-size: map-metro-get(
|
|
6
|
+
$bottom-nav-btn-font-size: functions.map-metro-get(base.$headings, 'label-1', 'size') !default;
|
|
4
7
|
|
|
5
|
-
.#{
|
|
8
|
+
.#{base.$prefix}bottom-navigation {
|
|
6
9
|
bottom: 0;
|
|
7
10
|
display: flex;
|
|
8
11
|
left: 0;
|
|
9
12
|
justify-content: center;
|
|
10
13
|
width: 100%;
|
|
11
|
-
height:
|
|
14
|
+
height: base.$bottom-nav-height;
|
|
12
15
|
background-color: var(--color-sheet-container);
|
|
13
16
|
color: var(--color-on-sheet);
|
|
14
|
-
@include typography(
|
|
17
|
+
@include mixins.typography(base.$headings, 'body-3');
|
|
15
18
|
|
|
16
19
|
.router-link-exact-active {
|
|
17
20
|
color: var(--color-one)
|
|
18
21
|
}
|
|
19
22
|
|
|
20
|
-
.#{
|
|
23
|
+
.#{base.$prefix}btn {
|
|
21
24
|
border-radius: 0;
|
|
22
25
|
box-shadow: none;
|
|
23
26
|
flex: 0 1 auto;
|
|
24
27
|
font-size: $bottom-nav-btn-font-size;;
|
|
25
28
|
height: inherit !important;
|
|
26
|
-
max-width:
|
|
27
|
-
min-width:
|
|
29
|
+
max-width: base.$bottom-nav-btn-max-width;
|
|
30
|
+
min-width: base.$bottom-nav-btn-min-width;
|
|
28
31
|
position: relative;
|
|
29
32
|
text-transform: none;
|
|
30
33
|
|
|
@@ -37,11 +40,11 @@ $bottom-nav-btn-font-size: map-metro-get($headings, 'label-1', 'size') !default;
|
|
|
37
40
|
height: inherit;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
|
-
.#{
|
|
43
|
+
.#{base.$prefix}icon {
|
|
41
44
|
margin-bottom: 4px
|
|
42
45
|
}
|
|
43
46
|
|
|
44
|
-
> *:not(.#{
|
|
47
|
+
> *:not(.#{base.$prefix}icon) {
|
|
45
48
|
line-height: 1.2
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -52,11 +55,11 @@ $bottom-nav-btn-font-size: map-metro-get($headings, 'label-1', 'size') !default;
|
|
|
52
55
|
|
|
53
56
|
&.bottom-navigation-fixed {
|
|
54
57
|
position: fixed;
|
|
55
|
-
z-index:
|
|
58
|
+
z-index: map.get(base.$z-index, 'default')
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
&.bottom-navigation-grow {
|
|
59
|
-
.#{
|
|
62
|
+
.#{base.$prefix}btn {
|
|
60
63
|
width: 100%;
|
|
61
64
|
max-width: 100%;
|
|
62
65
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../../../style/variables/base";
|
|
3
|
+
@use "../../../style/mixins";
|
|
2
4
|
|
|
3
|
-
.#{
|
|
5
|
+
.#{base.$prefix}toolbar {
|
|
4
6
|
flex: 1 1 auto;
|
|
5
7
|
background-color: var(--color-sheet-container);
|
|
6
8
|
color: var(--color-on-sheet);
|
|
@@ -10,11 +12,11 @@
|
|
|
10
12
|
width: 40px;
|
|
11
13
|
height: 40px;
|
|
12
14
|
position: absolute;
|
|
13
|
-
transition: 2s all map
|
|
14
|
-
@include rtl() {
|
|
15
|
+
transition: 2s all map.get(base.$transition, 'swing');
|
|
16
|
+
@include mixins.rtl() {
|
|
15
17
|
right: -40px;
|
|
16
18
|
}
|
|
17
|
-
@include ltr() {
|
|
19
|
+
@include mixins.ltr() {
|
|
18
20
|
left: -40px;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -23,11 +25,11 @@
|
|
|
23
25
|
height: 100%;
|
|
24
26
|
overflow: auto;
|
|
25
27
|
position: absolute;
|
|
26
|
-
transition: .5s all map
|
|
27
|
-
@include rtl(){
|
|
28
|
+
transition: .5s all map.get(base.$transition, 'swing');
|
|
29
|
+
@include mixins.rtl(){
|
|
28
30
|
right: -300px;
|
|
29
31
|
}
|
|
30
|
-
@include ltr(){
|
|
32
|
+
@include mixins.ltr(){
|
|
31
33
|
left: -300px;
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -36,14 +38,14 @@
|
|
|
36
38
|
top: 0;
|
|
37
39
|
width: 0;
|
|
38
40
|
height: 100vh;
|
|
39
|
-
z-index:
|
|
41
|
+
z-index: map.get(base.$z-index, 'important');
|
|
40
42
|
background-color: var(--color-overlay);
|
|
41
|
-
transition: 1s width map
|
|
43
|
+
transition: 1s width map.get(base.$transition, 'swing');
|
|
42
44
|
overflow: hidden;
|
|
43
|
-
@include rtl() {
|
|
45
|
+
@include mixins.rtl() {
|
|
44
46
|
right: 0;
|
|
45
47
|
}
|
|
46
|
-
@include ltr() {
|
|
48
|
+
@include mixins.ltr() {
|
|
47
49
|
left: 0;
|
|
48
50
|
}
|
|
49
51
|
}
|
|
@@ -52,19 +54,19 @@
|
|
|
52
54
|
width: 100vw;
|
|
53
55
|
}
|
|
54
56
|
.toolbar-side {
|
|
55
|
-
transition: 2s all map
|
|
56
|
-
@include rtl() {
|
|
57
|
+
transition: 2s all map.get(base.$transition, 'swing');
|
|
58
|
+
@include mixins.rtl() {
|
|
57
59
|
right: 0;
|
|
58
60
|
}
|
|
59
|
-
@include ltr() {
|
|
61
|
+
@include mixins.ltr() {
|
|
60
62
|
left: 0;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
.toolbar-close{
|
|
64
|
-
@include rtl() {
|
|
66
|
+
@include mixins.rtl() {
|
|
65
67
|
right: 300px;
|
|
66
68
|
}
|
|
67
|
-
@include ltr() {
|
|
69
|
+
@include mixins.ltr() {
|
|
68
70
|
left: 300px;
|
|
69
71
|
}
|
|
70
72
|
}
|
|
@@ -72,12 +74,12 @@
|
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
.toolbar-content {
|
|
75
|
-
height:
|
|
76
|
-
padding:
|
|
77
|
+
height: base.$toolbar-height;
|
|
78
|
+
padding: base.$toolbar-content-padding-y base.$toolbar-content-padding-x;
|
|
77
79
|
align-items: center;
|
|
78
80
|
display: flex;
|
|
79
81
|
position: relative;
|
|
80
|
-
z-index:
|
|
82
|
+
z-index: map.get(base.$z-index, 'medium');
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
.toolbar-items {
|
|
@@ -93,24 +95,24 @@
|
|
|
93
95
|
content: '-';
|
|
94
96
|
position: absolute;
|
|
95
97
|
color: #9e9e9e;
|
|
96
|
-
@include rtl() {
|
|
98
|
+
@include mixins.rtl() {
|
|
97
99
|
right: -8px;
|
|
98
100
|
}
|
|
99
|
-
@include ltr() {
|
|
101
|
+
@include mixins.ltr() {
|
|
100
102
|
left: -8px;
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
.menu-list {
|
|
106
|
-
transition: 1s map
|
|
108
|
+
transition: 1s map.get(base.$transition, 'swing');
|
|
107
109
|
min-width: 200px;
|
|
108
110
|
max-height: 500px;
|
|
109
111
|
overflow-y: auto;
|
|
110
|
-
@include rtl() {
|
|
112
|
+
@include mixins.rtl() {
|
|
111
113
|
border-right: 1px solid #9e9e9e;
|
|
112
114
|
}
|
|
113
|
-
@include ltr() {
|
|
115
|
+
@include mixins.ltr() {
|
|
114
116
|
border-left: 1px solid #9e9e9e;
|
|
115
117
|
}
|
|
116
118
|
}
|
|
@@ -127,16 +129,16 @@
|
|
|
127
129
|
position: relative;
|
|
128
130
|
|
|
129
131
|
.toolbar-childs {
|
|
130
|
-
transition: 1s map
|
|
132
|
+
transition: 1s map.get(base.$transition, 'swing');
|
|
131
133
|
position: absolute;
|
|
132
134
|
top: 40px;
|
|
133
135
|
max-height: 0;
|
|
134
136
|
overflow: hidden;
|
|
135
|
-
z-index:
|
|
137
|
+
z-index: map.get(base.$z-index, 'important');
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
&:before {
|
|
139
|
-
transition:
|
|
141
|
+
transition: base.$primary-transition;
|
|
140
142
|
content: '';
|
|
141
143
|
width: 0;
|
|
142
144
|
position: absolute;
|
|
@@ -161,12 +163,12 @@
|
|
|
161
163
|
position: fixed;
|
|
162
164
|
top: 0;
|
|
163
165
|
width: 100%;
|
|
164
|
-
z-index:
|
|
166
|
+
z-index: map.get(base.$z-index, 'medium');
|
|
165
167
|
}
|
|
166
168
|
|
|
167
169
|
&.toolbar-sticky {
|
|
168
170
|
position: sticky;
|
|
169
171
|
top: 0;
|
|
170
|
-
z-index:
|
|
172
|
+
z-index: map.get(base.$z-index, 'medium');
|
|
171
173
|
}
|
|
172
174
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../../style/variables/base";
|
|
2
|
+
@use "../../style/mixins/container" as mixins;
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
.#{$prefix}breadcrumbs {
|
|
4
|
+
.#{base.$prefix}breadcrumbs {
|
|
5
5
|
align-items: center;
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-wrap: wrap;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
color: var(--color-on-sheet);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.breadcrumb-divider, .breadcrumb-item-disabled, .#{
|
|
18
|
+
.breadcrumb-divider, .breadcrumb-item-disabled, .#{base.$prefix}icon {
|
|
19
19
|
color: var(--color-border)
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
padding: 0 12px
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
@include media-breakpoint-down('md') {
|
|
32
|
+
@include mixins.media-breakpoint-down('md') {
|
|
33
33
|
&:nth-child(even) {
|
|
34
34
|
padding: 0 4px
|
|
35
35
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
align-items: center;
|
|
42
42
|
display: inline-flex;
|
|
43
43
|
text-decoration: none;
|
|
44
|
-
transition: 0.3s
|
|
44
|
+
transition: 0.3s base.$primary-transition;
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
|
|
47
47
|
&-disabled {
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
@use "../../style/variables/base";
|
|
4
|
+
@use "../../style/mixins";
|
|
5
|
+
@use "../../style/functions";
|
|
6
|
+
|
|
2
7
|
|
|
3
8
|
$btn-active-opacity: 0.18 !default;
|
|
4
|
-
$btn-border-radius: map
|
|
9
|
+
$btn-border-radius: map.get(base.$borders, 'sm') !default;
|
|
5
10
|
$btn-focus-opacity: 0.24 !default;
|
|
6
11
|
$btn-font-size: .875rem !default;
|
|
7
12
|
$btn-font-weight: 500 !default;
|
|
@@ -33,10 +38,10 @@ $fab-icon-sizes: (
|
|
|
33
38
|
'x-large': 32
|
|
34
39
|
) !default;
|
|
35
40
|
$btn-transition-duration: 0.28s !default;
|
|
36
|
-
$btn-transition-fn: map
|
|
37
|
-
$btn-transition: opacity 0.2s map
|
|
41
|
+
$btn-transition-fn: map.get(base.$transition, 'fast-out-slow-in') !default;
|
|
42
|
+
$btn-transition: opacity 0.2s map.get(base.$transition, 'ease-in-out') !default;
|
|
38
43
|
|
|
39
|
-
.#{
|
|
44
|
+
.#{base.$prefix}btn {
|
|
40
45
|
cursor: pointer;
|
|
41
46
|
align-items: center;
|
|
42
47
|
border-radius: $btn-border-radius;
|
|
@@ -68,13 +73,13 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
68
73
|
}
|
|
69
74
|
|
|
70
75
|
|
|
71
|
-
@include states();
|
|
76
|
+
@include mixins.states();
|
|
72
77
|
|
|
73
78
|
&.btn-disabled {
|
|
74
|
-
@include disable-states();
|
|
79
|
+
@include mixins.disable-states();
|
|
75
80
|
|
|
76
81
|
&:not(.btn-text):not(.btn-outlined) {
|
|
77
|
-
background-color: var(--color-#{map-metro-get(
|
|
82
|
+
background-color: var(--color-#{functions.map-metro-get(base.$states, 'disabled','state','color')}) !important;
|
|
78
83
|
}
|
|
79
84
|
|
|
80
85
|
&.btn-text, &.btn-outlined {
|
|
@@ -84,7 +89,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
84
89
|
}
|
|
85
90
|
}
|
|
86
91
|
|
|
87
|
-
@include ltr() {
|
|
92
|
+
@include mixins.ltr() {
|
|
88
93
|
letter-spacing: $btn-letter-spacing;
|
|
89
94
|
}
|
|
90
95
|
|
|
@@ -110,7 +115,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
110
115
|
|
|
111
116
|
&:not(.btn-round) {
|
|
112
117
|
@each $name, $size in $btn-sizes {
|
|
113
|
-
$p: div($size, 2.25);
|
|
118
|
+
$p: math.div($size, 2.25);
|
|
114
119
|
&.size-#{$name} {
|
|
115
120
|
height: #{$size}px;
|
|
116
121
|
min-width: #{round($size * 1.7)}px;
|
|
@@ -119,7 +124,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
119
124
|
}
|
|
120
125
|
}
|
|
121
126
|
|
|
122
|
-
> .btn-content .#{
|
|
127
|
+
> .btn-content .#{base.$prefix}icon {
|
|
123
128
|
color: inherit
|
|
124
129
|
}
|
|
125
130
|
|
|
@@ -160,7 +165,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
160
165
|
width: 100%;
|
|
161
166
|
}
|
|
162
167
|
|
|
163
|
-
.#{
|
|
168
|
+
.#{base.$prefix}btn:not(.btn-text):not(.btn-outlined) {
|
|
164
169
|
&.btn-active:before {
|
|
165
170
|
opacity: $btn-active-opacity
|
|
166
171
|
}
|
|
@@ -179,19 +184,19 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
179
184
|
position: absolute;
|
|
180
185
|
|
|
181
186
|
&.btn-right {
|
|
182
|
-
right: map
|
|
187
|
+
right: map.get(base.$grid-gutters, 'lg')
|
|
183
188
|
}
|
|
184
189
|
|
|
185
190
|
&.btn-left {
|
|
186
|
-
left: map
|
|
191
|
+
left: map.get(base.$grid-gutters, 'lg')
|
|
187
192
|
}
|
|
188
193
|
|
|
189
194
|
&.btn-top {
|
|
190
|
-
top: map
|
|
195
|
+
top: map.get(base.$grid-gutters, 'lg')
|
|
191
196
|
}
|
|
192
197
|
|
|
193
198
|
&.btn-bottom {
|
|
194
|
-
bottom: map
|
|
199
|
+
bottom: map.get(base.$grid-gutters, 'lg')
|
|
195
200
|
}
|
|
196
201
|
}
|
|
197
202
|
|
|
@@ -203,14 +208,14 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
203
208
|
}
|
|
204
209
|
|
|
205
210
|
.btn-contained {
|
|
206
|
-
@include elevation('sm');
|
|
211
|
+
@include mixins.elevation('sm');
|
|
207
212
|
|
|
208
213
|
&:after {
|
|
209
|
-
@include elevation('md')
|
|
214
|
+
@include mixins.elevation('md')
|
|
210
215
|
}
|
|
211
216
|
|
|
212
217
|
&:active {
|
|
213
|
-
@include elevation('lg')
|
|
218
|
+
@include mixins.elevation('lg')
|
|
214
219
|
}
|
|
215
220
|
}
|
|
216
221
|
|
|
@@ -225,7 +230,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
225
230
|
padding: 0;
|
|
226
231
|
@each $name, $size in $fab-icon-sizes {
|
|
227
232
|
&.size-#{$name} {
|
|
228
|
-
.#{
|
|
233
|
+
.#{base.$prefix}icon {
|
|
229
234
|
height: #{$size}px;
|
|
230
235
|
font-size: #{$size}px;
|
|
231
236
|
width: #{$size}px;
|
|
@@ -246,14 +251,14 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
246
251
|
|
|
247
252
|
.btn-fab {
|
|
248
253
|
&.btn-contained {
|
|
249
|
-
@include elevation('md') ;
|
|
254
|
+
@include mixins.elevation('md') ;
|
|
250
255
|
|
|
251
256
|
&:after {
|
|
252
|
-
@include elevation('lg')
|
|
257
|
+
@include mixins.elevation('lg')
|
|
253
258
|
}
|
|
254
259
|
|
|
255
260
|
&:active {
|
|
256
|
-
@include elevation('xl')
|
|
261
|
+
@include mixins.elevation('xl')
|
|
257
262
|
}
|
|
258
263
|
}
|
|
259
264
|
|
|
@@ -269,11 +274,11 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
269
274
|
|
|
270
275
|
&.btn-absolute {
|
|
271
276
|
&.btn-bottom {
|
|
272
|
-
bottom: #{div($size,-2)}px
|
|
277
|
+
bottom: #{math.div($size,-2)}px
|
|
273
278
|
}
|
|
274
279
|
|
|
275
280
|
&.btn-top {
|
|
276
|
-
top: #{div($size,-2)}px
|
|
281
|
+
top: #{math.div($size,-2)}px
|
|
277
282
|
}
|
|
278
283
|
}
|
|
279
284
|
|
|
@@ -308,7 +313,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
308
313
|
.btn-outlined,
|
|
309
314
|
.btn-round {
|
|
310
315
|
.btn-content {
|
|
311
|
-
.#{
|
|
316
|
+
.#{base.$prefix}icon {
|
|
312
317
|
color: currentColor
|
|
313
318
|
}
|
|
314
319
|
}
|
|
@@ -340,11 +345,11 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
340
345
|
}
|
|
341
346
|
|
|
342
347
|
|
|
343
|
-
.#{
|
|
348
|
+
.#{base.$prefix}button-group {
|
|
344
349
|
position: relative;
|
|
345
350
|
color: var(--color-on-sheet);
|
|
346
351
|
background-color: var(--color-sheet-container);
|
|
347
|
-
@include states();
|
|
352
|
+
@include mixins.states();
|
|
348
353
|
|
|
349
354
|
.btn-container {
|
|
350
355
|
display: inline-flex;
|
|
@@ -367,25 +372,25 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
367
372
|
vertical-align: middle;
|
|
368
373
|
white-space: nowrap;
|
|
369
374
|
|
|
370
|
-
.#{
|
|
375
|
+
.#{base.$prefix}btn {
|
|
371
376
|
border-radius: 0;
|
|
372
377
|
}
|
|
373
378
|
|
|
374
|
-
@include rtl() {
|
|
375
|
-
.#{
|
|
379
|
+
@include mixins.rtl() {
|
|
380
|
+
.#{base.$prefix}btn:not(:first-child):not(:last-child) {
|
|
376
381
|
border-left: currentColor 1px solid;
|
|
377
382
|
}
|
|
378
383
|
|
|
379
|
-
.#{
|
|
384
|
+
.#{base.$prefix}btn:first-child {
|
|
380
385
|
border-left: currentColor 1px solid;
|
|
381
386
|
}
|
|
382
387
|
}
|
|
383
|
-
@include ltr() {
|
|
384
|
-
.#{
|
|
388
|
+
@include mixins.ltr() {
|
|
389
|
+
.#{base.$prefix}btn:not(:first-child):not(:last-child) {
|
|
385
390
|
border-right: currentColor 1px solid;
|
|
386
391
|
}
|
|
387
392
|
|
|
388
|
-
.#{
|
|
393
|
+
.#{base.$prefix}btn:first-child {
|
|
389
394
|
border-right: currentColor 1px solid;
|
|
390
395
|
}
|
|
391
396
|
}
|
|
@@ -395,7 +400,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
395
400
|
position: absolute;
|
|
396
401
|
top: 0;
|
|
397
402
|
width: 100%;
|
|
398
|
-
z-index:
|
|
403
|
+
z-index: map.get(base.$z-index, 'default');
|
|
399
404
|
height: 300px;
|
|
400
405
|
overflow: auto;
|
|
401
406
|
|
|
@@ -313,9 +313,10 @@ export default {
|
|
|
313
313
|
</script>
|
|
314
314
|
|
|
315
315
|
<style lang="scss">
|
|
316
|
-
@
|
|
316
|
+
@use "../../style/variables/base";
|
|
317
|
+
@use "../../style/mixins/container" as mixins;
|
|
317
318
|
|
|
318
|
-
.#{
|
|
319
|
+
.#{base.$prefix}calendar {
|
|
319
320
|
position: relative;
|
|
320
321
|
display: inline-block;
|
|
321
322
|
font-size: 10px;
|
|
@@ -353,7 +354,7 @@ export default {
|
|
|
353
354
|
position: relative;
|
|
354
355
|
z-index: 1;
|
|
355
356
|
border-collapse: collapse;
|
|
356
|
-
@include media-breakpoint-up('lg') {
|
|
357
|
+
@include mixins.media-breakpoint-up('lg') {
|
|
357
358
|
table-layout: fixed;
|
|
358
359
|
}
|
|
359
360
|
}
|