@openui5/themelib_sap_horizon 1.114.2 → 1.114.4

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 (92) 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_dark/Card.less +7 -13
  4. package/src/sap/f/themes/sap_horizon_hcb/Card.less +1 -1
  5. package/src/sap/f/themes/sap_horizon_hcw/Card.less +1 -1
  6. package/src/sap/m/themes/sap_horizon/Avatar.less +12 -2
  7. package/src/sap/m/themes/sap_horizon/IconTabBar.less +219 -58
  8. package/src/sap/m/themes/sap_horizon/InputBase.less +3 -5
  9. package/src/sap/m/themes/sap_horizon/Link.less +25 -19
  10. package/src/sap/m/themes/sap_horizon/MenuListItem.less +13 -0
  11. package/src/sap/m/themes/sap_horizon/Panel.less +9 -3
  12. package/src/sap/m/themes/sap_horizon/Popover.less +13 -0
  13. package/src/sap/m/themes/sap_horizon/RadioButton.less +4 -5
  14. package/src/sap/m/themes/sap_horizon/RangeSlider.less +2 -7
  15. package/src/sap/m/themes/sap_horizon/SearchField.less +1 -2
  16. package/src/sap/m/themes/sap_horizon/Select.less +8 -14
  17. package/src/sap/m/themes/sap_horizon/Slider.less +2 -1
  18. package/src/sap/m/themes/sap_horizon/TextArea.less +4 -0
  19. package/src/sap/m/themes/sap_horizon/Token.less +44 -37
  20. package/src/sap/m/themes/sap_horizon/Tokenizer.less +8 -1
  21. package/src/sap/m/themes/sap_horizon/library.source.less +1 -0
  22. package/src/sap/m/themes/sap_horizon_dark/Avatar.less +12 -2
  23. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +200 -36
  24. package/src/sap/m/themes/sap_horizon_dark/InputBase.less +3 -5
  25. package/src/sap/m/themes/sap_horizon_dark/Link.less +25 -19
  26. package/src/sap/m/themes/sap_horizon_dark/MenuListItem.less +13 -0
  27. package/src/sap/m/themes/sap_horizon_dark/MessageToast.less +8 -0
  28. package/src/sap/m/themes/sap_horizon_dark/Panel.less +8 -3
  29. package/src/sap/m/themes/sap_horizon_dark/Popover.less +13 -0
  30. package/src/sap/m/themes/sap_horizon_dark/RadioButton.less +4 -6
  31. package/src/sap/m/themes/sap_horizon_dark/RangeSlider.less +2 -7
  32. package/src/sap/m/themes/sap_horizon_dark/SearchField.less +0 -2
  33. package/src/sap/m/themes/sap_horizon_dark/Select.less +7 -14
  34. package/src/sap/m/themes/sap_horizon_dark/Slider.less +7 -1
  35. package/src/sap/m/themes/sap_horizon_dark/TextArea.less +4 -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/library.source.less +2 -0
  39. package/src/sap/m/themes/sap_horizon_hcb/Avatar.less +6 -2
  40. package/src/sap/m/themes/sap_horizon_hcb/IconTabBar.less +8 -0
  41. package/src/sap/m/themes/sap_horizon_hcb/Link.less +21 -14
  42. package/src/sap/m/themes/sap_horizon_hcb/MessageToast.less +8 -0
  43. package/src/sap/m/themes/sap_horizon_hcb/Panel.less +8 -3
  44. package/src/sap/m/themes/sap_horizon_hcb/Popover.less +6 -0
  45. package/src/sap/m/themes/sap_horizon_hcb/RadioButton.less +1 -1
  46. package/src/sap/m/themes/sap_horizon_hcb/SearchField.less +0 -2
  47. package/src/sap/m/themes/sap_horizon_hcb/Select.less +20 -0
  48. package/src/sap/m/themes/sap_horizon_hcb/SelectList.less +1 -0
  49. package/src/sap/m/themes/sap_horizon_hcb/Slider.less +2 -1
  50. package/src/sap/m/themes/sap_horizon_hcb/TextArea.less +5 -1
  51. package/src/sap/m/themes/sap_horizon_hcb/Token.less +20 -13
  52. package/src/sap/m/themes/sap_horizon_hcb/Tokenizer.less +7 -0
  53. package/src/sap/m/themes/sap_horizon_hcb/library.source.less +1 -0
  54. package/src/sap/m/themes/sap_horizon_hcw/Avatar.less +6 -2
  55. package/src/sap/m/themes/sap_horizon_hcw/IconTabBar.less +8 -0
  56. package/src/sap/m/themes/sap_horizon_hcw/Link.less +21 -14
  57. package/src/sap/m/themes/sap_horizon_hcw/MessageToast.less +8 -0
  58. package/src/sap/m/themes/sap_horizon_hcw/Panel.less +8 -4
  59. package/src/sap/m/themes/sap_horizon_hcw/Popover.less +6 -0
  60. package/src/sap/m/themes/sap_horizon_hcw/RadioButton.less +1 -1
  61. package/src/sap/m/themes/sap_horizon_hcw/SearchField.less +0 -2
  62. package/src/sap/m/themes/sap_horizon_hcw/Select.less +21 -0
  63. package/src/sap/m/themes/sap_horizon_hcw/SelectList.less +1 -0
  64. package/src/sap/m/themes/sap_horizon_hcw/Slider.less +2 -1
  65. package/src/sap/m/themes/sap_horizon_hcw/TextArea.less +5 -1
  66. package/src/sap/m/themes/sap_horizon_hcw/Token.less +21 -13
  67. package/src/sap/m/themes/sap_horizon_hcw/Tokenizer.less +7 -0
  68. package/src/sap/m/themes/sap_horizon_hcw/library.source.less +1 -0
  69. package/src/sap/tnt/themes/sap_horizon/NavigationList.less +26 -4
  70. package/src/sap/tnt/themes/sap_horizon/SideNavigation.less +11 -2
  71. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +241 -342
  72. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +16 -3
  73. package/src/sap/tnt/themes/sap_horizon_dark/NavigationList.less +26 -4
  74. package/src/sap/tnt/themes/sap_horizon_dark/SideNavigation.less +11 -2
  75. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +241 -342
  76. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +16 -3
  77. package/src/sap/tnt/themes/sap_horizon_hcb/NavigationList.less +19 -2
  78. package/src/sap/tnt/themes/sap_horizon_hcb/SideNavigation.less +5 -1
  79. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +360 -2
  80. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +17 -3
  81. package/src/sap/tnt/themes/sap_horizon_hcw/NavigationList.less +19 -2
  82. package/src/sap/tnt/themes/sap_horizon_hcw/SideNavigation.less +5 -1
  83. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +360 -2
  84. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +17 -3
  85. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  86. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  87. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  88. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  89. package/src/sap/ui/unified/themes/sap_horizon/Calendar.less +423 -60
  90. package/src/sap/ui/unified/themes/sap_horizon/Menu.less +48 -6
  91. package/src/sap/ui/unified/themes/sap_horizon_dark/Calendar.less +421 -51
  92. 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;
@@ -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,15 +278,15 @@ 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
 
@@ -285,19 +301,56 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
285
301
  left: 0;
286
302
  right: 0;
287
303
  bottom: 0;
288
- border: 0.125rem solid @sapUiContentFocusColor;
289
304
  content: "";
290
305
  border-radius: 0.5rem;
291
306
  }
292
307
  }
293
- &.sapUiCalItemSelBetween .sapUiCalItemText {
294
- position: relative;
308
+
309
+ &.sapUiCalItemSelBetween {
310
+ .sapUiCalItemText {
311
+ position: relative;
312
+ }
313
+ &:not(.sapUiCalItemNow) {
314
+ .sapUiCalItemText:after {
315
+ position: absolute;
316
+ top: 0;
317
+ left: 0;
318
+ right: 0;
319
+ bottom: 0;
320
+ border: 0.0625rem solid @sapUiListSelectionBorderColor;
321
+ content: "";
322
+ border-radius: 0.5rem;
323
+ }
324
+ }
295
325
  }
296
326
  &.sapUiCalItemNow {
297
327
  border-radius: 0.5rem;
298
328
  &:hover {
299
329
  background: @sapUiListHoverBackground;
300
330
  }
331
+ &.sapUiCalItemSel:not(.sapUiCalItemSelBetween),
332
+ &.sapUiCalItemSelStart:not(.sapUiCalItemSelBetween),
333
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemSelBetween) {
334
+
335
+ .sapUiCalItemText:after {
336
+ position: absolute;
337
+ top: 0.3125rem;
338
+ left: 0.3125rem;
339
+ right: 0.3125rem;
340
+ bottom: 0.3125rem;
341
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
342
+ content: "";
343
+ border-radius: 0.1875rem;
344
+ }
345
+ }
346
+ &.sapUiCalItemSel:not(:focus) {
347
+ .sapUiCalSpecialDate {
348
+ width: 76%;
349
+ left: 0.25rem;
350
+ right: 0.25rem;
351
+ bottom: 0.2rem;
352
+ }
353
+ }
301
354
  &.sapUiCalItemSelBetween {
302
355
  line-height: normal;
303
356
  & > .sapUiCalItemText {
@@ -307,7 +360,20 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
307
360
  width: 2.0625rem;
308
361
  height: 2.375rem;
309
362
  line-height: 2.375rem;
310
- top: 0.0625rem;
363
+ }
364
+ & > .sapUiCalSpecialDate {
365
+ width: 76%;
366
+ left: 0.2rem;
367
+ bottom: 0.2rem;
368
+ }
369
+ }
370
+ &:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) {
371
+ &:focus {
372
+ & > .sapUiCalSpecialDate {
373
+ width: 63%;
374
+ left: 0.3125rem;
375
+ bottom: 0.3125rem;
376
+ }
311
377
  }
312
378
  }
313
379
  .sapUiCalSpecialDate {
@@ -315,26 +381,43 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
315
381
  bottom: 0.125rem;
316
382
  left: 0.125rem;
317
383
  }
318
- &:focus .sapUiCalSpecialDate,
384
+ &:focus:not(.sapUiCalItemNow) .sapUiCalSpecialDate,
319
385
  &.sapUiCalItemSel .sapUiCalSpecialDate {
320
- width: 75%;
321
- bottom: 0.25rem;
322
- left: 0.25rem;
386
+ bottom: 0.375rem;
387
+ width: 60%;
388
+ left: 0.3755rem;
389
+ right: 0.25rem;
390
+ }
391
+
392
+ &:focus .sapUiCalSpecialDate {
393
+ bottom: 0.45rem;
394
+ bottom: 0.375rem;
395
+ width: 63%;
396
+ left: 0.375rem;
397
+ right: 0.375rem;
398
+ height: 0.25rem;
399
+ height: 0.3125rem;
323
400
  }
324
401
  .sapUiCalItemText {
325
402
  border: none;
326
403
  }
327
404
  &.sapUiCalItemSel {
328
405
  box-shadow: inset 0 0 0 0.25rem @sapUiListBackground;
329
- &:focus .sapUiCalSpecialDate {
330
- bottom: 0.35rem
406
+ &:focus:not(.sapUiCalItemSelBetween) .sapUiCalSpecialDate {
407
+ bottom: 0.3rem;
408
+ }
409
+
410
+ &.sapUiCalItemSelBetween {
411
+ &:focus .sapUiCalSpecialDate {
412
+ bottom: 0.3125rem;
413
+ }
331
414
  }
332
415
  &.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
333
416
  top: 0;
334
417
  left: 0;
335
418
  right: 0;
336
419
  bottom: 0;
337
- border-radius: 0.25rem;
420
+ border-radius: 0.3125rem;
338
421
  }
339
422
  }
340
423
  &:focus > .sapUiCalItemText:after {
@@ -346,13 +429,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
346
429
  }
347
430
  &:before {
348
431
  position: absolute;
432
+ content: "";
349
433
  top: 0;
350
434
  left: 0;
351
435
  right: 0;
352
436
  bottom: 0;
353
437
  border: 0.125rem solid @sapUiLegendCurrentDateTime;
354
- content: "";
355
438
  border-radius: 0.5rem;
439
+ z-index: 1;
440
+ pointer-events: none;
356
441
  }
357
442
  }
358
443
  .sapUiCalItemText:after {
@@ -362,26 +447,165 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
362
447
  position: absolute;
363
448
  width: 100%;
364
449
  height: 0.3125rem;
365
- bottom: -0.0625rem;
450
+ bottom: 0.025rem;
366
451
  border-bottom-left-radius: 0.25rem;
367
452
  border-bottom-right-radius: 0.25rem;
368
453
  pointer-events: none;
369
- z-index: 0;
370
454
  }
455
+
456
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
457
+ .sapUiCalSpecialDate {
458
+ width: 91%;
459
+ left: 0.0625rem;
460
+ right: 0.0625rem;
461
+ bottom: 0.025rem;
462
+ }
463
+ }
464
+
371
465
  &:focus .sapUiCalSpecialDate,
372
466
  &.sapUiCalItemSel .sapUiCalSpecialDate {
373
- bottom: 0.0625rem;
467
+ bottom: 0.025rem;
468
+ left: 0.09375rem;
469
+ width: 90%;
470
+ }
471
+ &:focus:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) .sapUiCalSpecialDate {
472
+ width: 93%;
374
473
  left: 0.0625rem;
375
- width: 95%;
474
+ bottom: 0.0625rem;
376
475
  }
377
- &.sapUiCalItemSel:focus .sapUiCalSpecialDate{
378
- bottom: 0.125rem;
476
+ .sapUiCalItemText {
477
+ border-radius: 0.5rem;
379
478
  }
380
479
  .sapUiCalItemText {
381
480
  border-radius: 0.5rem;
382
481
  }
383
482
  }
384
483
 
484
+ .sapUiSizeCozy {
485
+ .sapUiCalSecType {
486
+ .sapUiCalItem {
487
+ &.sapUiCalItemNow {
488
+ &:not(.sapUiCalItemSelBetween),
489
+ &.sapUiCalItemSelBetween {
490
+ &> .sapUiCalItemText {
491
+ line-height: 2rem;
492
+ }
493
+ }
494
+ }
495
+ }
496
+ }
497
+ .sapUiCalItem {
498
+ &:focus .sapUiCalSpecialDate,
499
+ &.sapUiCalItemSel .sapUiCalSpecialDate {
500
+ width: 91%;
501
+ }
502
+
503
+ &.sapUiCalItemSelBetween {
504
+ &.sapUiCalItemNow {
505
+ .sapUiCalSpecialDate {
506
+ bottom: 0.3rem;
507
+ }
508
+ }
509
+ &:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
510
+ .sapUiCalSpecialDate {
511
+ width: 93%;
512
+ left: 0.0625rem;
513
+ right: 0.0625rem;
514
+ bottom: 0.025rem;
515
+ }
516
+ }
517
+ }
518
+ &.sapUiCalItemNow {
519
+ &.sapUiCalItemSelBetween {
520
+ & > .sapUiCalItemText {
521
+ border: none;
522
+ margin: auto;
523
+ height: 100%;
524
+ line-height: 2.875rem;
525
+ }
526
+ & > .sapUiCalItemText:after {
527
+ content: "";
528
+ position: absolute;
529
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
530
+ border-radius: 0.3125rem;
531
+ margin: 0.125rem;
532
+ line-height: 2.375rem;
533
+ left: 0.0625rem;
534
+ top: 0.0625rem;
535
+ bottom: 0.0625rem;
536
+ right: 0.0625rem;
537
+
538
+
539
+ }
540
+ &:focus > .sapUiCalItemText:after {
541
+ top: 0.05rem;
542
+ left: 0.05rem;
543
+ right: 0.05rem;
544
+ bottom: 0.05rem;
545
+ }
546
+ &.sapUiCalItemSel {
547
+ & > .sapUiCalItemText:after {
548
+ top: 0.0625rem;
549
+ left: 0.0625rem;
550
+ right: 0.0625rem;
551
+ bottom: 0.0625rem;
552
+ }
553
+ &:focus .sapUiCalSpecialDate {
554
+ bottom: 0.375rem;
555
+ }
556
+ }
557
+ & > .sapUiCalSpecialDate {
558
+ left: 0.25rem;
559
+ right: 0.25rem;
560
+ bottom: 0.25rem;
561
+ width: 76%;
562
+ }
563
+ }
564
+ &.sapUiCalItemSel.sapUiCalItemSelBetween:not(:focus) {
565
+ .sapUiCalSpecialDate {
566
+ bottom: 0.3125rem;
567
+ width: 63%;
568
+ left: 0.375rem;
569
+ right: 0.375rem;
570
+ height: 0.3125rem;
571
+
572
+ width: 78%;
573
+ bottom: 0.25rem;
574
+ left: 0.25rem;
575
+ right: 0.25rem;
576
+ }
577
+ }
578
+ &:focus {
579
+ &:not(.sapUiCalItemSelBetween) {
580
+ & > .sapUiCalSpecialDate {
581
+ bottom: 0.375rem;
582
+ width: 69%;
583
+ left: 0.3125rem;
584
+ }
585
+ }
586
+ & > .sapUiCalSpecialDate {
587
+ bottom: 0.375rem;
588
+ width: 66%;
589
+ left: 0.375rem;
590
+ }
591
+ }
592
+ }
593
+ &.sapUiCalItemSel {
594
+ &:focus {
595
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemNow) {
596
+ & > .sapUiCalItemText:after {
597
+ border-radius: 0.5rem;
598
+ top: 0;
599
+ bottom: 0;
600
+ left: 0;
601
+ right: 0;
602
+ }
603
+ }
604
+ }
605
+ }
606
+ }
607
+ }
608
+
385
609
  .sapUiCalItemOtherMonth {
386
610
  background-color: @sapUiListBackground;
387
611
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
@@ -411,6 +635,7 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
411
635
 
412
636
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween):hover{
413
637
  background-color: @sapUiContentSelectedHoverBackground;
638
+ filter: brightness(105%);
414
639
  }
415
640
 
416
641
  .sapUiCalMonthPicker,
@@ -437,7 +662,6 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
437
662
 
438
663
  .sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
439
664
  color: @sapUiContentSelectedTextColor;
440
- border-radius: 0.25rem;
441
665
  font-weight: bold;
442
666
  position: absolute;
443
667
  left: 0;
@@ -451,13 +675,136 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
451
675
  color: @sapContent_Selected_TextColor;
452
676
  }
453
677
 
678
+ .sapUiCalItem:focus:not(.sapUiCalItemSelBetween){
679
+ &:not(.sapUiCalItemSel) {
680
+ .sapUiCalSpecialDate {
681
+ width: 100%;
682
+ left: 0;
683
+ bottom: 0.025rem;;
684
+ }
685
+ }
686
+ & :not(.sapUiCalItemNow) .sapUiCalItemText:after {
687
+ content: "";
688
+ position: absolute;
689
+ top: 0.3125rem;
690
+ left: 0.3125rem;
691
+ right: 0.3125rem;
692
+ bottom: 0.3125rem;
693
+ border: 0.125rem solid @sapList_SelectionBorderColor;
694
+ border-radius: 0.1875rem;
695
+ }
696
+ }
697
+
698
+ .sapUiCalItem:focus {
699
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
700
+ position: absolute;
701
+ content: "";
702
+ top: 0.3125rem;
703
+ left: 0.3125rem;
704
+ right: 0.3125rem;
705
+ bottom: 0.3125rem;
706
+ border: 0.125rem solid @sapList_SelectionBorderColor;
707
+ border-radius: 0.1875rem;
708
+ }
709
+ &.sapUiCalItemNow,
710
+ &.sapUiCalItemSel,
711
+ &.sapUiCalItemSelStart,
712
+ &.sapUiCalItemSelEnd {
713
+ .sapUiCalItemText:before {
714
+ content: "";
715
+ position: absolute;
716
+ top: 0.3125rem;
717
+ left: 0.3125rem;
718
+ right: 0.3125rem;
719
+ bottom: 0.3125rem;
720
+ border: 0.125rem solid @sapList_SelectionBorderColor;
721
+ border-radius: 0.1875rem;
722
+ }
723
+
724
+ }
725
+ &.sapUiCalItemNow {
726
+ &.sapUiCalItemSelStart,
727
+ &.sapUiCalItemSelEnd {
728
+ .sapUiCalItemText:after {
729
+ position: absolute;
730
+ content: "";
731
+ top: 0.3125rem;
732
+ left: 0.3125rem;
733
+ right: 0.3125rem;
734
+ bottom: 0.3125rem;
735
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
736
+ border-radius: 0.1875rem;
737
+ }
738
+ }
739
+ }
740
+ }
741
+
742
+ .sapUiCalMonthSecType {
743
+ .sapUiCalItem {
744
+ &:focus {
745
+ &.sapUiCalItemSel:not(.sapUiCalItemNow),
746
+ &.sapUiCalItemSelStart:not(.sapUiCalItemNow),
747
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemNow) {
748
+ .sapUiCalItemText:before {
749
+ border: none;
750
+ }
751
+ }
752
+ &.sapUiCalItemSel {
753
+ .sapUiCalItemText:after {
754
+ border: 0.125rem solid @sapUiContentFocusColor;
755
+ border-width: 0.1875rem;
756
+ }
757
+ .sapUiCalItemText:before {
758
+ border: none;
759
+ }
760
+ }
761
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) {
762
+ .sapUiCalItemText:after {
763
+ top: 0;
764
+ bottom: 0;
765
+ left: 0;
766
+ right: 0;
767
+ border-radius: 0.5rem;
768
+ }
769
+ }
770
+ &.sapUiCalItemNow:not(.sapUiCalItemSelBetween),
771
+ &.sapUiCalItemNow{
772
+ .sapUiCalSpecialDate {
773
+ width: 75%;
774
+ left: 0.25rem;
775
+ right: 0.25rem;
776
+ bottom: 0.25rem;
777
+ }
778
+ }
779
+ }
780
+ &.sapUiCalItemNow {
781
+ &:not(.sapUiCalItemSelBetween),
782
+ &.sapUiCalItemSelBetween,
783
+ &.sapUiCalItemNow {
784
+ &> .sapUiCalItemText {
785
+ line-height: 2.125rem;
786
+ }
787
+ }
788
+ }
789
+ }
790
+
791
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
792
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
793
+ .sapUiCalItemSelBetween:focus:not(.sapUiCalItemNow),
794
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
795
+ .sapUiCalItemText:after {
796
+ border-width: 0.125rem;
797
+ }
798
+ }
799
+ }
800
+
454
801
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
455
802
  position: absolute;
456
803
  top: 0;
457
804
  left: 0;
458
805
  right: 0;
459
806
  bottom: 0;
460
- border: 0.125rem solid @sapUiContentFocusColor;
807
+ border: 0.0625rem solid @sapUiContentFocusColor;
461
808
  content: "";
462
809
  border-radius: 0.5rem;
463
810
  }
@@ -470,17 +817,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
470
817
  border-radius: 0.3125rem;
471
818
  }
472
819
 
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
- }
820
+ .sapUiSizeCompact {
821
+ .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween:focus .sapUiCalItemText:before {
822
+ top: 0.0625rem;
823
+ left: 0.0625rem;
824
+ right: 0.0625rem;
825
+ bottom: 0.0625rem;
826
+ }
827
+ .sapUiCalItem {
828
+ &.sapUiCalItemSel.sapUiCalItemNow.sapUiCalItemSelBetween {
829
+ &:focus > .sapUiCalItemText {
830
+ &:before {
831
+ border-radius: 0.25rem;
832
+ border-width: 0.125rem;
833
+ }
834
+ }
835
+ }
836
+ }
480
837
 
481
- .sapUiCalItem.sapUiCalItemSel.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
482
- border-width: 0.125rem;
483
- border-radius: 0.4375rem;
484
838
  }
485
839
 
486
840
  .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalDayName {
@@ -491,14 +845,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
491
845
  background-color: @sapUiSelected;
492
846
  }
493
847
 
494
- .sapUiCalItemSelBetween,
495
- .sapUiCalItemSelBetween.sapUiCalItemOtherMonth {
848
+ //Add a rule for the edgeCase selected?
849
+ .sapUiCalItemSel:not(.sapUiCalItemNow),
850
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
851
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
852
+ .sapUiCalItemSelBetween:not(.sapUiCalItemNow),
853
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
496
854
  background-color: @sapUiListSelectionBackgroundColor;
497
855
  color: @sapTextColor;
498
856
 
499
- .sapUiCalItemText {
500
- line-height: 2.75rem;
857
+ .sapUiCalItemText:after {
858
+ position: absolute;
859
+ top: 0;
860
+ left: 0;
861
+ right: 0;
862
+ bottom: 0;
501
863
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
864
+ content: "";
865
+ border-radius: 0.5rem;
502
866
  }
503
867
  }
504
868
 
@@ -540,14 +904,6 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
540
904
  }
541
905
 
542
906
  /* 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
907
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText{
552
908
  line-height: 1.875rem;
553
909
  }
@@ -589,7 +945,7 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
589
945
  }
590
946
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween .sapUiCalItemText,
591
947
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween:not(.sapUiCalItemNow) > .sapUiCalItemText {
592
- line-height: 0.875rem;
948
+ line-height: 1rem;
593
949
  }
594
950
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel > .sapUiCalItemText {
595
951
  line-height: 1.25rem;
@@ -601,14 +957,28 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
601
957
  margin: 0.1875rem 0;
602
958
  height: 1.625rem;
603
959
  }
604
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
605
- line-height: 0.75rem;
606
- }
607
960
  .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
608
- width: 1.8125rem;
961
+ width: 1.5rem;
609
962
  height: 1.5rem;
963
+ top: 0.0625rem;
610
964
  line-height: 1.4375rem;
611
965
  }
966
+
967
+ .sapUiCalMonthSecType {
968
+ .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween {
969
+ & > .sapUiCalItemText {
970
+ line-height: 0.75rem;
971
+ }
972
+ &:focus {
973
+ & > .sapUiCalItemText {
974
+ &:before {
975
+ border: none;
976
+ }
977
+ border: none;
978
+ }
979
+ }
980
+ }
981
+ }
612
982
  }
613
983
 
614
984
  @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
  }