@kusena/wui-single 18.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +24 -0
  2. package/esm2022/kusena-wui-single.mjs +5 -0
  3. package/esm2022/lib/components/app/app.component.mjs +63 -0
  4. package/esm2022/lib/components/app-bar/app-bar.component.mjs +16 -0
  5. package/esm2022/lib/components/avatar/avatar.component.mjs +35 -0
  6. package/esm2022/lib/components/dialog/dialog.component.mjs +54 -0
  7. package/esm2022/lib/components/drawer/drawer-item.component.mjs +41 -0
  8. package/esm2022/lib/components/drawer/drawer.component.mjs +82 -0
  9. package/esm2022/lib/components/drawer/drawer.directive.mjs +22 -0
  10. package/esm2022/lib/components/form-field/wui-form-field.component.mjs +63 -0
  11. package/esm2022/lib/components/form-field/wui-input.directive.mjs +68 -0
  12. package/esm2022/lib/components/icon/icon.component.mjs +22 -0
  13. package/esm2022/lib/components/list/list.component.mjs +31 -0
  14. package/esm2022/lib/components/loading/loading.component.mjs +60 -0
  15. package/esm2022/lib/components/loading-dialog/loading-dialog.component.mjs +24 -0
  16. package/esm2022/lib/components/menu/menu.component.mjs +134 -0
  17. package/esm2022/lib/components/modal/modal-host.component.mjs +21 -0
  18. package/esm2022/lib/components/modal/modal-overlay.mjs +63 -0
  19. package/esm2022/lib/components/modal/modal.component.mjs +38 -0
  20. package/esm2022/lib/components/nav/nav.component.mjs +85 -0
  21. package/esm2022/lib/components/page/page-host.component.mjs +21 -0
  22. package/esm2022/lib/components/page/page-overlay.service.mjs +63 -0
  23. package/esm2022/lib/components/page/page.component.mjs +23 -0
  24. package/esm2022/lib/components/snackbar/snackbar.component.mjs +65 -0
  25. package/esm2022/lib/components/toggle/toggle.component.mjs +79 -0
  26. package/esm2022/lib/directives/menu.directive.mjs +79 -0
  27. package/esm2022/lib/directives/nav.directive.mjs +78 -0
  28. package/esm2022/lib/directives/num-input.directive.mjs +105 -0
  29. package/esm2022/lib/directives/page-header.directive.mjs +48 -0
  30. package/esm2022/lib/directives/ripple.directive.mjs +87 -0
  31. package/esm2022/lib/directives/scroll-end.directive.mjs +27 -0
  32. package/esm2022/lib/directives/sortable.directive.mjs +99 -0
  33. package/esm2022/lib/index.mjs +39 -0
  34. package/esm2022/lib/services/message.service.mjs +22 -0
  35. package/esm2022/lib/services/modal.service.mjs +26 -0
  36. package/esm2022/lib/services/nav.service.mjs +55 -0
  37. package/esm2022/lib/services/page.service.mjs +38 -0
  38. package/esm2022/lib/services/router.service.mjs +42 -0
  39. package/esm2022/lib/services/wui.service.mjs +43 -0
  40. package/esm2022/lib/wui-single.component.mjs +19 -0
  41. package/esm2022/lib/wui.providers.mjs +20 -0
  42. package/esm2022/public-api.mjs +5 -0
  43. package/fesm2022/kusena-wui-single.mjs +1841 -0
  44. package/fesm2022/kusena-wui-single.mjs.map +1 -0
  45. package/index.d.ts +5 -0
  46. package/lib/components/app/app.component.d.ts +16 -0
  47. package/lib/components/app-bar/app-bar.component.d.ts +5 -0
  48. package/lib/components/avatar/avatar.component.d.ts +10 -0
  49. package/lib/components/dialog/dialog.component.d.ts +9 -0
  50. package/lib/components/drawer/drawer-item.component.d.ts +8 -0
  51. package/lib/components/drawer/drawer.component.d.ts +21 -0
  52. package/lib/components/drawer/drawer.directive.d.ts +7 -0
  53. package/lib/components/form-field/wui-form-field.component.d.ts +13 -0
  54. package/lib/components/form-field/wui-input.directive.d.ts +17 -0
  55. package/lib/components/icon/icon.component.d.ts +7 -0
  56. package/lib/components/list/list.component.d.ts +9 -0
  57. package/lib/components/loading/loading.component.d.ts +9 -0
  58. package/lib/components/loading-dialog/loading-dialog.component.d.ts +8 -0
  59. package/lib/components/menu/menu.component.d.ts +27 -0
  60. package/lib/components/modal/modal-host.component.d.ts +10 -0
  61. package/lib/components/modal/modal-overlay.d.ts +25 -0
  62. package/lib/components/modal/modal.component.d.ts +11 -0
  63. package/lib/components/nav/nav.component.d.ts +17 -0
  64. package/lib/components/page/page-host.component.d.ts +10 -0
  65. package/lib/components/page/page-overlay.service.d.ts +25 -0
  66. package/lib/components/page/page.component.d.ts +5 -0
  67. package/lib/components/snackbar/snackbar.component.d.ts +18 -0
  68. package/lib/components/toggle/toggle.component.d.ts +21 -0
  69. package/lib/directives/menu.directive.d.ts +17 -0
  70. package/lib/directives/nav.directive.d.ts +30 -0
  71. package/lib/directives/num-input.directive.d.ts +27 -0
  72. package/lib/directives/page-header.directive.d.ts +13 -0
  73. package/lib/directives/ripple.directive.d.ts +16 -0
  74. package/lib/directives/scroll-end.directive.d.ts +9 -0
  75. package/lib/directives/sortable.directive.d.ts +19 -0
  76. package/lib/index.d.ts +33 -0
  77. package/lib/services/message.service.d.ts +9 -0
  78. package/lib/services/modal.service.d.ts +13 -0
  79. package/lib/services/nav.service.d.ts +14 -0
  80. package/lib/services/page.service.d.ts +16 -0
  81. package/lib/services/router.service.d.ts +16 -0
  82. package/lib/services/wui.service.d.ts +16 -0
  83. package/lib/wui-single.component.d.ts +5 -0
  84. package/lib/wui.providers.d.ts +2 -0
  85. package/package.json +25 -0
  86. package/public-api.d.ts +1 -0
  87. package/scss/screen/appbar.scss +71 -0
  88. package/scss/screen/avatar.scss +17 -0
  89. package/scss/screen/backdrop.scss +15 -0
  90. package/scss/screen/box.scss +67 -0
  91. package/scss/screen/breadcrumb.scss +34 -0
  92. package/scss/screen/buttons.scss +177 -0
  93. package/scss/screen/core.scss +103 -0
  94. package/scss/screen/drawer.scss +273 -0
  95. package/scss/screen/formfields.scss +288 -0
  96. package/scss/screen/icon.scss +33 -0
  97. package/scss/screen/list.scss +90 -0
  98. package/scss/screen/loading.scss +169 -0
  99. package/scss/screen/menu.scss +120 -0
  100. package/scss/screen/modal.scss +238 -0
  101. package/scss/screen/normalize.scss +340 -0
  102. package/scss/screen/page.scss +115 -0
  103. package/scss/screen/pagination.scss +46 -0
  104. package/scss/screen/ripple.scss +18 -0
  105. package/scss/screen/scrollbar.scss +108 -0
  106. package/scss/screen/searchbox.scss +40 -0
  107. package/scss/screen/selection.scss +190 -0
  108. package/scss/screen/snackbar.scss +25 -0
  109. package/scss/screen/sortable.scss +10 -0
  110. package/scss/screen/table.scss +199 -0
  111. package/scss/screen/tabs.scss +71 -0
  112. package/scss/screen/toogle.scss +79 -0
  113. package/scss/screen/tooltip.scss +16 -0
  114. package/scss/screen/utils.scss +140 -0
  115. package/scss/variables/colors.scss +180 -0
  116. package/scss/variables/defaults.scss +0 -0
  117. package/scss/wui.scss +2 -0
@@ -0,0 +1,46 @@
1
+ wui-pagination {
2
+ padding: 0;
3
+ display: flex;
4
+ align-items: center;
5
+ padding-top: 1.5rem;
6
+
7
+ .label {
8
+ flex: 1 1 auto;
9
+ font-size: .875rem;
10
+ }
11
+
12
+ .nav {
13
+ flex: 0 0 auto;
14
+ margin: 0;
15
+ padding: 0;
16
+ list-style: none;
17
+ align-items: center;
18
+ display: flex;
19
+
20
+ li {
21
+ margin: 0;
22
+ padding: 0;
23
+
24
+ button {
25
+ width: 1.75rem;
26
+ height: 1.75rem;
27
+
28
+ svg {
29
+ width: 1.5rem;
30
+ height: 1.5rem;
31
+ opacity: .67;
32
+ }
33
+ }
34
+ }
35
+ }
36
+
37
+ }
38
+
39
+ @media screen and (min-width: 767px) {
40
+ wui-pagination {
41
+ padding-left: 1.5rem;
42
+ padding-top: 1.5rem;
43
+ padding-right: 1rem;
44
+ border-top: 1px solid var(--theme-border);
45
+ }
46
+ }
@@ -0,0 +1,18 @@
1
+ .wuiRipple__obj {
2
+ width: 0;
3
+ height: 0;
4
+ position: absolute;
5
+ left: 50%;
6
+ top: 50%;
7
+ z-index: 0;
8
+ border-radius: 50%;
9
+ transform: translate(-50%, -50%);
10
+
11
+ &.wuiRipple__light {
12
+ background-color: rgba(255,255,255,0.8);
13
+ }
14
+
15
+ &.wuiRipple__dark {
16
+ background-color: rgba(0,0,0,0.8);
17
+ }
18
+ }
@@ -0,0 +1,108 @@
1
+ .ps {
2
+ overflow: hidden !important;
3
+ overflow-anchor: none;
4
+ -ms-overflow-style: none;
5
+ touch-action: auto;
6
+ -ms-touch-action: auto;
7
+ }
8
+
9
+ .ps__rail-x {
10
+ display: none;
11
+ opacity: 0;
12
+ transition: background-color .2s linear, opacity .2s linear, height .2s linear;
13
+ -webkit-transition: background-color .2s linear, opacity .2s linear, height .2s linear;
14
+ height: 6px;
15
+ bottom: 0px;
16
+ position: absolute;
17
+ }
18
+
19
+ .ps__rail-y {
20
+ display: none;
21
+ opacity: 0;
22
+ transition: background-color .2s linear, opacity .2s linear, width .2s linear;
23
+ -webkit-transition: background-color .2s linear, opacity .2s linear, width .2s linear;
24
+ width: 6px;
25
+ right: 0;
26
+ position: absolute;
27
+ }
28
+
29
+ .ps--active-x > .ps__rail-x,
30
+ .ps--active-y > .ps__rail-y {
31
+ display: block;
32
+ background-color: #EFEFEF;
33
+ }
34
+
35
+ .ps:hover > .ps__rail-x,
36
+ .ps:hover > .ps__rail-y,
37
+ .ps--focus > .ps__rail-x,
38
+ .ps--focus > .ps__rail-y,
39
+ .ps--scrolling-x > .ps__rail-x,
40
+ .ps--scrolling-y > .ps__rail-y {
41
+ opacity: 0.8;
42
+ }
43
+
44
+ .ps .ps__rail-x:hover,
45
+ .ps .ps__rail-y:hover,
46
+ .ps .ps__rail-x:focus,
47
+ .ps .ps__rail-y:focus,
48
+ .ps .ps__rail-x.ps--clicking,
49
+ .ps .ps__rail-y.ps--clicking {
50
+ background-color: #eee;
51
+ opacity: 1;
52
+ }
53
+
54
+ .ps .ps__rail-y:hover {
55
+ border-left: 1px solid #ededed;
56
+ width: 15px;
57
+ }
58
+
59
+ .ps__thumb-x {
60
+ background-color: #999;
61
+ transition: background-color .2s linear, height .2s ease-in-out;
62
+ -webkit-transition: background-color .2s linear, height .2s ease-in-out;
63
+ height: 4px;
64
+ bottom: 1px;
65
+ box-sizing: border-box;
66
+ position: absolute;
67
+ border-radius: 2px;
68
+ }
69
+
70
+ .ps__thumb-y {
71
+ background-color: #999;
72
+ transition: background-color .2s linear, width .2s ease-in-out;
73
+ -webkit-transition: background-color .2s linear, width .2s ease-in-out;
74
+ width: 4px;
75
+ right: 1px;
76
+ position: absolute;
77
+ border-radius: 2px;
78
+ }
79
+
80
+ .ps__rail-x:hover > .ps__thumb-x,
81
+ .ps__rail-x:focus > .ps__thumb-x,
82
+ .ps__rail-x.ps--clicking .ps__thumb-x {
83
+ background-color: #555;
84
+ height: 11px;
85
+ bottom: 2px;
86
+ border-radius: 6px;
87
+ }
88
+
89
+ .ps__rail-y:hover > .ps__thumb-y,
90
+ .ps__rail-y:focus > .ps__thumb-y,
91
+ .ps__rail-y.ps--clicking .ps__thumb-y {
92
+ background-color: #999;
93
+ width: 11px;
94
+ right: 2px;
95
+ border-radius: 6px;
96
+ }
97
+
98
+ @supports (-ms-overflow-style: none) {
99
+ .ps {
100
+ overflow: auto !important;
101
+ }
102
+ }
103
+
104
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
105
+ .ps {
106
+ overflow: auto !important;
107
+ }
108
+ }
@@ -0,0 +1,40 @@
1
+ .wui-search-box {
2
+ position: relative;
3
+
4
+ span.mdi {
5
+ position: absolute;
6
+ top: .125rem;
7
+ }
8
+
9
+ span.mdi-magnify {
10
+ left: .5rem;
11
+ }
12
+
13
+ span.mdi-close {
14
+ right: .5rem;
15
+ }
16
+
17
+ input {
18
+ height: 2.25rem;
19
+ border: none;
20
+ padding-left: 3rem;
21
+ padding-right: 3rem;
22
+ background-color: #EFEFEF;
23
+ font-size: 1rem;
24
+ font-family: 'Roboto', sans-serif;
25
+ border-radius: .25rem;
26
+
27
+ &:focus {
28
+ background-color: #F2F2F2;
29
+ border: 2px solid var(--theme-primary);
30
+ padding-left: calc(3rem - 2px);
31
+ padding-right: calc(3rem - 2px);
32
+ }
33
+ }
34
+
35
+ &:focus-within {
36
+ span.mdi-magnify {
37
+ color: var(--theme-primary);
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,190 @@
1
+ .wui-checkbox, .wui-radio {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ position: relative;
5
+ height: 1.5rem;
6
+ width: 100%;
7
+
8
+ &-mark {
9
+ order: 0;
10
+ position: relative;
11
+ justify-self: self-start;
12
+
13
+ &:before {
14
+ font-family: 'Material Design Icons';
15
+ content: "\F0131";
16
+ display: block;
17
+ font-size: 1.5rem;
18
+ width: 1.5rem;
19
+ height: 1.5rem;
20
+ color: var(--theme-checkbox, $theme-checkbox);
21
+ }
22
+
23
+ &:after {
24
+ content: "";
25
+ position: absolute;
26
+ width: 0rem;
27
+ height: 0rem;
28
+ left: 50%; top: 50%;
29
+ transition: all ease-in-out .2s;
30
+ }
31
+ }
32
+
33
+ &-label {
34
+ padding-left: 1rem;
35
+ }
36
+
37
+ input[type=checkbox], input[type=radio] {
38
+ opacity: 0;
39
+ position: absolute;
40
+ top: 0; left: 0;
41
+ z-index: 3;
42
+ }
43
+
44
+ &:hover, &:focus-within {
45
+ .wui-checkbox-mark, .wui-radio-mark {
46
+ &:after {
47
+ display: block;
48
+ width: 2.5rem;
49
+ height: 2.5rem;
50
+ background-color: rgba($theme-primary, .5);
51
+ opacity: .37;
52
+ left: -.5rem;
53
+ top: -.5rem;
54
+ border-radius: 1.25rem;
55
+ }
56
+ }
57
+ }
58
+
59
+ input[type=checkbox]:checked {
60
+ ~ .wui-checkbox-mark {
61
+ &:before {
62
+ content: "\F0132";
63
+ color: var(--theme-primary, $theme-primary);
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ .wui-radio {
70
+ &-mark {
71
+ &:before {
72
+ content: "\F043D";
73
+ }
74
+ }
75
+
76
+ input[type=radio]:checked {
77
+ ~ .wui-radio-mark {
78
+ &:before {
79
+ content: "\F043E";
80
+ color: var(--theme-primary, $theme-primary);
81
+ }
82
+ }
83
+ }
84
+ }
85
+
86
+ .wui-toggle {
87
+ padding-top: 1.25rem;
88
+ padding-bottom: 1.25rem;
89
+ display: flex;
90
+ position: relative;
91
+
92
+ input[type=checkbox] {
93
+ opacity: 0;
94
+ position: absolute;
95
+ top: 1.25rem; left: 0;
96
+ z-index: 3;
97
+ width: 2.25rem;
98
+ height: 1rem;
99
+ }
100
+
101
+ &-mark {
102
+ display: block;
103
+ width: 2.25rem;
104
+ height: 1rem;
105
+ border-radius: .5rem;
106
+ background-color: var(--theme-toggle-track-bg, $theme-toggle-track-bg);
107
+ position: relative;
108
+
109
+ &:before {
110
+ display: block;
111
+ content: "";
112
+ width: 1.25rem;
113
+ height: 1.25rem;
114
+ top: -.125rem;
115
+ left: 0;
116
+ transition: left ease-in-out .2s;
117
+ position: absolute;
118
+ border-radius: .75rem;
119
+ background-color: #FFF;
120
+ box-shadow: 0 .125rem .125rem .075rem rgba(0,0,0,.25);
121
+ z-index: 2;
122
+ }
123
+
124
+ &:after {
125
+ display:block;
126
+ content: "";
127
+ width: 2.5rem;
128
+ height: 2.5rem;
129
+ position: absolute;
130
+ width: 0rem;
131
+ height: 0rem;
132
+ left: .625rem; top: .5rem;
133
+ transition: all ease-in-out .2s;
134
+ border-radius: 50%;
135
+ }
136
+ }
137
+
138
+ input[type=checkbox]:checked {
139
+ ~ .wui-toggle-mark {
140
+ background-color: rgba($theme-primary, .5);
141
+
142
+ &:after {
143
+ left: calc(100% - .625rem);
144
+ }
145
+
146
+ &:before {
147
+ background-color: $theme-primary;
148
+ box-shadow: 0 .125rem .125rem .075rem rgba($theme-primary,.25);
149
+ left: calc(100% - 1.25rem);
150
+ }
151
+ }
152
+ }
153
+
154
+ &:hover, &:focus-within {
155
+ .wui-toggle-mark {
156
+ &:after {
157
+ display:block;
158
+ content: "";
159
+ width: 2.5rem;
160
+ height: 2.5rem;
161
+ background-color: rgba($theme-primary, .5);
162
+ opacity: .37;
163
+ z-index: 1;
164
+ position: absolute;
165
+ top: -.75rem;
166
+ }
167
+ }
168
+
169
+ input[type=checkbox] {
170
+ ~ .wui-toggle-mark {
171
+ &:after {
172
+ left: -.625rem;
173
+ }
174
+ }
175
+ }
176
+
177
+ input[type=checkbox]:checked {
178
+ ~ .wui-toggle-mark {
179
+ &:after {
180
+ left: calc(100% - 1.875rem);
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ &-label {
187
+ padding-left: 1rem;
188
+ }
189
+
190
+ }
@@ -0,0 +1,25 @@
1
+ wui-snackbar{
2
+ width: auto;
3
+ border-radius: .25rem;
4
+ display: block;
5
+ flex: 0 0 auto;
6
+ background-color:#000;
7
+ color: white !important;
8
+ overflow: hidden;
9
+ padding: .75rem 1.5rem;
10
+ transition: bottom ease 0.2s, opacity ease .2s;
11
+ position: fixed;
12
+ opacity: 0;
13
+ bottom: 0;
14
+ left: 1.5rem;
15
+ white-space: nowrap;
16
+ overflow: hidden;
17
+ text-overflow: ellipsis;
18
+ z-index: -1;
19
+
20
+ &.show {
21
+ z-index: 9999;
22
+ opacity: 1;
23
+ bottom: 1.5rem;
24
+ }
25
+ }
@@ -0,0 +1,10 @@
1
+ .wui-sortable {
2
+ position: relative;
3
+
4
+ &-item {
5
+ &-dragging {
6
+ z-index: 9999;
7
+ position: absolute;
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,199 @@
1
+ .wui-table {
2
+ width: 100%;
3
+ border-collapse: collapse;
4
+
5
+ tr {
6
+ border-bottom: 1px solid #DEDEDE;
7
+
8
+ th, td {
9
+ vertical-align: middle;
10
+ padding: .5rem 1rem;
11
+ height: 3.5rem;
12
+ text-align: left;
13
+
14
+ &:first-child {
15
+ padding-left: 1.5rem;
16
+ }
17
+
18
+ &:last-child {
19
+ padding-right: 1.5rem;
20
+ }
21
+
22
+ &.action-col {
23
+ width: 0.0001%;
24
+ }
25
+
26
+ &.sticky-right {
27
+ position: sticky;
28
+ right: 0;
29
+ z-index: 1;
30
+ }
31
+
32
+ &.sticky-left {
33
+ position: sticky;
34
+ left: 0;
35
+ z-index: 1;
36
+ }
37
+ }
38
+
39
+ &.no-border {
40
+ border: none;
41
+ }
42
+ }
43
+
44
+ thead {
45
+ tr {
46
+ border-bottom: 1px solid #CDCDCD;
47
+ }
48
+ }
49
+
50
+ tbody {
51
+ tr:last-child {
52
+ border-bottom: none;
53
+ }
54
+ }
55
+
56
+ tfoot {
57
+ tr:first-child {
58
+ border-top: 1px solid #CDCDCD;
59
+ border-bottom: none;
60
+ }
61
+ }
62
+
63
+ &-hover {
64
+ tbody tr {
65
+ &:hover {
66
+ background-color: rgba(0,0,0,0.04);
67
+ }
68
+ }
69
+ }
70
+
71
+ &-responsive {
72
+ width: 100%;
73
+ overflow-x: auto;
74
+ overflow-y: no-scroll;
75
+ }
76
+ }
77
+
78
+ @media screen and (max-width:768px) {
79
+ .wui-table {
80
+ tr {
81
+ th, td {
82
+ &:first-child {
83
+ padding-left: 1rem;
84
+ }
85
+
86
+ &:first-child {
87
+ padding-left: 1rem;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ // .wui-table-responsive {
94
+ // width: 100%;
95
+ // overflow-x: auto;
96
+ // overflow-y: no-scroll;
97
+
98
+ // &.inside-container {
99
+ // width: calc(100% + 3rem);
100
+ // margin-left: -1.5rem;
101
+ // margin-right: -1.5rem;
102
+ // }
103
+ // }
104
+
105
+ // @media screen and (max-width: 768px) {
106
+ // .wui-table-responsive {
107
+ // &.inside-container {
108
+ // width: calc(100% + 2rem);
109
+ // margin-left: -1rem;
110
+ // margin-right: -1rem;
111
+ // }
112
+ // }
113
+ // }
114
+
115
+ // .wui-table {
116
+ // @extend .table;
117
+ // margin-bottom: 0;
118
+
119
+ // tr {
120
+ // border-bottom: 1px solid #DEDEDE;
121
+
122
+ // th, td {
123
+ // border-bottom: none;
124
+ // padding-left: 1rem;
125
+ // padding-right: 1rem;
126
+ // height: 3.25rem;
127
+
128
+ // &:first-child {
129
+ // padding-left: 1.5rem;
130
+ // }
131
+
132
+ // &:last-child {
133
+ // padding-right: 1.5rem;
134
+ // }
135
+
136
+ // &.action-col {
137
+ // padding-top: 0;
138
+ // padding-bottom: 0;
139
+ // vertical-align: middle;
140
+ // width: 0.1%;
141
+ // white-space: nowrap;
142
+ // position: sticky;
143
+ // right: 0;
144
+ // background: linear-gradient(to right, transparent, #fff);
145
+ // }
146
+ // }
147
+
148
+ // th {
149
+ // font-weight: bold !important;
150
+ // }
151
+
152
+ // &:hover {
153
+ // background-color: rgba(0,0,0,0.04);
154
+ // }
155
+
156
+ // &.no-border {
157
+ // border-bottom: none;
158
+ // }
159
+ // }
160
+
161
+ // thead {
162
+ // z-index: 0;
163
+ // position: relative;
164
+
165
+ // tr {
166
+ // border-bottom: 1px solid #CDCDCD;
167
+
168
+ // th {
169
+ // vertical-align: middle;
170
+ // border-bottom: none;
171
+ // }
172
+ // }
173
+ // }
174
+
175
+ // &.wui-table-hover {
176
+ // @extend .table-hover;
177
+ // }
178
+
179
+ // > :not(caption) > * > * {
180
+ // color: inherit;
181
+ // }
182
+ // }
183
+
184
+ // @media screen and (max-width: 768px) {
185
+ // .wui-table {
186
+ // tr th, tr td {
187
+ // padding-left: .75rem;
188
+ // padding-right: .75rem;
189
+
190
+ // &:first-child {
191
+ // padding-left: 1rem;
192
+ // }
193
+
194
+ // &:last-child {
195
+ // padding-right: 1rem;
196
+ // }
197
+ // }
198
+ // }
199
+ // }
@@ -0,0 +1,71 @@
1
+ @import '../variables/colors.scss';
2
+
3
+ ul.wui-tab {
4
+ display: flex;
5
+ list-style: none;
6
+ margin: 0;
7
+ padding: 0;
8
+
9
+ &.page-tab {
10
+ padding: 0 1.5rem .5rem;
11
+ }
12
+
13
+ li {
14
+ padding-left: .75rem;
15
+ padding-right: .75rem;
16
+ flex: 0 0 auto;
17
+
18
+ &:first-child {
19
+ padding-left: 0;
20
+ }
21
+
22
+ &:last-child {
23
+ padding-right: 0;
24
+ }
25
+
26
+ a {
27
+ display: flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ color: $theme-text;
31
+ height: 3rem;
32
+ font-weight: 500;
33
+ position: relative;
34
+ text-decoration: none;
35
+ font-size: 1rem;
36
+
37
+ &:after {
38
+ content: "";
39
+ width: 100%;
40
+ height: 2px;
41
+ display: block;
42
+ position: absolute;
43
+ bottom: 0;
44
+ left: 0;
45
+ z-index: 1;
46
+ background-color: $theme-text;
47
+ opacity: 0;
48
+ }
49
+
50
+ &:hover {
51
+ text-decoration: none;
52
+ color: rgba($theme-text, 1);
53
+
54
+ &:after {
55
+ opacity: 1;
56
+ }
57
+ }
58
+ }
59
+
60
+ &.active {
61
+ a {
62
+ color: $theme-primary;
63
+
64
+ &:after {
65
+ background-color: $theme-primary;
66
+ opacity: 1;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }