@dodlhuat/basix 1.2.3 → 1.2.5
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/README.md +3 -1
- package/css/calendar.css +928 -0
- package/css/calendar.scss +114 -63
- package/css/form.scss +224 -54
- package/css/style.css +284 -230
- package/js/calendar.js +276 -187
- package/js/calendar.ts +370 -307
- package/js/docs-nav.js +1 -0
- package/js/timepicker.js +4 -2
- package/js/timepicker.ts +8 -2
- package/package.json +1 -1
package/css/style.css
CHANGED
|
@@ -845,27 +845,69 @@ tbody tr:hover {
|
|
|
845
845
|
background: color-mix(in srgb, var(--error) 12%, transparent);
|
|
846
846
|
}
|
|
847
847
|
|
|
848
|
+
@keyframes field-error-shake {
|
|
849
|
+
0%, 100% {
|
|
850
|
+
transform: translateX(0);
|
|
851
|
+
}
|
|
852
|
+
18% {
|
|
853
|
+
transform: translateX(-5px);
|
|
854
|
+
}
|
|
855
|
+
36% {
|
|
856
|
+
transform: translateX(4px);
|
|
857
|
+
}
|
|
858
|
+
54% {
|
|
859
|
+
transform: translateX(-3px);
|
|
860
|
+
}
|
|
861
|
+
72% {
|
|
862
|
+
transform: translateX(2px);
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
@keyframes dropdown-in {
|
|
866
|
+
from {
|
|
867
|
+
opacity: 0;
|
|
868
|
+
transform: translateY(-6px) scale(0.975);
|
|
869
|
+
}
|
|
870
|
+
to {
|
|
871
|
+
opacity: 1;
|
|
872
|
+
transform: translateY(0) scale(1);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
@keyframes hint-appear {
|
|
876
|
+
from {
|
|
877
|
+
opacity: 0;
|
|
878
|
+
transform: translateY(-3px);
|
|
879
|
+
}
|
|
880
|
+
to {
|
|
881
|
+
opacity: 1;
|
|
882
|
+
transform: translateY(0);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
848
885
|
textarea, select, .select .dropdown, input {
|
|
849
886
|
width: 100%;
|
|
850
|
-
border:
|
|
851
|
-
border-radius: 0.
|
|
852
|
-
padding: 0.
|
|
887
|
+
border: 1.5px solid var(--divider);
|
|
888
|
+
border-radius: 0.6rem;
|
|
889
|
+
padding: 0 0.65rem;
|
|
853
890
|
box-sizing: border-box;
|
|
854
891
|
background-color: var(--background);
|
|
855
|
-
min-height:
|
|
892
|
+
min-height: 2.6rem;
|
|
856
893
|
font-size: 1rem;
|
|
857
894
|
color: var(--primary-text);
|
|
858
|
-
box-shadow: 0 1px 2px rgba(
|
|
859
|
-
transition: border-color 0.
|
|
895
|
+
box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
896
|
+
transition: border-color 0.16s ease, box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease;
|
|
860
897
|
outline: none;
|
|
861
898
|
}
|
|
862
899
|
textarea::placeholder, select::placeholder, .select .dropdown::placeholder, input::placeholder {
|
|
863
900
|
color: var(--secondary-text);
|
|
864
|
-
opacity:
|
|
901
|
+
opacity: 0.65;
|
|
902
|
+
font-weight: 400;
|
|
903
|
+
}
|
|
904
|
+
textarea:hover:not(:focus):not(:disabled):not([readonly]), select:hover:not(:focus):not(:disabled):not([readonly]), .select .dropdown:hover:not(:focus):not(:disabled):not([readonly]), input:hover:not(:focus):not(:disabled):not([readonly]) {
|
|
905
|
+
border-color: color-mix(in srgb, var(--accent-color) 45%, var(--divider));
|
|
906
|
+
box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, 0.045), 0 2px 8px rgba(0, 0, 0, 0.07);
|
|
865
907
|
}
|
|
866
908
|
textarea:focus, select:focus, .select .dropdown:focus, input:focus {
|
|
867
909
|
border-color: var(--accent-color);
|
|
868
|
-
box-shadow: 0 0 0
|
|
910
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03), 0 0 0 3.5px color-mix(in srgb, var(--accent-color) 13%, transparent), 0 2px 12px rgba(0, 0, 0, 0.06);
|
|
869
911
|
}
|
|
870
912
|
textarea:disabled, select:disabled, .select .dropdown:disabled, input:disabled {
|
|
871
913
|
background-color: var(--secondary-background);
|
|
@@ -873,10 +915,16 @@ textarea:disabled, select:disabled, .select .dropdown:disabled, input:disabled {
|
|
|
873
915
|
color: var(--secondary-text);
|
|
874
916
|
cursor: not-allowed;
|
|
875
917
|
box-shadow: none;
|
|
918
|
+
opacity: 0.58;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
textarea {
|
|
922
|
+
padding-top: 0.55rem;
|
|
923
|
+
padding-bottom: 0.55rem;
|
|
876
924
|
}
|
|
877
925
|
|
|
878
926
|
select {
|
|
879
|
-
padding: 0.
|
|
927
|
+
padding: 0 0.65rem;
|
|
880
928
|
cursor: pointer;
|
|
881
929
|
}
|
|
882
930
|
|
|
@@ -885,61 +933,87 @@ select {
|
|
|
885
933
|
background-color: var(--background);
|
|
886
934
|
}
|
|
887
935
|
.select-group .dropdown-selected {
|
|
888
|
-
border:
|
|
889
|
-
padding: 0 0.
|
|
890
|
-
border-radius: 0.
|
|
936
|
+
border: 1.5px solid var(--divider);
|
|
937
|
+
padding: 0 0.65rem;
|
|
938
|
+
border-radius: 0.6rem;
|
|
891
939
|
cursor: pointer;
|
|
892
940
|
background: var(--background);
|
|
893
|
-
height:
|
|
894
|
-
line-height:
|
|
895
|
-
box-shadow: 0 1px 2px rgba(
|
|
896
|
-
transition: border-color 0.
|
|
941
|
+
height: 2.6rem;
|
|
942
|
+
line-height: 2.6rem;
|
|
943
|
+
box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
944
|
+
transition: border-color 0.16s ease, box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
|
|
945
|
+
user-select: none;
|
|
946
|
+
}
|
|
947
|
+
.select-group .dropdown-selected:hover {
|
|
948
|
+
border-color: color-mix(in srgb, var(--accent-color) 45%, var(--divider));
|
|
949
|
+
box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, 0.045), 0 2px 8px rgba(0, 0, 0, 0.07);
|
|
897
950
|
}
|
|
898
951
|
.select-group .dropdown-selected:focus, .select-group .dropdown-selected:focus-visible {
|
|
899
952
|
outline: none;
|
|
900
953
|
border-color: var(--accent-color);
|
|
901
|
-
box-shadow: 0 0 0
|
|
954
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03), 0 0 0 3.5px color-mix(in srgb, var(--accent-color) 13%, transparent), 0 2px 12px rgba(0, 0, 0, 0.06);
|
|
902
955
|
}
|
|
903
956
|
.select-group .dropdown-selected::after {
|
|
904
957
|
font-family: "Material Symbols Outlined 24pt", serif;
|
|
905
958
|
content: "\e5cf";
|
|
906
959
|
float: right;
|
|
907
960
|
color: var(--secondary-text);
|
|
908
|
-
transition: transform 0.
|
|
961
|
+
transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
962
|
+
line-height: inherit;
|
|
963
|
+
}
|
|
964
|
+
.select-group .dropdown.open .dropdown-selected {
|
|
965
|
+
border-color: var(--accent-color);
|
|
966
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03), 0 0 0 3.5px color-mix(in srgb, var(--accent-color) 13%, transparent);
|
|
909
967
|
}
|
|
910
968
|
.select-group .dropdown.open .dropdown-selected::after {
|
|
911
969
|
transform: rotate(180deg);
|
|
912
970
|
}
|
|
913
971
|
.select-group .dropdown-options {
|
|
914
972
|
position: absolute;
|
|
915
|
-
top: calc(100% +
|
|
973
|
+
top: calc(100% + 6px);
|
|
916
974
|
left: 0;
|
|
917
975
|
right: 0;
|
|
918
|
-
border:
|
|
919
|
-
border-radius: 0.
|
|
976
|
+
border: 1.5px solid var(--divider);
|
|
977
|
+
border-radius: 0.6rem;
|
|
920
978
|
display: none;
|
|
921
979
|
flex-direction: column;
|
|
922
980
|
z-index: 10;
|
|
923
|
-
max-height:
|
|
981
|
+
max-height: 260px;
|
|
924
982
|
overflow-y: auto;
|
|
925
983
|
background-color: var(--background);
|
|
926
|
-
box-shadow: 0
|
|
984
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.11), 0 2px 8px rgba(0, 0, 0, 0.06);
|
|
985
|
+
padding: 0.25rem;
|
|
986
|
+
gap: 1px;
|
|
987
|
+
transform-origin: top center;
|
|
927
988
|
}
|
|
928
989
|
.select-group .dropdown-option {
|
|
929
|
-
padding:
|
|
990
|
+
padding: 0.6rem 0.65rem;
|
|
930
991
|
cursor: pointer;
|
|
992
|
+
border-radius: 0.44rem;
|
|
931
993
|
transition: background 0.1s ease;
|
|
994
|
+
font-size: 0.9375rem;
|
|
995
|
+
position: relative;
|
|
932
996
|
}
|
|
933
997
|
.select-group .dropdown-option:hover {
|
|
934
|
-
background: var(--
|
|
998
|
+
background: var(--hover);
|
|
935
999
|
}
|
|
936
1000
|
.select-group .dropdown-option.selected {
|
|
937
1001
|
background: color-mix(in srgb, var(--accent-color) 10%, transparent);
|
|
938
1002
|
color: var(--accent-color);
|
|
939
1003
|
font-weight: 500;
|
|
940
1004
|
}
|
|
1005
|
+
.select-group .dropdown-option.selected::after {
|
|
1006
|
+
content: "✓";
|
|
1007
|
+
position: absolute;
|
|
1008
|
+
right: 0.65rem;
|
|
1009
|
+
top: 50%;
|
|
1010
|
+
transform: translateY(-50%);
|
|
1011
|
+
font-size: 0.8125rem;
|
|
1012
|
+
line-height: 1;
|
|
1013
|
+
}
|
|
941
1014
|
.select-group .dropdown.open .dropdown-options {
|
|
942
1015
|
display: flex;
|
|
1016
|
+
animation: dropdown-in 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
943
1017
|
}
|
|
944
1018
|
.select-group .hidden {
|
|
945
1019
|
display: none;
|
|
@@ -950,25 +1024,29 @@ select {
|
|
|
950
1024
|
top: 0;
|
|
951
1025
|
left: 0;
|
|
952
1026
|
width: 100%;
|
|
953
|
-
background: var(--
|
|
1027
|
+
background: var(--background);
|
|
954
1028
|
color: var(--primary-text);
|
|
955
1029
|
text-align: center;
|
|
956
|
-
padding: 15px;
|
|
957
|
-
padding-top: calc(
|
|
1030
|
+
padding: 18px 15px;
|
|
1031
|
+
padding-top: calc(18px + env(safe-area-inset-top));
|
|
958
1032
|
font-weight: 600;
|
|
959
1033
|
font-size: 1rem;
|
|
960
1034
|
border-bottom: 1px solid var(--divider);
|
|
961
|
-
backdrop-filter: blur(
|
|
962
|
-
-webkit-backdrop-filter: blur(
|
|
1035
|
+
backdrop-filter: blur(16px);
|
|
1036
|
+
-webkit-backdrop-filter: blur(16px);
|
|
963
1037
|
z-index: 11;
|
|
1038
|
+
letter-spacing: 0.01em;
|
|
964
1039
|
}
|
|
965
1040
|
.select-group .dropdown-options-menu .dropdown-options-icon {
|
|
966
1041
|
position: absolute;
|
|
967
|
-
right:
|
|
1042
|
+
right: 20px;
|
|
968
1043
|
top: 50%;
|
|
969
1044
|
transform: translateY(-50%);
|
|
970
1045
|
cursor: pointer;
|
|
971
1046
|
color: var(--accent-color);
|
|
1047
|
+
font-size: 0.9375rem;
|
|
1048
|
+
font-weight: 500;
|
|
1049
|
+
letter-spacing: 0;
|
|
972
1050
|
}
|
|
973
1051
|
.select-group .dropdown-options {
|
|
974
1052
|
position: fixed;
|
|
@@ -978,16 +1056,24 @@ select {
|
|
|
978
1056
|
bottom: 0;
|
|
979
1057
|
border: none;
|
|
980
1058
|
border-radius: 0;
|
|
981
|
-
padding
|
|
1059
|
+
padding: 0;
|
|
1060
|
+
padding-top: calc(62px + env(safe-area-inset-top));
|
|
982
1061
|
padding-bottom: env(safe-area-inset-bottom);
|
|
983
|
-
font-size: 1.
|
|
1062
|
+
font-size: 1.0625rem;
|
|
984
1063
|
max-height: none;
|
|
985
1064
|
box-shadow: none;
|
|
986
1065
|
background-color: var(--background);
|
|
1066
|
+
gap: 0;
|
|
987
1067
|
}
|
|
988
1068
|
.select-group .dropdown-option {
|
|
989
|
-
padding:
|
|
1069
|
+
padding: 15px 20px;
|
|
990
1070
|
border-bottom: 1px solid var(--divider);
|
|
1071
|
+
border-radius: 0;
|
|
1072
|
+
font-size: 1.0625rem;
|
|
1073
|
+
}
|
|
1074
|
+
.select-group .dropdown-option.selected::after {
|
|
1075
|
+
right: 20px;
|
|
1076
|
+
font-size: 0.9375rem;
|
|
991
1077
|
}
|
|
992
1078
|
}
|
|
993
1079
|
|
|
@@ -998,28 +1084,51 @@ select {
|
|
|
998
1084
|
}
|
|
999
1085
|
.form-group label {
|
|
1000
1086
|
font-size: 0.8125rem;
|
|
1001
|
-
font-weight:
|
|
1087
|
+
font-weight: 600;
|
|
1002
1088
|
color: var(--primary-text);
|
|
1003
|
-
letter-spacing: 0.
|
|
1089
|
+
letter-spacing: 0.025em;
|
|
1004
1090
|
}
|
|
1005
1091
|
.form-group .form-hint {
|
|
1092
|
+
display: flex;
|
|
1093
|
+
align-items: flex-start;
|
|
1094
|
+
gap: 0.3rem;
|
|
1006
1095
|
font-size: 0.75rem;
|
|
1007
|
-
line-height: 1.
|
|
1096
|
+
line-height: 1.5;
|
|
1008
1097
|
color: var(--secondary-text);
|
|
1009
|
-
margin-top: 0.
|
|
1098
|
+
margin-top: 0.1rem;
|
|
1099
|
+
}
|
|
1100
|
+
.form-group .form-hint::before {
|
|
1101
|
+
content: "";
|
|
1102
|
+
display: none;
|
|
1103
|
+
flex-shrink: 0;
|
|
1104
|
+
width: 13px;
|
|
1105
|
+
height: 13px;
|
|
1106
|
+
border-radius: 50%;
|
|
1107
|
+
margin-top: 0.1em;
|
|
1108
|
+
font-size: 8.5px;
|
|
1109
|
+
font-weight: 700;
|
|
1110
|
+
line-height: 13px;
|
|
1111
|
+
text-align: center;
|
|
1112
|
+
color: #fff;
|
|
1010
1113
|
}
|
|
1011
1114
|
.form-group.error input, .form-group.error textarea, .form-group.error select {
|
|
1012
1115
|
border-color: var(--error);
|
|
1013
|
-
background-color: color-mix(in srgb, var(--error)
|
|
1116
|
+
background-color: color-mix(in srgb, var(--error) 3%, var(--background));
|
|
1117
|
+
box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
1118
|
+
animation: field-error-shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
1014
1119
|
}
|
|
1015
1120
|
.form-group.error input:focus, .form-group.error textarea:focus, .form-group.error select:focus {
|
|
1016
1121
|
border-color: var(--error);
|
|
1017
|
-
box-shadow: 0 0 0
|
|
1122
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03), 0 0 0 3.5px color-mix(in srgb, var(--error) 13%, transparent);
|
|
1018
1123
|
}
|
|
1019
1124
|
.form-group.error .form-hint {
|
|
1020
1125
|
color: var(--error);
|
|
1126
|
+
animation: hint-appear 0.2s ease both;
|
|
1021
1127
|
}
|
|
1022
1128
|
.form-group.error .form-hint::before {
|
|
1129
|
+
content: "!";
|
|
1130
|
+
display: block;
|
|
1131
|
+
background: var(--error);
|
|
1023
1132
|
opacity: 1;
|
|
1024
1133
|
}
|
|
1025
1134
|
.form-group.success input, .form-group.success textarea, .form-group.success select {
|
|
@@ -1027,12 +1136,16 @@ select {
|
|
|
1027
1136
|
}
|
|
1028
1137
|
.form-group.success input:focus, .form-group.success textarea:focus, .form-group.success select:focus {
|
|
1029
1138
|
border-color: var(--success);
|
|
1030
|
-
box-shadow: 0 0 0
|
|
1139
|
+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03), 0 0 0 3.5px color-mix(in srgb, var(--success) 13%, transparent);
|
|
1031
1140
|
}
|
|
1032
1141
|
.form-group.success .form-hint {
|
|
1033
1142
|
color: var(--success);
|
|
1143
|
+
animation: hint-appear 0.2s ease both;
|
|
1034
1144
|
}
|
|
1035
1145
|
.form-group.success .form-hint::before {
|
|
1146
|
+
content: "✓";
|
|
1147
|
+
display: block;
|
|
1148
|
+
background: var(--success);
|
|
1036
1149
|
opacity: 1;
|
|
1037
1150
|
}
|
|
1038
1151
|
|
|
@@ -1046,17 +1159,19 @@ select {
|
|
|
1046
1159
|
.input-group .input-addon {
|
|
1047
1160
|
display: flex;
|
|
1048
1161
|
align-items: center;
|
|
1049
|
-
padding: 0 0.
|
|
1162
|
+
padding: 0 0.65rem;
|
|
1050
1163
|
background-color: var(--secondary-background);
|
|
1051
|
-
border:
|
|
1164
|
+
border: 1.5px solid var(--divider);
|
|
1052
1165
|
color: var(--secondary-text);
|
|
1053
1166
|
font-size: 1rem;
|
|
1054
1167
|
white-space: nowrap;
|
|
1055
|
-
box-shadow: 0
|
|
1168
|
+
box-shadow: inset 0 1.5px 4px rgba(0, 0, 0, 0.04);
|
|
1169
|
+
font-weight: 500;
|
|
1170
|
+
letter-spacing: 0.01em;
|
|
1056
1171
|
}
|
|
1057
1172
|
.input-group .input-addon:first-child {
|
|
1058
1173
|
border-right: none;
|
|
1059
|
-
border-radius: 0.
|
|
1174
|
+
border-radius: 0.6rem 0 0 0.6rem;
|
|
1060
1175
|
}
|
|
1061
1176
|
.input-group .input-addon:first-child + input {
|
|
1062
1177
|
border-top-left-radius: 0;
|
|
@@ -1064,7 +1179,7 @@ select {
|
|
|
1064
1179
|
}
|
|
1065
1180
|
.input-group .input-addon:last-child {
|
|
1066
1181
|
border-left: none;
|
|
1067
|
-
border-radius: 0 0.
|
|
1182
|
+
border-radius: 0 0.6rem 0.6rem 0;
|
|
1068
1183
|
}
|
|
1069
1184
|
.input-group input:not(:last-child) {
|
|
1070
1185
|
border-right: none;
|
|
@@ -1077,18 +1192,21 @@ input[readonly], textarea[readonly] {
|
|
|
1077
1192
|
color: var(--secondary-text);
|
|
1078
1193
|
cursor: default;
|
|
1079
1194
|
box-shadow: none;
|
|
1195
|
+
border-style: dashed;
|
|
1080
1196
|
}
|
|
1081
1197
|
|
|
1082
1198
|
input.input-sm, textarea.input-sm {
|
|
1083
|
-
min-height: 1.
|
|
1199
|
+
min-height: 1.7rem;
|
|
1084
1200
|
font-size: 0.875rem;
|
|
1085
|
-
padding: 0
|
|
1201
|
+
padding: 0 0.5rem;
|
|
1202
|
+
border-radius: 0.44rem;
|
|
1086
1203
|
}
|
|
1087
1204
|
|
|
1088
1205
|
input.input-lg, textarea.input-lg {
|
|
1089
|
-
min-height:
|
|
1206
|
+
min-height: 3.3rem;
|
|
1090
1207
|
font-size: 1.125rem;
|
|
1091
|
-
padding: 0
|
|
1208
|
+
padding: 0 0.75rem;
|
|
1209
|
+
border-radius: 0.7rem;
|
|
1092
1210
|
}
|
|
1093
1211
|
|
|
1094
1212
|
@font-face {
|
|
@@ -6996,11 +7114,14 @@ body {
|
|
|
6996
7114
|
}
|
|
6997
7115
|
|
|
6998
7116
|
.cal__month-grid {
|
|
6999
|
-
display: grid;
|
|
7000
|
-
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
7001
7117
|
border: 1px solid var(--cal-border);
|
|
7002
7118
|
border-radius: var(--cal-radius);
|
|
7003
7119
|
overflow: hidden;
|
|
7120
|
+
}
|
|
7121
|
+
|
|
7122
|
+
.cal__month-head {
|
|
7123
|
+
display: grid;
|
|
7124
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
7004
7125
|
gap: 1px;
|
|
7005
7126
|
background: var(--cal-border);
|
|
7006
7127
|
}
|
|
@@ -7016,25 +7137,27 @@ body {
|
|
|
7016
7137
|
text-transform: uppercase;
|
|
7017
7138
|
}
|
|
7018
7139
|
|
|
7140
|
+
.cal__week-row {
|
|
7141
|
+
display: grid;
|
|
7142
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
7143
|
+
gap: 1px;
|
|
7144
|
+
background: var(--cal-border);
|
|
7145
|
+
position: relative;
|
|
7146
|
+
border-top: 1px solid var(--cal-border);
|
|
7147
|
+
}
|
|
7148
|
+
.cal__week-row .cal__day-events {
|
|
7149
|
+
margin-top: calc(var(--span-lanes, 0) * var(--cal-span-lane-height, 20px));
|
|
7150
|
+
}
|
|
7151
|
+
|
|
7019
7152
|
.cal__day {
|
|
7020
7153
|
background: var(--cal-bg);
|
|
7021
7154
|
padding: var(--cal-spacing-xs) var(--cal-spacing-sm);
|
|
7022
7155
|
min-height: 88px;
|
|
7023
|
-
cursor:
|
|
7024
|
-
transition: background 0.15s ease;
|
|
7156
|
+
cursor: default;
|
|
7025
7157
|
position: relative;
|
|
7026
7158
|
}
|
|
7027
|
-
.cal__day:hover {
|
|
7028
|
-
background: var(--cal-bg-hover);
|
|
7029
|
-
}
|
|
7030
|
-
.cal__day:focus-visible {
|
|
7031
|
-
outline: 2px solid var(--cal-accent);
|
|
7032
|
-
outline-offset: -2px;
|
|
7033
|
-
z-index: 1;
|
|
7034
|
-
}
|
|
7035
7159
|
.cal__day--empty {
|
|
7036
7160
|
background: var(--cal-bg-alt);
|
|
7037
|
-
cursor: default;
|
|
7038
7161
|
pointer-events: none;
|
|
7039
7162
|
}
|
|
7040
7163
|
.cal__day--outside .cal__day-num {
|
|
@@ -7050,16 +7173,6 @@ body {
|
|
|
7050
7173
|
font-weight: 700;
|
|
7051
7174
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--cal-accent) 20%, transparent);
|
|
7052
7175
|
}
|
|
7053
|
-
.cal__day.is-selected {
|
|
7054
|
-
background: color-mix(in srgb, var(--cal-accent) 6%, var(--cal-bg));
|
|
7055
|
-
}
|
|
7056
|
-
.cal__day.is-selected .cal__day-num {
|
|
7057
|
-
background: var(--cal-accent);
|
|
7058
|
-
color: var(--cal-accent-text);
|
|
7059
|
-
border-radius: 50%;
|
|
7060
|
-
font-weight: 700;
|
|
7061
|
-
box-shadow: 0 2px 8px color-mix(in srgb, var(--cal-accent) 35%, transparent);
|
|
7062
|
-
}
|
|
7063
7176
|
.cal__day.has-events::after {
|
|
7064
7177
|
content: "";
|
|
7065
7178
|
display: none;
|
|
@@ -7144,6 +7257,68 @@ body {
|
|
|
7144
7257
|
cursor: pointer;
|
|
7145
7258
|
}
|
|
7146
7259
|
|
|
7260
|
+
.cal__span-bar {
|
|
7261
|
+
position: absolute;
|
|
7262
|
+
height: 18px;
|
|
7263
|
+
line-height: 18px;
|
|
7264
|
+
font-size: 0.6875rem;
|
|
7265
|
+
font-weight: 500;
|
|
7266
|
+
padding: 0 6px;
|
|
7267
|
+
border-radius: var(--cal-radius-sm);
|
|
7268
|
+
background: var(--cal-bg-alt);
|
|
7269
|
+
border-left: 2px solid var(--cal-accent-light);
|
|
7270
|
+
color: var(--cal-text);
|
|
7271
|
+
white-space: nowrap;
|
|
7272
|
+
overflow: hidden;
|
|
7273
|
+
text-overflow: ellipsis;
|
|
7274
|
+
cursor: pointer;
|
|
7275
|
+
z-index: 2;
|
|
7276
|
+
transition: filter 0.12s ease, transform 0.1s ease;
|
|
7277
|
+
left: calc(var(--span-col) * 100% / 7);
|
|
7278
|
+
width: calc(var(--span-len) * 100% / 7 - 4px);
|
|
7279
|
+
}
|
|
7280
|
+
.cal__span-bar:hover {
|
|
7281
|
+
filter: brightness(0.94);
|
|
7282
|
+
}
|
|
7283
|
+
.cal__span-bar:active {
|
|
7284
|
+
transform: scale(0.97);
|
|
7285
|
+
}
|
|
7286
|
+
.cal__span-bar:focus-visible {
|
|
7287
|
+
outline: 2px solid var(--cal-accent);
|
|
7288
|
+
outline-offset: 1px;
|
|
7289
|
+
}
|
|
7290
|
+
.cal__span-bar--cont-before {
|
|
7291
|
+
border-left: none;
|
|
7292
|
+
border-radius: 0 var(--cal-radius-sm) var(--cal-radius-sm) 0;
|
|
7293
|
+
padding-left: 4px;
|
|
7294
|
+
}
|
|
7295
|
+
.cal__span-bar--cont-after {
|
|
7296
|
+
border-radius: var(--cal-radius-sm) 0 0 var(--cal-radius-sm);
|
|
7297
|
+
}
|
|
7298
|
+
.cal__span-bar--cont-before.cal__span-bar--cont-after {
|
|
7299
|
+
border-radius: 0;
|
|
7300
|
+
}
|
|
7301
|
+
.cal__span-bar.badge-success {
|
|
7302
|
+
border-left-color: var(--success);
|
|
7303
|
+
background: color-mix(in srgb, var(--success) 14%, var(--cal-bg));
|
|
7304
|
+
}
|
|
7305
|
+
.cal__span-bar.badge-warning {
|
|
7306
|
+
border-left-color: var(--warning);
|
|
7307
|
+
background: color-mix(in srgb, var(--warning) 14%, var(--cal-bg));
|
|
7308
|
+
}
|
|
7309
|
+
.cal__span-bar.badge-error {
|
|
7310
|
+
border-left-color: var(--error);
|
|
7311
|
+
background: color-mix(in srgb, var(--error) 14%, var(--cal-bg));
|
|
7312
|
+
}
|
|
7313
|
+
.cal__span-bar.badge-info {
|
|
7314
|
+
border-left-color: var(--accent-color);
|
|
7315
|
+
background: color-mix(in srgb, var(--accent-color) 14%, var(--cal-bg));
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7318
|
+
.cal__week-row > .cal__span-bar {
|
|
7319
|
+
top: calc(36px + var(--span-lane) * var(--cal-span-lane-height, 20px));
|
|
7320
|
+
}
|
|
7321
|
+
|
|
7147
7322
|
.cal__event-time {
|
|
7148
7323
|
font-weight: 600;
|
|
7149
7324
|
margin-right: 3px;
|
|
@@ -7186,7 +7361,7 @@ body {
|
|
|
7186
7361
|
font-weight: 600;
|
|
7187
7362
|
color: var(--cal-text-muted);
|
|
7188
7363
|
border-left: 1px solid var(--cal-border);
|
|
7189
|
-
cursor:
|
|
7364
|
+
cursor: default;
|
|
7190
7365
|
text-transform: uppercase;
|
|
7191
7366
|
letter-spacing: 0.04em;
|
|
7192
7367
|
}
|
|
@@ -7211,16 +7386,11 @@ body {
|
|
|
7211
7386
|
color: var(--cal-accent-text);
|
|
7212
7387
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--cal-accent) 20%, transparent);
|
|
7213
7388
|
}
|
|
7214
|
-
.cal__week-head-day.is-selected span {
|
|
7215
|
-
background: var(--cal-accent);
|
|
7216
|
-
color: var(--cal-accent-text);
|
|
7217
|
-
}
|
|
7218
7389
|
|
|
7219
7390
|
.cal__allday {
|
|
7220
7391
|
display: grid;
|
|
7221
|
-
grid-template-columns: var(--cal-time-col-width)
|
|
7392
|
+
grid-template-columns: var(--cal-time-col-width) 1fr;
|
|
7222
7393
|
border-bottom: 1px solid var(--cal-border);
|
|
7223
|
-
min-height: 32px;
|
|
7224
7394
|
background: var(--cal-bg);
|
|
7225
7395
|
overflow-y: auto;
|
|
7226
7396
|
scrollbar-gutter: stable;
|
|
@@ -7244,12 +7414,22 @@ body {
|
|
|
7244
7414
|
font-weight: 500;
|
|
7245
7415
|
}
|
|
7246
7416
|
|
|
7417
|
+
.cal__allday-spans {
|
|
7418
|
+
position: relative;
|
|
7419
|
+
display: grid;
|
|
7420
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
7421
|
+
min-height: calc(max(var(--allday-lanes, 1), 1) * var(--cal-span-lane-height, 20px) + 6px);
|
|
7422
|
+
}
|
|
7423
|
+
.cal__allday-spans > .cal__span-bar {
|
|
7424
|
+
top: calc(var(--span-lane) * var(--cal-span-lane-height, 20px) + 3px);
|
|
7425
|
+
}
|
|
7426
|
+
|
|
7247
7427
|
.cal__allday-col {
|
|
7248
7428
|
border-left: 1px solid var(--cal-border);
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7429
|
+
min-height: 100%;
|
|
7430
|
+
}
|
|
7431
|
+
.cal__allday-col:first-child {
|
|
7432
|
+
border-left: none;
|
|
7253
7433
|
}
|
|
7254
7434
|
|
|
7255
7435
|
.cal__week-body {
|
|
@@ -7376,7 +7556,7 @@ body {
|
|
|
7376
7556
|
|
|
7377
7557
|
.cal__now-line {
|
|
7378
7558
|
position: absolute;
|
|
7379
|
-
left:
|
|
7559
|
+
left: var(--cal-time-col-width);
|
|
7380
7560
|
right: 0;
|
|
7381
7561
|
height: 2px;
|
|
7382
7562
|
background: var(--error);
|
|
@@ -7542,8 +7722,15 @@ body {
|
|
|
7542
7722
|
.cal__month-grid {
|
|
7543
7723
|
border: none;
|
|
7544
7724
|
border-radius: 0;
|
|
7725
|
+
}
|
|
7726
|
+
.cal__month-head {
|
|
7727
|
+
gap: 0;
|
|
7728
|
+
background: transparent;
|
|
7729
|
+
}
|
|
7730
|
+
.cal__week-row {
|
|
7545
7731
|
gap: 0;
|
|
7546
7732
|
background: transparent;
|
|
7733
|
+
border-top: none;
|
|
7547
7734
|
}
|
|
7548
7735
|
.cal__weekday {
|
|
7549
7736
|
background: transparent;
|
|
@@ -7559,21 +7746,12 @@ body {
|
|
|
7559
7746
|
justify-content: flex-start;
|
|
7560
7747
|
background: transparent;
|
|
7561
7748
|
}
|
|
7562
|
-
.cal__day:hover {
|
|
7563
|
-
background: transparent;
|
|
7564
|
-
}
|
|
7565
|
-
.cal__day:hover .cal__day-num {
|
|
7566
|
-
background: var(--cal-bg-hover);
|
|
7567
|
-
}
|
|
7568
7749
|
.cal__day--empty {
|
|
7569
7750
|
background: transparent;
|
|
7570
7751
|
}
|
|
7571
7752
|
.cal__day--outside .cal__day-num {
|
|
7572
7753
|
opacity: 0.25;
|
|
7573
7754
|
}
|
|
7574
|
-
.cal__day.is-selected {
|
|
7575
|
-
background: transparent;
|
|
7576
|
-
}
|
|
7577
7755
|
.cal__day.has-events::after {
|
|
7578
7756
|
display: block;
|
|
7579
7757
|
position: static;
|
|
@@ -7588,9 +7766,13 @@ body {
|
|
|
7588
7766
|
}
|
|
7589
7767
|
.cal__day-events,
|
|
7590
7768
|
.cal__event-pill,
|
|
7591
|
-
.cal__event-more
|
|
7769
|
+
.cal__event-more,
|
|
7770
|
+
.cal__span-bar {
|
|
7592
7771
|
display: none;
|
|
7593
7772
|
}
|
|
7773
|
+
.cal__week-row .cal__day-events {
|
|
7774
|
+
margin-top: 0;
|
|
7775
|
+
}
|
|
7594
7776
|
.cal {
|
|
7595
7777
|
--cal-time-col-width: 40px;
|
|
7596
7778
|
}
|
|
@@ -7650,153 +7832,27 @@ body {
|
|
|
7650
7832
|
.cal__agenda-day {
|
|
7651
7833
|
animation: cal-cell-in 0.3s cubic-bezier(0.2, 0, 0, 1) both;
|
|
7652
7834
|
}
|
|
7653
|
-
.
|
|
7835
|
+
.cal__week-row:nth-child(1) .cal__day {
|
|
7654
7836
|
animation-delay: 0.01s;
|
|
7655
7837
|
}
|
|
7656
|
-
.
|
|
7657
|
-
animation-delay: 0.02s;
|
|
7658
|
-
}
|
|
7659
|
-
.cal__month-grid .cal__day:nth-child(3) {
|
|
7660
|
-
animation-delay: 0.03s;
|
|
7661
|
-
}
|
|
7662
|
-
.cal__month-grid .cal__day:nth-child(4) {
|
|
7838
|
+
.cal__week-row:nth-child(2) .cal__day {
|
|
7663
7839
|
animation-delay: 0.04s;
|
|
7664
7840
|
}
|
|
7665
|
-
.
|
|
7666
|
-
animation-delay: 0.05s;
|
|
7667
|
-
}
|
|
7668
|
-
.cal__month-grid .cal__day:nth-child(6) {
|
|
7669
|
-
animation-delay: 0.06s;
|
|
7670
|
-
}
|
|
7671
|
-
.cal__month-grid .cal__day:nth-child(7) {
|
|
7841
|
+
.cal__week-row:nth-child(3) .cal__day {
|
|
7672
7842
|
animation-delay: 0.07s;
|
|
7673
7843
|
}
|
|
7674
|
-
.
|
|
7675
|
-
animation-delay: 0.08s;
|
|
7676
|
-
}
|
|
7677
|
-
.cal__month-grid .cal__day:nth-child(9) {
|
|
7678
|
-
animation-delay: 0.09s;
|
|
7679
|
-
}
|
|
7680
|
-
.cal__month-grid .cal__day:nth-child(10) {
|
|
7844
|
+
.cal__week-row:nth-child(4) .cal__day {
|
|
7681
7845
|
animation-delay: 0.1s;
|
|
7682
7846
|
}
|
|
7683
|
-
.
|
|
7684
|
-
animation-delay: 0.11s;
|
|
7685
|
-
}
|
|
7686
|
-
.cal__month-grid .cal__day:nth-child(12) {
|
|
7687
|
-
animation-delay: 0.12s;
|
|
7688
|
-
}
|
|
7689
|
-
.cal__month-grid .cal__day:nth-child(13) {
|
|
7847
|
+
.cal__week-row:nth-child(5) .cal__day {
|
|
7690
7848
|
animation-delay: 0.13s;
|
|
7691
7849
|
}
|
|
7692
|
-
.
|
|
7693
|
-
animation-delay: 0.14s;
|
|
7694
|
-
}
|
|
7695
|
-
.cal__month-grid .cal__day:nth-child(15) {
|
|
7696
|
-
animation-delay: 0.15s;
|
|
7697
|
-
}
|
|
7698
|
-
.cal__month-grid .cal__day:nth-child(16) {
|
|
7850
|
+
.cal__week-row:nth-child(6) .cal__day {
|
|
7699
7851
|
animation-delay: 0.16s;
|
|
7700
7852
|
}
|
|
7701
|
-
.
|
|
7702
|
-
animation-delay: 0.17s;
|
|
7703
|
-
}
|
|
7704
|
-
.cal__month-grid .cal__day:nth-child(18) {
|
|
7705
|
-
animation-delay: 0.18s;
|
|
7706
|
-
}
|
|
7707
|
-
.cal__month-grid .cal__day:nth-child(19) {
|
|
7853
|
+
.cal__week-row:nth-child(7) .cal__day {
|
|
7708
7854
|
animation-delay: 0.19s;
|
|
7709
7855
|
}
|
|
7710
|
-
.cal__month-grid .cal__day:nth-child(20) {
|
|
7711
|
-
animation-delay: 0.2s;
|
|
7712
|
-
}
|
|
7713
|
-
.cal__month-grid .cal__day:nth-child(21) {
|
|
7714
|
-
animation-delay: 0.21s;
|
|
7715
|
-
}
|
|
7716
|
-
.cal__month-grid .cal__day:nth-child(22) {
|
|
7717
|
-
animation-delay: 0.22s;
|
|
7718
|
-
}
|
|
7719
|
-
.cal__month-grid .cal__day:nth-child(23) {
|
|
7720
|
-
animation-delay: 0.23s;
|
|
7721
|
-
}
|
|
7722
|
-
.cal__month-grid .cal__day:nth-child(24) {
|
|
7723
|
-
animation-delay: 0.24s;
|
|
7724
|
-
}
|
|
7725
|
-
.cal__month-grid .cal__day:nth-child(25) {
|
|
7726
|
-
animation-delay: 0.25s;
|
|
7727
|
-
}
|
|
7728
|
-
.cal__month-grid .cal__day:nth-child(26) {
|
|
7729
|
-
animation-delay: 0.26s;
|
|
7730
|
-
}
|
|
7731
|
-
.cal__month-grid .cal__day:nth-child(27) {
|
|
7732
|
-
animation-delay: 0.27s;
|
|
7733
|
-
}
|
|
7734
|
-
.cal__month-grid .cal__day:nth-child(28) {
|
|
7735
|
-
animation-delay: 0.28s;
|
|
7736
|
-
}
|
|
7737
|
-
.cal__month-grid .cal__day:nth-child(29) {
|
|
7738
|
-
animation-delay: 0.29s;
|
|
7739
|
-
}
|
|
7740
|
-
.cal__month-grid .cal__day:nth-child(30) {
|
|
7741
|
-
animation-delay: 0.3s;
|
|
7742
|
-
}
|
|
7743
|
-
.cal__month-grid .cal__day:nth-child(31) {
|
|
7744
|
-
animation-delay: 0.31s;
|
|
7745
|
-
}
|
|
7746
|
-
.cal__month-grid .cal__day:nth-child(32) {
|
|
7747
|
-
animation-delay: 0.32s;
|
|
7748
|
-
}
|
|
7749
|
-
.cal__month-grid .cal__day:nth-child(33) {
|
|
7750
|
-
animation-delay: 0.33s;
|
|
7751
|
-
}
|
|
7752
|
-
.cal__month-grid .cal__day:nth-child(34) {
|
|
7753
|
-
animation-delay: 0.34s;
|
|
7754
|
-
}
|
|
7755
|
-
.cal__month-grid .cal__day:nth-child(35) {
|
|
7756
|
-
animation-delay: 0.35s;
|
|
7757
|
-
}
|
|
7758
|
-
.cal__month-grid .cal__day:nth-child(36) {
|
|
7759
|
-
animation-delay: 0.36s;
|
|
7760
|
-
}
|
|
7761
|
-
.cal__month-grid .cal__day:nth-child(37) {
|
|
7762
|
-
animation-delay: 0.37s;
|
|
7763
|
-
}
|
|
7764
|
-
.cal__month-grid .cal__day:nth-child(38) {
|
|
7765
|
-
animation-delay: 0.38s;
|
|
7766
|
-
}
|
|
7767
|
-
.cal__month-grid .cal__day:nth-child(39) {
|
|
7768
|
-
animation-delay: 0.39s;
|
|
7769
|
-
}
|
|
7770
|
-
.cal__month-grid .cal__day:nth-child(40) {
|
|
7771
|
-
animation-delay: 0.4s;
|
|
7772
|
-
}
|
|
7773
|
-
.cal__month-grid .cal__day:nth-child(41) {
|
|
7774
|
-
animation-delay: 0.41s;
|
|
7775
|
-
}
|
|
7776
|
-
.cal__month-grid .cal__day:nth-child(42) {
|
|
7777
|
-
animation-delay: 0.42s;
|
|
7778
|
-
}
|
|
7779
|
-
.cal__month-grid .cal__day:nth-child(43) {
|
|
7780
|
-
animation-delay: 0.43s;
|
|
7781
|
-
}
|
|
7782
|
-
.cal__month-grid .cal__day:nth-child(44) {
|
|
7783
|
-
animation-delay: 0.44s;
|
|
7784
|
-
}
|
|
7785
|
-
.cal__month-grid .cal__day:nth-child(45) {
|
|
7786
|
-
animation-delay: 0.45s;
|
|
7787
|
-
}
|
|
7788
|
-
.cal__month-grid .cal__day:nth-child(46) {
|
|
7789
|
-
animation-delay: 0.46s;
|
|
7790
|
-
}
|
|
7791
|
-
.cal__month-grid .cal__day:nth-child(47) {
|
|
7792
|
-
animation-delay: 0.47s;
|
|
7793
|
-
}
|
|
7794
|
-
.cal__month-grid .cal__day:nth-child(48) {
|
|
7795
|
-
animation-delay: 0.48s;
|
|
7796
|
-
}
|
|
7797
|
-
.cal__month-grid .cal__day:nth-child(49) {
|
|
7798
|
-
animation-delay: 0.49s;
|
|
7799
|
-
}
|
|
7800
7856
|
.cal__agenda-day:nth-child(1) {
|
|
7801
7857
|
animation-delay: 0.03s;
|
|
7802
7858
|
}
|
|
@@ -8933,5 +8989,3 @@ body {
|
|
|
8933
8989
|
display: flex;
|
|
8934
8990
|
gap: 1.25rem;
|
|
8935
8991
|
}
|
|
8936
|
-
|
|
8937
|
-
/*# sourceMappingURL=style.css.map */
|