@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;
@@ -152,7 +164,7 @@ html.sap-desktop .sapUiCalHead > .sapUiCalHeadB:active {
152
164
  /* hide outline for all devices, but enable later for desktop */
153
165
  .sapUiCalItem:focus {
154
166
  outline: none;
155
- overflow: visible;
167
+ overflow: hidden;
156
168
  }
157
169
 
158
170
  html.sap-desktop .sapUiCalItem:not(.sapUiCalItemSel):not(.sapUiCalItemWeekEnd):focus {
@@ -236,6 +248,10 @@ html.sap-desktop .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):focus {
236
248
  background-color: @sapUiListHoverBackground;
237
249
  }
238
250
 
251
+ .sapUiCalItemWeekEnd:hover {
252
+ filter: brightness (105%);
253
+ }
254
+
239
255
  html.sap-desktop .sapUiCalDatesRow .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):hover,
240
256
  html.sap-desktop .sapUiCal:not(.sapUiCalDateInt) .sapUiCalItemWeekEnd:not(.sapUiCalItemSel) :not(.sapUiCalWeekNum):hover {
241
257
  background-color: @sapUiListHoverBackground;
@@ -262,18 +278,22 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
262
278
  border-bottom-right-radius: 0;
263
279
  }
264
280
 
265
- .sapUiSizeCompact .sapUiCalItem {
281
+ .sapUiSizeCompact .sapUiCalItem:not(.sapUiCalItemNow) {
266
282
  &.sapUiCalItemSelBetween .sapUiCalItemText {
267
- position: relative;
283
+ position: static;
268
284
  }
269
285
  }
270
286
  .sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem {
271
287
  &.sapUiCalItemSelBetween .sapUiCalItemText {
272
288
  position: relative;
273
- line-height: 0.875rem;
289
+ line-height: 1rem;
274
290
  }
275
291
  }
276
292
 
293
+ .sapUiSizeCompact .sapUiCalHead {
294
+ height: 2.25rem;
295
+ }
296
+
277
297
  .sapUiCalItem {
278
298
  position: relative;
279
299
  &:focus > .sapUiCalItemText {
@@ -285,19 +305,56 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
285
305
  left: 0;
286
306
  right: 0;
287
307
  bottom: 0;
288
- border: 0.125rem solid @sapUiContentFocusColor;
289
308
  content: "";
290
309
  border-radius: 0.5rem;
291
310
  }
292
311
  }
293
- &.sapUiCalItemSelBetween .sapUiCalItemText {
294
- position: relative;
312
+
313
+ &.sapUiCalItemSelBetween {
314
+ .sapUiCalItemText {
315
+ position: relative;
316
+ }
317
+ &:not(.sapUiCalItemNow) {
318
+ .sapUiCalItemText:after {
319
+ position: absolute;
320
+ top: 0;
321
+ left: 0;
322
+ right: 0;
323
+ bottom: 0;
324
+ border: 0.0625rem solid @sapUiListSelectionBorderColor;
325
+ content: "";
326
+ border-radius: 0.5rem;
327
+ }
328
+ }
295
329
  }
296
330
  &.sapUiCalItemNow {
297
331
  border-radius: 0.5rem;
298
332
  &:hover {
299
333
  background: @sapUiListHoverBackground;
300
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
+ }
301
358
  &.sapUiCalItemSelBetween {
302
359
  line-height: normal;
303
360
  & > .sapUiCalItemText {
@@ -307,7 +364,20 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
307
364
  width: 2.0625rem;
308
365
  height: 2.375rem;
309
366
  line-height: 2.375rem;
310
- 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
+ }
311
381
  }
312
382
  }
313
383
  .sapUiCalSpecialDate {
@@ -315,26 +385,43 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
315
385
  bottom: 0.125rem;
316
386
  left: 0.125rem;
317
387
  }
318
- &:focus .sapUiCalSpecialDate,
388
+ &:focus:not(.sapUiCalItemNow) .sapUiCalSpecialDate,
319
389
  &.sapUiCalItemSel .sapUiCalSpecialDate {
320
- width: 75%;
321
- bottom: 0.25rem;
322
- 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;
323
404
  }
324
405
  .sapUiCalItemText {
325
406
  border: none;
326
407
  }
327
408
  &.sapUiCalItemSel {
328
409
  box-shadow: inset 0 0 0 0.25rem @sapUiListBackground;
329
- &:focus .sapUiCalSpecialDate {
330
- bottom: 0.35rem
410
+ &:focus:not(.sapUiCalItemSelBetween) .sapUiCalSpecialDate {
411
+ bottom: 0.3rem;
412
+ }
413
+
414
+ &.sapUiCalItemSelBetween {
415
+ &:focus .sapUiCalSpecialDate {
416
+ bottom: 0.3125rem;
417
+ }
331
418
  }
332
419
  &.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
333
420
  top: 0;
334
421
  left: 0;
335
422
  right: 0;
336
423
  bottom: 0;
337
- border-radius: 0.25rem;
424
+ border-radius: 0.3125rem;
338
425
  }
339
426
  }
340
427
  &:focus > .sapUiCalItemText:after {
@@ -346,13 +433,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
346
433
  }
347
434
  &:before {
348
435
  position: absolute;
436
+ content: "";
349
437
  top: 0;
350
438
  left: 0;
351
439
  right: 0;
352
440
  bottom: 0;
353
441
  border: 0.125rem solid @sapUiLegendCurrentDateTime;
354
- content: "";
355
442
  border-radius: 0.5rem;
443
+ z-index: 1;
444
+ pointer-events: none;
356
445
  }
357
446
  }
358
447
  .sapUiCalItemText:after {
@@ -362,31 +451,174 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
362
451
  position: absolute;
363
452
  width: 100%;
364
453
  height: 0.3125rem;
365
- bottom: -0.0625rem;
454
+ bottom: 0.025rem;
366
455
  border-bottom-left-radius: 0.25rem;
367
456
  border-bottom-right-radius: 0.25rem;
368
457
  pointer-events: none;
369
- z-index: 0;
370
458
  }
459
+
460
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
461
+ .sapUiCalSpecialDate {
462
+ width: 91%;
463
+ left: 0.0625rem;
464
+ right: 0.0625rem;
465
+ bottom: 0.025rem;
466
+ }
467
+ }
468
+
371
469
  &:focus .sapUiCalSpecialDate,
372
470
  &.sapUiCalItemSel .sapUiCalSpecialDate {
373
- bottom: 0.0625rem;
471
+ bottom: 0.025rem;
472
+ left: 0.09375rem;
473
+ width: 90%;
474
+ }
475
+ &:focus:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) .sapUiCalSpecialDate {
476
+ width: 93%;
374
477
  left: 0.0625rem;
375
- width: 95%;
478
+ bottom: 0.0625rem;
376
479
  }
377
- &.sapUiCalItemSel:focus .sapUiCalSpecialDate{
378
- bottom: 0.125rem;
480
+ .sapUiCalItemText {
481
+ border-radius: 0.5rem;
379
482
  }
380
483
  .sapUiCalItemText {
381
484
  border-radius: 0.5rem;
382
485
  }
383
486
  }
384
487
 
488
+ .sapUiSizeCozy {
489
+ .sapUiCalSecType {
490
+ .sapUiCalItem {
491
+ &.sapUiCalItemNow {
492
+ &:not(.sapUiCalItemSelBetween),
493
+ &.sapUiCalItemSelBetween {
494
+ &> .sapUiCalItemText {
495
+ line-height: 2rem;
496
+ }
497
+ }
498
+ }
499
+ }
500
+ }
501
+ .sapUiCalItem {
502
+ &:focus .sapUiCalSpecialDate,
503
+ &.sapUiCalItemSel .sapUiCalSpecialDate {
504
+ width: 91%;
505
+ }
506
+
507
+ &.sapUiCalItemSelBetween {
508
+ &.sapUiCalItemNow {
509
+ .sapUiCalSpecialDate {
510
+ bottom: 0.3rem;
511
+ }
512
+ }
513
+ &:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
514
+ .sapUiCalSpecialDate {
515
+ width: 93%;
516
+ left: 0.0625rem;
517
+ right: 0.0625rem;
518
+ bottom: 0.025rem;
519
+ }
520
+ }
521
+ }
522
+ &.sapUiCalItemNow {
523
+ &.sapUiCalItemSelBetween {
524
+ & > .sapUiCalItemText {
525
+ border: none;
526
+ margin: auto;
527
+ height: 100%;
528
+ line-height: 2.875rem;
529
+ }
530
+ & > .sapUiCalItemText:after {
531
+ content: "";
532
+ position: absolute;
533
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
534
+ border-radius: 0.3125rem;
535
+ margin: 0.125rem;
536
+ line-height: 2.375rem;
537
+ left: 0.0625rem;
538
+ top: 0.0625rem;
539
+ bottom: 0.0625rem;
540
+ right: 0.0625rem;
541
+
542
+
543
+ }
544
+ &:focus > .sapUiCalItemText:after {
545
+ top: 0.05rem;
546
+ left: 0.05rem;
547
+ right: 0.05rem;
548
+ bottom: 0.05rem;
549
+ }
550
+ &.sapUiCalItemSel {
551
+ & > .sapUiCalItemText:after {
552
+ top: 0.0625rem;
553
+ left: 0.0625rem;
554
+ right: 0.0625rem;
555
+ bottom: 0.0625rem;
556
+ }
557
+ &:focus .sapUiCalSpecialDate {
558
+ bottom: 0.375rem;
559
+ }
560
+ }
561
+ & > .sapUiCalSpecialDate {
562
+ left: 0.25rem;
563
+ right: 0.25rem;
564
+ bottom: 0.25rem;
565
+ width: 76%;
566
+ }
567
+ }
568
+ &.sapUiCalItemSel.sapUiCalItemSelBetween:not(:focus) {
569
+ .sapUiCalSpecialDate {
570
+ bottom: 0.3125rem;
571
+ width: 63%;
572
+ left: 0.375rem;
573
+ right: 0.375rem;
574
+ height: 0.3125rem;
575
+
576
+ width: 78%;
577
+ bottom: 0.25rem;
578
+ left: 0.25rem;
579
+ right: 0.25rem;
580
+ }
581
+ }
582
+ &:focus {
583
+ &:not(.sapUiCalItemSelBetween) {
584
+ & > .sapUiCalSpecialDate {
585
+ bottom: 0.375rem;
586
+ width: 69%;
587
+ left: 0.3125rem;
588
+ }
589
+ }
590
+ & > .sapUiCalSpecialDate {
591
+ bottom: 0.375rem;
592
+ width: 66%;
593
+ left: 0.375rem;
594
+ }
595
+ }
596
+ }
597
+ &.sapUiCalItemSel {
598
+ &:focus {
599
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemNow) {
600
+ & > .sapUiCalItemText:after {
601
+ border-radius: 0.5rem;
602
+ top: 0;
603
+ bottom: 0;
604
+ left: 0;
605
+ right: 0;
606
+ }
607
+ }
608
+ }
609
+ }
610
+ }
611
+ }
612
+
385
613
  .sapUiCalItemOtherMonth {
386
614
  background-color: @sapUiListBackground;
387
615
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
388
616
  }
389
617
 
618
+ .sapUiCalItemOtherMonth.sapUiCalItemDsbl {
619
+ opacity: @sapUiContentDisabledOpacity;
620
+ }
621
+
390
622
  .sapUiCalItemSel {
391
623
  color: @sapUiContentContrastTextColor;
392
624
  &:focus > .sapUiCalItemText {
@@ -411,6 +643,7 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
411
643
 
412
644
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween):hover{
413
645
  background-color: @sapUiContentSelectedHoverBackground;
646
+ filter: brightness(105%);
414
647
  }
415
648
 
416
649
  .sapUiCalMonthPicker,
@@ -421,6 +654,9 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
421
654
  .sapUiCalItem.sapUiCalItemSel {
422
655
  font-family: @sapFontBoldFamily;
423
656
  }
657
+ .sapUiCalItem.sapUiCalItemDsbl {
658
+ opacity: @sapUiContentDisabledOpacity;
659
+ }
424
660
  .sapUiCalItem:focus {
425
661
  line-height: 2.75rem;
426
662
  }
@@ -437,7 +673,6 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
437
673
 
438
674
  .sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
439
675
  color: @sapUiContentSelectedTextColor;
440
- border-radius: 0.25rem;
441
676
  font-weight: bold;
442
677
  position: absolute;
443
678
  left: 0;
@@ -451,13 +686,136 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
451
686
  color: @sapContent_Selected_TextColor;
452
687
  }
453
688
 
689
+ .sapUiCalItem:focus:not(.sapUiCalItemSelBetween){
690
+ &:not(.sapUiCalItemSel) {
691
+ .sapUiCalSpecialDate {
692
+ width: 100%;
693
+ left: 0;
694
+ bottom: 0.025rem;;
695
+ }
696
+ }
697
+ & :not(.sapUiCalItemNow) .sapUiCalItemText:after {
698
+ content: "";
699
+ position: absolute;
700
+ top: 0.3125rem;
701
+ left: 0.3125rem;
702
+ right: 0.3125rem;
703
+ bottom: 0.3125rem;
704
+ border: 0.125rem solid @sapList_SelectionBorderColor;
705
+ border-radius: 0.1875rem;
706
+ }
707
+ }
708
+
709
+ .sapUiCalItem:focus {
710
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
711
+ position: absolute;
712
+ content: "";
713
+ top: 0.3125rem;
714
+ left: 0.3125rem;
715
+ right: 0.3125rem;
716
+ bottom: 0.3125rem;
717
+ border: 0.125rem solid @sapList_SelectionBorderColor;
718
+ border-radius: 0.1875rem;
719
+ }
720
+ &.sapUiCalItemNow,
721
+ &.sapUiCalItemSel,
722
+ &.sapUiCalItemSelStart,
723
+ &.sapUiCalItemSelEnd {
724
+ .sapUiCalItemText:before {
725
+ content: "";
726
+ position: absolute;
727
+ top: 0.3125rem;
728
+ left: 0.3125rem;
729
+ right: 0.3125rem;
730
+ bottom: 0.3125rem;
731
+ border: 0.125rem solid @sapList_SelectionBorderColor;
732
+ border-radius: 0.1875rem;
733
+ }
734
+
735
+ }
736
+ &.sapUiCalItemNow {
737
+ &.sapUiCalItemSelStart,
738
+ &.sapUiCalItemSelEnd {
739
+ .sapUiCalItemText:after {
740
+ position: absolute;
741
+ content: "";
742
+ top: 0.3125rem;
743
+ left: 0.3125rem;
744
+ right: 0.3125rem;
745
+ bottom: 0.3125rem;
746
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
747
+ border-radius: 0.1875rem;
748
+ }
749
+ }
750
+ }
751
+ }
752
+
753
+ .sapUiCalMonthSecType {
754
+ .sapUiCalItem {
755
+ &:focus {
756
+ &.sapUiCalItemSel:not(.sapUiCalItemNow),
757
+ &.sapUiCalItemSelStart:not(.sapUiCalItemNow),
758
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemNow) {
759
+ .sapUiCalItemText:before {
760
+ border: none;
761
+ }
762
+ }
763
+ &.sapUiCalItemSel {
764
+ .sapUiCalItemText:after {
765
+ border: 0.125rem solid @sapUiContentFocusColor;
766
+ border-width: 0.1875rem;
767
+ }
768
+ .sapUiCalItemText:before {
769
+ border: none;
770
+ }
771
+ }
772
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) {
773
+ .sapUiCalItemText:after {
774
+ top: 0;
775
+ bottom: 0;
776
+ left: 0;
777
+ right: 0;
778
+ border-radius: 0.5rem;
779
+ }
780
+ }
781
+ &.sapUiCalItemNow:not(.sapUiCalItemSelBetween),
782
+ &.sapUiCalItemNow{
783
+ .sapUiCalSpecialDate {
784
+ width: 75%;
785
+ left: 0.25rem;
786
+ right: 0.25rem;
787
+ bottom: 0.25rem;
788
+ }
789
+ }
790
+ }
791
+ &.sapUiCalItemNow {
792
+ &:not(.sapUiCalItemSelBetween),
793
+ &.sapUiCalItemSelBetween,
794
+ &.sapUiCalItemNow {
795
+ &> .sapUiCalItemText {
796
+ line-height: 2.125rem;
797
+ }
798
+ }
799
+ }
800
+ }
801
+
802
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
803
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
804
+ .sapUiCalItemSelBetween:focus:not(.sapUiCalItemNow),
805
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
806
+ .sapUiCalItemText:after {
807
+ border-width: 0.125rem;
808
+ }
809
+ }
810
+ }
811
+
454
812
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
455
813
  position: absolute;
456
814
  top: 0;
457
815
  left: 0;
458
816
  right: 0;
459
817
  bottom: 0;
460
- border: 0.125rem solid @sapUiContentFocusColor;
818
+ border: 0.0625rem solid @sapUiContentFocusColor;
461
819
  content: "";
462
820
  border-radius: 0.5rem;
463
821
  }
@@ -470,17 +828,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
470
828
  border-radius: 0.3125rem;
471
829
  }
472
830
 
473
- .sapUiCalItem.sapUiCalItemSel:focus > .sapUiCalItemText:after {
474
- border: 0.1875rem solid @sapUiContentFocusColor;
475
- top: 0;
476
- left: 0;
477
- right: 0;
478
- bottom: 0;
479
- }
831
+ .sapUiSizeCompact {
832
+ .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween:focus .sapUiCalItemText:before {
833
+ top: 0.0625rem;
834
+ left: 0.0625rem;
835
+ right: 0.0625rem;
836
+ bottom: 0.0625rem;
837
+ }
838
+ .sapUiCalItem {
839
+ &.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween {
840
+ &:focus > .sapUiCalItemText {
841
+ &:before {
842
+ border-radius: 0.25rem;
843
+ border-width: 0.125rem;
844
+ }
845
+ }
846
+ }
847
+ }
480
848
 
481
- .sapUiCalItem.sapUiCalItemSel.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
482
- border-width: 0.125rem;
483
- border-radius: 0.4375rem;
484
849
  }
485
850
 
486
851
  .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalDayName {
@@ -491,14 +856,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
491
856
  background-color: @sapUiSelected;
492
857
  }
493
858
 
494
- .sapUiCalItemSelBetween,
495
- .sapUiCalItemSelBetween.sapUiCalItemOtherMonth {
859
+ //Add a rule for the edgeCase selected?
860
+ .sapUiCalItemSel:not(.sapUiCalItemNow),
861
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
862
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
863
+ .sapUiCalItemSelBetween:not(.sapUiCalItemNow),
864
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
496
865
  background-color: @sapUiListSelectionBackgroundColor;
497
866
  color: @sapTextColor;
498
867
 
499
- .sapUiCalItemText {
500
- line-height: 2.75rem;
868
+ .sapUiCalItemText:after {
869
+ position: absolute;
870
+ top: 0;
871
+ left: 0;
872
+ right: 0;
873
+ bottom: 0;
501
874
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
875
+ content: "";
876
+ border-radius: 0.5rem;
502
877
  }
503
878
  }
504
879
 
@@ -540,14 +915,6 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
540
915
  }
541
916
 
542
917
  /* 2 calendar types */
543
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemSelBetween > .sapUiCalItemText {
544
- line-height: 2rem;
545
- }
546
-
547
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText{
548
- line-height: 1.375rem;
549
- }
550
-
551
918
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText{
552
919
  line-height: 1.875rem;
553
920
  }
@@ -589,7 +956,7 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
589
956
  }
590
957
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween .sapUiCalItemText,
591
958
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween:not(.sapUiCalItemNow) > .sapUiCalItemText {
592
- line-height: 0.875rem;
959
+ line-height: 1rem;
593
960
  }
594
961
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel > .sapUiCalItemText {
595
962
  line-height: 1.25rem;
@@ -601,14 +968,28 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
601
968
  margin: 0.1875rem 0;
602
969
  height: 1.625rem;
603
970
  }
604
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
605
- line-height: 0.75rem;
606
- }
607
971
  .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
608
- width: 1.8125rem;
972
+ width: 1.5rem;
609
973
  height: 1.5rem;
974
+ top: 0.0625rem;
610
975
  line-height: 1.4375rem;
611
976
  }
977
+
978
+ .sapUiCalMonthSecType {
979
+ .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween {
980
+ & > .sapUiCalItemText {
981
+ line-height: 0.75rem;
982
+ }
983
+ &:focus {
984
+ & > .sapUiCalItemText {
985
+ &:before {
986
+ border: none;
987
+ }
988
+ border: none;
989
+ }
990
+ }
991
+ }
992
+ }
612
993
  }
613
994
 
614
995
  @media only screen
@@ -383,6 +383,10 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
383
383
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
384
384
  }
385
385
 
386
+ .sapUiCalItemOtherMonth.sapUiCalItemDsbl {
387
+ opacity: @sapUiContentDisabledOpacity;
388
+ }
389
+
386
390
  .sapUiCalItemSel {
387
391
  color: @sapUiContentContrastTextColor;
388
392
  &:focus > .sapUiCalItemText {
@@ -417,6 +421,9 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
417
421
  .sapUiCalItem.sapUiCalItemSel {
418
422
  font-family: @sapFontBoldFamily;
419
423
  }
424
+ .sapUiCalItem.sapUiCalItemDsbl {
425
+ opacity: @sapUiContentDisabledOpacity;
426
+ }
420
427
  .sapUiCalItem:focus {
421
428
  line-height: 2.75rem;
422
429
  }
@@ -143,7 +143,7 @@ html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active) > .sa
143
143
  }
144
144
 
145
145
  .sapUiCalendarRowNow{
146
- border-color: @sapUiCalendarColorToday;
146
+ border-color: @sapLegend_CurrentDateTime;
147
147
  }
148
148
 
149
149
  /* colors for types */