@openui5/themelib_sap_horizon 1.108.17 → 1.108.18

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 (99) hide show
  1. package/package.json +18 -18
  2. package/src/sap/f/themes/sap_horizon/Card.less +7 -13
  3. package/src/sap/f/themes/sap_horizon/FlexibleColumnLayout.less +40 -13
  4. package/src/sap/f/themes/sap_horizon_dark/Card.less +7 -13
  5. package/src/sap/f/themes/sap_horizon_dark/FlexibleColumnLayout.less +33 -7
  6. package/src/sap/f/themes/sap_horizon_hcb/Card.less +1 -1
  7. package/src/sap/f/themes/sap_horizon_hcb/FlexibleColumnLayout.less +17 -9
  8. package/src/sap/f/themes/sap_horizon_hcw/Card.less +1 -1
  9. package/src/sap/f/themes/sap_horizon_hcw/FlexibleColumnLayout.less +17 -9
  10. package/src/sap/m/themes/sap_horizon/Avatar.less +12 -2
  11. package/src/sap/m/themes/sap_horizon/CheckBox.less +9 -26
  12. package/src/sap/m/themes/sap_horizon/InputBase.less +12 -6
  13. package/src/sap/m/themes/sap_horizon/Link.less +25 -19
  14. package/src/sap/m/themes/sap_horizon/MenuListItem.less +13 -0
  15. package/src/sap/m/themes/sap_horizon/Panel.less +14 -4
  16. package/src/sap/m/themes/sap_horizon/Popover.less +13 -0
  17. package/src/sap/m/themes/sap_horizon/RadioButton.less +4 -5
  18. package/src/sap/m/themes/sap_horizon/RangeSlider.less +2 -7
  19. package/src/sap/m/themes/sap_horizon/SearchField.less +1 -2
  20. package/src/sap/m/themes/sap_horizon/Select.less +38 -38
  21. package/src/sap/m/themes/sap_horizon/Slider.less +2 -1
  22. package/src/sap/m/themes/sap_horizon/TextArea.less +26 -14
  23. package/src/sap/m/themes/sap_horizon/Title.less +12 -0
  24. package/src/sap/m/themes/sap_horizon/Token.less +44 -37
  25. package/src/sap/m/themes/sap_horizon/Tokenizer.less +8 -2
  26. package/src/sap/m/themes/sap_horizon/library.source.less +2 -0
  27. package/src/sap/m/themes/sap_horizon_dark/Avatar.less +12 -2
  28. package/src/sap/m/themes/sap_horizon_dark/CheckBox.less +9 -26
  29. package/src/sap/m/themes/sap_horizon_dark/InputBase.less +12 -6
  30. package/src/sap/m/themes/sap_horizon_dark/Link.less +25 -19
  31. package/src/sap/m/themes/sap_horizon_dark/MenuListItem.less +13 -0
  32. package/src/sap/m/themes/sap_horizon_dark/Panel.less +13 -4
  33. package/src/sap/m/themes/sap_horizon_dark/Popover.less +13 -0
  34. package/src/sap/m/themes/sap_horizon_dark/RadioButton.less +4 -6
  35. package/src/sap/m/themes/sap_horizon_dark/RangeSlider.less +2 -7
  36. package/src/sap/m/themes/sap_horizon_dark/SearchField.less +0 -2
  37. package/src/sap/m/themes/sap_horizon_dark/Select.less +37 -38
  38. package/src/sap/m/themes/sap_horizon_dark/Slider.less +7 -1
  39. package/src/sap/m/themes/sap_horizon_dark/TextArea.less +26 -14
  40. package/src/sap/m/themes/sap_horizon_dark/Title.less +12 -0
  41. package/src/sap/m/themes/sap_horizon_dark/Token.less +44 -37
  42. package/src/sap/m/themes/sap_horizon_dark/Tokenizer.less +8 -2
  43. package/src/sap/m/themes/sap_horizon_dark/library.source.less +2 -0
  44. package/src/sap/m/themes/sap_horizon_hcb/Avatar.less +6 -2
  45. package/src/sap/m/themes/sap_horizon_hcb/CheckBox.less +8 -25
  46. package/src/sap/m/themes/sap_horizon_hcb/InputBase.less +3 -3
  47. package/src/sap/m/themes/sap_horizon_hcb/Link.less +21 -14
  48. package/src/sap/m/themes/sap_horizon_hcb/Panel.less +12 -3
  49. package/src/sap/m/themes/sap_horizon_hcb/Popover.less +6 -0
  50. package/src/sap/m/themes/sap_horizon_hcb/RadioButton.less +1 -1
  51. package/src/sap/m/themes/sap_horizon_hcb/SearchField.less +0 -2
  52. package/src/sap/m/themes/sap_horizon_hcb/Select.less +23 -9
  53. package/src/sap/m/themes/sap_horizon_hcb/SelectList.less +0 -1
  54. package/src/sap/m/themes/sap_horizon_hcb/Slider.less +2 -1
  55. package/src/sap/m/themes/sap_horizon_hcb/TextArea.less +19 -0
  56. package/src/sap/m/themes/sap_horizon_hcb/Title.less +12 -0
  57. package/src/sap/m/themes/sap_horizon_hcb/Token.less +20 -13
  58. package/src/sap/m/themes/sap_horizon_hcb/Tokenizer.less +7 -0
  59. package/src/sap/m/themes/sap_horizon_hcb/library.source.less +1 -0
  60. package/src/sap/m/themes/sap_horizon_hcw/Avatar.less +6 -2
  61. package/src/sap/m/themes/sap_horizon_hcw/CheckBox.less +8 -25
  62. package/src/sap/m/themes/sap_horizon_hcw/InputBase.less +3 -3
  63. package/src/sap/m/themes/sap_horizon_hcw/Link.less +21 -14
  64. package/src/sap/m/themes/sap_horizon_hcw/Panel.less +12 -4
  65. package/src/sap/m/themes/sap_horizon_hcw/Popover.less +6 -0
  66. package/src/sap/m/themes/sap_horizon_hcw/RadioButton.less +1 -1
  67. package/src/sap/m/themes/sap_horizon_hcw/SearchField.less +0 -2
  68. package/src/sap/m/themes/sap_horizon_hcw/Select.less +24 -9
  69. package/src/sap/m/themes/sap_horizon_hcw/SelectList.less +0 -1
  70. package/src/sap/m/themes/sap_horizon_hcw/Slider.less +2 -1
  71. package/src/sap/m/themes/sap_horizon_hcw/TextArea.less +19 -0
  72. package/src/sap/m/themes/sap_horizon_hcw/Title.less +12 -0
  73. package/src/sap/m/themes/sap_horizon_hcw/Token.less +21 -13
  74. package/src/sap/m/themes/sap_horizon_hcw/Tokenizer.less +7 -0
  75. package/src/sap/m/themes/sap_horizon_hcw/library.source.less +1 -0
  76. package/src/sap/tnt/themes/sap_horizon/NavigationList.less +18 -4
  77. package/src/sap/tnt/themes/sap_horizon/SideNavigation.less +11 -2
  78. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +241 -342
  79. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +16 -3
  80. package/src/sap/tnt/themes/sap_horizon_dark/NavigationList.less +18 -4
  81. package/src/sap/tnt/themes/sap_horizon_dark/SideNavigation.less +11 -2
  82. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +241 -342
  83. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +16 -3
  84. package/src/sap/tnt/themes/sap_horizon_hcb/NavigationList.less +9 -2
  85. package/src/sap/tnt/themes/sap_horizon_hcb/SideNavigation.less +5 -1
  86. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +360 -2
  87. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +17 -3
  88. package/src/sap/tnt/themes/sap_horizon_hcw/NavigationList.less +9 -2
  89. package/src/sap/tnt/themes/sap_horizon_hcw/SideNavigation.less +5 -1
  90. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +360 -2
  91. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +17 -3
  92. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  93. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  94. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  95. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  96. package/src/sap/ui/unified/themes/sap_horizon/Calendar.less +443 -47
  97. package/src/sap/ui/unified/themes/sap_horizon/Menu.less +48 -6
  98. package/src/sap/ui/unified/themes/sap_horizon_dark/Calendar.less +442 -38
  99. package/src/sap/ui/unified/themes/sap_horizon_dark/Menu.less +36 -7
@@ -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;
@@ -148,7 +160,7 @@ html.sap-desktop .sapUiCalHead > .sapUiCalHeadB:active {
148
160
  /* hide outline for all devices, but enable later for desktop */
149
161
  .sapUiCalItem:focus {
150
162
  outline: none;
151
- overflow: visible;
163
+ overflow: hidden;
152
164
  }
153
165
 
154
166
  html.sap-desktop .sapUiCalItem:not(.sapUiCalItemSel):not(.sapUiCalItemWeekEnd):focus {
@@ -232,6 +244,10 @@ html.sap-desktop .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):focus {
232
244
  background-color: @sapUiListHoverBackground;
233
245
  }
234
246
 
247
+ .sapUiCalItemWeekEnd:hover {
248
+ filter: brightness (105%);
249
+ }
250
+
235
251
  html.sap-desktop .sapUiCalDatesRow .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):hover,
236
252
  html.sap-desktop .sapUiCal:not(.sapUiCalDateInt) .sapUiCalItemWeekEnd:not(.sapUiCalItemSel) :not(.sapUiCalWeekNum):hover {
237
253
  background-color: @sapUiListHoverBackground;
@@ -258,6 +274,18 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
258
274
  border-bottom-right-radius: 0;
259
275
  }
260
276
 
277
+ .sapUiSizeCompact .sapUiCalItem:not(.sapUiCalItemNow) {
278
+ &.sapUiCalItemSelBetween .sapUiCalItemText {
279
+ position: static;
280
+ }
281
+ }
282
+ .sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem {
283
+ &.sapUiCalItemSelBetween .sapUiCalItemText {
284
+ position: relative;
285
+ line-height: 1rem;
286
+ }
287
+ }
288
+
261
289
  .sapUiCalItem {
262
290
  position: relative;
263
291
  &:focus > .sapUiCalItemText {
@@ -269,29 +297,79 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
269
297
  left: 0;
270
298
  right: 0;
271
299
  bottom: 0;
272
- border: 0.125rem solid @sapUiContentFocusColor;
273
300
  content: "";
274
301
  border-radius: 0.5rem;
275
302
  }
276
303
  }
277
- &.sapUiCalItemSelBetween .sapUiCalItemText {
278
- position: relative;
304
+
305
+ &.sapUiCalItemSelBetween {
306
+ .sapUiCalItemText {
307
+ position: relative;
308
+ }
309
+ &:not(.sapUiCalItemNow) {
310
+ .sapUiCalItemText:after {
311
+ position: absolute;
312
+ top: 0;
313
+ left: 0;
314
+ right: 0;
315
+ bottom: 0;
316
+ border: 0.0625rem solid @sapUiListSelectionBorderColor;
317
+ content: "";
318
+ border-radius: 0.5rem;
319
+ }
320
+ }
279
321
  }
280
322
  &.sapUiCalItemNow {
281
323
  border-radius: 0.5rem;
282
324
  &:hover {
283
325
  background: @sapUiListHoverBackground;
284
326
  }
327
+ &.sapUiCalItemSel:not(.sapUiCalItemSelBetween),
328
+ &.sapUiCalItemSelStart:not(.sapUiCalItemSelBetween),
329
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemSelBetween) {
330
+
331
+ .sapUiCalItemText:after {
332
+ position: absolute;
333
+ top: 0.3125rem;
334
+ left: 0.3125rem;
335
+ right: 0.3125rem;
336
+ bottom: 0.3125rem;
337
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
338
+ content: "";
339
+ border-radius: 0.1875rem;
340
+ }
341
+ }
342
+ &.sapUiCalItemSel:not(:focus) {
343
+ .sapUiCalSpecialDate {
344
+ width: 76%;
345
+ left: 0.25rem;
346
+ right: 0.25rem;
347
+ bottom: 0.2rem;
348
+ }
349
+ }
285
350
  &.sapUiCalItemSelBetween {
286
351
  line-height: normal;
287
352
  & > .sapUiCalItemText {
288
353
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
289
354
  border-radius: 0.3125rem;
290
355
  margin: 0.125rem;
291
- width: 1.75rem;
356
+ width: 2.0625rem;
292
357
  height: 2.375rem;
293
358
  line-height: 2.375rem;
294
- top: 0.0625rem;
359
+ }
360
+ & > .sapUiCalSpecialDate {
361
+ width: 76%;
362
+ left: 0.2rem;
363
+ bottom: 0.2rem;
364
+ }
365
+ }
366
+ &:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) {
367
+ &:focus {
368
+ & > .sapUiCalSpecialDate {
369
+ width: 63%;
370
+ left: 0.3125rem;
371
+ bottom: 0.3125rem;
372
+ }
295
373
  }
296
374
  }
297
375
  .sapUiCalSpecialDate {
@@ -299,26 +377,43 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
299
377
  bottom: 0.125rem;
300
378
  left: 0.125rem;
301
379
  }
302
- &:focus .sapUiCalSpecialDate,
380
+ &:focus:not(.sapUiCalItemNow) .sapUiCalSpecialDate,
303
381
  &.sapUiCalItemSel .sapUiCalSpecialDate {
304
- width: 75%;
305
- bottom: 0.25rem;
306
- left: 0.25rem;
382
+ bottom: 0.375rem;
383
+ width: 60%;
384
+ left: 0.3755rem;
385
+ right: 0.25rem;
386
+ }
387
+
388
+ &:focus .sapUiCalSpecialDate {
389
+ bottom: 0.45rem;
390
+ bottom: 0.375rem;
391
+ width: 63%;
392
+ left: 0.375rem;
393
+ right: 0.375rem;
394
+ height: 0.25rem;
395
+ height: 0.3125rem;
307
396
  }
308
397
  .sapUiCalItemText {
309
398
  border: none;
310
399
  }
311
400
  &.sapUiCalItemSel {
312
401
  box-shadow: inset 0 0 0 0.25rem @sapUiListBackground;
313
- &:focus .sapUiCalSpecialDate {
314
- bottom: 0.35rem
402
+ &:focus:not(.sapUiCalItemSelBetween) .sapUiCalSpecialDate {
403
+ bottom: 0.3rem;
404
+ }
405
+
406
+ &.sapUiCalItemSelBetween {
407
+ &:focus .sapUiCalSpecialDate {
408
+ bottom: 0.3125rem;
409
+ }
315
410
  }
316
411
  &.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
317
412
  top: 0;
318
413
  left: 0;
319
414
  right: 0;
320
415
  bottom: 0;
321
- border-radius: 0.25rem;
416
+ border-radius: 0.3125rem;
322
417
  }
323
418
  }
324
419
  &:focus > .sapUiCalItemText:after {
@@ -330,13 +425,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
330
425
  }
331
426
  &:before {
332
427
  position: absolute;
428
+ content: "";
333
429
  top: 0;
334
430
  left: 0;
335
431
  right: 0;
336
432
  bottom: 0;
337
433
  border: 0.125rem solid @sapUiLegendCurrentDateTime;
338
- content: "";
339
434
  border-radius: 0.5rem;
435
+ z-index: 1;
436
+ pointer-events: none;
340
437
  }
341
438
  }
342
439
  .sapUiCalItemText:after {
@@ -346,26 +443,165 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
346
443
  position: absolute;
347
444
  width: 100%;
348
445
  height: 0.3125rem;
349
- bottom: -0.0625rem;
446
+ bottom: 0.025rem;
350
447
  border-bottom-left-radius: 0.25rem;
351
448
  border-bottom-right-radius: 0.25rem;
352
449
  pointer-events: none;
353
- z-index: 0;
354
450
  }
451
+
452
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
453
+ .sapUiCalSpecialDate {
454
+ width: 91%;
455
+ left: 0.0625rem;
456
+ right: 0.0625rem;
457
+ bottom: 0.025rem;
458
+ }
459
+ }
460
+
355
461
  &:focus .sapUiCalSpecialDate,
356
462
  &.sapUiCalItemSel .sapUiCalSpecialDate {
357
- bottom: 0.0625rem;
463
+ bottom: 0.025rem;
464
+ left: 0.09375rem;
465
+ width: 90%;
466
+ }
467
+ &:focus:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) .sapUiCalSpecialDate {
468
+ width: 93%;
358
469
  left: 0.0625rem;
359
- width: 95%;
470
+ bottom: 0.0625rem;
360
471
  }
361
- &.sapUiCalItemSel:focus .sapUiCalSpecialDate{
362
- bottom: 0.125rem;
472
+ .sapUiCalItemText {
473
+ border-radius: 0.5rem;
363
474
  }
364
475
  .sapUiCalItemText {
365
476
  border-radius: 0.5rem;
366
477
  }
367
478
  }
368
479
 
480
+ .sapUiSizeCozy {
481
+ .sapUiCalSecType {
482
+ .sapUiCalItem {
483
+ &.sapUiCalItemNow {
484
+ &:not(.sapUiCalItemSelBetween),
485
+ &.sapUiCalItemSelBetween {
486
+ &> .sapUiCalItemText {
487
+ line-height: 2rem;
488
+ }
489
+ }
490
+ }
491
+ }
492
+ }
493
+ .sapUiCalItem {
494
+ &:focus .sapUiCalSpecialDate,
495
+ &.sapUiCalItemSel .sapUiCalSpecialDate {
496
+ width: 91%;
497
+ }
498
+
499
+ &.sapUiCalItemSelBetween {
500
+ &.sapUiCalItemNow {
501
+ .sapUiCalSpecialDate {
502
+ bottom: 0.3rem;
503
+ }
504
+ }
505
+ &:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
506
+ .sapUiCalSpecialDate {
507
+ width: 93%;
508
+ left: 0.0625rem;
509
+ right: 0.0625rem;
510
+ bottom: 0.025rem;
511
+ }
512
+ }
513
+ }
514
+ &.sapUiCalItemNow {
515
+ &.sapUiCalItemSelBetween {
516
+ & > .sapUiCalItemText {
517
+ border: none;
518
+ margin: auto;
519
+ height: 100%;
520
+ line-height: 2.875rem;
521
+ }
522
+ & > .sapUiCalItemText:after {
523
+ content: "";
524
+ position: absolute;
525
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
526
+ border-radius: 0.3125rem;
527
+ margin: 0.125rem;
528
+ line-height: 2.375rem;
529
+ left: 0.0625rem;
530
+ top: 0.0625rem;
531
+ bottom: 0.0625rem;
532
+ right: 0.0625rem;
533
+
534
+
535
+ }
536
+ &:focus > .sapUiCalItemText:after {
537
+ top: 0.05rem;
538
+ left: 0.05rem;
539
+ right: 0.05rem;
540
+ bottom: 0.05rem;
541
+ }
542
+ &.sapUiCalItemSel {
543
+ & > .sapUiCalItemText:after {
544
+ top: 0.0625rem;
545
+ left: 0.0625rem;
546
+ right: 0.0625rem;
547
+ bottom: 0.0625rem;
548
+ }
549
+ &:focus .sapUiCalSpecialDate {
550
+ bottom: 0.375rem;
551
+ }
552
+ }
553
+ & > .sapUiCalSpecialDate {
554
+ left: 0.25rem;
555
+ right: 0.25rem;
556
+ bottom: 0.25rem;
557
+ width: 76%;
558
+ }
559
+ }
560
+ &.sapUiCalItemSel.sapUiCalItemSelBetween:not(:focus) {
561
+ .sapUiCalSpecialDate {
562
+ bottom: 0.3125rem;
563
+ width: 63%;
564
+ left: 0.375rem;
565
+ right: 0.375rem;
566
+ height: 0.3125rem;
567
+
568
+ width: 78%;
569
+ bottom: 0.25rem;
570
+ left: 0.25rem;
571
+ right: 0.25rem;
572
+ }
573
+ }
574
+ &:focus {
575
+ &:not(.sapUiCalItemSelBetween) {
576
+ & > .sapUiCalSpecialDate {
577
+ bottom: 0.375rem;
578
+ width: 69%;
579
+ left: 0.3125rem;
580
+ }
581
+ }
582
+ & > .sapUiCalSpecialDate {
583
+ bottom: 0.375rem;
584
+ width: 66%;
585
+ left: 0.375rem;
586
+ }
587
+ }
588
+ }
589
+ &.sapUiCalItemSel {
590
+ &:focus {
591
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemNow) {
592
+ & > .sapUiCalItemText:after {
593
+ border-radius: 0.5rem;
594
+ top: 0;
595
+ bottom: 0;
596
+ left: 0;
597
+ right: 0;
598
+ }
599
+ }
600
+ }
601
+ }
602
+ }
603
+ }
604
+
369
605
  .sapUiCalItemOtherMonth {
370
606
  background-color: @sapUiListBackground;
371
607
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
@@ -395,6 +631,7 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
395
631
 
396
632
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween):hover{
397
633
  background-color: @sapUiContentSelectedHoverBackground;
634
+ filter: brightness(105%);
398
635
  }
399
636
 
400
637
  .sapUiCalMonthPicker,
@@ -421,7 +658,6 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
421
658
 
422
659
  .sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
423
660
  color: @sapUiContentSelectedTextColor;
424
- border-radius: 0.25rem;
425
661
  font-weight: bold;
426
662
  position: absolute;
427
663
  left: 0;
@@ -435,13 +671,137 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
435
671
  color: @sapContent_Selected_TextColor;
436
672
  }
437
673
 
674
+ .sapUiCalItem:focus:not(.sapUiCalItemSelBetween){
675
+ &:not(.sapUiCalItemSel) {
676
+ .sapUiCalSpecialDate {
677
+ width: 100%;
678
+ left: 0;
679
+ bottom: 0.025rem;;
680
+ }
681
+ }
682
+ & :not(.sapUiCalItemNow) .sapUiCalItemText:after {
683
+ content: "";
684
+ position: absolute;
685
+ top: 0.3125rem;
686
+ left: 0.3125rem;
687
+ right: 0.3125rem;
688
+ bottom: 0.3125rem;
689
+ border: 0.125rem solid @sapList_SelectionBorderColor;
690
+ border-radius: 0.1875rem;
691
+ }
692
+ }
693
+
694
+ //Looking here. Add rule that only applies to :not(.sapUiCalMonthSecType)?
695
+ .sapUiCalItem:focus {
696
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
697
+ position: absolute;
698
+ content: "";
699
+ top: 0.3125rem;
700
+ left: 0.3125rem;
701
+ right: 0.3125rem;
702
+ bottom: 0.3125rem;
703
+ border: 0.125rem solid @sapList_SelectionBorderColor;
704
+ border-radius: 0.1875rem;
705
+ }
706
+ &.sapUiCalItemNow,
707
+ &.sapUiCalItemSel,
708
+ &.sapUiCalItemSelStart,
709
+ &.sapUiCalItemSelEnd {
710
+ .sapUiCalItemText:before {
711
+ content: "";
712
+ position: absolute;
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
+
721
+ }
722
+ &.sapUiCalItemNow {
723
+ &.sapUiCalItemSelStart,
724
+ &.sapUiCalItemSelEnd {
725
+ .sapUiCalItemText:after {
726
+ position: absolute;
727
+ content: "";
728
+ top: 0.3125rem;
729
+ left: 0.3125rem;
730
+ right: 0.3125rem;
731
+ bottom: 0.3125rem;
732
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
733
+ border-radius: 0.1875rem;
734
+ }
735
+ }
736
+ }
737
+ }
738
+
739
+ .sapUiCalMonthSecType {
740
+ .sapUiCalItem {
741
+ &:focus {
742
+ &.sapUiCalItemSel:not(.sapUiCalItemNow),
743
+ &.sapUiCalItemSelStart:not(.sapUiCalItemNow),
744
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemNow) {
745
+ .sapUiCalItemText:before {
746
+ border: none;
747
+ }
748
+ }
749
+ &.sapUiCalItemSel {
750
+ .sapUiCalItemText:after {
751
+ border: 0.125rem solid @sapUiContentFocusColor;
752
+ border-width: 0.1875rem;
753
+ }
754
+ .sapUiCalItemText:before {
755
+ border: none;
756
+ }
757
+ }
758
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) {
759
+ .sapUiCalItemText:after {
760
+ top: 0;
761
+ bottom: 0;
762
+ left: 0;
763
+ right: 0;
764
+ border-radius: 0.5rem;
765
+ }
766
+ }
767
+ &.sapUiCalItemNow:not(.sapUiCalItemSelBetween),
768
+ &.sapUiCalItemNow{
769
+ .sapUiCalSpecialDate {
770
+ width: 75%;
771
+ left: 0.25rem;
772
+ right: 0.25rem;
773
+ bottom: 0.25rem;
774
+ }
775
+ }
776
+ }
777
+ &.sapUiCalItemNow {
778
+ &:not(.sapUiCalItemSelBetween),
779
+ &.sapUiCalItemSelBetween,
780
+ &.sapUiCalItemNow {
781
+ &> .sapUiCalItemText {
782
+ line-height: 2.125rem;
783
+ }
784
+ }
785
+ }
786
+ }
787
+
788
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
789
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
790
+ .sapUiCalItemSelBetween:focus:not(.sapUiCalItemNow),
791
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
792
+ .sapUiCalItemText:after {
793
+ border-width: 0.125rem;
794
+ }
795
+ }
796
+ }
797
+
438
798
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
439
799
  position: absolute;
440
800
  top: 0;
441
801
  left: 0;
442
802
  right: 0;
443
803
  bottom: 0;
444
- border: 0.125rem solid @sapUiContentFocusColor;
804
+ border: 0.0625rem solid @sapUiContentFocusColor;
445
805
  content: "";
446
806
  border-radius: 0.5rem;
447
807
  }
@@ -454,17 +814,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
454
814
  border-radius: 0.3125rem;
455
815
  }
456
816
 
457
- .sapUiCalItem.sapUiCalItemSel:focus > .sapUiCalItemText:after {
458
- border: 0.1875rem solid @sapUiContentFocusColor;
459
- top: 0;
460
- left: 0;
461
- right: 0;
462
- bottom: 0;
463
- }
817
+ .sapUiSizeCompact {
818
+ .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween:focus .sapUiCalItemText:before {
819
+ top: 0.0625rem;
820
+ left: 0.0625rem;
821
+ right: 0.0625rem;
822
+ bottom: 0.0625rem;
823
+ }
824
+ .sapUiCalItem {
825
+ &.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween {
826
+ &:focus > .sapUiCalItemText {
827
+ &:before {
828
+ border-radius: 0.25rem;
829
+ border-width: 0.125rem;
830
+ }
831
+ }
832
+ }
833
+ }
464
834
 
465
- .sapUiCalItem.sapUiCalItemSel.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
466
- border-width: 0.125rem;
467
- border-radius: 0.4375rem;
468
835
  }
469
836
 
470
837
  .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalDayName {
@@ -475,14 +842,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
475
842
  background-color: @sapUiSelected;
476
843
  }
477
844
 
478
- .sapUiCalItemSelBetween,
479
- .sapUiCalItemSelBetween.sapUiCalItemOtherMonth {
845
+ //Add a rule for the edgeCase selected?
846
+ .sapUiCalItemSel:not(.sapUiCalItemNow),
847
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
848
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
849
+ .sapUiCalItemSelBetween:not(.sapUiCalItemNow),
850
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
480
851
  background-color: @sapUiListSelectionBackgroundColor;
481
852
  color: @sapTextColor;
482
853
 
483
- .sapUiCalItemText {
484
- line-height: 2.75rem;
854
+ .sapUiCalItemText:after {
855
+ position: absolute;
856
+ top: 0;
857
+ left: 0;
858
+ right: 0;
859
+ bottom: 0;
485
860
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
861
+ content: "";
862
+ border-radius: 0.5rem;
486
863
  }
487
864
  }
488
865
 
@@ -524,7 +901,7 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
524
901
  }
525
902
 
526
903
  /* 2 calendar types */
527
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow > .sapUiCalItemText{
904
+ .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText{
528
905
  line-height: 1.875rem;
529
906
  }
530
907
 
@@ -564,16 +941,43 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
564
941
  line-height: 1.75rem;
565
942
  }
566
943
 
944
+ .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween .sapUiCalItemText,
945
+ .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween:not(.sapUiCalItemNow) > .sapUiCalItemText {
946
+ line-height: 1rem;
947
+ }
948
+ .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel > .sapUiCalItemText {
949
+ line-height: 1.25rem;
950
+ }
951
+ .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow > .sapUiCalItemText{
952
+ line-height: 1.25rem;
953
+ }
567
954
  .sapUiCalHead > button {
568
955
  margin: 0.1875rem 0;
569
956
  height: 1.625rem;
570
957
  }
571
958
 
572
959
  .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
573
- width: 1.5625rem;
960
+ width: 1.5rem;
574
961
  height: 1.5rem;
962
+ top: 0.0625rem;
575
963
  line-height: 1.4375rem;
576
964
  }
965
+
966
+ .sapUiCalMonthSecType {
967
+ .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween {
968
+ & > .sapUiCalItemText {
969
+ line-height: 0.75rem;
970
+ }
971
+ &:focus {
972
+ & > .sapUiCalItemText {
973
+ &:before {
974
+ border: none;
975
+ }
976
+ border: none;
977
+ }
978
+ }
979
+ }
980
+ }
577
981
  }
578
982
 
579
983
  @media only screen
@@ -82,13 +82,17 @@ html.sap-phone .sapMMenuLIImgThumbIcon{
82
82
  line-height: 2.75rem;
83
83
  }
84
84
 
85
- html.sap-phone .sapUiSizeCozy .sapUiMnuItm {
86
- .sapUiMnuItmTxt {
87
- padding-left: 1rem;
85
+ html.sap-phone .sapUiSizeCozy {
86
+ .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmTxt {
87
+ padding-left: 3.75rem;
88
88
  }
89
- .sapUiMnuItmIco + .sapUiMnuItmTxt {
89
+ .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
90
90
  padding-left: 0;
91
91
  }
92
+ .sapUiMnuLst.sapUiMnuNoIco > .sapUiMnuItm > .sapUiMnuItmTxt,
93
+ .sapUiMnuLst.sapUiMnuNoIco > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
94
+ padding-left: 0.875rem;
95
+ }
92
96
  }
93
97
 
94
98
  .sapMMenuLIArrowRightIcon {
@@ -106,7 +110,10 @@ html.sap-phone .sapUiSizeCozy .sapUiMnuItm {
106
110
  .sapUiMnu .sapUiMnuLst .sapUiMnuItm.sapUiMnuItmSubMnuOpen.sapUiMnuItmHov {
107
111
  border-bottom: 1px solid @sapUiListSelectionBorderColor;
108
112
  }
109
-
113
+ .sapUiSizeCompact .sapUiMnuItmIco{
114
+ padding-left: 0.5rem;
115
+ padding-right: 0.5rem;
116
+ }
110
117
  .sapUiMnu .sapUiMnuLst .sapUiMnuItm {
111
118
  border-bottom: 1px solid transparent;
112
119
  }
@@ -127,18 +134,40 @@ html.sap-phone .sapUiSizeCozy .sapUiMnuItm {
127
134
 
128
135
  html.sap-desktop,
129
136
  html.sap-tablet {
137
+ .sapUiSizeCompact {
138
+ .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmTxt {
139
+ padding-left: 3rem;
140
+ }
141
+ .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
142
+ padding-left: 0;
143
+ }
144
+ .sapUiMnuLst.sapUiMnuNoIco > .sapUiMnuItm > .sapUiMnuItmTxt,
145
+ .sapUiMnuLst.sapUiMnuNoIco > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
146
+ padding-left: 0.5rem;
147
+ }
148
+ }
130
149
  .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmTxt {
131
- padding-left: 0.75rem;
150
+ padding-left: 3.875rem;
132
151
  }
133
152
  .sapUiMnuLst > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
134
153
  padding-left: 0;
135
154
  }
136
155
  .sapUiMnuLst.sapUiMnuNoIco > .sapUiMnuItm > .sapUiMnuItmTxt,
137
156
  .sapUiMnuLst.sapUiMnuNoIco > .sapUiMnuItm > .sapUiMnuItmIco + .sapUiMnuItmTxt {
138
- padding-left: 0;
157
+ padding-left: 0.75rem;
139
158
  }
140
159
  }
141
160
 
161
+ .sapUiMnuItmIco{
162
+ padding-left: 0.75rem;
163
+ padding-right: 0.75rem;
164
+ }
165
+
166
+ .sapUiSizeCompact .sapUiMnuItmIco{
167
+ padding-left: 0.5rem;
168
+ padding-right: 0.5rem;
169
+ }
170
+
142
171
  .sapUiMnuItm.sapUiMnuTfItm .sapUiMnuTfItemTf {
143
172
  border-radius: 0.25rem;
144
173
  }