ode-bootstrap 1.1.4-dev-produit.202306051650 → 1.1.4-dev.202306051654

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 (144) hide show
  1. package/README.md +44 -63
  2. package/assets/fonts/fa/fa-brands-400.ttf +0 -0
  3. package/assets/fonts/fa/fa-brands-400.woff2 +0 -0
  4. package/assets/fonts/fa/fa-regular-400.ttf +0 -0
  5. package/assets/fonts/fa/fa-regular-400.woff2 +0 -0
  6. package/assets/fonts/fa/fa-solid-900.ttf +0 -0
  7. package/assets/fonts/fa/fa-solid-900.woff2 +0 -0
  8. package/assets/fonts/fa/fa-v4compatibility.ttf +0 -0
  9. package/assets/fonts/fa/fa-v4compatibility.woff2 +0 -0
  10. package/assets/icons/apps.svg +468 -0
  11. package/assets/images/emptyscreen/illu-blog.svg +1 -0
  12. package/assets/images/emptyscreen/illu-collaborativeeditor.svg +1 -0
  13. package/assets/images/emptyscreen/illu-collaborativewall.svg +1 -0
  14. package/assets/images/emptyscreen/illu-exercizer.svg +1 -0
  15. package/assets/images/emptyscreen/illu-mindmap.svg +1 -0
  16. package/assets/images/emptyscreen/illu-noContentInFolder.svg +31 -0
  17. package/assets/images/emptyscreen/illu-scrapbook.svg +1 -0
  18. package/assets/images/emptyscreen/illu-search.svg +1 -0
  19. package/assets/images/emptyscreen/illu-timelinegenerator.svg +1 -0
  20. package/assets/images/emptyscreen/illu-trash.svg +1 -0
  21. package/assets/images/image-library.png +0 -0
  22. package/assets/images/no-avatar.svg +14 -0
  23. package/assets/images/onboarding/corbeille-delete.svg +22 -0
  24. package/assets/images/onboarding/corbeille-menu.svg +43 -0
  25. package/assets/images/onboarding/corbeille-notif.svg +12 -0
  26. package/assets/images/screen-loading.gif +0 -0
  27. package/assets/js/theme.js +3 -3
  28. package/dist/icons/apps.svg +468 -0
  29. package/dist/images/emptyscreen/illu-blog.svg +1 -0
  30. package/dist/images/emptyscreen/illu-collaborativeeditor.svg +1 -0
  31. package/dist/images/emptyscreen/illu-collaborativewall.svg +1 -0
  32. package/dist/images/emptyscreen/illu-exercizer.svg +1 -0
  33. package/dist/images/emptyscreen/illu-mindmap.svg +1 -0
  34. package/dist/images/emptyscreen/illu-noContentInFolder.svg +31 -0
  35. package/dist/images/emptyscreen/illu-scrapbook.svg +1 -0
  36. package/dist/images/emptyscreen/illu-search.svg +1 -0
  37. package/dist/images/emptyscreen/illu-timelinegenerator.svg +1 -0
  38. package/dist/images/emptyscreen/illu-trash.svg +1 -0
  39. package/dist/images/image-library.png +0 -0
  40. package/dist/images/image-placeholder.png +0 -0
  41. package/dist/images/no-avatar.svg +14 -0
  42. package/dist/images/onboarding/corbeille-delete.svg +22 -0
  43. package/dist/images/onboarding/corbeille-menu.svg +43 -0
  44. package/dist/images/onboarding/corbeille-notif.svg +12 -0
  45. package/dist/images/screen-loading.gif +0 -0
  46. package/dist/version.txt +1 -1
  47. package/package.json +25 -25
  48. package/scss/components/_.scss +26 -10
  49. package/scss/components/_actionbar.scss +25 -0
  50. package/scss/components/_alert.scss +82 -0
  51. package/scss/components/_app-card.scss +67 -0
  52. package/scss/components/_avatar.scss +122 -51
  53. package/scss/components/_buttons.scss +203 -60
  54. package/scss/components/_card.scss +132 -0
  55. package/scss/components/_container-advanced.scss +109 -109
  56. package/scss/components/_dragndrop.scss +19 -16
  57. package/scss/components/_dropdown.scss +82 -0
  58. package/scss/components/_emptyscreen.scss +11 -47
  59. package/scss/components/_explorer.scss +29 -31
  60. package/scss/components/_feed.scss +166 -166
  61. package/scss/components/_filters.scss +58 -58
  62. package/scss/components/_form-control.scss +69 -0
  63. package/scss/components/_form-label.scss +32 -0
  64. package/scss/components/_form-text.scss +12 -0
  65. package/scss/components/_header.scss +8 -0
  66. package/scss/components/_help.scss +82 -0
  67. package/scss/components/_image-picker.scss +40 -0
  68. package/scss/components/_input-group.scss +17 -0
  69. package/scss/components/_loader.scss +17 -0
  70. package/scss/components/_loading-screen.scss +7 -0
  71. package/scss/components/_media-library.scss +18 -18
  72. package/scss/components/_modal.scss +111 -19
  73. package/scss/components/_popover.scss +61 -101
  74. package/scss/components/_select-list.scss +44 -0
  75. package/scss/components/_spinner.scss +10 -0
  76. package/scss/components/_sticky-toolbox.scss +130 -140
  77. package/scss/components/_table-explorer.scss +29 -0
  78. package/scss/components/_table-lists.scss +119 -122
  79. package/scss/components/_tables.scss +1 -1
  80. package/scss/components/_toast.scss +39 -36
  81. package/scss/components/_treeview.scss +61 -0
  82. package/scss/components/_validate-mail.scss +5 -0
  83. package/scss/components/widget/_applications.scss +44 -44
  84. package/scss/components/widget/_base.scss +105 -105
  85. package/scss/components/widget/_bookmarks.scss +14 -16
  86. package/scss/components/widget/_calendar.scss +49 -49
  87. package/scss/components/widget/_dashboard.scss +88 -89
  88. package/scss/components/widget/_featured-news.scss +56 -57
  89. package/scss/components/widget/_flash.scss +84 -81
  90. package/scss/components/widget/_news.scss +26 -26
  91. package/scss/components/widget/_recently-viewed.scss +48 -48
  92. package/scss/components/widget/_record.scss +47 -51
  93. package/scss/components/widget/_rss.scss +24 -24
  94. package/scss/components/widget/_school.scss +84 -78
  95. package/scss/index.scss +3 -12
  96. package/scss/mixins/_.scss +4 -4
  97. package/scss/mixins/_align.scss +3 -3
  98. package/scss/mixins/_avatar.scss +5 -5
  99. package/scss/mixins/_icon.scss +52 -52
  100. package/scss/mixins/_layer.scss +23 -26
  101. package/scss/mixins/_shape.scss +5 -7
  102. package/scss/mixins/_text-truncate.scss +2 -2
  103. package/scss/mixins/_transition.scss +37 -34
  104. package/scss/tokens/_.scss +4 -0
  105. package/scss/tokens/_display.scss +9 -0
  106. package/scss/tokens/_icons.scss +118 -0
  107. package/scss/tokens/_shadows.scss +19 -0
  108. package/scss/tokens/_type.scss +85 -0
  109. package/scss/utilities/_.scss +3 -0
  110. package/scss/utilities/_animation.scss +8 -0
  111. package/scss/utilities/_containers.scss +37 -0
  112. package/scss/utilities/_custom-utilities.scss +96 -0
  113. package/scss/variables/_.scss +6 -2
  114. package/scss/variables/_bootstrap.scss +234 -0
  115. package/scss/variables/_colors.scss +143 -41
  116. package/scss/variables/_icons.scss +52 -48
  117. package/scss/variables/_options.scss +2 -0
  118. package/scss/variables/_type.scss +37 -0
  119. package/scss/vendors/_.scss +3 -0
  120. package/scss/vendors/_bootstrap.scss +43 -0
  121. package/scss/vendors/_reboot.scss +28 -0
  122. package/scss/vendors/_swiper.scss +10 -0
  123. package/assets/fonts/fa/fa-brands-400.eot +0 -0
  124. package/assets/fonts/fa/fa-brands-400.svg +0 -3717
  125. package/assets/fonts/fa/fa-brands-400.woff +0 -0
  126. package/assets/fonts/fa/fa-regular-400.eot +0 -0
  127. package/assets/fonts/fa/fa-regular-400.svg +0 -801
  128. package/assets/fonts/fa/fa-regular-400.woff +0 -0
  129. package/assets/fonts/fa/fa-solid-900.eot +0 -0
  130. package/assets/fonts/fa/fa-solid-900.svg +0 -5034
  131. package/assets/fonts/fa/fa-solid-900.woff +0 -0
  132. package/scss/_bootstrap.scss +0 -41
  133. package/scss/_custom-utilities.scss +0 -10
  134. package/scss/atoms/_.scss +0 -4
  135. package/scss/atoms/_display.scss +0 -17
  136. package/scss/atoms/_fonts.scss +0 -20
  137. package/scss/atoms/_icons.scss +0 -90
  138. package/scss/atoms/_typography.scss +0 -27
  139. package/scss/components/_alerts.scss +0 -30
  140. package/scss/components/_dropdowns.scss +0 -6
  141. package/scss/components/_forms.scss +0 -36
  142. package/scss/components/_tree-structure.scss +0 -143
  143. package/scss/variables/_variables-bootstrap.scss +0 -107
  144. package/scss/variables/_variables-ode.scss +0 -12
@@ -1,95 +1,94 @@
1
1
  .widget-dashboard {
2
- .dashboard {
3
- &-choice {
4
- display: flex;
5
- justify-content: start;
6
- background: #fff;
7
-
8
- .avatar-link {
9
- flex: 1;
10
- padding: 10px $widget-padding-x;
11
- text-align: center;
12
- text-decoration: none;
13
-
14
- @include background-color-to($cyan);
15
- @include color-to(#fff);
16
-
17
- img {
18
-
19
- @include square(40px);
20
-
21
- display: block;
22
- margin: 0 auto 5px;
23
- }
24
-
25
- span {
26
- display: block;
27
- }
28
-
29
- &.active {
30
- color: #fff;
31
- background: $third;
32
- }
33
-
34
- &:not(:last-child) {
35
- border-right: $cyan 1px solid;
36
- }
37
- }
2
+ .dashboard {
3
+ &-choice {
4
+ display: flex;
5
+ justify-content: start;
6
+ background: $white;
7
+
8
+ .avatar-link {
9
+ flex: 1;
10
+ padding: 10px $widget-padding-x;
11
+ text-align: center;
12
+ text-decoration: none;
13
+
14
+ @include background-color-to($cyan);
15
+ @include color-to($white);
16
+
17
+ img {
18
+ @include square(40px);
19
+
20
+ display: block;
21
+ margin: 0 auto 5px;
38
22
  }
39
23
 
40
- &-list {
41
- .item {
42
- &-inner {
43
- display: flex;
44
- padding: 8px $widget-padding-x;
45
- text-decoration: none;
46
-
47
- @include background-color-to($gray-100, 0.4s, $easeOutQuad);
48
- }
49
-
50
- .left {
51
- //width: 40px;
52
-
53
- padding-right: $widget-padding-x;
54
- }
55
-
56
- .icon {
57
- font-size: 1.4em;
58
- color: #fff;
59
- background: #0d5571;
60
-
61
- @include circle(1.8em);
62
- @include have-child-in-middle();
63
- }
64
-
65
- &:nth-child(2n) {
66
- background: rgba($third, 0.07);
67
- }
68
-
69
- &:nth-child(2) {
70
- .icon {
71
- background: #167194;
72
- }
73
- }
74
-
75
- &:nth-child(3) {
76
- .icon {
77
- background: #1e83ac;
78
- }
79
- }
80
-
81
- &:nth-child(4) {
82
- .icon {
83
- background: #2e99c4;
84
- }
85
- }
86
-
87
- &:nth-child(5) {
88
- .icon {
89
- background: #29a3d3;
90
- }
91
- }
92
- }
24
+ span {
25
+ display: block;
93
26
  }
27
+
28
+ &.active {
29
+ color: $white;
30
+ background: $primary;
31
+ }
32
+
33
+ &:not(:last-child) {
34
+ border-right: $cyan 1px solid;
35
+ }
36
+ }
37
+ }
38
+
39
+ &-list {
40
+ .item {
41
+ &-inner {
42
+ display: flex;
43
+ padding: 8px $widget-padding-x;
44
+ text-decoration: none;
45
+
46
+ @include background-color-to($gray-300, 0.4s, $easeOutQuad);
47
+ }
48
+
49
+ .left {
50
+ //width: 40px;
51
+
52
+ padding-right: $widget-padding-x;
53
+ }
54
+
55
+ .icon {
56
+ font-size: 1.4em;
57
+ color: $white;
58
+ background: #0d5571;
59
+
60
+ @include circle(1.8em);
61
+ @include have-child-in-middle();
62
+ }
63
+
64
+ &:nth-child(2n) {
65
+ background: rgba($secondary, 0.07);
66
+ }
67
+
68
+ &:nth-child(2) {
69
+ .icon {
70
+ background: #167194;
71
+ }
72
+ }
73
+
74
+ &:nth-child(3) {
75
+ .icon {
76
+ background: #1e83ac;
77
+ }
78
+ }
79
+
80
+ &:nth-child(4) {
81
+ .icon {
82
+ background: #2e99c4;
83
+ }
84
+ }
85
+
86
+ &:nth-child(5) {
87
+ .icon {
88
+ background: #29a3d3;
89
+ }
90
+ }
91
+ }
94
92
  }
93
+ }
95
94
  }
@@ -1,60 +1,59 @@
1
1
  .widget-featured-news {
2
- //Widget actualité à la une
3
-
4
- .featured-news {
5
- display: flex;
6
-
7
- .zone-text {
8
- flex: 1;
9
- padding: $widget-padding-x;
10
-
11
- .title {
12
- font-size: 1.4em;
13
- font-weight: 700;
14
- color: #3b3b3b;
15
- }
16
- }
17
-
18
- .zone-image {
19
-
20
- @include add-overlay(0.5);
21
- @include have-child-in-middle ();
22
-
23
- position: relative;
24
- width: 30%;
25
- padding: $widget-padding-x;
26
- overflow: hidden;
27
- border-bottom-left-radius: 120px;
28
-
29
- @include media-breakpoint-down(xl) {
30
- min-width: 220px;
31
- }
32
-
33
- .image {
34
- position: absolute;
35
- width: 100%;
36
- height: 100%;
37
- object-fit: cover;
38
- object-position: center center;
39
- }
40
- }
41
-
42
- @media (max-width: 1300px) and (min-width: 992px) {
43
- flex-direction: column;
44
-
45
- .zone-image {
46
- width: 100%;
47
- border-bottom-left-radius: 0;
48
- }
49
- }
50
-
51
- @media (max-width: 500px) {
52
- flex-direction: column;
53
-
54
- .zone-image {
55
- width: 100%;
56
- border-bottom-left-radius: 0;
57
- }
58
- }
2
+ //Widget actualité à la une
3
+
4
+ .featured-news {
5
+ display: flex;
6
+
7
+ .zone-text {
8
+ flex: 1;
9
+ padding: $widget-padding-x;
10
+
11
+ .title {
12
+ font-size: 1.4em;
13
+ font-weight: 700;
14
+ color: #3b3b3b;
15
+ }
16
+ }
17
+
18
+ .zone-image {
19
+ @include add-overlay(0.5);
20
+ @include have-child-in-middle();
21
+
22
+ position: relative;
23
+ width: 30%;
24
+ padding: $widget-padding-x;
25
+ overflow: hidden;
26
+ border-bottom-left-radius: 120px;
27
+
28
+ @include media-breakpoint-down(xl) {
29
+ min-width: 220px;
30
+ }
31
+
32
+ .image {
33
+ position: absolute;
34
+ width: 100%;
35
+ height: 100%;
36
+ object-fit: cover;
37
+ object-position: center center;
38
+ }
39
+ }
40
+
41
+ @media (max-width: 1300px) and (min-width: 992px) {
42
+ flex-direction: column;
43
+
44
+ .zone-image {
45
+ width: 100%;
46
+ border-bottom-left-radius: 0;
47
+ }
48
+ }
49
+
50
+ @media (max-width: 500px) {
51
+ flex-direction: column;
52
+
53
+ .zone-image {
54
+ width: 100%;
55
+ border-bottom-left-radius: 0;
56
+ }
59
57
  }
58
+ }
60
59
  }
@@ -1,101 +1,104 @@
1
1
  // Array Widget Flash Colors
2
2
  $widget-flash-colors: (
3
- "red": $red,
4
- "orange": $orange,
5
- "green": $green,
6
- "blue": $blue,
7
- "grey-dark": $gray-700
3
+ "red": $red,
4
+ "orange": $orange,
5
+ "green": $green,
6
+ "blue": $blue,
7
+ "grey-dark": $gray-700,
8
8
  );
9
9
 
10
10
  .widget-flash {
11
- position: relative;
12
- padding: $widget-padding-x;
13
- overflow: hidden;
14
- color: var(--bs-white);
15
- background: $primary;
11
+ position: relative;
12
+ padding: $widget-padding-x;
13
+ overflow: hidden;
14
+ color: $white;
15
+ background: $secondary;
16
16
 
17
- @each $key, $value in $widget-flash-colors {
18
- &.#{$key} {
19
- --custom-message-color: #{$value};
20
- background-color: $value;
21
- }
17
+ @each $key, $value in $widget-flash-colors {
18
+ &.#{$key} {
19
+ --custom-message-color: #{$value};
20
+ background-color: $value;
22
21
  }
22
+ }
23
23
 
24
- .btn {
25
- &-close {
26
- position: absolute;
27
- top: 10px;
28
- right: 10px;
29
- color: var(--bs-dark);
30
- text-shadow: none;
31
- }
32
-
33
- &-expand {
34
- cursor: pointer;
35
-
36
- &-inner {
37
- position: absolute;
38
- z-index: 2;
39
- bottom: 0;
40
- left: 0;
41
- display: block;
42
- width: 100%;
43
- padding: 5px;
44
- font-size: 0.8em;
45
- color: var(--bs-white);
46
- text-align: center;
47
- background: rgba(#000, 0.1);
48
-
49
- @include background-color-to(rgba(#000, 0.2));
50
- }
51
- }
24
+ .btn {
25
+ &-close {
26
+ position: absolute;
27
+ top: 10px;
28
+ right: 10px;
29
+ color: var(--ode-dark);
30
+ text-shadow: none;
31
+ }
32
+
33
+ &-expand {
34
+ cursor: pointer;
35
+
36
+ &-inner {
37
+ position: absolute;
38
+ z-index: 2;
39
+ bottom: 0;
40
+ left: 0;
41
+ display: block;
42
+ width: 100%;
43
+ padding: 5px;
44
+ font-size: 0.8em;
45
+ color: $white;
46
+ text-align: center;
47
+ background: rgba(#000, 0.1);
48
+
49
+ @include background-color-to(rgba(#000, 0.2));
50
+ }
52
51
  }
52
+ }
53
53
 
54
- .flash-content {
55
- padding-right: 1rem;
54
+ .flash-content {
55
+ padding-right: 1rem;
56
56
 
57
+ p {
58
+ > br:first-child {
59
+ display: none;
60
+ }
61
+ }
62
+
63
+ &.can-be-truncated {
64
+ &:not(.flash-content-is-expandable) {
57
65
  p {
58
- > br:first-child {
59
- display: none;
60
- }
66
+ @include has-text-truncated(4);
61
67
  }
62
68
 
63
- &.can-be-truncated {
64
- &:not(.flash-content-is-expandable) {
65
-
66
- p {
67
- @include has-text-truncated(4);
68
- }
69
-
70
- &::after {
71
- content: "";
72
- position: absolute;
73
- z-index: 1;
74
- bottom: 2em;
75
- right: 0;
76
- left: 0;
77
- height: 4em;
78
- background: linear-gradient(to bottom, rgba(255,255,255,0), var(--custom-message-color));
79
- }
80
-
81
- @media not all and (min-resolution:.001dpcm) {
82
- &::after {
83
- display: none;
84
- }
85
- }
86
-
87
- .flash-content-signature {
88
- display: none;
89
- }
90
- }
69
+ &::after {
70
+ content: "";
71
+ position: absolute;
72
+ z-index: 1;
73
+ bottom: 2em;
74
+ right: 0;
75
+ left: 0;
76
+ height: 4em;
77
+ background: linear-gradient(
78
+ to bottom,
79
+ rgba(255, 255, 255, 0),
80
+ var(--custom-message-color)
81
+ );
82
+ }
91
83
 
92
- .flash-content-signature {
93
- padding-bottom: 1rem;
94
- }
84
+ @media not all and (min-resolution: 0.001dpcm) {
85
+ &::after {
86
+ display: none;
87
+ }
95
88
  }
96
89
 
97
- > *:last-child {
98
- margin-bottom: 0;
90
+ .flash-content-signature {
91
+ display: none;
99
92
  }
93
+ }
94
+
95
+ .flash-content-signature {
96
+ padding-bottom: 1rem;
97
+ }
98
+ }
99
+
100
+ > *:last-child {
101
+ margin-bottom: 0;
100
102
  }
103
+ }
101
104
  }
@@ -1,35 +1,35 @@
1
1
  .widget-news {
2
- //Widget Actualités
2
+ //Widget Actualités
3
3
 
4
- .news-row {
5
- @include background-color-to($gray-100, 0.4s, $easeOutQuad);
4
+ .news-row {
5
+ @include background-color-to($gray-300, 0.4s, $easeOutQuad);
6
6
 
7
- display: flex;
8
- align-items: center;
9
- padding: 1rem $widget-padding-x;
10
- text-decoration: none;
7
+ display: flex;
8
+ align-items: center;
9
+ padding: 1rem $widget-padding-x;
10
+ text-decoration: none;
11
11
 
12
- &-image {
13
- width: 60px;
14
- padding-right: 2.5rem;
15
- text-align: center;
16
- transition: transform 0.4s $easeInOutQuad;
17
- transform-origin: center;
12
+ &-image {
13
+ width: 60px;
14
+ padding-right: 2.5rem;
15
+ text-align: center;
16
+ transition: transform 0.4s $easeInOutQuad;
17
+ transform-origin: center;
18
18
 
19
- img {
20
- max-height: 4rem;
21
- max-width: 4rem;
22
- }
23
- }
19
+ img {
20
+ max-height: 4rem;
21
+ max-width: 4rem;
22
+ }
23
+ }
24
24
 
25
- &-text {
26
- line-height: 1.4em;
27
- }
25
+ &-text {
26
+ line-height: 1.4em;
27
+ }
28
28
 
29
- &:hover {
30
- .news-row-image {
31
- transform: translateX(5px);
32
- }
33
- }
29
+ &:hover {
30
+ .news-row-image {
31
+ transform: translateX(5px);
32
+ }
34
33
  }
34
+ }
35
35
  }
@@ -1,65 +1,65 @@
1
1
  $recently-viewed-image-width: 35;
2
2
 
3
3
  .widget-recently-viewed {
4
- //Widget Consultations récentes
4
+ //Widget Consultations récentes
5
5
 
6
- .recently-viewed {
7
- &-item {
8
- @include background-color-to($gray-100, 0.4s, $easeOutQuad);
6
+ .recently-viewed {
7
+ &-item {
8
+ @include background-color-to($gray-300, 0.4s, $easeOutQuad);
9
9
 
10
- &:hover {
11
- .icon-app {
12
- background-color: $gray-100;
13
- transform: translateX(60%);
14
- }
15
- }
10
+ &:hover {
11
+ .icon-app {
12
+ background-color: $gray-300;
13
+ transform: translateX(60%);
16
14
  }
15
+ }
17
16
  }
17
+ }
18
18
 
19
- .link-card {
20
- @include decoration-to(none);
19
+ .link-card {
20
+ @include decoration-to(none);
21
21
 
22
- position: relative;
23
- display: flex;
24
- align-items: center;
25
- justify-content: flex-end;
26
- padding-left: $widget-padding-x;
27
- border-top: 1px solid $gray-100;
22
+ position: relative;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: flex-end;
26
+ padding-left: $widget-padding-x;
27
+ border-top: 1px solid $gray-300;
28
28
 
29
- .text {
30
- width: 100 - $recently-viewed-image-width * 1%;
31
- padding-right: 0.5em;
32
- }
29
+ .text {
30
+ width: 100 - $recently-viewed-image-width * 1%;
31
+ padding-right: 0.5em;
32
+ }
33
33
 
34
- .image {
35
- @include add-overlay(0.2);
34
+ .image {
35
+ @include add-overlay(0.2);
36
36
 
37
- width: $recently-viewed-image-width * 1%;
38
- height: 5em;
39
- max-height: 120px;
37
+ width: $recently-viewed-image-width * 1%;
38
+ height: 5em;
39
+ max-height: 120px;
40
40
 
41
- img {
42
- width: 100%;
43
- height: 100%;
44
- object-fit: cover;
45
- object-position: center center;
46
- }
47
- }
41
+ img {
42
+ width: 100%;
43
+ height: 100%;
44
+ object-fit: cover;
45
+ object-position: center center;
46
+ }
47
+ }
48
48
 
49
- .icon-app {
50
- @include have-child-in-middle();
51
- @include add-transitions(background-color, transform);
49
+ .icon-app {
50
+ @include have-child-in-middle();
51
+ @include add-transitions(background-color, transform);
52
52
 
53
- position: absolute;
54
- right: $recently-viewed-image-width * 1%;
55
- z-index: 2;
56
- width: 2em;
57
- height: 2em;
58
- font-size: 1.75em;
59
- background-color: #fff;
60
- border-radius: 190px;
61
- transition-timing-function: $easeOutQuad;
62
- transform: translateX(50%);
63
- }
53
+ position: absolute;
54
+ right: $recently-viewed-image-width * 1%;
55
+ z-index: 2;
56
+ width: 2em;
57
+ height: 2em;
58
+ font-size: 1.75em;
59
+ background-color: $white;
60
+ border-radius: 190px;
61
+ transition-timing-function: $easeOutQuad;
62
+ transform: translateX(50%);
64
63
  }
64
+ }
65
65
  }