@openui5/themelib_sap_horizon 1.115.1 → 1.116.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 (77) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +18 -18
  4. package/src/sap/m/themes/sap_horizon/IconTabBar.less +4 -4
  5. package/src/sap/m/themes/sap_horizon/ListBase.less +12 -0
  6. package/src/sap/m/themes/sap_horizon/ObjectMarker.less +11 -3
  7. package/src/sap/m/themes/sap_horizon/RadioButton.less +4 -5
  8. package/src/sap/m/themes/sap_horizon/RangeSlider.less +2 -7
  9. package/src/sap/m/themes/sap_horizon/SearchField.less +1 -2
  10. package/src/sap/m/themes/sap_horizon/Select.less +8 -14
  11. package/src/sap/m/themes/sap_horizon/Slider.less +2 -1
  12. package/src/sap/m/themes/sap_horizon/TextArea.less +4 -0
  13. package/src/sap/m/themes/sap_horizon/TileContainer.less +20 -1
  14. package/src/sap/m/themes/sap_horizon/Wizard.less +1 -1
  15. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +4 -4
  16. package/src/sap/m/themes/sap_horizon_dark/ListBase.less +12 -0
  17. package/src/sap/m/themes/sap_horizon_dark/ObjectMarker.less +10 -2
  18. package/src/sap/m/themes/sap_horizon_dark/RadioButton.less +4 -6
  19. package/src/sap/m/themes/sap_horizon_dark/RangeSlider.less +2 -7
  20. package/src/sap/m/themes/sap_horizon_dark/SearchField.less +0 -2
  21. package/src/sap/m/themes/sap_horizon_dark/Select.less +7 -14
  22. package/src/sap/m/themes/sap_horizon_dark/Slider.less +7 -1
  23. package/src/sap/m/themes/sap_horizon_dark/TextArea.less +4 -0
  24. package/src/sap/m/themes/sap_horizon_dark/TileContainer.less +18 -0
  25. package/src/sap/m/themes/sap_horizon_dark/Wizard.less +1 -1
  26. package/src/sap/m/themes/sap_horizon_hcb/CheckBox.less +4 -0
  27. package/src/sap/m/themes/sap_horizon_hcb/RadioButton.less +1 -1
  28. package/src/sap/m/themes/sap_horizon_hcb/SearchField.less +0 -2
  29. package/src/sap/m/themes/sap_horizon_hcb/Select.less +20 -0
  30. package/src/sap/m/themes/sap_horizon_hcb/Slider.less +2 -1
  31. package/src/sap/m/themes/sap_horizon_hcb/TextArea.less +5 -1
  32. package/src/sap/m/themes/sap_horizon_hcb/Wizard.less +1 -1
  33. package/src/sap/m/themes/sap_horizon_hcw/CheckBox.less +4 -0
  34. package/src/sap/m/themes/sap_horizon_hcw/RadioButton.less +1 -1
  35. package/src/sap/m/themes/sap_horizon_hcw/SearchField.less +0 -2
  36. package/src/sap/m/themes/sap_horizon_hcw/Select.less +21 -0
  37. package/src/sap/m/themes/sap_horizon_hcw/Slider.less +2 -1
  38. package/src/sap/m/themes/sap_horizon_hcw/TextArea.less +5 -1
  39. package/src/sap/m/themes/sap_horizon_hcw/Wizard.less +1 -1
  40. package/src/sap/tnt/themes/sap_horizon/SideNavigation.less +1 -1
  41. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +21 -3
  42. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +4 -4
  43. package/src/sap/tnt/themes/sap_horizon_dark/SideNavigation.less +1 -1
  44. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +21 -3
  45. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +4 -4
  46. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +24 -4
  47. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +5 -5
  48. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +20 -0
  49. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +4 -4
  50. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  51. package/src/sap/ui/core/themes/sap_horizon/base.less +5 -5
  52. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.ttf +0 -0
  53. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.woff2 +0 -0
  54. package/src/sap/ui/core/themes/sap_horizon/shared.less +9 -94
  55. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  56. package/src/sap/ui/core/themes/sap_horizon_dark/base.less +5 -5
  57. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.ttf +0 -0
  58. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.woff2 +0 -0
  59. package/src/sap/ui/core/themes/sap_horizon_dark/shared.less +9 -95
  60. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  61. package/src/sap/ui/core/themes/sap_horizon_hcb/base.less +15 -15
  62. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.ttf +0 -0
  63. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.woff2 +0 -0
  64. package/src/sap/ui/core/themes/sap_horizon_hcb/shared.less +9 -94
  65. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  66. package/src/sap/ui/core/themes/sap_horizon_hcw/base.less +9 -9
  67. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.ttf +0 -0
  68. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.woff2 +0 -0
  69. package/src/sap/ui/core/themes/sap_horizon_hcw/shared.less +9 -94
  70. package/src/sap/ui/unified/themes/sap_horizon/Calendar.less +430 -60
  71. package/src/sap/ui/unified/themes/sap_horizon_dark/Calendar.less +429 -51
  72. package/src/sap/ui/unified/themes/sap_horizon_hcb/Calendar.less +7 -0
  73. package/src/sap/ui/unified/themes/sap_horizon_hcw/Calendar.less +7 -0
  74. package/src/sap/uxap/themes/sap_horizon/HierarchicalSelect.less +0 -4
  75. package/src/sap/uxap/themes/sap_horizon_dark/HierarchicalSelect.less +0 -4
  76. package/src/sap/uxap/themes/sap_horizon_hcb/HierarchicalSelect.less +0 -6
  77. package/src/sap/uxap/themes/sap_horizon_hcw/HierarchicalSelect.less +0 -6
@@ -33,6 +33,18 @@ html[data-sap-ui-browser^="ff"].sap-desktop .sapUiCalHead > .sapUiCalHeadB:focus
33
33
  outline-offset: 0; /* to hide firefox bug with native outline always displayed */
34
34
  }
35
35
 
36
+ .sapUiCalItem[class*=sapUiCalItemType] {
37
+ &.sapUiCalItemSel{
38
+ &.sapUiCalItemNow {
39
+ .sapUiCalItemText {
40
+ border-radius: 0.3125rem;
41
+ border-bottom-right-radius: 0.3125rem;
42
+ border-bottom-left-radius: 0.3125rem;
43
+ }
44
+ }
45
+ }
46
+ }
47
+
36
48
  html.sap-desktop .sapUiCalHead > .sapUiCalHeadB:focus::before {
37
49
  content: "";
38
50
  position: absolute;
@@ -156,7 +168,7 @@ html.sap-desktop .sapUiCalHead > .sapUiCalHeadB:active {
156
168
  /* hide outline for all devices, but enable later for desktop */
157
169
  .sapUiCalItem:focus {
158
170
  outline: none;
159
- overflow: visible;
171
+ overflow: hidden;
160
172
  }
161
173
 
162
174
  html.sap-desktop .sapUiCalItem:not(.sapUiCalItemSel):not(.sapUiCalItemWeekEnd):focus {
@@ -240,6 +252,10 @@ html.sap-desktop .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):focus {
240
252
  background-color: @sapUiListHoverBackground;
241
253
  }
242
254
 
255
+ .sapUiCalItemWeekEnd:hover {
256
+ filter: brightness (105%);
257
+ }
258
+
243
259
  html.sap-desktop .sapUiCalDatesRow .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):hover,
244
260
  html.sap-desktop .sapUiCal:not(.sapUiCalDateInt) .sapUiCalItemWeekEnd:not(.sapUiCalItemSel) :not(.sapUiCalWeekNum):hover {
245
261
  background-color: @sapUiListHoverBackground;
@@ -266,15 +282,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
266
282
  border-bottom-right-radius: 0;
267
283
  }
268
284
 
269
- .sapUiSizeCompact .sapUiCalItem {
285
+ .sapUiSizeCompact .sapUiCalItem:not(.sapUiCalItemNow) {
270
286
  &.sapUiCalItemSelBetween .sapUiCalItemText {
271
- position: relative;
287
+ position: static;
272
288
  }
273
289
  }
274
290
  .sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem {
275
291
  &.sapUiCalItemSelBetween .sapUiCalItemText {
276
292
  position: relative;
277
- line-height: 0.875rem;
293
+ line-height: 1rem;
278
294
  }
279
295
  }
280
296
 
@@ -289,19 +305,56 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
289
305
  left: 0;
290
306
  right: 0;
291
307
  bottom: 0;
292
- border: 0.125rem solid @sapUiContentFocusColor;
293
308
  content: "";
294
309
  border-radius: 0.5rem;
295
310
  }
296
311
  }
297
- &.sapUiCalItemSelBetween .sapUiCalItemText {
298
- position: relative;
312
+ &.sapUiCalItemSelBetween {
313
+ .sapUiCalItemText {
314
+ position: relative;
315
+ }
316
+ &:not(.sapUiCalItemNow) {
317
+ .sapUiCalItemText:after {
318
+ position: absolute;
319
+ top: 0;
320
+ left: 0;
321
+ right: 0;
322
+ bottom: 0;
323
+ border: 0.0625rem solid @sapUiListSelectionBorderColor;
324
+ content: "";
325
+ border-radius: 0.5rem;
326
+ }
327
+ }
299
328
  }
329
+
300
330
  &.sapUiCalItemNow {
301
331
  border-radius: 0.5rem;
302
332
  &:hover {
303
333
  background: @sapUiListHoverBackground;
304
334
  }
335
+ &.sapUiCalItemSel:not(.sapUiCalItemSelBetween),
336
+ &.sapUiCalItemSelStart:not(.sapUiCalItemSelBetween),
337
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemSelBetween) {
338
+
339
+ .sapUiCalItemText:after {
340
+ position: absolute;
341
+ top: 0.3125rem;
342
+ left: 0.3125rem;
343
+ right: 0.3125rem;
344
+ bottom: 0.3125rem;
345
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
346
+ content: "";
347
+ border-radius: 0.1875rem;
348
+ }
349
+ }
350
+ &.sapUiCalItemSel:not(:focus) {
351
+ .sapUiCalSpecialDate {
352
+ width: 76%;
353
+ left: 0.25rem;
354
+ right: 0.25rem;
355
+ bottom: 0.2rem;
356
+ }
357
+ }
305
358
  &.sapUiCalItemSelBetween {
306
359
  line-height: normal;
307
360
  & > .sapUiCalItemText {
@@ -311,7 +364,20 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
311
364
  width: 2.0625rem;
312
365
  height: 2.375rem;
313
366
  line-height: 2.375rem;
314
- top: 0.0625rem;
367
+ }
368
+ & > .sapUiCalSpecialDate {
369
+ width: 76%;
370
+ left: 0.2rem;
371
+ bottom: 0.2rem;
372
+ }
373
+ }
374
+ &:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) {
375
+ &:focus {
376
+ & > .sapUiCalSpecialDate {
377
+ width: 63%;
378
+ left: 0.3125rem;
379
+ bottom: 0.3125rem;
380
+ }
315
381
  }
316
382
  }
317
383
  .sapUiCalSpecialDate {
@@ -319,26 +385,44 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
319
385
  bottom: 0.125rem;
320
386
  left: 0.125rem;
321
387
  }
322
- &:focus .sapUiCalSpecialDate,
388
+ &:focus:not(.sapUiCalItemNow) .sapUiCalSpecialDate,
323
389
  &.sapUiCalItemSel .sapUiCalSpecialDate {
324
- width: 75%;
325
- bottom: 0.25rem;
326
- left: 0.25rem;
390
+ bottom: 0.375rem;
391
+ width: 60%;
392
+ left: 0.3755rem;
393
+ right: 0.25rem;
394
+ }
395
+
396
+ &:focus .sapUiCalSpecialDate {
397
+ bottom: 0.45rem;
398
+ bottom: 0.375rem;
399
+ width: 63%;
400
+ left: 0.375rem;
401
+ right: 0.375rem;
402
+ height: 0.25rem;
403
+ height: 0.3125rem;
327
404
  }
405
+
328
406
  .sapUiCalItemText {
329
407
  border: none;
330
408
  }
331
409
  &.sapUiCalItemSel {
332
410
  box-shadow: inset 0 0 0 0.25rem @sapUiListBackground;
333
- &:focus .sapUiCalSpecialDate {
334
- bottom: 0.35rem
411
+ &:focus:not(.sapUiCalItemSelBetween) .sapUiCalSpecialDate {
412
+ bottom: 0.3rem;
413
+ }
414
+
415
+ &.sapUiCalItemSelBetween {
416
+ &:focus .sapUiCalSpecialDate {
417
+ bottom: 0.3125rem;
418
+ }
335
419
  }
336
420
  &.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
337
421
  top: 0;
338
422
  left: 0;
339
423
  right: 0;
340
424
  bottom: 0;
341
- border-radius: 0.25rem;
425
+ border-radius: 0.3125rem;
342
426
  }
343
427
  }
344
428
  &:focus > .sapUiCalItemText:after {
@@ -350,13 +434,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
350
434
  }
351
435
  &:before {
352
436
  position: absolute;
437
+ content: "";
353
438
  top: 0;
354
439
  left: 0;
355
440
  right: 0;
356
441
  bottom: 0;
357
442
  border: 0.125rem solid @sapUiLegendCurrentDateTime;
358
- content: "";
359
443
  border-radius: 0.5rem;
444
+ z-index: 1;
445
+ pointer-events: none;
360
446
  }
361
447
  }
362
448
  .sapUiCalItemText:after {
@@ -366,31 +452,179 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
366
452
  position: absolute;
367
453
  width: 100%;
368
454
  height: 0.3125rem;
369
- bottom: -0.0625rem;
455
+ bottom: 0.025rem;
370
456
  border-bottom-left-radius: 0.25rem;
371
457
  border-bottom-right-radius: 0.25rem;
372
458
  pointer-events: none;
373
- z-index: 0;
374
459
  }
460
+
461
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
462
+ .sapUiCalSpecialDate {
463
+ width: 91%;
464
+ left: 0.0625rem;
465
+ right: 0.0625rem;
466
+ bottom: 0.025rem;
467
+ }
468
+ }
469
+
375
470
  &:focus .sapUiCalSpecialDate,
376
471
  &.sapUiCalItemSel .sapUiCalSpecialDate {
377
- bottom: 0.0625rem;
378
- left: 0.0625rem;
379
- width: 95%;
472
+ bottom: 0.025rem;
473
+ left: 0.09375rem;
474
+ width: 90%;
380
475
  }
381
- &.sapUiCalItemSel:focus .sapUiCalSpecialDate{
382
- bottom: 0.125rem;
476
+ &:focus:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) .sapUiCalSpecialDate {
477
+ width: 93%;
478
+ left: 0.0625rem;
479
+ bottom: 0.0625rem;
383
480
  }
481
+
384
482
  .sapUiCalItemText {
385
483
  border-radius: 0.5rem;
386
484
  }
387
485
  }
388
486
 
487
+ .sapUiSizeCozy {
488
+ .sapUiCalSecType {
489
+ .sapUiCalItem {
490
+ &.sapUiCalItemNow {
491
+ &:not(.sapUiCalItemSelBetween),
492
+ &.sapUiCalItemSelBetween {
493
+ &> .sapUiCalItemText {
494
+ line-height: 2rem;
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+ .sapUiCalItem {
501
+ &:focus .sapUiCalSpecialDate,
502
+ &.sapUiCalItemSel .sapUiCalSpecialDate {
503
+ width: 91%;
504
+ }
505
+
506
+ &.sapUiCalItemSelBetween {
507
+ &.sapUiCalItemNow {
508
+ .sapUiCalSpecialDate {
509
+ bottom: 0.3rem;
510
+ }
511
+ }
512
+ &:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
513
+ .sapUiCalSpecialDate {
514
+ width: 93%;
515
+ left: 0.0625rem;
516
+ right: 0.0625rem;
517
+ bottom: 0.025rem;
518
+ }
519
+ }
520
+ }
521
+ &.sapUiCalItemNow {
522
+ &.sapUiCalItemSel {
523
+ &:not(:focus) {
524
+ .sapUiCalSpecialDate {
525
+ width: 82%;
526
+ }
527
+ }
528
+ }
529
+ &.sapUiCalItemSelBetween {
530
+ & > .sapUiCalItemText {
531
+ border: none;
532
+ margin: auto;
533
+ height: 100%;
534
+ line-height: 2.875rem;
535
+ }
536
+ & > .sapUiCalItemText:after {
537
+ content: "";
538
+ position: absolute;
539
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
540
+ border-radius: 0.3125rem;
541
+ margin: 0.125rem;
542
+ line-height: 2.375rem;
543
+ left: 0.0625rem;
544
+ top: 0.0625rem;
545
+ bottom: 0.0625rem;
546
+ right: 0.0625rem;
547
+
548
+
549
+ }
550
+ &:focus > .sapUiCalItemText:after {
551
+ top: 0.05rem;
552
+ left: 0.05rem;
553
+ right: 0.05rem;
554
+ bottom: 0.05rem;
555
+ }
556
+ &.sapUiCalItemSel {
557
+ & > .sapUiCalItemText:after {
558
+ top: 0.0625rem;
559
+ left: 0.0625rem;
560
+ right: 0.0625rem;
561
+ bottom: 0.0625rem;
562
+ }
563
+ &:focus .sapUiCalSpecialDate {
564
+ bottom: 0.375rem;
565
+ }
566
+ }
567
+ & > .sapUiCalSpecialDate {
568
+ left: 0.25rem;
569
+ right: 0.25rem;
570
+ bottom: 0.25rem;
571
+ width: 76%;
572
+ }
573
+ }
574
+ &.sapUiCalItemSel.sapUiCalItemSelBetween:not(:focus) {
575
+ .sapUiCalSpecialDate {
576
+ bottom: 0.3125rem;
577
+ width: 63%;
578
+ left: 0.375rem;
579
+ right: 0.375rem;
580
+ height: 0.3125rem;
581
+
582
+ width: 78%;
583
+ bottom: 0.25rem;
584
+ left: 0.25rem;
585
+ right: 0.25rem;
586
+ }
587
+ }
588
+ &:focus {
589
+ &:not(.sapUiCalItemSelBetween) {
590
+ & > .sapUiCalSpecialDate {
591
+ bottom: 0.375rem;
592
+ width: 69%;
593
+ left: 0.3125rem;
594
+ }
595
+ }
596
+ & > .sapUiCalSpecialDate {
597
+ bottom: 0.375rem;
598
+ width: 66%;
599
+ left: 0.375rem;
600
+ }
601
+ }
602
+ }
603
+ &.sapUiCalItemSel {
604
+ &:focus {
605
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemNow) {
606
+ & > .sapUiCalItemText:after {
607
+ border-radius: 0.5rem;
608
+ top: 0;
609
+ bottom: 0;
610
+ left: 0;
611
+ right: 0;
612
+ }
613
+ }
614
+ }
615
+ }
616
+ }
617
+ }
618
+
389
619
  .sapUiCalItemOtherMonth {
390
620
  background-color: @sapUiListBackground;
391
621
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
392
622
  }
393
623
 
624
+ .sapUiCalItemOtherMonth.sapUiCalItemDsbl {
625
+ opacity: @sapUiContentDisabledOpacity;
626
+ }
627
+
394
628
  .sapUiCalItemSel {
395
629
  color: @sapUiContentContrastTextColor;
396
630
  &:focus > .sapUiCalItemText {
@@ -415,6 +649,7 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
415
649
 
416
650
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween):hover{
417
651
  background-color: @sapUiContentSelectedHoverBackground;
652
+ filter: brightness(105%);
418
653
  }
419
654
 
420
655
  .sapUiCalMonthPicker,
@@ -425,6 +660,9 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
425
660
  .sapUiCalItem.sapUiCalItemSel {
426
661
  font-family: @sapFontBoldFamily;
427
662
  }
663
+ .sapUiCalItem.sapUiCalItemDsbl {
664
+ opacity: @sapUiContentDisabledOpacity;
665
+ }
428
666
  .sapUiCalItem:focus {
429
667
  line-height: 2.75rem;
430
668
  }
@@ -441,7 +679,6 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
441
679
 
442
680
  .sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
443
681
  color: @sapUiContentSelectedTextColor;
444
- border-radius: 0.25rem;
445
682
  font-weight: bold;
446
683
  position: absolute;
447
684
  left: 0;
@@ -455,15 +692,125 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
455
692
  color: @sapContent_Selected_TextColor;
456
693
  }
457
694
 
458
- .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
459
- position: absolute;
460
- top: 0;
461
- left: 0;
462
- right: 0;
463
- bottom: 0;
464
- border: 0.125rem solid @sapUiContentFocusColor;
465
- content: "";
466
- border-radius: 0.5rem;
695
+ .sapUiCalItem:focus:not(.sapUiCalItemSelBetween){
696
+ &:not(.sapUiCalItemSel) {
697
+ .sapUiCalSpecialDate {
698
+ width: 100%;
699
+ left: 0;
700
+ bottom: 0.025rem;;
701
+ }
702
+ }
703
+ & :not(.sapUiCalItemNow) .sapUiCalItemText:after {
704
+ content: "";
705
+ position: absolute;
706
+ top: 0.3125rem;
707
+ left: 0.3125rem;
708
+ right: 0.3125rem;
709
+ bottom: 0.3125rem;
710
+ border: 0.125rem solid @sapList_SelectionBorderColor;
711
+ border-radius: 0.1875rem;
712
+ }
713
+ }
714
+ .sapUiCalItem:focus {
715
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
716
+ position: absolute;
717
+ content: "";
718
+ top: 0.3125rem;
719
+ left: 0.3125rem;
720
+ right: 0.3125rem;
721
+ bottom: 0.3125rem;
722
+ border: 0.125rem solid @sapList_SelectionBorderColor;
723
+ border-radius: 0.1875rem;
724
+ }
725
+ &.sapUiCalItemNow,
726
+ &.sapUiCalItemSel,
727
+ &.sapUiCalItemSelStart,
728
+ &.sapUiCalItemSelEnd {
729
+ .sapUiCalItemText:before {
730
+ content: "";
731
+ position: absolute;
732
+ top: 0.3125rem;
733
+ left: 0.3125rem;
734
+ right: 0.3125rem;
735
+ bottom: 0.3125rem;
736
+ border: 0.125rem solid @sapList_SelectionBorderColor;
737
+ border-radius: 0.1875rem;
738
+ }
739
+
740
+ }
741
+ &.sapUiCalItemNow {
742
+ &.sapUiCalItemSelStart,
743
+ &.sapUiCalItemSelEnd {
744
+ .sapUiCalItemText:after {
745
+ position: absolute;
746
+ content: "";
747
+ top: 0.3125rem;
748
+ left: 0.3125rem;
749
+ right: 0.3125rem;
750
+ bottom: 0.3125rem;
751
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
752
+ border-radius: 0.1875rem;
753
+ }
754
+ }
755
+ }
756
+ }
757
+ .sapUiCalMonthSecType {
758
+ .sapUiCalItem {
759
+ &:focus {
760
+ &.sapUiCalItemSel:not(.sapUiCalItemNow),
761
+ &.sapUiCalItemSelStart:not(.sapUiCalItemNow),
762
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemNow) {
763
+ .sapUiCalItemText:before {
764
+ border: none;
765
+ }
766
+ }
767
+ &.sapUiCalItemSel {
768
+ .sapUiCalItemText:after {
769
+ border: 0.125rem solid @sapUiContentFocusColor;
770
+ border-width: 0.1875rem;
771
+ }
772
+ .sapUiCalItemText:before {
773
+ border: none;
774
+ }
775
+ }
776
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) {
777
+ .sapUiCalItemText:after {
778
+ top: 0;
779
+ bottom: 0;
780
+ left: 0;
781
+ right: 0;
782
+ border-radius: 0.5rem;
783
+ }
784
+ }
785
+ &.sapUiCalItemNow:not(.sapUiCalItemSelBetween),
786
+ &.sapUiCalItemNow{
787
+ .sapUiCalSpecialDate {
788
+ width: 75%;
789
+ left: 0.25rem;
790
+ right: 0.25rem;
791
+ bottom: 0.25rem;
792
+ }
793
+ }
794
+ }
795
+ &.sapUiCalItemNow {
796
+ &:not(.sapUiCalItemSelBetween),
797
+ &.sapUiCalItemSelBetween,
798
+ &.sapUiCalItemNow {
799
+ &> .sapUiCalItemText {
800
+ line-height: 2.125rem;
801
+ }
802
+ }
803
+ }
804
+ }
805
+
806
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
807
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
808
+ .sapUiCalItemSelBetween:focus:not(.sapUiCalItemNow),
809
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
810
+ .sapUiCalItemText:after {
811
+ border-width: 0.125rem;
812
+ }
813
+ }
467
814
  }
468
815
 
469
816
  .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
@@ -474,17 +821,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
474
821
  border-radius: 0.3125rem;
475
822
  }
476
823
 
477
- .sapUiCalItem.sapUiCalItemSel:focus > .sapUiCalItemText:after {
478
- border: 0.1875rem solid @sapUiContentFocusColor;
479
- top: 0;
480
- left: 0;
481
- right: 0;
482
- bottom: 0;
483
- }
824
+ .sapUiSizeCompact {
825
+ .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween:focus .sapUiCalItemText:before {
826
+ top: 0.0625rem;
827
+ left: 0.0625rem;
828
+ right: 0.0625rem;
829
+ bottom: 0.0625rem;
830
+ }
831
+ .sapUiCalItem {
832
+ &.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween {
833
+ &:focus > .sapUiCalItemText {
834
+ &:before {
835
+ border-radius: 0.25rem;
836
+ border-width: 0.125rem;
837
+ }
838
+ }
839
+ }
840
+ }
484
841
 
485
- .sapUiCalItem.sapUiCalItemSel.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
486
- border-width: 0.125rem;
487
- border-radius: 0.4375rem;
488
842
  }
489
843
 
490
844
  .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalDayName {
@@ -495,14 +849,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
495
849
  background-color: @sapUiSelected;
496
850
  }
497
851
 
498
- .sapUiCalItemSelBetween,
499
- .sapUiCalItemSelBetween.sapUiCalItemOtherMonth {
852
+ //Add a rule for the edgeCase selected?
853
+ .sapUiCalItemSel:not(.sapUiCalItemNow),
854
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
855
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
856
+ .sapUiCalItemSelBetween:not(.sapUiCalItemNow),
857
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
500
858
  background-color: @sapUiListSelectionBackgroundColor;
501
859
  color: @sapTextColor;
502
860
 
503
- .sapUiCalItemText {
504
- line-height: 2.75rem;
861
+ .sapUiCalItemText:after {
862
+ position: absolute;
863
+ top: 0;
864
+ left: 0;
865
+ right: 0;
866
+ bottom: 0;
505
867
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
868
+ content: "";
869
+ border-radius: 0.5rem;
506
870
  }
507
871
  }
508
872
 
@@ -544,14 +908,6 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
544
908
  }
545
909
 
546
910
  /* 2 calendar types */
547
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemSelBetween > .sapUiCalItemText {
548
- line-height: 2rem;
549
- }
550
-
551
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText{
552
- line-height: 1.375rem;
553
- }
554
-
555
911
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText{
556
912
  line-height: 1.875rem;
557
913
  }
@@ -592,7 +948,7 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
592
948
  }
593
949
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween .sapUiCalItemText,
594
950
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween:not(.sapUiCalItemNow) > .sapUiCalItemText {
595
- line-height: 0.875rem;
951
+ line-height: 1rem;
596
952
  }
597
953
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel > .sapUiCalItemText {
598
954
  line-height: 1.25rem;
@@ -607,14 +963,28 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
607
963
  line-height: 2rem;
608
964
  }
609
965
  }
610
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
611
- line-height: 0.75rem;
612
- }
613
966
  .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
614
- width: 1.8125rem;
967
+ width: 1.5rem;
615
968
  height: 1.5rem;
969
+ top: 0.0625rem;
616
970
  line-height: 1.4375rem;
617
971
  }
972
+
973
+ .sapUiCalMonthSecType {
974
+ .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween {
975
+ & > .sapUiCalItemText {
976
+ line-height: 0.75rem;
977
+ }
978
+ &:focus {
979
+ & > .sapUiCalItemText {
980
+ &:before {
981
+ border: none;
982
+ }
983
+ border: none;
984
+ }
985
+ }
986
+ }
987
+ }
618
988
  }
619
989
 
620
990
  @media only screen