@acorex/styles 16.19.21 → 16.19.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "16.19.21",
3
+ "version": "16.19.23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/forms.scss CHANGED
@@ -86,7 +86,6 @@
86
86
  color: var(--ax-dark-dark-color);
87
87
 
88
88
  .ax-password-mask {
89
- font-family: 'text-security-disc', 'Arial';
90
89
  -webkit-text-security: disc;
91
90
  }
92
91
 
@@ -0,0 +1,73 @@
1
+ .ax-side-menu-container {
2
+ padding: 0.5rem;
3
+ display: flex;
4
+ justify-content: center;
5
+ flex-direction: column;
6
+ gap: 1rem;
7
+ &.noselect-side-menu {
8
+ -webkit-touch-callout: none; /* iOS Safari */
9
+ -webkit-user-select: none; /* Safari */
10
+ -khtml-user-select: none; /* Konqueror HTML */
11
+ -moz-user-select: none; /* Old versions of Firefox */
12
+ -ms-user-select: none; /* Internet Explorer/Edge */
13
+ user-select: none; /* Non-prefixed version, currently
14
+ supported by Chrome, Edge, Opera and Firefox */
15
+ }
16
+
17
+ .ax-side-menu-parent-item {
18
+ font-weight: bold;
19
+ cursor: pointer;
20
+ align-items: center;
21
+ display: flex;
22
+ gap: 0.5rem;
23
+ color: #4d566e;
24
+
25
+ &.ax-side-menu-parent-item-active-state {
26
+ color: #000;
27
+ }
28
+ }
29
+
30
+ .ax-side-menu-children {
31
+ padding-inline-start: 1rem;
32
+
33
+ .ax-side-menu-child-item {
34
+ padding: 6px 12px;
35
+ cursor: pointer;
36
+ position: relative;
37
+ &::before {
38
+ content: '';
39
+ position: absolute;
40
+ top: 0;
41
+ inset-inline-start: 0;
42
+ width: 2px;
43
+ height: 100%;
44
+ background-color: #ccc;
45
+ }
46
+
47
+ &:hover {
48
+ background-color: var(--ax-primary-trans-light-color);
49
+ }
50
+
51
+ &.ax-child-active-state {
52
+ background-color: var(--ax-primary-trans-light-color);
53
+
54
+ &::before {
55
+ background-color: var(--ax-primary-color);
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+ .ax-side-menu-state-disabled {
62
+ cursor: not-allowed !important;
63
+ opacity: 0.5 !important;
64
+ }
65
+ }
66
+
67
+ .chevron {
68
+ transition: transform 0.2s ease-in-out;
69
+ }
70
+
71
+ .chevron.rotated {
72
+ transform: rotate(180deg);
73
+ }
package/scss/style.scss CHANGED
@@ -1,52 +1,54 @@
1
- @use "./buttons";
2
- @use "./calendar";
3
- @use "./checkbox";
4
- @use "./context-menu";
5
- @use "./drawer";
6
- @use "./data-grid";
7
- @use "./fieldset";
8
- @use "./list";
9
- @use "./menu";
10
- @use "./progress";
11
- @use "./selection-list";
12
- @use "./forms";
13
- @use "./tooltip";
14
- @use "./tab";
15
- @use "./tab-strip";
16
- @use "./toast";
17
- @use "./treeview";
18
- @use "./upload";
19
- @use "./master";
20
- @use "./page";
1
+ @use './buttons';
2
+ @use './calendar';
3
+ @use './checkbox';
4
+ @use './context-menu';
5
+ @use './drawer';
6
+ @use './data-grid';
7
+ @use './fieldset';
8
+ @use './list';
9
+ @use './side-menu.scss';
10
+ @use './menu';
11
+ @use './progress';
12
+ @use './selection-list';
13
+ @use './forms';
14
+ @use './tooltip';
15
+ @use './tab';
16
+ @use './tab-strip';
17
+ @use './toast';
18
+ @use './treeview';
19
+ @use './upload';
20
+ @use './master';
21
+ @use './page';
21
22
 
22
23
  // Import CSS file for external libraries
23
- @import "node_modules/animate.css/animate.min.css";
24
+ @import 'node_modules/animate.css/animate.min.css';
24
25
 
25
26
  * {
26
- box-sizing: border-box;
27
- outline-color: transparent;
27
+ box-sizing: border-box;
28
+ outline-color: transparent;
28
29
 
29
- &:focus {
30
- outline: none;
31
- }
30
+ &:focus {
31
+ outline: none;
32
+ }
32
33
  }
33
34
 
34
35
  html,
35
36
  body {
36
- -webkit-overflow-scrolling: touch;
37
- scroll-behavior: smooth;
37
+ -webkit-overflow-scrolling: touch;
38
+ scroll-behavior: smooth;
38
39
 
39
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
40
- "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
41
- font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
40
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
41
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
42
+ 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
43
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
42
44
  }
43
45
 
44
46
  .rtl {
45
- direction: rtl;
46
- text-align: right;
47
+ direction: rtl;
48
+ text-align: right;
47
49
  }
48
50
 
49
51
  .ltr {
50
- direction: ltr;
51
- text-align: left;
52
+ direction: ltr;
53
+ text-align: left;
52
54
  }