guestbell-forms 3.0.125 → 3.0.127
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/build/components/inputHeader/InputHeader.js +3 -3
- package/build/components/inputHeader/InputHeader.js.map +1 -1
- package/build/dist/guestbell-forms.css +505 -388
- package/build/dist/guestbell-forms.css.map +1 -1
- package/build/dist/guestbell-forms.min.css +1 -1
- package/build/dist/report.html +2 -2
- package/build/scss/components/button/base.scss +77 -0
- package/build/scss/components/button/buttons.scss +41 -147
- package/build/scss/components/button/index.scss +2 -0
- package/build/scss/components/button/utils.scss +78 -0
- package/package.json +1 -1
- package/src/lib/components/inputHeader/InputHeader.tsx +34 -39
- package/src/lib/scss/components/button/base.scss +77 -0
- package/src/lib/scss/components/button/buttons.scss +41 -147
- package/src/lib/scss/components/button/index.scss +2 -0
- package/src/lib/scss/components/button/utils.scss +78 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
@mixin create-button-type($bg, $fg, $disabled) {
|
2
|
+
background-color: $bg;
|
3
|
+
fill: $fg;
|
4
|
+
color: $fg;
|
5
|
+
&:not(.guestbell-btn--disabled):not(.guestbell-btn--blank):not(
|
6
|
+
.guestbell-btn--outlined
|
7
|
+
):not(.guestbell-btn--unobtrusive):hover {
|
8
|
+
background-color: darken($bg, 7%);
|
9
|
+
}
|
10
|
+
&:not(.guestbell-btn--disabled).guestbell-btn--outlined {
|
11
|
+
box-shadow: inset 0 0 0 1px $bg !important;
|
12
|
+
color: $bg;
|
13
|
+
fill: $bg;
|
14
|
+
background-color: transparent;
|
15
|
+
@media (hover: hover) and (pointer: fine) {
|
16
|
+
&:hover {
|
17
|
+
color: $fg;
|
18
|
+
fill: $fg;
|
19
|
+
background-color: $bg;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
&:not(.guestbell-btn--disabled).guestbell-btn--blank {
|
24
|
+
color: $bg;
|
25
|
+
fill: $bg;
|
26
|
+
background-color: transparent;
|
27
|
+
&:hover {
|
28
|
+
color: $fg;
|
29
|
+
fill: $fg;
|
30
|
+
background-color: rgba($bg, 0.5);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
&.guestbell-btn--disabled {
|
34
|
+
background-color: $disabled;
|
35
|
+
}
|
36
|
+
&.guestbell-btn--disabled.guestbell-btn--outlined {
|
37
|
+
background-color: transparent;
|
38
|
+
box-shadow: inset 0 0 0 1px $disabled !important;
|
39
|
+
color: $disabled;
|
40
|
+
fill: $disabled;
|
41
|
+
}
|
42
|
+
&:not(.guestbell-btn--disabled).guestbell-btn--unobtrusive {
|
43
|
+
box-shadow: none;
|
44
|
+
background-color: transparent;
|
45
|
+
color: inherit;
|
46
|
+
fill: inherit;
|
47
|
+
&:hover {
|
48
|
+
color: $bg;
|
49
|
+
fill: $bg;
|
50
|
+
background-color: transparent;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&.guestbell-btn--disabled.guestbell-btn--unobtrusive {
|
54
|
+
color: $input-text-color;
|
55
|
+
background-color: transparent;
|
56
|
+
box-shadow: none;
|
57
|
+
}
|
58
|
+
&:not(.guestbell-btn--disabled).guestbell-btn--text {
|
59
|
+
box-shadow: none;
|
60
|
+
background-color: transparent;
|
61
|
+
color: $bg;
|
62
|
+
fill: $bg;
|
63
|
+
&:hover {
|
64
|
+
color: lighten($bg, 10);
|
65
|
+
fill: lighten($bg, 10);
|
66
|
+
background-color: transparent !important;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
&.guestbell-btn--disabled.guestbell-btn--text {
|
70
|
+
color: $disabled;
|
71
|
+
background-color: transparent;
|
72
|
+
box-shadow: none;
|
73
|
+
}
|
74
|
+
&.guestbell-btn--disabled.guestbell-btn--blank {
|
75
|
+
background-color: transparent;
|
76
|
+
color: darken($bg, 20%);
|
77
|
+
}
|
78
|
+
}
|