@selco/installation-ui-css 1.0.0 → 1.0.2

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": "@selco/installation-ui-css",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Adithya Katuku",
package/src/index.scss CHANGED
@@ -113,6 +113,7 @@
113
113
  @import "./components/loaderWithGap.scss";
114
114
  @import "./pages/employee/sandbox.scss";
115
115
  @import "./pages/employee/searchaction.scss";
116
+ @import "./pages/employee/customcheckbox.scss";
116
117
 
117
118
  .wbh-header-container {
118
119
  display: flex !important;
@@ -686,6 +687,7 @@ input[type="number"] {
686
687
  }
687
688
  .employee-app-wrapper {
688
689
  min-height: calc(100vh - 8em);
690
+ margin: 0;
689
691
  }
690
692
 
691
693
  .ws-custom-wrapper {
@@ -0,0 +1,60 @@
1
+ .custom-checkbox-wrap {
2
+ display: flex;
3
+ position: relative;
4
+
5
+ .custom-checkbox-inner {
6
+ position: relative;
7
+ display: inline-block;
8
+ width: 24px;
9
+ height: 24px;
10
+ }
11
+
12
+ input[type="checkbox"] {
13
+ appearance: none;
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ margin: 0;
18
+ width: 24px;
19
+ height: 24px;
20
+ cursor: pointer;
21
+ opacity: 0;
22
+ z-index: 2;
23
+ }
24
+
25
+ .custom-checkbox-svg {
26
+ width: 24px;
27
+ height: 24px;
28
+ margin: 0;
29
+ border: 1px solid #464646;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ background-color: white;
34
+ transition: all 0.2s ease-in-out;
35
+ z-index: 1;
36
+
37
+ svg {
38
+ opacity: 0;
39
+ transition: opacity 0.2s ease-in-out;
40
+ }
41
+ }
42
+
43
+ input[type="checkbox"]:hover ~ .custom-checkbox-svg {
44
+ border-color: #c84c0e;
45
+ }
46
+
47
+ input[type="checkbox"]:checked ~ .custom-checkbox-svg {
48
+
49
+ svg {
50
+ opacity: 1;
51
+ }
52
+ }
53
+
54
+ .custom-checkbox-label {
55
+ margin-left: 10px;
56
+ margin-top: 0;
57
+ line-height: 24px;
58
+ font-size: 16px;
59
+ }
60
+ }
@@ -11,4 +11,8 @@
11
11
  &:focus-within {
12
12
  border-color: #c84c0e;
13
13
  }
14
+
15
+ &:has(:hover) {
16
+ border-color: #c84c0e;
17
+ }
14
18
  }