@openui5/themelib_sap_horizon 1.115.1 → 1.117.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 (117) 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/Avatar.less +12 -2
  5. package/src/sap/m/themes/sap_horizon/IconTabBar.less +219 -58
  6. package/src/sap/m/themes/sap_horizon/InputBase.less +3 -5
  7. package/src/sap/m/themes/sap_horizon/Link.less +27 -13
  8. package/src/sap/m/themes/sap_horizon/ListBase.less +12 -0
  9. package/src/sap/m/themes/sap_horizon/ObjectMarker.less +11 -3
  10. package/src/sap/m/themes/sap_horizon/Panel.less +13 -3
  11. package/src/sap/m/themes/sap_horizon/RadioButton.less +4 -5
  12. package/src/sap/m/themes/sap_horizon/RangeSlider.less +2 -7
  13. package/src/sap/m/themes/sap_horizon/SearchField.less +1 -2
  14. package/src/sap/m/themes/sap_horizon/Select.less +8 -14
  15. package/src/sap/m/themes/sap_horizon/Slider.less +2 -1
  16. package/src/sap/m/themes/sap_horizon/TextArea.less +4 -0
  17. package/src/sap/m/themes/sap_horizon/TileContainer.less +20 -1
  18. package/src/sap/m/themes/sap_horizon/Token.less +44 -37
  19. package/src/sap/m/themes/sap_horizon/Tokenizer.less +7 -0
  20. package/src/sap/m/themes/sap_horizon/Wizard.less +1 -1
  21. package/src/sap/m/themes/sap_horizon_dark/Avatar.less +12 -2
  22. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +200 -36
  23. package/src/sap/m/themes/sap_horizon_dark/InputBase.less +3 -5
  24. package/src/sap/m/themes/sap_horizon_dark/Link.less +27 -13
  25. package/src/sap/m/themes/sap_horizon_dark/ListBase.less +12 -0
  26. package/src/sap/m/themes/sap_horizon_dark/ObjectMarker.less +10 -2
  27. package/src/sap/m/themes/sap_horizon_dark/Panel.less +12 -3
  28. package/src/sap/m/themes/sap_horizon_dark/Popover.less +13 -0
  29. package/src/sap/m/themes/sap_horizon_dark/RadioButton.less +4 -6
  30. package/src/sap/m/themes/sap_horizon_dark/RangeSlider.less +2 -7
  31. package/src/sap/m/themes/sap_horizon_dark/SearchField.less +0 -2
  32. package/src/sap/m/themes/sap_horizon_dark/Select.less +7 -14
  33. package/src/sap/m/themes/sap_horizon_dark/Slider.less +7 -1
  34. package/src/sap/m/themes/sap_horizon_dark/TextArea.less +4 -0
  35. package/src/sap/m/themes/sap_horizon_dark/TileContainer.less +18 -0
  36. package/src/sap/m/themes/sap_horizon_dark/Token.less +44 -37
  37. package/src/sap/m/themes/sap_horizon_dark/Tokenizer.less +7 -0
  38. package/src/sap/m/themes/sap_horizon_dark/Wizard.less +1 -1
  39. package/src/sap/m/themes/sap_horizon_hcb/Avatar.less +6 -2
  40. package/src/sap/m/themes/sap_horizon_hcb/CheckBox.less +4 -0
  41. package/src/sap/m/themes/sap_horizon_hcb/GroupHeaderListItem.less +8 -0
  42. package/src/sap/m/themes/sap_horizon_hcb/IconTabBar.less +8 -0
  43. package/src/sap/m/themes/sap_horizon_hcb/Link.less +23 -9
  44. package/src/sap/m/themes/sap_horizon_hcb/ListItemBase.less +0 -4
  45. package/src/sap/m/themes/sap_horizon_hcb/Panel.less +12 -3
  46. package/src/sap/m/themes/sap_horizon_hcb/Popover.less +6 -0
  47. package/src/sap/m/themes/sap_horizon_hcb/RadioButton.less +1 -1
  48. package/src/sap/m/themes/sap_horizon_hcb/SearchField.less +0 -2
  49. package/src/sap/m/themes/sap_horizon_hcb/Select.less +20 -0
  50. package/src/sap/m/themes/sap_horizon_hcb/Slider.less +2 -1
  51. package/src/sap/m/themes/sap_horizon_hcb/TextArea.less +5 -1
  52. package/src/sap/m/themes/sap_horizon_hcb/Token.less +20 -13
  53. package/src/sap/m/themes/sap_horizon_hcb/Tokenizer.less +7 -0
  54. package/src/sap/m/themes/sap_horizon_hcb/Wizard.less +1 -1
  55. package/src/sap/m/themes/sap_horizon_hcw/Avatar.less +6 -2
  56. package/src/sap/m/themes/sap_horizon_hcw/CheckBox.less +4 -0
  57. package/src/sap/m/themes/sap_horizon_hcw/GroupHeaderListItem.less +8 -0
  58. package/src/sap/m/themes/sap_horizon_hcw/IconTabBar.less +8 -0
  59. package/src/sap/m/themes/sap_horizon_hcw/Link.less +23 -9
  60. package/src/sap/m/themes/sap_horizon_hcw/ListItemBase.less +0 -4
  61. package/src/sap/m/themes/sap_horizon_hcw/Panel.less +12 -4
  62. package/src/sap/m/themes/sap_horizon_hcw/Popover.less +6 -0
  63. package/src/sap/m/themes/sap_horizon_hcw/RadioButton.less +1 -1
  64. package/src/sap/m/themes/sap_horizon_hcw/SearchField.less +0 -2
  65. package/src/sap/m/themes/sap_horizon_hcw/Select.less +21 -0
  66. package/src/sap/m/themes/sap_horizon_hcw/Slider.less +2 -1
  67. package/src/sap/m/themes/sap_horizon_hcw/TextArea.less +5 -1
  68. package/src/sap/m/themes/sap_horizon_hcw/Token.less +21 -13
  69. package/src/sap/m/themes/sap_horizon_hcw/Tokenizer.less +7 -0
  70. package/src/sap/m/themes/sap_horizon_hcw/Wizard.less +1 -1
  71. package/src/sap/tnt/themes/sap_horizon/NavigationList.less +9 -1
  72. package/src/sap/tnt/themes/sap_horizon/SideNavigation.less +3 -2
  73. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +74 -26
  74. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +4 -4
  75. package/src/sap/tnt/themes/sap_horizon_dark/NavigationList.less +9 -1
  76. package/src/sap/tnt/themes/sap_horizon_dark/SideNavigation.less +3 -2
  77. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +74 -26
  78. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +4 -4
  79. package/src/sap/tnt/themes/sap_horizon_hcb/NavigationList.less +11 -1
  80. package/src/sap/tnt/themes/sap_horizon_hcb/SideNavigation.less +2 -1
  81. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +74 -33
  82. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +5 -5
  83. package/src/sap/tnt/themes/sap_horizon_hcw/NavigationList.less +12 -2
  84. package/src/sap/tnt/themes/sap_horizon_hcw/SideNavigation.less +2 -1
  85. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +71 -30
  86. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +4 -4
  87. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  88. package/src/sap/ui/core/themes/sap_horizon/base.less +5 -5
  89. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.ttf +0 -0
  90. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.woff2 +0 -0
  91. package/src/sap/ui/core/themes/sap_horizon/shared.less +9 -94
  92. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  93. package/src/sap/ui/core/themes/sap_horizon_dark/base.less +5 -5
  94. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.ttf +0 -0
  95. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.woff2 +0 -0
  96. package/src/sap/ui/core/themes/sap_horizon_dark/shared.less +9 -95
  97. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  98. package/src/sap/ui/core/themes/sap_horizon_hcb/base.less +15 -15
  99. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.ttf +0 -0
  100. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.woff2 +0 -0
  101. package/src/sap/ui/core/themes/sap_horizon_hcb/shared.less +9 -94
  102. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  103. package/src/sap/ui/core/themes/sap_horizon_hcw/base.less +9 -9
  104. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.ttf +0 -0
  105. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.woff2 +0 -0
  106. package/src/sap/ui/core/themes/sap_horizon_hcw/shared.less +9 -94
  107. package/src/sap/ui/unified/themes/sap_horizon/Calendar.less +434 -60
  108. package/src/sap/ui/unified/themes/sap_horizon_dark/Calendar.less +432 -51
  109. package/src/sap/ui/unified/themes/sap_horizon_hcb/Calendar.less +7 -0
  110. package/src/sap/ui/unified/themes/sap_horizon_hcb/CalendarRow.less +1 -1
  111. package/src/sap/ui/unified/themes/sap_horizon_hcw/Calendar.less +7 -0
  112. package/src/sap/ui/unified/themes/sap_horizon_hcw/CalendarRow.less +1 -1
  113. package/src/sap/uxap/themes/sap_horizon/HierarchicalSelect.less +0 -4
  114. package/src/sap/uxap/themes/sap_horizon_dark/HierarchicalSelect.less +0 -4
  115. package/src/sap/uxap/themes/sap_horizon_hcb/HierarchicalSelect.less +0 -6
  116. package/src/sap/uxap/themes/sap_horizon_hcw/HierarchicalSelect.less +0 -6
  117. package/ui5.yaml +1 -1
@@ -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,18 +282,22 @@ 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
 
297
+ .sapUiSizeCompact .sapUiCalHead {
298
+ height: 2.25rem;
299
+ }
300
+
281
301
  .sapUiCalItem {
282
302
  position: relative;
283
303
  &:focus > .sapUiCalItemText {
@@ -289,19 +309,56 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
289
309
  left: 0;
290
310
  right: 0;
291
311
  bottom: 0;
292
- border: 0.125rem solid @sapUiContentFocusColor;
293
312
  content: "";
294
313
  border-radius: 0.5rem;
295
314
  }
296
315
  }
297
- &.sapUiCalItemSelBetween .sapUiCalItemText {
298
- position: relative;
316
+ &.sapUiCalItemSelBetween {
317
+ .sapUiCalItemText {
318
+ position: relative;
319
+ }
320
+ &:not(.sapUiCalItemNow) {
321
+ .sapUiCalItemText:after {
322
+ position: absolute;
323
+ top: 0;
324
+ left: 0;
325
+ right: 0;
326
+ bottom: 0;
327
+ border: 0.0625rem solid @sapUiListSelectionBorderColor;
328
+ content: "";
329
+ border-radius: 0.5rem;
330
+ }
331
+ }
299
332
  }
333
+
300
334
  &.sapUiCalItemNow {
301
335
  border-radius: 0.5rem;
302
336
  &:hover {
303
337
  background: @sapUiListHoverBackground;
304
338
  }
339
+ &.sapUiCalItemSel:not(.sapUiCalItemSelBetween),
340
+ &.sapUiCalItemSelStart:not(.sapUiCalItemSelBetween),
341
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemSelBetween) {
342
+
343
+ .sapUiCalItemText:after {
344
+ position: absolute;
345
+ top: 0.3125rem;
346
+ left: 0.3125rem;
347
+ right: 0.3125rem;
348
+ bottom: 0.3125rem;
349
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
350
+ content: "";
351
+ border-radius: 0.1875rem;
352
+ }
353
+ }
354
+ &.sapUiCalItemSel:not(:focus) {
355
+ .sapUiCalSpecialDate {
356
+ width: 76%;
357
+ left: 0.25rem;
358
+ right: 0.25rem;
359
+ bottom: 0.2rem;
360
+ }
361
+ }
305
362
  &.sapUiCalItemSelBetween {
306
363
  line-height: normal;
307
364
  & > .sapUiCalItemText {
@@ -311,7 +368,20 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
311
368
  width: 2.0625rem;
312
369
  height: 2.375rem;
313
370
  line-height: 2.375rem;
314
- top: 0.0625rem;
371
+ }
372
+ & > .sapUiCalSpecialDate {
373
+ width: 76%;
374
+ left: 0.2rem;
375
+ bottom: 0.2rem;
376
+ }
377
+ }
378
+ &:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) {
379
+ &:focus {
380
+ & > .sapUiCalSpecialDate {
381
+ width: 63%;
382
+ left: 0.3125rem;
383
+ bottom: 0.3125rem;
384
+ }
315
385
  }
316
386
  }
317
387
  .sapUiCalSpecialDate {
@@ -319,26 +389,44 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
319
389
  bottom: 0.125rem;
320
390
  left: 0.125rem;
321
391
  }
322
- &:focus .sapUiCalSpecialDate,
392
+ &:focus:not(.sapUiCalItemNow) .sapUiCalSpecialDate,
323
393
  &.sapUiCalItemSel .sapUiCalSpecialDate {
324
- width: 75%;
325
- bottom: 0.25rem;
326
- left: 0.25rem;
394
+ bottom: 0.375rem;
395
+ width: 60%;
396
+ left: 0.3755rem;
397
+ right: 0.25rem;
327
398
  }
399
+
400
+ &:focus .sapUiCalSpecialDate {
401
+ bottom: 0.45rem;
402
+ bottom: 0.375rem;
403
+ width: 63%;
404
+ left: 0.375rem;
405
+ right: 0.375rem;
406
+ height: 0.25rem;
407
+ height: 0.3125rem;
408
+ }
409
+
328
410
  .sapUiCalItemText {
329
411
  border: none;
330
412
  }
331
413
  &.sapUiCalItemSel {
332
414
  box-shadow: inset 0 0 0 0.25rem @sapUiListBackground;
333
- &:focus .sapUiCalSpecialDate {
334
- bottom: 0.35rem
415
+ &:focus:not(.sapUiCalItemSelBetween) .sapUiCalSpecialDate {
416
+ bottom: 0.3rem;
417
+ }
418
+
419
+ &.sapUiCalItemSelBetween {
420
+ &:focus .sapUiCalSpecialDate {
421
+ bottom: 0.3125rem;
422
+ }
335
423
  }
336
424
  &.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
337
425
  top: 0;
338
426
  left: 0;
339
427
  right: 0;
340
428
  bottom: 0;
341
- border-radius: 0.25rem;
429
+ border-radius: 0.3125rem;
342
430
  }
343
431
  }
344
432
  &:focus > .sapUiCalItemText:after {
@@ -350,13 +438,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
350
438
  }
351
439
  &:before {
352
440
  position: absolute;
441
+ content: "";
353
442
  top: 0;
354
443
  left: 0;
355
444
  right: 0;
356
445
  bottom: 0;
357
446
  border: 0.125rem solid @sapUiLegendCurrentDateTime;
358
- content: "";
359
447
  border-radius: 0.5rem;
448
+ z-index: 1;
449
+ pointer-events: none;
360
450
  }
361
451
  }
362
452
  .sapUiCalItemText:after {
@@ -366,31 +456,179 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
366
456
  position: absolute;
367
457
  width: 100%;
368
458
  height: 0.3125rem;
369
- bottom: -0.0625rem;
459
+ bottom: 0.025rem;
370
460
  border-bottom-left-radius: 0.25rem;
371
461
  border-bottom-right-radius: 0.25rem;
372
462
  pointer-events: none;
373
- z-index: 0;
374
463
  }
464
+
465
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
466
+ .sapUiCalSpecialDate {
467
+ width: 91%;
468
+ left: 0.0625rem;
469
+ right: 0.0625rem;
470
+ bottom: 0.025rem;
471
+ }
472
+ }
473
+
375
474
  &:focus .sapUiCalSpecialDate,
376
475
  &.sapUiCalItemSel .sapUiCalSpecialDate {
377
- bottom: 0.0625rem;
378
- left: 0.0625rem;
379
- width: 95%;
476
+ bottom: 0.025rem;
477
+ left: 0.09375rem;
478
+ width: 90%;
380
479
  }
381
- &.sapUiCalItemSel:focus .sapUiCalSpecialDate{
382
- bottom: 0.125rem;
480
+ &:focus:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) .sapUiCalSpecialDate {
481
+ width: 93%;
482
+ left: 0.0625rem;
483
+ bottom: 0.0625rem;
383
484
  }
485
+
384
486
  .sapUiCalItemText {
385
487
  border-radius: 0.5rem;
386
488
  }
387
489
  }
388
490
 
491
+ .sapUiSizeCozy {
492
+ .sapUiCalSecType {
493
+ .sapUiCalItem {
494
+ &.sapUiCalItemNow {
495
+ &:not(.sapUiCalItemSelBetween),
496
+ &.sapUiCalItemSelBetween {
497
+ &> .sapUiCalItemText {
498
+ line-height: 2rem;
499
+ }
500
+ }
501
+ }
502
+ }
503
+ }
504
+ .sapUiCalItem {
505
+ &:focus .sapUiCalSpecialDate,
506
+ &.sapUiCalItemSel .sapUiCalSpecialDate {
507
+ width: 91%;
508
+ }
509
+
510
+ &.sapUiCalItemSelBetween {
511
+ &.sapUiCalItemNow {
512
+ .sapUiCalSpecialDate {
513
+ bottom: 0.3rem;
514
+ }
515
+ }
516
+ &:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
517
+ .sapUiCalSpecialDate {
518
+ width: 93%;
519
+ left: 0.0625rem;
520
+ right: 0.0625rem;
521
+ bottom: 0.025rem;
522
+ }
523
+ }
524
+ }
525
+ &.sapUiCalItemNow {
526
+ &.sapUiCalItemSel {
527
+ &:not(:focus) {
528
+ .sapUiCalSpecialDate {
529
+ width: 82%;
530
+ }
531
+ }
532
+ }
533
+ &.sapUiCalItemSelBetween {
534
+ & > .sapUiCalItemText {
535
+ border: none;
536
+ margin: auto;
537
+ height: 100%;
538
+ line-height: 2.875rem;
539
+ }
540
+ & > .sapUiCalItemText:after {
541
+ content: "";
542
+ position: absolute;
543
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
544
+ border-radius: 0.3125rem;
545
+ margin: 0.125rem;
546
+ line-height: 2.375rem;
547
+ left: 0.0625rem;
548
+ top: 0.0625rem;
549
+ bottom: 0.0625rem;
550
+ right: 0.0625rem;
551
+
552
+
553
+ }
554
+ &:focus > .sapUiCalItemText:after {
555
+ top: 0.05rem;
556
+ left: 0.05rem;
557
+ right: 0.05rem;
558
+ bottom: 0.05rem;
559
+ }
560
+ &.sapUiCalItemSel {
561
+ & > .sapUiCalItemText:after {
562
+ top: 0.0625rem;
563
+ left: 0.0625rem;
564
+ right: 0.0625rem;
565
+ bottom: 0.0625rem;
566
+ }
567
+ &:focus .sapUiCalSpecialDate {
568
+ bottom: 0.375rem;
569
+ }
570
+ }
571
+ & > .sapUiCalSpecialDate {
572
+ left: 0.25rem;
573
+ right: 0.25rem;
574
+ bottom: 0.25rem;
575
+ width: 76%;
576
+ }
577
+ }
578
+ &.sapUiCalItemSel.sapUiCalItemSelBetween:not(:focus) {
579
+ .sapUiCalSpecialDate {
580
+ bottom: 0.3125rem;
581
+ width: 63%;
582
+ left: 0.375rem;
583
+ right: 0.375rem;
584
+ height: 0.3125rem;
585
+
586
+ width: 78%;
587
+ bottom: 0.25rem;
588
+ left: 0.25rem;
589
+ right: 0.25rem;
590
+ }
591
+ }
592
+ &:focus {
593
+ &:not(.sapUiCalItemSelBetween) {
594
+ & > .sapUiCalSpecialDate {
595
+ bottom: 0.375rem;
596
+ width: 69%;
597
+ left: 0.3125rem;
598
+ }
599
+ }
600
+ & > .sapUiCalSpecialDate {
601
+ bottom: 0.375rem;
602
+ width: 66%;
603
+ left: 0.375rem;
604
+ }
605
+ }
606
+ }
607
+ &.sapUiCalItemSel {
608
+ &:focus {
609
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemNow) {
610
+ & > .sapUiCalItemText:after {
611
+ border-radius: 0.5rem;
612
+ top: 0;
613
+ bottom: 0;
614
+ left: 0;
615
+ right: 0;
616
+ }
617
+ }
618
+ }
619
+ }
620
+ }
621
+ }
622
+
389
623
  .sapUiCalItemOtherMonth {
390
624
  background-color: @sapUiListBackground;
391
625
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
392
626
  }
393
627
 
628
+ .sapUiCalItemOtherMonth.sapUiCalItemDsbl {
629
+ opacity: @sapUiContentDisabledOpacity;
630
+ }
631
+
394
632
  .sapUiCalItemSel {
395
633
  color: @sapUiContentContrastTextColor;
396
634
  &:focus > .sapUiCalItemText {
@@ -415,6 +653,7 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
415
653
 
416
654
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween):hover{
417
655
  background-color: @sapUiContentSelectedHoverBackground;
656
+ filter: brightness(105%);
418
657
  }
419
658
 
420
659
  .sapUiCalMonthPicker,
@@ -425,6 +664,9 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
425
664
  .sapUiCalItem.sapUiCalItemSel {
426
665
  font-family: @sapFontBoldFamily;
427
666
  }
667
+ .sapUiCalItem.sapUiCalItemDsbl {
668
+ opacity: @sapUiContentDisabledOpacity;
669
+ }
428
670
  .sapUiCalItem:focus {
429
671
  line-height: 2.75rem;
430
672
  }
@@ -441,7 +683,6 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
441
683
 
442
684
  .sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
443
685
  color: @sapUiContentSelectedTextColor;
444
- border-radius: 0.25rem;
445
686
  font-weight: bold;
446
687
  position: absolute;
447
688
  left: 0;
@@ -455,15 +696,125 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
455
696
  color: @sapContent_Selected_TextColor;
456
697
  }
457
698
 
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;
699
+ .sapUiCalItem:focus:not(.sapUiCalItemSelBetween){
700
+ &:not(.sapUiCalItemSel) {
701
+ .sapUiCalSpecialDate {
702
+ width: 100%;
703
+ left: 0;
704
+ bottom: 0.025rem;;
705
+ }
706
+ }
707
+ & :not(.sapUiCalItemNow) .sapUiCalItemText:after {
708
+ content: "";
709
+ position: absolute;
710
+ top: 0.3125rem;
711
+ left: 0.3125rem;
712
+ right: 0.3125rem;
713
+ bottom: 0.3125rem;
714
+ border: 0.125rem solid @sapList_SelectionBorderColor;
715
+ border-radius: 0.1875rem;
716
+ }
717
+ }
718
+ .sapUiCalItem:focus {
719
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
720
+ position: absolute;
721
+ content: "";
722
+ top: 0.3125rem;
723
+ left: 0.3125rem;
724
+ right: 0.3125rem;
725
+ bottom: 0.3125rem;
726
+ border: 0.125rem solid @sapList_SelectionBorderColor;
727
+ border-radius: 0.1875rem;
728
+ }
729
+ &.sapUiCalItemNow,
730
+ &.sapUiCalItemSel,
731
+ &.sapUiCalItemSelStart,
732
+ &.sapUiCalItemSelEnd {
733
+ .sapUiCalItemText:before {
734
+ content: "";
735
+ position: absolute;
736
+ top: 0.3125rem;
737
+ left: 0.3125rem;
738
+ right: 0.3125rem;
739
+ bottom: 0.3125rem;
740
+ border: 0.125rem solid @sapList_SelectionBorderColor;
741
+ border-radius: 0.1875rem;
742
+ }
743
+
744
+ }
745
+ &.sapUiCalItemNow {
746
+ &.sapUiCalItemSelStart,
747
+ &.sapUiCalItemSelEnd {
748
+ .sapUiCalItemText:after {
749
+ position: absolute;
750
+ content: "";
751
+ top: 0.3125rem;
752
+ left: 0.3125rem;
753
+ right: 0.3125rem;
754
+ bottom: 0.3125rem;
755
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
756
+ border-radius: 0.1875rem;
757
+ }
758
+ }
759
+ }
760
+ }
761
+ .sapUiCalMonthSecType {
762
+ .sapUiCalItem {
763
+ &:focus {
764
+ &.sapUiCalItemSel:not(.sapUiCalItemNow),
765
+ &.sapUiCalItemSelStart:not(.sapUiCalItemNow),
766
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemNow) {
767
+ .sapUiCalItemText:before {
768
+ border: none;
769
+ }
770
+ }
771
+ &.sapUiCalItemSel {
772
+ .sapUiCalItemText:after {
773
+ border: 0.125rem solid @sapUiContentFocusColor;
774
+ border-width: 0.1875rem;
775
+ }
776
+ .sapUiCalItemText:before {
777
+ border: none;
778
+ }
779
+ }
780
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) {
781
+ .sapUiCalItemText:after {
782
+ top: 0;
783
+ bottom: 0;
784
+ left: 0;
785
+ right: 0;
786
+ border-radius: 0.5rem;
787
+ }
788
+ }
789
+ &.sapUiCalItemNow:not(.sapUiCalItemSelBetween),
790
+ &.sapUiCalItemNow{
791
+ .sapUiCalSpecialDate {
792
+ width: 75%;
793
+ left: 0.25rem;
794
+ right: 0.25rem;
795
+ bottom: 0.25rem;
796
+ }
797
+ }
798
+ }
799
+ &.sapUiCalItemNow {
800
+ &:not(.sapUiCalItemSelBetween),
801
+ &.sapUiCalItemSelBetween,
802
+ &.sapUiCalItemNow {
803
+ &> .sapUiCalItemText {
804
+ line-height: 2.125rem;
805
+ }
806
+ }
807
+ }
808
+ }
809
+
810
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
811
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
812
+ .sapUiCalItemSelBetween:focus:not(.sapUiCalItemNow),
813
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
814
+ .sapUiCalItemText:after {
815
+ border-width: 0.125rem;
816
+ }
817
+ }
467
818
  }
468
819
 
469
820
  .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
@@ -474,17 +825,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
474
825
  border-radius: 0.3125rem;
475
826
  }
476
827
 
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
- }
828
+ .sapUiSizeCompact {
829
+ .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween:focus .sapUiCalItemText:before {
830
+ top: 0.0625rem;
831
+ left: 0.0625rem;
832
+ right: 0.0625rem;
833
+ bottom: 0.0625rem;
834
+ }
835
+ .sapUiCalItem {
836
+ &.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween {
837
+ &:focus > .sapUiCalItemText {
838
+ &:before {
839
+ border-radius: 0.25rem;
840
+ border-width: 0.125rem;
841
+ }
842
+ }
843
+ }
844
+ }
484
845
 
485
- .sapUiCalItem.sapUiCalItemSel.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
486
- border-width: 0.125rem;
487
- border-radius: 0.4375rem;
488
846
  }
489
847
 
490
848
  .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalDayName {
@@ -495,14 +853,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
495
853
  background-color: @sapUiSelected;
496
854
  }
497
855
 
498
- .sapUiCalItemSelBetween,
499
- .sapUiCalItemSelBetween.sapUiCalItemOtherMonth {
856
+ //Add a rule for the edgeCase selected?
857
+ .sapUiCalItemSel:not(.sapUiCalItemNow),
858
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
859
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
860
+ .sapUiCalItemSelBetween:not(.sapUiCalItemNow),
861
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
500
862
  background-color: @sapUiListSelectionBackgroundColor;
501
863
  color: @sapTextColor;
502
864
 
503
- .sapUiCalItemText {
504
- line-height: 2.75rem;
865
+ .sapUiCalItemText:after {
866
+ position: absolute;
867
+ top: 0;
868
+ left: 0;
869
+ right: 0;
870
+ bottom: 0;
505
871
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
872
+ content: "";
873
+ border-radius: 0.5rem;
506
874
  }
507
875
  }
508
876
 
@@ -544,14 +912,6 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
544
912
  }
545
913
 
546
914
  /* 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
915
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText{
556
916
  line-height: 1.875rem;
557
917
  }
@@ -592,7 +952,7 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
592
952
  }
593
953
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween .sapUiCalItemText,
594
954
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween:not(.sapUiCalItemNow) > .sapUiCalItemText {
595
- line-height: 0.875rem;
955
+ line-height: 1rem;
596
956
  }
597
957
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel > .sapUiCalItemText {
598
958
  line-height: 1.25rem;
@@ -607,14 +967,28 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
607
967
  line-height: 2rem;
608
968
  }
609
969
  }
610
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
611
- line-height: 0.75rem;
612
- }
613
970
  .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
614
- width: 1.8125rem;
971
+ width: 1.5rem;
615
972
  height: 1.5rem;
973
+ top: 0.0625rem;
616
974
  line-height: 1.4375rem;
617
975
  }
976
+
977
+ .sapUiCalMonthSecType {
978
+ .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween {
979
+ & > .sapUiCalItemText {
980
+ line-height: 0.75rem;
981
+ }
982
+ &:focus {
983
+ & > .sapUiCalItemText {
984
+ &:before {
985
+ border: none;
986
+ }
987
+ border: none;
988
+ }
989
+ }
990
+ }
991
+ }
618
992
  }
619
993
 
620
994
  @media only screen