@citizenplane/pimp 8.9.4 → 8.10.0
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/dist/pimp.es.js +5291 -4854
- package/dist/pimp.umd.js +9 -2
- package/dist/style.css +1 -1
- package/package.json +15 -16
- package/src/App.vue +9 -9
- package/src/assets/styles/base/_base.scss +7 -3
- package/src/assets/styles/helpers/_keyframes.scss +0 -25
- package/src/assets/styles/helpers/_mixins.scss +23 -2
- package/src/assets/styles/main.scss +2 -16
- package/src/assets/styles/variables/_colors.scss +2 -0
- package/src/assets/styles/variables/_sizing.scss +3 -3
- package/src/assets/styles/variables/_spacing.scss +2 -2
- package/src/components/atomic-elements/CpBadge.vue +33 -33
- package/src/components/atomic-elements/CpDialog.vue +19 -19
- package/src/components/atomic-elements/CpTooltip.vue +6 -6
- package/src/components/buttons/CpButton.vue +53 -57
- package/src/components/core/{BaseInputLabel/index.vue → BaseInputLabel.vue} +3 -3
- package/src/components/core/playground-sections/SectionAtomicElements.vue +1 -1
- package/src/components/core/playground-sections/SectionButtons.vue +2 -2
- package/src/components/core/playground-sections/SectionContainer.vue +5 -5
- package/src/components/core/playground-sections/SectionDatePickers.vue +3 -3
- package/src/components/core/playground-sections/SectionDialog.vue +1 -1
- package/src/components/core/playground-sections/SectionFeedbackIndicators.vue +2 -2
- package/src/components/core/playground-sections/SectionInputs.vue +2 -2
- package/src/components/core/playground-sections/SectionListsAndTables.vue +9 -9
- package/src/components/core/playground-sections/SectionSelects.vue +2 -2
- package/src/components/core/playground-sections/SectionSimpleInputs.vue +12 -2
- package/src/components/core/playground-sections/SectionToggles.vue +4 -4
- package/src/components/date-pickers/CpCalendar.vue +14 -14
- package/src/components/date-pickers/{CpDate/index.vue → CpDate.vue} +165 -1
- package/src/components/date-pickers/CpDatepicker.vue +1 -1
- package/src/components/feedback-indicators/CpAlert.vue +22 -22
- package/src/components/feedback-indicators/CpToaster.vue +36 -38
- package/src/components/index.js +7 -7
- package/src/components/inputs/CpInput.vue +75 -64
- package/src/components/inputs/CpTextarea.vue +20 -20
- package/src/components/lists-and-table/CpTable.vue +718 -0
- package/src/components/lists-and-table/{CpTable/CpTableEmptyState/index.vue → CpTableEmptyState.vue} +9 -9
- package/src/components/selects/CpSelect.vue +29 -28
- package/src/components/selects/{CpSelectMenu/index.vue → CpSelectMenu.vue} +40 -41
- package/src/components/toggles/{CpCheckbox/index.vue → CpCheckbox.vue} +133 -1
- package/src/components/toggles/CpRadio.vue +253 -0
- package/src/components/toggles/{CpSwitch/index.vue → CpSwitch.vue} +19 -19
- package/src/components/typography/{CpHeading/index.vue → CpHeading.vue} +26 -26
- package/src/constants/index.js +1 -0
- package/src/constants/src/CpTableConfig.js +14 -0
- package/src/libs/CoreDatepicker.vue +383 -308
- package/src/assets/styl/colors.styl +0 -39
- package/src/components/date-pickers/CpDate/index.scss +0 -165
- package/src/components/lists-and-table/CpTable/index.scss +0 -325
- package/src/components/lists-and-table/CpTable/index.vue +0 -438
- package/src/components/toggles/CpCheckbox/index.scss +0 -136
- package/src/components/toggles/CpRadio/index.scss +0 -160
- package/src/components/toggles/CpRadio/index.vue +0 -97
|
@@ -986,63 +986,68 @@ export default {
|
|
|
986
986
|
}
|
|
987
987
|
</script>
|
|
988
988
|
<style lang="scss">
|
|
989
|
-
|
|
990
|
-
</style>
|
|
989
|
+
$tablet: 768px;
|
|
991
990
|
|
|
992
|
-
|
|
993
|
-
$tablet = 768px
|
|
991
|
+
$background-grey-color: #f7f7f7;
|
|
994
992
|
|
|
995
|
-
$
|
|
993
|
+
$transition-time: 0.3s;
|
|
996
994
|
|
|
997
|
-
|
|
995
|
+
@include mx.popover-desktop('asd__fade');
|
|
998
996
|
|
|
999
|
-
degrade
|
|
1000
|
-
content ''
|
|
1001
|
-
width 65px
|
|
1002
|
-
height 35px
|
|
1003
|
-
background linear-gradient(90deg, #f7f7f7 50%, rgba(241, 241, 241, 0) 95%)
|
|
1004
|
-
position absolute
|
|
1005
|
-
z-index -1
|
|
997
|
+
@mixin degrade {
|
|
998
|
+
content: '';
|
|
999
|
+
width: 65px;
|
|
1000
|
+
height: 35px;
|
|
1001
|
+
background: linear-gradient(90deg, #f7f7f7 50%, rgba(241, 241, 241, 0) 95%);
|
|
1002
|
+
position: absolute;
|
|
1003
|
+
z-index: -1;
|
|
1004
|
+
}
|
|
1006
1005
|
|
|
1007
1006
|
// datepicker
|
|
1008
1007
|
.asd__list-complete-enter-from,
|
|
1009
|
-
.asd__list-complete-leave-to
|
|
1010
|
-
opacity 0
|
|
1011
|
-
transform translateY(30px)
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1008
|
+
.asd__list-complete-leave-to {
|
|
1009
|
+
opacity: 0;
|
|
1010
|
+
transform: translateY(30px);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.asd__list-complete-leave-active {
|
|
1014
|
+
position: absolute;
|
|
1015
|
+
visibility: hidden;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.asd {
|
|
1019
|
+
&__wrapper {
|
|
1020
|
+
border-radius: 10px;
|
|
1021
|
+
white-space: nowrap;
|
|
1022
|
+
text-align: center;
|
|
1023
|
+
background-color: colors.$neutral-light;
|
|
1024
|
+
overflow: hidden;
|
|
1024
1025
|
|
|
1025
1026
|
&:not(&--isInline) {
|
|
1026
|
-
box-shadow
|
|
1027
|
+
box-shadow:
|
|
1028
|
+
0 9px 24px rgba(62, 62, 91, 20%),
|
|
1029
|
+
0 4px 4px rgba(62, 62, 91, 10%);
|
|
1027
1030
|
}
|
|
1028
1031
|
|
|
1029
1032
|
&--isInline {
|
|
1030
|
-
position relative !important
|
|
1033
|
+
position: relative !important;
|
|
1031
1034
|
}
|
|
1032
1035
|
|
|
1033
|
-
&:before
|
|
1036
|
+
&:before {
|
|
1034
1037
|
// Line between the two months
|
|
1035
|
-
@media (min-width: $tablet)
|
|
1036
|
-
position absolute
|
|
1037
|
-
content ''
|
|
1038
|
-
left 0
|
|
1039
|
-
right 0
|
|
1040
|
-
top 20px
|
|
1041
|
-
bottom 0
|
|
1042
|
-
margin auto
|
|
1043
|
-
width 1px
|
|
1044
|
-
background
|
|
1045
|
-
z-index -1
|
|
1038
|
+
@media (min-width: $tablet) {
|
|
1039
|
+
position: absolute;
|
|
1040
|
+
content: '';
|
|
1041
|
+
left: 0;
|
|
1042
|
+
right: 0;
|
|
1043
|
+
top: 20px;
|
|
1044
|
+
bottom: 0;
|
|
1045
|
+
margin: auto;
|
|
1046
|
+
width: 1px;
|
|
1047
|
+
background: colors.$neutral-dark-4;
|
|
1048
|
+
z-index: -1;
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1046
1051
|
|
|
1047
1052
|
&--showOneMonth {
|
|
1048
1053
|
&:before {
|
|
@@ -1050,90 +1055,98 @@ degrade()
|
|
|
1050
1055
|
}
|
|
1051
1056
|
}
|
|
1052
1057
|
|
|
1053
|
-
&--full-screen
|
|
1054
|
-
position fixed
|
|
1055
|
-
top 0
|
|
1056
|
-
right 0
|
|
1057
|
-
bottom 0
|
|
1058
|
-
left 0
|
|
1059
|
-
border none
|
|
1060
|
-
z-index 100
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
&
|
|
1070
|
-
position
|
|
1071
|
-
|
|
1072
|
-
|
|
1058
|
+
&--full-screen {
|
|
1059
|
+
position: fixed;
|
|
1060
|
+
top: 0;
|
|
1061
|
+
right: 0;
|
|
1062
|
+
bottom: 0;
|
|
1063
|
+
left: 0;
|
|
1064
|
+
border: none;
|
|
1065
|
+
z-index: 100;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
&__inner-wrapper {
|
|
1070
|
+
transition: all $transition-time ease;
|
|
1071
|
+
position: relative;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
&__datepicker-header {
|
|
1075
|
+
position: relative;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
&__change-month-button {
|
|
1079
|
+
position: absolute;
|
|
1080
|
+
z-index: 10;
|
|
1081
|
+
top: 16px;
|
|
1073
1082
|
border-radius: 100%;
|
|
1074
1083
|
|
|
1075
1084
|
&:focus-visible {
|
|
1076
|
-
outline: 2px solid
|
|
1085
|
+
outline: 2px solid colors.$secondary-color;
|
|
1077
1086
|
outline-offset: 2px;
|
|
1078
1087
|
}
|
|
1079
1088
|
|
|
1080
|
-
i
|
|
1081
|
-
color
|
|
1089
|
+
i {
|
|
1090
|
+
color: colors.$neutral-dark;
|
|
1091
|
+
}
|
|
1082
1092
|
|
|
1083
|
-
svg
|
|
1084
|
-
cursor pointer
|
|
1085
|
-
stroke-width 1.2px
|
|
1093
|
+
svg {
|
|
1094
|
+
cursor: pointer;
|
|
1095
|
+
stroke-width: 1.2px;
|
|
1096
|
+
}
|
|
1086
1097
|
|
|
1087
|
-
@media (min-width: $tablet)
|
|
1088
|
-
top 22px
|
|
1098
|
+
@media (min-width: $tablet) {
|
|
1099
|
+
top: 22px;
|
|
1100
|
+
}
|
|
1089
1101
|
|
|
1090
1102
|
&--previous {
|
|
1091
|
-
left 16px
|
|
1103
|
+
left: 16px;
|
|
1092
1104
|
|
|
1093
1105
|
@media (min-width: $tablet) {
|
|
1094
|
-
left 24px
|
|
1106
|
+
left: 24px;
|
|
1095
1107
|
}
|
|
1096
1108
|
}
|
|
1097
1109
|
|
|
1098
1110
|
&--next {
|
|
1099
|
-
right 16px
|
|
1111
|
+
right: 16px;
|
|
1100
1112
|
|
|
1101
1113
|
@media (min-width: $tablet) {
|
|
1102
|
-
right 24px
|
|
1114
|
+
right: 24px;
|
|
1103
1115
|
}
|
|
1104
1116
|
}
|
|
1117
|
+
}
|
|
1105
1118
|
|
|
1106
1119
|
&__days-legend {
|
|
1107
|
-
position absolute
|
|
1108
|
-
font-size 12px
|
|
1109
|
-
line-height 15px
|
|
1110
|
-
user-select none
|
|
1120
|
+
position: absolute;
|
|
1121
|
+
font-size: 12px;
|
|
1122
|
+
line-height: 15px;
|
|
1123
|
+
user-select: none;
|
|
1111
1124
|
|
|
1112
1125
|
@media (min-width: $tablet) {
|
|
1113
|
-
padding 0 24px
|
|
1114
|
-
top 60px
|
|
1126
|
+
padding: 0 24px;
|
|
1127
|
+
top: 60px;
|
|
1115
1128
|
}
|
|
1116
1129
|
|
|
1117
|
-
@media (max-width: $tablet - 1px) {
|
|
1118
|
-
top 56px
|
|
1130
|
+
@media (max-width: ($tablet - 1px)) {
|
|
1131
|
+
top: 56px;
|
|
1119
1132
|
padding: 0 16px;
|
|
1120
1133
|
}
|
|
1121
1134
|
}
|
|
1122
1135
|
|
|
1123
1136
|
&__day-title {
|
|
1124
|
-
display inline-block
|
|
1125
|
-
width
|
|
1126
|
-
text-align center
|
|
1127
|
-
color
|
|
1128
|
-
font-size 14px
|
|
1129
|
-
line-height 18px
|
|
1130
|
-
margin-left -1px
|
|
1137
|
+
display: inline-block;
|
|
1138
|
+
width: math.div(1, 7) * 100%;
|
|
1139
|
+
text-align: center;
|
|
1140
|
+
color: colors.$neutral-dark-1;
|
|
1141
|
+
font-size: 14px;
|
|
1142
|
+
line-height: 18px;
|
|
1143
|
+
margin-left: -1px;
|
|
1131
1144
|
}
|
|
1132
1145
|
|
|
1133
1146
|
&__month-table {
|
|
1134
|
-
border-spacing 0 6px
|
|
1135
|
-
width 100
|
|
1136
|
-
max-width 100
|
|
1147
|
+
border-spacing: 0 6px;
|
|
1148
|
+
width: 100%;
|
|
1149
|
+
max-width: 100%;
|
|
1137
1150
|
}
|
|
1138
1151
|
|
|
1139
1152
|
&__wrapper:not(&__wrapper--isInline) &__month {
|
|
@@ -1147,230 +1160,292 @@ degrade()
|
|
|
1147
1160
|
}
|
|
1148
1161
|
|
|
1149
1162
|
&__month {
|
|
1150
|
-
transition all $transition-time ease
|
|
1151
|
-
display inline-block
|
|
1152
|
-
padding 16px 16px 8px
|
|
1163
|
+
transition: all $transition-time ease;
|
|
1164
|
+
display: inline-block;
|
|
1165
|
+
padding: 16px 16px 8px;
|
|
1153
1166
|
|
|
1154
1167
|
@media (min-width: $tablet) {
|
|
1155
|
-
padding 24px 24px 12px;
|
|
1168
|
+
padding: 24px 24px 12px;
|
|
1156
1169
|
}
|
|
1157
1170
|
|
|
1158
1171
|
&--hidden {
|
|
1159
|
-
height 275px
|
|
1160
|
-
visibility hidden
|
|
1172
|
+
height: 275px;
|
|
1173
|
+
visibility: hidden;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
&__month-name {
|
|
1178
|
+
font-size: 16px;
|
|
1179
|
+
text-align: center;
|
|
1180
|
+
margin: 0 0 36px;
|
|
1181
|
+
line-height: 20px;
|
|
1182
|
+
color: colors.$neutral-dark;
|
|
1183
|
+
|
|
1184
|
+
@media (max-width: $tablet) {
|
|
1185
|
+
margin-top: 2px;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
> span {
|
|
1189
|
+
padding-right: 3px;
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
&__selected {
|
|
1194
|
+
&-date-one {
|
|
1195
|
+
background: $background-grey-color;
|
|
1196
|
+
border-top-left-radius: 50%;
|
|
1197
|
+
border-bottom-left-radius: 50%;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
&-date-one.asd__day--end-month {
|
|
1201
|
+
&:before {
|
|
1202
|
+
@include degrade;
|
|
1203
|
+
border-top-left-radius: 50%;
|
|
1204
|
+
border-bottom-left-radius: 50%;
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
&-date-one.asd__day--end-week:not(.asd__day--selected) {
|
|
1209
|
+
border-top-right-radius: 10px;
|
|
1210
|
+
border-bottom-right-radius: 10px;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
&-date-two {
|
|
1214
|
+
background: $background-grey-color;
|
|
1215
|
+
border-top-right-radius: 50%;
|
|
1216
|
+
border-bottom-right-radius: 50%;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
&-date-two.asd__day--start-month {
|
|
1220
|
+
&:before {
|
|
1221
|
+
@include degrade;
|
|
1222
|
+
transform: rotate(180deg);
|
|
1223
|
+
right: 20px;
|
|
1224
|
+
width: 20px;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
&-date-two.asd__day--start-week {
|
|
1229
|
+
border-top-left-radius: 5px;
|
|
1230
|
+
border-bottom-left-radius: 5px;
|
|
1161
1231
|
}
|
|
1162
1232
|
}
|
|
1163
1233
|
|
|
1164
|
-
&
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
transform rotate(180deg)
|
|
1202
|
-
right 20px
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
button
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
degrade()
|
|
1277
|
-
border-top-left-radius 50%
|
|
1278
|
-
border-bottom-left-radius 50%
|
|
1279
|
-
|
|
1280
|
-
&.asd__selected-date-two
|
|
1281
|
-
&:before
|
|
1282
|
-
degrade()
|
|
1283
|
-
border-top-right-radius 50%
|
|
1284
|
-
border-bottom-right-radius 50%
|
|
1285
|
-
width 30px
|
|
1286
|
-
transform rotate(180deg)
|
|
1287
|
-
right 20px
|
|
1288
|
-
|
|
1289
|
-
button
|
|
1290
|
-
span
|
|
1291
|
-
color $neutral-light !important
|
|
1234
|
+
&__day {
|
|
1235
|
+
outline: none;
|
|
1236
|
+
padding: 0;
|
|
1237
|
+
position: relative;
|
|
1238
|
+
|
|
1239
|
+
&--in-range,
|
|
1240
|
+
&--hovered {
|
|
1241
|
+
background: $background-grey-color;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
&--hovered {
|
|
1245
|
+
.asd__day--end-week {
|
|
1246
|
+
border-top-right-radius: 5px;
|
|
1247
|
+
border-bottom-right-radius: 5px;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.asd__day--start-week {
|
|
1251
|
+
border-top-left-radius: 5px;
|
|
1252
|
+
border-bottom-left-radius: 5px;
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
&--in-range.asd__day--end-week {
|
|
1257
|
+
border-top-right-radius: 5px;
|
|
1258
|
+
border-bottom-right-radius: 5px;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
&--in-range.asd__day--start-week {
|
|
1262
|
+
border-top-left-radius: 5px;
|
|
1263
|
+
border-bottom-left-radius: 5px;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
&--hovered.asd__day--start-month,
|
|
1267
|
+
&--in-range.asd__day--start-month:not(.asd__selected-date-one):not(.asd__selected-date-two) {
|
|
1268
|
+
&:before {
|
|
1269
|
+
@include degrade;
|
|
1270
|
+
width: 30px;
|
|
1271
|
+
transform: rotate(180deg);
|
|
1272
|
+
right: 20px;
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
&--hovered.asd__day--end-month,
|
|
1277
|
+
&--in-range.asd__day--end-month:not(.asd__selected-date-one):not(.asd__selected-date-two) {
|
|
1278
|
+
&:before {
|
|
1279
|
+
@include degrade;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
&--enabled {
|
|
1284
|
+
&:not(.asd__day--disabled):not(.asd__day--selected):not(.asd__selected-date-one):not(.asd__selected-date-two):not(
|
|
1285
|
+
.asd__day--in-range
|
|
1286
|
+
):hover {
|
|
1287
|
+
button {
|
|
1288
|
+
z-index: 2;
|
|
1289
|
+
background: colors.$neutral-light;
|
|
1290
|
+
border: 2px solid #f7f7f7;
|
|
1291
|
+
border-radius: 50%;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
&.asd__day--date-two-not-selected:hover {
|
|
1296
|
+
background: $background-grey-color;
|
|
1297
|
+
border-top-right-radius: 50%;
|
|
1298
|
+
border-bottom-right-radius: 50%;
|
|
1299
|
+
|
|
1300
|
+
&.asd__day--start-month {
|
|
1301
|
+
&:before {
|
|
1302
|
+
@include degrade;
|
|
1303
|
+
width: 30px;
|
|
1304
|
+
transform: rotate(180deg);
|
|
1305
|
+
right: 20px;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
&--enabled.asd__day--in-range:hover {
|
|
1312
|
+
background: #f1f1f3;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
&--selected {
|
|
1316
|
+
button {
|
|
1317
|
+
border-radius: 50%;
|
|
1318
|
+
background: colors.$primary-color;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
&.asd__selected-date-one {
|
|
1322
|
+
&:before {
|
|
1323
|
+
@include degrade;
|
|
1324
|
+
border-top-left-radius: 50%;
|
|
1325
|
+
border-bottom-left-radius: 50%;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
&.asd__selected-date-two {
|
|
1330
|
+
&:before {
|
|
1331
|
+
@include degrade;
|
|
1332
|
+
border-top-right-radius: 50%;
|
|
1333
|
+
border-bottom-right-radius: 50%;
|
|
1334
|
+
width: 30px;
|
|
1335
|
+
transform: rotate(180deg);
|
|
1336
|
+
right: 20px;
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
button {
|
|
1341
|
+
span {
|
|
1342
|
+
color: colors.$neutral-light !important;
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1292
1346
|
|
|
1293
1347
|
&--disabled .asd__day-number,
|
|
1294
|
-
&--empty .asd__day-number
|
|
1295
|
-
color
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
background $
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1348
|
+
&--empty .asd__day-number {
|
|
1349
|
+
color: colors.$neutral-dark-3 !important;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
&--disabled * {
|
|
1353
|
+
cursor: not-allowed !important;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
&--today .asd__day-button .asd__day-number {
|
|
1357
|
+
color: colors.$primary-color;
|
|
1358
|
+
font-weight: 600;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
&--recurency {
|
|
1362
|
+
&:not(.asd__selected-date-one):not(.asd__selected-date-two) {
|
|
1363
|
+
background: $background-grey-color;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
button {
|
|
1367
|
+
background: colors.$accent-color-1 !important;
|
|
1368
|
+
border-radius: 50%;
|
|
1369
|
+
border: 2px solid $background-grey-color;
|
|
1370
|
+
|
|
1371
|
+
.asd__day-number {
|
|
1372
|
+
color: colors.$neutral-light;
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
&--selected-recurrent {
|
|
1378
|
+
button {
|
|
1379
|
+
z-index: 2;
|
|
1380
|
+
background: colors.$neutral-light;
|
|
1381
|
+
border: 2px solid $background-grey-color;
|
|
1382
|
+
border-radius: 50%;
|
|
1383
|
+
|
|
1384
|
+
&:before {
|
|
1385
|
+
top: 7px;
|
|
1386
|
+
left: 5px;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
span {
|
|
1391
|
+
color: colors.$neutral-dark;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
&__day-button {
|
|
1397
|
+
outline: none;
|
|
1398
|
+
position: relative;
|
|
1399
|
+
background: transparent;
|
|
1400
|
+
width: 35px;
|
|
1401
|
+
height: 35px;
|
|
1402
|
+
border: none;
|
|
1403
|
+
user-select: none;
|
|
1404
|
+
font-size: 14px;
|
|
1405
|
+
|
|
1406
|
+
.asd__day-number {
|
|
1407
|
+
z-index: 3;
|
|
1408
|
+
position: relative;
|
|
1409
|
+
color: colors.$neutral-dark;
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
&__mobile-header {
|
|
1414
|
+
border-bottom: colors.$border-color;
|
|
1415
|
+
position: relative;
|
|
1416
|
+
padding: 15px 15px 15px 15px !important;
|
|
1417
|
+
text-align: center;
|
|
1418
|
+
height: 50px;
|
|
1419
|
+
|
|
1420
|
+
h3 {
|
|
1421
|
+
font-size: 20px;
|
|
1422
|
+
margin: 0;
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
&__mobile-only {
|
|
1427
|
+
display: none;
|
|
1428
|
+
|
|
1429
|
+
@media (max-width: $tablet) {
|
|
1430
|
+
display: block;
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
&__mobile-close {
|
|
1435
|
+
border: none;
|
|
1436
|
+
position: absolute;
|
|
1437
|
+
top: 7px;
|
|
1438
|
+
right: 5px;
|
|
1439
|
+
padding: 5px;
|
|
1440
|
+
z-index: 100;
|
|
1441
|
+
cursor: pointer;
|
|
1442
|
+
|
|
1443
|
+
&__icon {
|
|
1444
|
+
position: relative;
|
|
1445
|
+
font-size: 1.6em;
|
|
1446
|
+
font-weight: bold;
|
|
1447
|
+
padding: 0;
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1376
1451
|
</style>
|