@citizenplane/pimp 8.9.5 → 8.11.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.
Files changed (54) hide show
  1. package/dist/pimp.es.js +5051 -4622
  2. package/dist/pimp.umd.js +9 -2
  3. package/dist/style.css +1 -1
  4. package/package.json +15 -16
  5. package/src/App.vue +9 -9
  6. package/src/assets/styles/base/_base.scss +4 -4
  7. package/src/assets/styles/helpers/_keyframes.scss +0 -25
  8. package/src/assets/styles/helpers/_mixins.scss +23 -2
  9. package/src/assets/styles/main.scss +2 -16
  10. package/src/assets/styles/variables/_colors.scss +2 -0
  11. package/src/assets/styles/variables/_sizing.scss +3 -3
  12. package/src/assets/styles/variables/_spacing.scss +2 -2
  13. package/src/components/atomic-elements/CpBadge.vue +33 -33
  14. package/src/components/atomic-elements/CpDialog.vue +19 -19
  15. package/src/components/atomic-elements/CpTooltip.vue +6 -6
  16. package/src/components/buttons/CpButton.vue +53 -57
  17. package/src/components/core/{BaseInputLabel/index.vue → BaseInputLabel.vue} +3 -3
  18. package/src/components/core/playground-sections/SectionAtomicElements.vue +1 -1
  19. package/src/components/core/playground-sections/SectionButtons.vue +2 -2
  20. package/src/components/core/playground-sections/SectionContainer.vue +5 -5
  21. package/src/components/core/playground-sections/SectionDatePickers.vue +3 -3
  22. package/src/components/core/playground-sections/SectionDialog.vue +1 -1
  23. package/src/components/core/playground-sections/SectionFeedbackIndicators.vue +2 -2
  24. package/src/components/core/playground-sections/SectionInputs.vue +2 -2
  25. package/src/components/core/playground-sections/SectionListsAndTables.vue +9 -9
  26. package/src/components/core/playground-sections/SectionSelects.vue +2 -2
  27. package/src/components/core/playground-sections/SectionSimpleInputs.vue +2 -2
  28. package/src/components/core/playground-sections/SectionToggles.vue +4 -4
  29. package/src/components/date-pickers/CpCalendar.vue +14 -14
  30. package/src/components/date-pickers/{CpDate/index.vue → CpDate.vue} +165 -1
  31. package/src/components/date-pickers/CpDatepicker.vue +1 -1
  32. package/src/components/feedback-indicators/CpAlert.vue +22 -22
  33. package/src/components/feedback-indicators/CpToaster.vue +36 -38
  34. package/src/components/index.js +7 -7
  35. package/src/components/inputs/CpInput.vue +55 -55
  36. package/src/components/inputs/CpTextarea.vue +20 -20
  37. package/src/components/lists-and-table/CpTable.vue +722 -0
  38. package/src/components/lists-and-table/{CpTable/CpTableEmptyState/index.vue → CpTableEmptyState.vue} +9 -9
  39. package/src/components/selects/CpSelect.vue +29 -28
  40. package/src/components/selects/{CpSelectMenu/index.vue → CpSelectMenu.vue} +40 -41
  41. package/src/components/toggles/{CpCheckbox/index.vue → CpCheckbox.vue} +133 -1
  42. package/src/components/toggles/CpRadio.vue +253 -0
  43. package/src/components/toggles/{CpSwitch/index.vue → CpSwitch.vue} +19 -19
  44. package/src/components/typography/{CpHeading/index.vue → CpHeading.vue} +26 -26
  45. package/src/constants/index.js +1 -0
  46. package/src/constants/src/CpTableConfig.js +14 -0
  47. package/src/libs/CoreDatepicker.vue +383 -308
  48. package/src/assets/styl/colors.styl +0 -39
  49. package/src/components/date-pickers/CpDate/index.scss +0 -165
  50. package/src/components/lists-and-table/CpTable/index.scss +0 -325
  51. package/src/components/lists-and-table/CpTable/index.vue +0 -438
  52. package/src/components/toggles/CpCheckbox/index.scss +0 -136
  53. package/src/components/toggles/CpRadio/index.scss +0 -160
  54. 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
- @include popover-desktop('asd__fade');
990
- </style>
989
+ $tablet: 768px;
991
990
 
992
- <style lang="stylus">
993
- $tablet = 768px
991
+ $background-grey-color: #f7f7f7;
994
992
 
995
- $background-grey-color = #f7f7f7
993
+ $transition-time: 0.3s;
996
994
 
997
- $transition-time = 0.3s
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
- .asd__list-complete-leave-active
1014
- position absolute
1015
- visibility hidden
1016
-
1017
- .asd
1018
- &__wrapper
1019
- border-radius 10px
1020
- white-space nowrap
1021
- text-align center
1022
- background-color $neutral-light
1023
- overflow hidden
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 0 9px 24px rgba(62, 62, 91, 20%), 0 4px 4px rgba(62, 62, 91, 10%);
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 $neutral-dark-4
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
- &__inner-wrapper
1063
- transition all $transition-time ease
1064
- position relative
1065
-
1066
- &__datepicker-header
1067
- position relative
1068
-
1069
- &__change-month-button
1070
- position absolute
1071
- z-index 10
1072
- top 16px
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 $secondary-color;
1085
+ outline: 2px solid colors.$secondary-color;
1077
1086
  outline-offset: 2px;
1078
1087
  }
1079
1088
 
1080
- i
1081
- color $neutral-dark
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 percentage(1 / 7)
1126
- text-align center
1127
- color $neutral-dark-1
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
- &__month-name
1165
- font-size 16px
1166
- text-align center
1167
- margin 0 0 36px
1168
- line-height 20px
1169
- color $neutral-dark
1170
-
1171
- @media (max-width: $tablet)
1172
- margin-top 2px
1173
-
1174
- > span
1175
- padding-right 3px
1176
-
1177
- &__selected
1178
- &-date-one
1179
- background $background-grey-color
1180
- border-top-left-radius 50%
1181
- border-bottom-left-radius 50%
1182
-
1183
- &-date-one.asd__day--end-month
1184
- &:before
1185
- degrade()
1186
- border-top-left-radius 50%
1187
- border-bottom-left-radius 50%
1188
-
1189
- &-date-one.asd__day--end-week&:not(.asd__day--selected)
1190
- border-top-right-radius 10px
1191
- border-bottom-right-radius 10px
1192
-
1193
- &-date-two
1194
- background $background-grey-color
1195
- border-top-right-radius 50%
1196
- border-bottom-right-radius 50%
1197
-
1198
- &-date-two.asd__day--start-month
1199
- &:before
1200
- degrade()
1201
- transform rotate(180deg)
1202
- right 20px
1203
- width 20px
1204
-
1205
- &-date-two.asd__day--start-week
1206
- border-top-left-radius 5px
1207
- border-bottom-left-radius 5px
1208
-
1209
- &__day
1210
- outline none
1211
- padding 0
1212
- position relative
1213
-
1214
- &--in-range, &--hovered
1215
- background $background-grey-color
1216
-
1217
- &--hovered
1218
- .asd__day--end-week
1219
- border-top-right-radius 5px
1220
- border-bottom-right-radius 5px
1221
-
1222
- .asd__day--start-week
1223
- border-top-left-radius 5px
1224
- border-bottom-left-radius 5px
1225
-
1226
- &--in-range&--end-week
1227
- border-top-right-radius 5px
1228
- border-bottom-right-radius 5px
1229
-
1230
- &--in-range&--start-week
1231
- border-top-left-radius 5px
1232
- border-bottom-left-radius 5px
1233
-
1234
- &--hovered&--start-month,
1235
- &--in-range&--start-month:not(.asd__selected-date-one):not(.asd__selected-date-two)
1236
- &:before
1237
- degrade()
1238
- width 30px
1239
- transform rotate(180deg)
1240
- right 20px
1241
-
1242
- &--hovered&--end-month,&--in-range&--end-month:not(.asd__selected-date-one):not(.asd__selected-date-two)
1243
- &:before
1244
- degrade()
1245
-
1246
- &--enabled
1247
- &:not(.asd__day--disabled):not(.asd__day--selected):not(.asd__selected-date-one):not(.asd__selected-date-two):not(.asd__day--in-range):hover
1248
- button
1249
- z-index 2
1250
- background $neutral-light
1251
- border 2px solid #f7f7f7
1252
- border-radius 50%
1253
-
1254
- &.asd__day--date-two-not-selected:hover
1255
- background $background-grey-color
1256
- border-top-right-radius 50%
1257
- border-bottom-right-radius 50%
1258
-
1259
- &.asd__day--start-month
1260
- &:before
1261
- degrade()
1262
- width 30px
1263
- transform rotate(180deg)
1264
- right 20px
1265
-
1266
- &--enabled.asd__day--in-range:hover
1267
- background #f1f1f3
1268
-
1269
- &--selected
1270
- button
1271
- border-radius 50%
1272
- background $primary-color
1273
-
1274
- &.asd__selected-date-one
1275
- &:before
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 $neutral-dark-3 !important
1296
-
1297
- &--disabled *
1298
- cursor not-allowed !important
1299
-
1300
- &--today .asd__day-button .asd__day-number
1301
- color $primary-color
1302
- font-weight 600
1303
-
1304
- &--recurency
1305
- &:not(.asd__selected-date-one):not(.asd__selected-date-two)
1306
- background $background-grey-color
1307
-
1308
- button
1309
- background $accent-color-1 !important
1310
- border-radius 50%
1311
- border 2px solid $background-grey-color
1312
-
1313
- .asd__day-number
1314
- color $neutral-light
1315
-
1316
- &--selected-recurrent
1317
- button
1318
- z-index 2
1319
- background $neutral-light
1320
- border 2px solid $background-grey-color
1321
- border-radius 50%
1322
-
1323
- &:before
1324
- top 7px
1325
- left 5px
1326
-
1327
- span
1328
- color $neutral-dark
1329
-
1330
- &__day-button
1331
- outline none
1332
- position relative
1333
- background transparent
1334
- width 35px
1335
- height 35px
1336
- border none
1337
- user-select none
1338
- font-size 14px
1339
-
1340
- .asd__day-number
1341
- z-index 3
1342
- position relative
1343
- color $neutral-dark
1344
-
1345
- &__mobile-header
1346
- border-bottom $border-normal
1347
- position relative
1348
- padding 15px 15px 15px 15px !important
1349
- text-align center
1350
- height 50px
1351
-
1352
- h3
1353
- font-size 20px
1354
- margin 0
1355
-
1356
- &__mobile-only
1357
- display none
1358
-
1359
- @media (max-width: $tablet)
1360
- display block
1361
-
1362
- &__mobile-close
1363
- border none
1364
- position absolute
1365
- top 7px
1366
- right 5px
1367
- padding 5px
1368
- z-index 100
1369
- cursor pointer
1370
-
1371
- &__icon
1372
- position relative
1373
- font-size 1.6em
1374
- font-weight bold
1375
- padding 0
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>