@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;
@@ -156,7 +168,7 @@ html.sap-desktop .sapUiCalHead > .sapUiCalHeadB:active {
156
168
  /* hide outline for all devices, but enable later for desktop */
157
169
  .sapUiCalItem:focus {
158
170
  outline: none;
159
- overflow: visible;
171
+ overflow: hidden;
160
172
  }
161
173
 
162
174
  html.sap-desktop .sapUiCalItem:not(.sapUiCalItemSel):not(.sapUiCalItemWeekEnd):focus {
@@ -240,6 +252,10 @@ html.sap-desktop .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):focus {
240
252
  background-color: @sapUiListHoverBackground;
241
253
  }
242
254
 
255
+ .sapUiCalItemWeekEnd:hover {
256
+ filter: brightness (105%);
257
+ }
258
+
243
259
  html.sap-desktop .sapUiCalDatesRow .sapUiCalItemWeekEnd:not(.sapUiCalItemSel):hover,
244
260
  html.sap-desktop .sapUiCal:not(.sapUiCalDateInt) .sapUiCalItemWeekEnd:not(.sapUiCalItemSel) :not(.sapUiCalWeekNum):hover {
245
261
  background-color: @sapUiListHoverBackground;
@@ -266,15 +282,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
266
282
  border-bottom-right-radius: 0;
267
283
  }
268
284
 
269
- .sapUiSizeCompact .sapUiCalItem {
285
+ .sapUiSizeCompact .sapUiCalItem:not(.sapUiCalItemNow) {
270
286
  &.sapUiCalItemSelBetween .sapUiCalItemText {
271
- position: relative;
287
+ position: static;
272
288
  }
273
289
  }
274
290
  .sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem {
275
291
  &.sapUiCalItemSelBetween .sapUiCalItemText {
276
292
  position: relative;
277
- line-height: 0.875rem;
293
+ line-height: 1rem;
278
294
  }
279
295
  }
280
296
 
@@ -289,19 +305,56 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
289
305
  left: 0;
290
306
  right: 0;
291
307
  bottom: 0;
292
- border: 0.125rem solid @sapUiContentFocusColor;
293
308
  content: "";
294
309
  border-radius: 0.5rem;
295
310
  }
296
311
  }
297
- &.sapUiCalItemSelBetween .sapUiCalItemText {
298
- position: relative;
312
+ &.sapUiCalItemSelBetween {
313
+ .sapUiCalItemText {
314
+ position: relative;
315
+ }
316
+ &:not(.sapUiCalItemNow) {
317
+ .sapUiCalItemText:after {
318
+ position: absolute;
319
+ top: 0;
320
+ left: 0;
321
+ right: 0;
322
+ bottom: 0;
323
+ border: 0.0625rem solid @sapUiListSelectionBorderColor;
324
+ content: "";
325
+ border-radius: 0.5rem;
326
+ }
327
+ }
299
328
  }
329
+
300
330
  &.sapUiCalItemNow {
301
331
  border-radius: 0.5rem;
302
332
  &:hover {
303
333
  background: @sapUiListHoverBackground;
304
334
  }
335
+ &.sapUiCalItemSel:not(.sapUiCalItemSelBetween),
336
+ &.sapUiCalItemSelStart:not(.sapUiCalItemSelBetween),
337
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemSelBetween) {
338
+
339
+ .sapUiCalItemText:after {
340
+ position: absolute;
341
+ top: 0.3125rem;
342
+ left: 0.3125rem;
343
+ right: 0.3125rem;
344
+ bottom: 0.3125rem;
345
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
346
+ content: "";
347
+ border-radius: 0.1875rem;
348
+ }
349
+ }
350
+ &.sapUiCalItemSel:not(:focus) {
351
+ .sapUiCalSpecialDate {
352
+ width: 76%;
353
+ left: 0.25rem;
354
+ right: 0.25rem;
355
+ bottom: 0.2rem;
356
+ }
357
+ }
305
358
  &.sapUiCalItemSelBetween {
306
359
  line-height: normal;
307
360
  & > .sapUiCalItemText {
@@ -311,7 +364,20 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
311
364
  width: 2.0625rem;
312
365
  height: 2.375rem;
313
366
  line-height: 2.375rem;
314
- top: 0.0625rem;
367
+ }
368
+ & > .sapUiCalSpecialDate {
369
+ width: 76%;
370
+ left: 0.2rem;
371
+ bottom: 0.2rem;
372
+ }
373
+ }
374
+ &:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) {
375
+ &:focus {
376
+ & > .sapUiCalSpecialDate {
377
+ width: 63%;
378
+ left: 0.3125rem;
379
+ bottom: 0.3125rem;
380
+ }
315
381
  }
316
382
  }
317
383
  .sapUiCalSpecialDate {
@@ -319,26 +385,44 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
319
385
  bottom: 0.125rem;
320
386
  left: 0.125rem;
321
387
  }
322
- &:focus .sapUiCalSpecialDate,
388
+ &:focus:not(.sapUiCalItemNow) .sapUiCalSpecialDate,
323
389
  &.sapUiCalItemSel .sapUiCalSpecialDate {
324
- width: 75%;
325
- bottom: 0.25rem;
326
- left: 0.25rem;
390
+ bottom: 0.375rem;
391
+ width: 60%;
392
+ left: 0.3755rem;
393
+ right: 0.25rem;
394
+ }
395
+
396
+ &:focus .sapUiCalSpecialDate {
397
+ bottom: 0.45rem;
398
+ bottom: 0.375rem;
399
+ width: 63%;
400
+ left: 0.375rem;
401
+ right: 0.375rem;
402
+ height: 0.25rem;
403
+ height: 0.3125rem;
327
404
  }
405
+
328
406
  .sapUiCalItemText {
329
407
  border: none;
330
408
  }
331
409
  &.sapUiCalItemSel {
332
410
  box-shadow: inset 0 0 0 0.25rem @sapUiListBackground;
333
- &:focus .sapUiCalSpecialDate {
334
- bottom: 0.35rem
411
+ &:focus:not(.sapUiCalItemSelBetween) .sapUiCalSpecialDate {
412
+ bottom: 0.3rem;
413
+ }
414
+
415
+ &.sapUiCalItemSelBetween {
416
+ &:focus .sapUiCalSpecialDate {
417
+ bottom: 0.3125rem;
418
+ }
335
419
  }
336
420
  &.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
337
421
  top: 0;
338
422
  left: 0;
339
423
  right: 0;
340
424
  bottom: 0;
341
- border-radius: 0.25rem;
425
+ border-radius: 0.3125rem;
342
426
  }
343
427
  }
344
428
  &:focus > .sapUiCalItemText:after {
@@ -350,13 +434,15 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
350
434
  }
351
435
  &:before {
352
436
  position: absolute;
437
+ content: "";
353
438
  top: 0;
354
439
  left: 0;
355
440
  right: 0;
356
441
  bottom: 0;
357
442
  border: 0.125rem solid @sapUiLegendCurrentDateTime;
358
- content: "";
359
443
  border-radius: 0.5rem;
444
+ z-index: 1;
445
+ pointer-events: none;
360
446
  }
361
447
  }
362
448
  .sapUiCalItemText:after {
@@ -366,26 +452,170 @@ html.sap-desktop .sapUiCalItemSel:not(.sapUiCalItemNow):not(.sapUiCalItemSelBetw
366
452
  position: absolute;
367
453
  width: 100%;
368
454
  height: 0.3125rem;
369
- bottom: -0.0625rem;
455
+ bottom: 0.025rem;
370
456
  border-bottom-left-radius: 0.25rem;
371
457
  border-bottom-right-radius: 0.25rem;
372
458
  pointer-events: none;
373
- z-index: 0;
374
459
  }
460
+
461
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
462
+ .sapUiCalSpecialDate {
463
+ width: 91%;
464
+ left: 0.0625rem;
465
+ right: 0.0625rem;
466
+ bottom: 0.025rem;
467
+ }
468
+ }
469
+
375
470
  &:focus .sapUiCalSpecialDate,
376
471
  &.sapUiCalItemSel .sapUiCalSpecialDate {
377
- bottom: 0.0625rem;
378
- left: 0.0625rem;
379
- width: 95%;
472
+ bottom: 0.025rem;
473
+ left: 0.09375rem;
474
+ width: 90%;
380
475
  }
381
- &.sapUiCalItemSel:focus .sapUiCalSpecialDate{
382
- bottom: 0.125rem;
476
+ &:focus:not(.sapUiCalItemSelBetween):not(.sapUiCalItemSel) .sapUiCalSpecialDate {
477
+ width: 93%;
478
+ left: 0.0625rem;
479
+ bottom: 0.0625rem;
383
480
  }
481
+
384
482
  .sapUiCalItemText {
385
483
  border-radius: 0.5rem;
386
484
  }
387
485
  }
388
486
 
487
+ .sapUiSizeCozy {
488
+ .sapUiCalSecType {
489
+ .sapUiCalItem {
490
+ &.sapUiCalItemNow {
491
+ &:not(.sapUiCalItemSelBetween),
492
+ &.sapUiCalItemSelBetween {
493
+ &> .sapUiCalItemText {
494
+ line-height: 2rem;
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+ .sapUiCalItem {
501
+ &:focus .sapUiCalSpecialDate,
502
+ &.sapUiCalItemSel .sapUiCalSpecialDate {
503
+ width: 91%;
504
+ }
505
+
506
+ &.sapUiCalItemSelBetween {
507
+ &.sapUiCalItemNow {
508
+ .sapUiCalSpecialDate {
509
+ bottom: 0.3rem;
510
+ }
511
+ }
512
+ &:not(.sapUiCalItemSel):not(.sapUiCalItemNow) {
513
+ .sapUiCalSpecialDate {
514
+ width: 93%;
515
+ left: 0.0625rem;
516
+ right: 0.0625rem;
517
+ bottom: 0.025rem;
518
+ }
519
+ }
520
+ }
521
+ &.sapUiCalItemNow {
522
+ &.sapUiCalItemSel {
523
+ &:not(:focus) {
524
+ .sapUiCalSpecialDate {
525
+ width: 82%;
526
+ }
527
+ }
528
+ }
529
+ &.sapUiCalItemSelBetween {
530
+ & > .sapUiCalItemText {
531
+ border: none;
532
+ margin: auto;
533
+ height: 100%;
534
+ line-height: 2.875rem;
535
+ }
536
+ & > .sapUiCalItemText:after {
537
+ content: "";
538
+ position: absolute;
539
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
540
+ border-radius: 0.3125rem;
541
+ margin: 0.125rem;
542
+ line-height: 2.375rem;
543
+ left: 0.0625rem;
544
+ top: 0.0625rem;
545
+ bottom: 0.0625rem;
546
+ right: 0.0625rem;
547
+
548
+
549
+ }
550
+ &:focus > .sapUiCalItemText:after {
551
+ top: 0.05rem;
552
+ left: 0.05rem;
553
+ right: 0.05rem;
554
+ bottom: 0.05rem;
555
+ }
556
+ &.sapUiCalItemSel {
557
+ & > .sapUiCalItemText:after {
558
+ top: 0.0625rem;
559
+ left: 0.0625rem;
560
+ right: 0.0625rem;
561
+ bottom: 0.0625rem;
562
+ }
563
+ &:focus .sapUiCalSpecialDate {
564
+ bottom: 0.375rem;
565
+ }
566
+ }
567
+ & > .sapUiCalSpecialDate {
568
+ left: 0.25rem;
569
+ right: 0.25rem;
570
+ bottom: 0.25rem;
571
+ width: 76%;
572
+ }
573
+ }
574
+ &.sapUiCalItemSel.sapUiCalItemSelBetween:not(:focus) {
575
+ .sapUiCalSpecialDate {
576
+ bottom: 0.3125rem;
577
+ width: 63%;
578
+ left: 0.375rem;
579
+ right: 0.375rem;
580
+ height: 0.3125rem;
581
+
582
+ width: 78%;
583
+ bottom: 0.25rem;
584
+ left: 0.25rem;
585
+ right: 0.25rem;
586
+ }
587
+ }
588
+ &:focus {
589
+ &:not(.sapUiCalItemSelBetween) {
590
+ & > .sapUiCalSpecialDate {
591
+ bottom: 0.375rem;
592
+ width: 69%;
593
+ left: 0.3125rem;
594
+ }
595
+ }
596
+ & > .sapUiCalSpecialDate {
597
+ bottom: 0.375rem;
598
+ width: 66%;
599
+ left: 0.375rem;
600
+ }
601
+ }
602
+ }
603
+ &.sapUiCalItemSel {
604
+ &:focus {
605
+ &.sapUiCalItemSelBetween:not(.sapUiCalItemNow) {
606
+ & > .sapUiCalItemText:after {
607
+ border-radius: 0.5rem;
608
+ top: 0;
609
+ bottom: 0;
610
+ left: 0;
611
+ right: 0;
612
+ }
613
+ }
614
+ }
615
+ }
616
+ }
617
+ }
618
+
389
619
  .sapUiCalItemOtherMonth {
390
620
  background-color: @sapUiListBackground;
391
621
  color: @_sap_ui_unified_Calendar_ItemOtherMonthColor;
@@ -415,6 +645,7 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
415
645
 
416
646
  .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween):hover{
417
647
  background-color: @sapUiContentSelectedHoverBackground;
648
+ filter: brightness(105%);
418
649
  }
419
650
 
420
651
  .sapUiCalMonthPicker,
@@ -441,7 +672,6 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
441
672
 
442
673
  .sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalItemText {
443
674
  color: @sapUiContentSelectedTextColor;
444
- border-radius: 0.25rem;
445
675
  font-weight: bold;
446
676
  position: absolute;
447
677
  left: 0;
@@ -455,15 +685,125 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
455
685
  color: @sapContent_Selected_TextColor;
456
686
  }
457
687
 
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;
688
+ .sapUiCalItem:focus:not(.sapUiCalItemSelBetween){
689
+ &:not(.sapUiCalItemSel) {
690
+ .sapUiCalSpecialDate {
691
+ width: 100%;
692
+ left: 0;
693
+ bottom: 0.025rem;;
694
+ }
695
+ }
696
+ & :not(.sapUiCalItemNow) .sapUiCalItemText:after {
697
+ content: "";
698
+ position: absolute;
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
+ }
707
+ .sapUiCalItem:focus {
708
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) .sapUiCalItemText:after {
709
+ position: absolute;
710
+ content: "";
711
+ top: 0.3125rem;
712
+ left: 0.3125rem;
713
+ right: 0.3125rem;
714
+ bottom: 0.3125rem;
715
+ border: 0.125rem solid @sapList_SelectionBorderColor;
716
+ border-radius: 0.1875rem;
717
+ }
718
+ &.sapUiCalItemNow,
719
+ &.sapUiCalItemSel,
720
+ &.sapUiCalItemSelStart,
721
+ &.sapUiCalItemSelEnd {
722
+ .sapUiCalItemText:before {
723
+ content: "";
724
+ position: absolute;
725
+ top: 0.3125rem;
726
+ left: 0.3125rem;
727
+ right: 0.3125rem;
728
+ bottom: 0.3125rem;
729
+ border: 0.125rem solid @sapList_SelectionBorderColor;
730
+ border-radius: 0.1875rem;
731
+ }
732
+
733
+ }
734
+ &.sapUiCalItemNow {
735
+ &.sapUiCalItemSelStart,
736
+ &.sapUiCalItemSelEnd {
737
+ .sapUiCalItemText:after {
738
+ position: absolute;
739
+ content: "";
740
+ top: 0.3125rem;
741
+ left: 0.3125rem;
742
+ right: 0.3125rem;
743
+ bottom: 0.3125rem;
744
+ border: 0.0625rem solid @sapList_SelectionBorderColor;
745
+ border-radius: 0.1875rem;
746
+ }
747
+ }
748
+ }
749
+ }
750
+ .sapUiCalMonthSecType {
751
+ .sapUiCalItem {
752
+ &:focus {
753
+ &.sapUiCalItemSel:not(.sapUiCalItemNow),
754
+ &.sapUiCalItemSelStart:not(.sapUiCalItemNow),
755
+ &.sapUiCalItemSelEnd:not(.sapUiCalItemNow) {
756
+ .sapUiCalItemText:before {
757
+ border: none;
758
+ }
759
+ }
760
+ &.sapUiCalItemSel {
761
+ .sapUiCalItemText:after {
762
+ border: 0.125rem solid @sapUiContentFocusColor;
763
+ border-width: 0.1875rem;
764
+ }
765
+ .sapUiCalItemText:before {
766
+ border: none;
767
+ }
768
+ }
769
+ &:not(.sapUiCalItemNow):not(.sapUiCalItemSel) {
770
+ .sapUiCalItemText:after {
771
+ top: 0;
772
+ bottom: 0;
773
+ left: 0;
774
+ right: 0;
775
+ border-radius: 0.5rem;
776
+ }
777
+ }
778
+ &.sapUiCalItemNow:not(.sapUiCalItemSelBetween),
779
+ &.sapUiCalItemNow{
780
+ .sapUiCalSpecialDate {
781
+ width: 75%;
782
+ left: 0.25rem;
783
+ right: 0.25rem;
784
+ bottom: 0.25rem;
785
+ }
786
+ }
787
+ }
788
+ &.sapUiCalItemNow {
789
+ &:not(.sapUiCalItemSelBetween),
790
+ &.sapUiCalItemSelBetween,
791
+ &.sapUiCalItemNow {
792
+ &> .sapUiCalItemText {
793
+ line-height: 2.125rem;
794
+ }
795
+ }
796
+ }
797
+ }
798
+
799
+ .sapUiCalItemSelStart:not(.sapUiCalItemNow),
800
+ .sapUiCalItemSelEnd:not(.sapUiCalItemNow),
801
+ .sapUiCalItemSelBetween:focus:not(.sapUiCalItemNow),
802
+ .sapUiCalItemSelBetween.sapUiCalItemOtherMonth:not(.sapUiCalItemNow) {
803
+ .sapUiCalItemText:after {
804
+ border-width: 0.125rem;
805
+ }
806
+ }
467
807
  }
468
808
 
469
809
  .sapUiCalItem.sapUiCalItemSel.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText:after {
@@ -474,17 +814,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
474
814
  border-radius: 0.3125rem;
475
815
  }
476
816
 
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
- }
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
+ }
484
834
 
485
- .sapUiCalItem.sapUiCalItemSel.sapUiCalItemSelBetween:focus > .sapUiCalItemText:after {
486
- border-width: 0.125rem;
487
- border-radius: 0.4375rem;
488
835
  }
489
836
 
490
837
  .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween) > .sapUiCalDayName {
@@ -495,14 +842,24 @@ html.sap-desktop .sapUiCalItemOtherMonth:not(.sapUiCalItemSel) :not(.sapUiCalWee
495
842
  background-color: @sapUiSelected;
496
843
  }
497
844
 
498
- .sapUiCalItemSelBetween,
499
- .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) {
500
851
  background-color: @sapUiListSelectionBackgroundColor;
501
852
  color: @sapTextColor;
502
853
 
503
- .sapUiCalItemText {
504
- line-height: 2.75rem;
854
+ .sapUiCalItemText:after {
855
+ position: absolute;
856
+ top: 0;
857
+ left: 0;
858
+ right: 0;
859
+ bottom: 0;
505
860
  border: 0.0625rem solid @sapUiListSelectionBorderColor;
861
+ content: "";
862
+ border-radius: 0.5rem;
506
863
  }
507
864
  }
508
865
 
@@ -544,14 +901,6 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
544
901
  }
545
902
 
546
903
  /* 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
904
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow:not(.sapUiCalItemSelBetween) > .sapUiCalItemText{
556
905
  line-height: 1.875rem;
557
906
  }
@@ -592,7 +941,7 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
592
941
  }
593
942
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween .sapUiCalItemText,
594
943
  .sapUiCalMonthSecType .sapUiCalItemSel.sapUiCalItemSelBetween:not(.sapUiCalItemNow) > .sapUiCalItemText {
595
- line-height: 0.875rem;
944
+ line-height: 1rem;
596
945
  }
597
946
  .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel > .sapUiCalItemText {
598
947
  line-height: 1.25rem;
@@ -607,14 +956,28 @@ html.sap-desktop .sapUiCalItemSelBetween:focus:not(:hover){
607
956
  line-height: 2rem;
608
957
  }
609
958
  }
610
- .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
611
- line-height: 0.75rem;
612
- }
613
959
  .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSelBetween > .sapUiCalItemText {
614
- width: 1.8125rem;
960
+ width: 1.5rem;
615
961
  height: 1.5rem;
962
+ top: 0.0625rem;
616
963
  line-height: 1.4375rem;
617
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
+ }
618
981
  }
619
982
 
620
983
  @media only screen