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

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 +63 -44
  2. package/assets/fonts/fa/fa-brands-400.eot +0 -0
  3. package/assets/fonts/fa/fa-brands-400.svg +3717 -0
  4. package/assets/fonts/fa/fa-brands-400.ttf +0 -0
  5. package/assets/fonts/fa/fa-brands-400.woff +0 -0
  6. package/assets/fonts/fa/fa-brands-400.woff2 +0 -0
  7. package/assets/fonts/fa/fa-regular-400.eot +0 -0
  8. package/assets/fonts/fa/fa-regular-400.svg +801 -0
  9. package/assets/fonts/fa/fa-regular-400.ttf +0 -0
  10. package/assets/fonts/fa/fa-regular-400.woff +0 -0
  11. package/assets/fonts/fa/fa-regular-400.woff2 +0 -0
  12. package/assets/fonts/fa/fa-solid-900.eot +0 -0
  13. package/assets/fonts/fa/fa-solid-900.svg +5034 -0
  14. package/assets/fonts/fa/fa-solid-900.ttf +0 -0
  15. package/assets/fonts/fa/fa-solid-900.woff +0 -0
  16. package/assets/fonts/fa/fa-solid-900.woff2 +0 -0
  17. package/assets/js/theme.js +3 -3
  18. package/dist/version.txt +1 -1
  19. package/package.json +25 -25
  20. package/scss/_bootstrap.scss +41 -0
  21. package/scss/_custom-utilities.scss +10 -0
  22. package/scss/atoms/_.scss +4 -0
  23. package/scss/atoms/_display.scss +17 -0
  24. package/scss/atoms/_fonts.scss +20 -0
  25. package/scss/atoms/_icons.scss +90 -0
  26. package/scss/atoms/_typography.scss +27 -0
  27. package/scss/components/_.scss +10 -26
  28. package/scss/components/_alerts.scss +30 -0
  29. package/scss/components/_avatar.scss +51 -122
  30. package/scss/components/_buttons.scss +60 -203
  31. package/scss/components/_container-advanced.scss +109 -109
  32. package/scss/components/_dragndrop.scss +16 -19
  33. package/scss/components/_dropdowns.scss +6 -0
  34. package/scss/components/_emptyscreen.scss +47 -11
  35. package/scss/components/_explorer.scss +31 -29
  36. package/scss/components/_feed.scss +166 -166
  37. package/scss/components/_filters.scss +58 -58
  38. package/scss/components/_forms.scss +36 -0
  39. package/scss/components/_media-library.scss +18 -18
  40. package/scss/components/_modal.scss +19 -111
  41. package/scss/components/_popover.scss +101 -61
  42. package/scss/components/_sticky-toolbox.scss +140 -130
  43. package/scss/components/_table-lists.scss +122 -119
  44. package/scss/components/_tables.scss +1 -1
  45. package/scss/components/_toast.scss +36 -39
  46. package/scss/components/_tree-structure.scss +143 -0
  47. package/scss/components/widget/_applications.scss +44 -44
  48. package/scss/components/widget/_base.scss +105 -105
  49. package/scss/components/widget/_bookmarks.scss +16 -14
  50. package/scss/components/widget/_calendar.scss +49 -49
  51. package/scss/components/widget/_dashboard.scss +89 -88
  52. package/scss/components/widget/_featured-news.scss +57 -56
  53. package/scss/components/widget/_flash.scss +81 -84
  54. package/scss/components/widget/_news.scss +26 -26
  55. package/scss/components/widget/_recently-viewed.scss +48 -48
  56. package/scss/components/widget/_record.scss +51 -47
  57. package/scss/components/widget/_rss.scss +24 -24
  58. package/scss/components/widget/_school.scss +78 -84
  59. package/scss/index.scss +12 -3
  60. package/scss/mixins/_.scss +4 -4
  61. package/scss/mixins/_align.scss +3 -3
  62. package/scss/mixins/_avatar.scss +5 -5
  63. package/scss/mixins/_icon.scss +52 -52
  64. package/scss/mixins/_layer.scss +26 -23
  65. package/scss/mixins/_shape.scss +7 -5
  66. package/scss/mixins/_text-truncate.scss +2 -2
  67. package/scss/mixins/_transition.scss +34 -37
  68. package/scss/variables/_.scss +2 -6
  69. package/scss/variables/_colors.scss +41 -143
  70. package/scss/variables/_icons.scss +48 -52
  71. package/scss/variables/_variables-bootstrap.scss +107 -0
  72. package/scss/variables/_variables-ode.scss +12 -0
  73. package/assets/fonts/fa/fa-v4compatibility.ttf +0 -0
  74. package/assets/fonts/fa/fa-v4compatibility.woff2 +0 -0
  75. package/assets/icons/apps.svg +0 -468
  76. package/assets/images/emptyscreen/illu-blog.svg +0 -1
  77. package/assets/images/emptyscreen/illu-collaborativeeditor.svg +0 -1
  78. package/assets/images/emptyscreen/illu-collaborativewall.svg +0 -1
  79. package/assets/images/emptyscreen/illu-exercizer.svg +0 -1
  80. package/assets/images/emptyscreen/illu-mindmap.svg +0 -1
  81. package/assets/images/emptyscreen/illu-noContentInFolder.svg +0 -31
  82. package/assets/images/emptyscreen/illu-scrapbook.svg +0 -1
  83. package/assets/images/emptyscreen/illu-search.svg +0 -1
  84. package/assets/images/emptyscreen/illu-timelinegenerator.svg +0 -1
  85. package/assets/images/emptyscreen/illu-trash.svg +0 -1
  86. package/assets/images/image-library.png +0 -0
  87. package/assets/images/no-avatar.svg +0 -14
  88. package/assets/images/onboarding/corbeille-delete.svg +0 -22
  89. package/assets/images/onboarding/corbeille-menu.svg +0 -43
  90. package/assets/images/onboarding/corbeille-notif.svg +0 -12
  91. package/assets/images/screen-loading.gif +0 -0
  92. package/dist/icons/apps.svg +0 -468
  93. package/dist/images/emptyscreen/illu-blog.svg +0 -1
  94. package/dist/images/emptyscreen/illu-collaborativeeditor.svg +0 -1
  95. package/dist/images/emptyscreen/illu-collaborativewall.svg +0 -1
  96. package/dist/images/emptyscreen/illu-exercizer.svg +0 -1
  97. package/dist/images/emptyscreen/illu-mindmap.svg +0 -1
  98. package/dist/images/emptyscreen/illu-noContentInFolder.svg +0 -31
  99. package/dist/images/emptyscreen/illu-scrapbook.svg +0 -1
  100. package/dist/images/emptyscreen/illu-search.svg +0 -1
  101. package/dist/images/emptyscreen/illu-timelinegenerator.svg +0 -1
  102. package/dist/images/emptyscreen/illu-trash.svg +0 -1
  103. package/dist/images/image-library.png +0 -0
  104. package/dist/images/image-placeholder.png +0 -0
  105. package/dist/images/no-avatar.svg +0 -14
  106. package/dist/images/onboarding/corbeille-delete.svg +0 -22
  107. package/dist/images/onboarding/corbeille-menu.svg +0 -43
  108. package/dist/images/onboarding/corbeille-notif.svg +0 -12
  109. package/dist/images/screen-loading.gif +0 -0
  110. package/scss/components/_actionbar.scss +0 -25
  111. package/scss/components/_alert.scss +0 -82
  112. package/scss/components/_app-card.scss +0 -67
  113. package/scss/components/_card.scss +0 -132
  114. package/scss/components/_dropdown.scss +0 -82
  115. package/scss/components/_form-control.scss +0 -69
  116. package/scss/components/_form-label.scss +0 -32
  117. package/scss/components/_form-text.scss +0 -12
  118. package/scss/components/_header.scss +0 -8
  119. package/scss/components/_help.scss +0 -82
  120. package/scss/components/_image-picker.scss +0 -40
  121. package/scss/components/_input-group.scss +0 -17
  122. package/scss/components/_loader.scss +0 -17
  123. package/scss/components/_loading-screen.scss +0 -7
  124. package/scss/components/_select-list.scss +0 -44
  125. package/scss/components/_spinner.scss +0 -10
  126. package/scss/components/_table-explorer.scss +0 -29
  127. package/scss/components/_treeview.scss +0 -61
  128. package/scss/components/_validate-mail.scss +0 -5
  129. package/scss/tokens/_.scss +0 -4
  130. package/scss/tokens/_display.scss +0 -9
  131. package/scss/tokens/_icons.scss +0 -118
  132. package/scss/tokens/_shadows.scss +0 -19
  133. package/scss/tokens/_type.scss +0 -85
  134. package/scss/utilities/_.scss +0 -3
  135. package/scss/utilities/_animation.scss +0 -8
  136. package/scss/utilities/_containers.scss +0 -37
  137. package/scss/utilities/_custom-utilities.scss +0 -96
  138. package/scss/variables/_bootstrap.scss +0 -234
  139. package/scss/variables/_options.scss +0 -2
  140. package/scss/variables/_type.scss +0 -37
  141. package/scss/vendors/_.scss +0 -3
  142. package/scss/vendors/_bootstrap.scss +0 -43
  143. package/scss/vendors/_reboot.scss +0 -28
  144. package/scss/vendors/_swiper.scss +0 -10
@@ -1,137 +1,140 @@
1
1
  .table-list {
2
- &-header {
3
- display: flex;
4
- justify-content: space-between;
5
- padding: 5px 15px;
6
- font-size: 1.4rem;
7
- font-weight: bold;
8
- color: $gray-600;
9
-
10
- @include media-breakpoint-down(sm) {
11
- display: none;
12
- }
13
-
14
- .table-list-item-preview {
15
- width: 40px;
16
- }
17
- }
18
-
19
- &-item {
20
- display: flex;
21
- align-items: center;
22
- justify-content: space-between;
23
- padding: 5px 15px;
24
- margin: 5px 0;
25
- font-size: 1.4rem;
26
- color: $gray-600;
27
- cursor: pointer;
28
- border: 1px solid $gray-200;
29
- border-radius: $border-radius-lg;
30
-
31
- @extend .transition-hover;
32
-
33
- &:hover {
34
- border-color: $secondary;
35
-
36
- @extend .transition-hover-fast;
37
- }
38
2
 
39
- &:active,
40
- &.active {
41
- background-color: rgba($secondary, 0.1);
42
- border-color: $secondary;
3
+ &-header {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ padding: 5px 15px;
7
+ font-size: 1.4rem;
8
+ font-weight: bold;
9
+ color: $gray-600;
10
+
11
+ @include media-breakpoint-down(sm) {
12
+ display: none;
13
+ }
14
+
15
+ .table-list-item-preview {
16
+ width: 40px;
17
+ }
43
18
  }
44
19
 
45
- @include media-breakpoint-down(sm) {
46
- flex-wrap: wrap;
47
- padding: 10px;
48
- margin: 10px 0;
49
- border-color: $gray-300;
20
+ &-item {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: space-between;
24
+ padding: 5px 15px;
25
+ margin: 5px 0;
26
+ font-size: 1.4rem;
27
+ color: $gray-600;
28
+ cursor: pointer;
29
+ border: 1px solid $gray-200;
30
+ border-radius: $border-radius-lg;
31
+
32
+ @extend .transition-hover;
33
+
34
+ &:hover {
35
+ border-color: $secondary;
36
+
37
+ @extend .transition-hover-fast;
38
+ }
39
+
40
+ &:active,
41
+ &.active {
42
+ background-color: rgba($secondary, 0.1);
43
+ border-color: $secondary;
44
+ }
45
+
46
+ @include media-breakpoint-down(sm) {
47
+ flex-wrap: wrap;
48
+ padding: 10px;
49
+ margin: 10px 0;
50
+ border-color: $gray-300;
51
+ }
52
+
53
+ .table-list-item-preview {
54
+ width: 40px;
55
+ font-size: 1.6rem;
56
+ text-align: center;
57
+ vertical-align: middle;
58
+ @include media-breakpoint-down(sm) {
59
+ width: 30px;
60
+ }
61
+ }
62
+
63
+ .table-list-title {
64
+ margin: 0;
65
+ overflow: hidden;
66
+ font-size: 1.6rem;
67
+ font-weight: bold;
68
+ color: $gray-700;
69
+ text-overflow: ellipsis;
70
+ white-space: nowrap;
71
+ }
72
+
73
+ .table-list-image {
74
+ width: 30px;
75
+ height: 30px;
76
+ margin-right: 5px;
77
+ border-radius: $border-radius;
78
+ }
79
+
80
+ .table-list-status {
81
+ padding-right: 10px;
82
+ font-size: 1.6rem;
83
+ text-align: right;
84
+
85
+ > * {
86
+ margin: 0 5px;
87
+ }
88
+ }
89
+
90
+ .table-list-modifiedBy {
91
+ font-size: 1.2rem;
92
+ @include media-breakpoint-down(sm) {
93
+ display: none;
94
+ }
95
+ }
50
96
  }
51
97
 
52
- .table-list-item-preview {
53
- width: 40px;
54
- font-size: 1.6rem;
55
- text-align: center;
56
- vertical-align: middle;
57
- @include media-breakpoint-down(sm) {
58
- width: 30px;
59
- }
98
+ &-title {
99
+ width: calc(100% - 450px);
100
+ @include media-breakpoint-down(sm) {
101
+ width: calc(100% - 40px); // 100% - .list-item-preview
102
+ }
60
103
  }
61
104
 
62
- .table-list-title {
63
- margin: 0;
64
- overflow: hidden;
65
- font-size: 1.6rem;
66
- font-weight: bold;
67
- color: $gray-700;
68
- text-overflow: ellipsis;
69
- white-space: nowrap;
105
+ &-status {
106
+ width: 75px;
107
+ @include media-breakpoint-down(sm) {
108
+ display: none;
109
+ }
70
110
  }
71
111
 
72
- .table-list-image {
73
- width: 30px;
74
- height: 30px;
75
- margin-right: 5px;
76
- border-radius: $border-radius;
112
+ &-owner {
113
+ width: 200px;
114
+ @include media-breakpoint-down(sm) {
115
+ width: 55%;
116
+ .avatar {
117
+ display: none;
118
+ }
119
+ }
77
120
  }
78
121
 
79
- .table-list-status {
80
- padding-right: 10px;
81
- font-size: 1.6rem;
82
- text-align: right;
83
-
84
- > * {
85
- margin: 0 5px;
86
- }
87
- }
88
-
89
- .table-list-modifiedBy {
90
- font-size: 1.2rem;
91
- @include media-breakpoint-down(sm) {
92
- display: none;
93
- }
122
+ &-modification {
123
+ width: 175px;
124
+ @include media-breakpoint-down(sm) {
125
+ width: 45%;
126
+ text-align: right;
127
+ }
94
128
  }
95
- }
96
-
97
- &-title {
98
- width: calc(100% - 450px);
99
- @include media-breakpoint-down(sm) {
100
- width: calc(100% - 40px); // 100% - .list-item-preview
101
- }
102
- }
129
+ }
103
130
 
104
- &-status {
105
- width: 75px;
106
- @include media-breakpoint-down(sm) {
107
- display: none;
108
- }
109
- }
110
-
111
- &-owner {
112
- width: 200px;
113
- @include media-breakpoint-down(sm) {
114
- width: 55%;
115
- .avatar {
116
- display: none;
117
- }
118
- }
119
- }
131
+ @include media-breakpoint-down(sm) {
120
132
 
121
- &-modification {
122
- width: 175px;
123
- @include media-breakpoint-down(sm) {
124
- width: 45%;
125
- text-align: right;
133
+ .explorer-view.table-list {
134
+ padding: 5px;
135
+ border-right-color: transparent;
136
+ border-bottom-color: transparent;
137
+ border-left-color: transparent;
126
138
  }
127
- }
128
139
  }
129
140
 
130
- @include media-breakpoint-down(sm) {
131
- .explorer-view.table-list {
132
- padding: 5px;
133
- border-right-color: transparent;
134
- border-bottom-color: transparent;
135
- border-left-color: transparent;
136
- }
137
- }
@@ -16,4 +16,4 @@
16
16
  margin-left: auto;
17
17
  display: block;
18
18
  }
19
- }
19
+ }
@@ -1,48 +1,45 @@
1
1
  $toast-start-color: #f0f9fc;
2
2
  $toast-end-color: #dceff7;
3
3
  $btn-border-radius: 0;
4
- $toast-left-border-width: $spacer-8;
5
4
 
6
5
  .toast {
7
- --#{$prefix}toast-border-left-color: #{$gray-800};
6
+ &-container {
7
+ position: fixed;
8
+ right: 0;
9
+ bottom: 0;
10
+ z-index: 999;
11
+ padding: 10px;
12
+ font-size: 2em;
13
+ }
14
+
15
+ ode-infotip & {
16
+ background: linear-gradient(to right, $toast-start-color, $toast-end-color);
8
17
 
9
- --#{$prefix}toast-zindex: 1090;
10
- --#{$prefix}toast-padding-x: 1.2rem;
11
- --#{$prefix}toast-padding-y: 0.8rem;
12
- --#{$prefix}toast-spacing: 1.5rem;
13
- --#{$prefix}toast-max-width: 352px;
14
- --#{$prefix}toast-font-size: #{$small-font-size};
15
- --#{$prefix}toast-color: #{$gray-800};
16
- --#{$prefix}toast-bg: #{$white};
17
- --#{$prefix}toast-border-width: 1px;
18
- --#{$prefix}toast-border-color: var(#{$prefix}border-color-translucent);
19
- --#{$prefix}toast-border-radius: #{$spacer-8};
20
- --#{$prefix}toast-box-shadow: none;
18
+ &,
19
+ > *,
20
+ > * > * {
21
+ border: 0;
22
+ border-radius: 0;
23
+ }
21
24
 
22
- padding: var(--#{$prefix}toast-padding-y) var(--#{$prefix}toast-padding-x);
23
- display: flex;
24
- align-items: center;
25
- max-width: 402px;
26
- z-index: 20;
27
- background-color: white;
28
- background-color: var(--#{$prefix}toast-bg);
29
- border-color: var(--#{$prefix}toast-border-color);
30
- border-left: $toast-left-border-width solid
31
- var(--#{$prefix}toast-border-left-color);
25
+ .toast-header {
26
+ padding-bottom: 0;
27
+ margin-bottom: -1rem;
28
+ background-color: transparent;
29
+ }
30
+ .toast-body {
31
+ color: $deep-blue;
32
+ }
32
33
 
33
- &-body {
34
- padding: 0;
35
- line-height: 2.2rem;
36
- }
37
- @include media-breakpoint-up(xs) {
38
- --#{$prefix}toast-max-width: 100%;
39
- }
40
- }
34
+ .btn {
35
+ border-radius: $btn-border-radius;
41
36
 
42
- @each $state, $key in $support-colors {
43
- .toast-#{$state} {
44
- --#{$prefix}toast-color: #{map-get($key, "base")};
45
- --#{$prefix}toast-border-color: #{map-get($key, "pale")};
46
- --#{$prefix}toast-border-left-color: #{map-get($key, "base")};
47
- }
48
- }
37
+ &-light {
38
+ &:hover {
39
+ color: $primary;
40
+ }
41
+ }
42
+ }
43
+
44
+ }
45
+ }
@@ -0,0 +1,143 @@
1
+ /* VARIABLES */
2
+ $tree-structure-width: 250px;
3
+
4
+ /* COMPONENT */
5
+
6
+ /* aside */.tree-structure {
7
+ width: $tree-structure-width;
8
+ padding: 15px;
9
+ font-size: 1.4rem;
10
+ font-weight: bold;
11
+ color: $gray-600;
12
+ background-color: rgba($white, 0.7);
13
+ box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
14
+
15
+ &-title {
16
+ margin-bottom: 20px;
17
+ font-size: 2.4rem;
18
+ font-weight: bold;
19
+ color: $secondary;
20
+ }
21
+
22
+ &-tree {
23
+ max-height: calc(100vh - 220px);
24
+ padding-right: 5px;
25
+ padding-left: 0;
26
+ margin-left: 0;
27
+ overflow-y: auto;
28
+ scrollbar-width: thin;
29
+ scrollbar-color: $gray-500 $gray-200;
30
+
31
+ ul {
32
+ padding-left: 10px;
33
+ margin-left: 0;
34
+ }
35
+
36
+ li {
37
+ list-style-type: none;
38
+
39
+ input[type="checkbox"] {
40
+ position: absolute;
41
+ margin: 6px 10px;
42
+ cursor: pointer;
43
+ opacity: 0;
44
+ }
45
+
46
+ label {
47
+ display: block;
48
+
49
+ a::before {
50
+ margin-right: 5px;
51
+ font-family: "FontAwesome";
52
+ content: "\f105";
53
+ }
54
+ }
55
+
56
+ input ~ ul {
57
+ display: none;
58
+ }
59
+
60
+ input:checked {
61
+ & ~ ul {
62
+ display: block;
63
+ }
64
+
65
+ & ~ label a::before {
66
+ content: "\f107";
67
+ }
68
+ }
69
+
70
+ a {
71
+ display: block;
72
+ padding: 7px 15px;
73
+ margin: 5px 0;
74
+ line-height: 1.2;
75
+ color: $gray-600;
76
+ border-radius: $border-radius;
77
+
78
+ @extend .transition-hover-slow;
79
+
80
+ &:hover {
81
+ color: $secondary;
82
+ text-decoration: none;
83
+ background-color: rgba($secondary, 0.075);
84
+
85
+ @extend .transition-hover-fast;
86
+ }
87
+
88
+ &.active,
89
+ &:active {
90
+ color: $secondary;
91
+ background-color: rgba($secondary, 0.2);
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+
98
+ .tree-structure-left {
99
+ border-radius: $border-radius 0 0 $border-radius;
100
+ }
101
+
102
+ .tree-structure-right {
103
+ border-radius: 0 $border-radius $border-radius 0;
104
+ }
105
+
106
+ .tree-structure + .main-content {
107
+ width: calc(100% - #{$tree-structure-width});
108
+ border-radius: 0 $border-radius $border-radius 0;
109
+ box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
110
+ }
111
+
112
+ .tree-structure.offcanvas {
113
+ background-color: rgba($white, 0.95);
114
+
115
+ .tree-structure-tree {
116
+ max-height: calc(100vh - 130px);
117
+ }
118
+ }
119
+
120
+ @include media-breakpoint-down(lg) {
121
+ .tree-structure {
122
+ display: none;
123
+ width: 400px;
124
+ background-color: $white;
125
+ }
126
+
127
+ .tree-structure.tree-structure-mobile {
128
+ display: block;
129
+ }
130
+
131
+ .tree-structure + .main-content {
132
+ width: 100%;
133
+ border-radius: $border-radius;
134
+ }
135
+ }
136
+
137
+ // tree-structure in modal
138
+ .modal {
139
+ .tree-structure {
140
+ padding: 15px 0;
141
+ box-shadow: none;
142
+ }
143
+ }
@@ -1,49 +1,49 @@
1
1
  .widget-applications {
2
- //Widget Applications
3
-
4
- .icon-grid {
5
- display: flex;
6
- flex-wrap: wrap;
7
-
8
- &-item {
9
- position: relative;
10
- width: 25%;
11
- font-size: 3.2em;
12
-
13
- a {
14
- @include have-child-in-middle();
15
- @include background-color-to(white, 0.8s);
16
-
17
- position: relative;
18
- padding-top: 100%;
19
- margin: 1px;
20
- text-decoration: none;
21
- background: $gray-200;
22
-
23
- > i,
24
- > img {
25
- @include have-child-in-middle();
26
- @include square(100%);
27
-
28
- position: absolute;
29
- top: 50%;
30
- transform: translateY(-50%);
2
+ //Widget Applications
3
+
4
+ .icon-grid {
5
+ display: flex;
6
+ flex-wrap: wrap;
7
+
8
+ &-item {
9
+ position: relative;
10
+ width: 25%;
11
+ font-size: 3.2em;
12
+
13
+ a {
14
+ @include have-child-in-middle();
15
+ @include background-color-to(white, 0.8s);
16
+
17
+ position: relative;
18
+ padding-top: 100%;
19
+ margin: 1px;
20
+ text-decoration: none;
21
+ background: $gray-100;
22
+
23
+ > i,
24
+ > img {
25
+ @include have-child-in-middle();
26
+ @include square(100%);
27
+
28
+ position: absolute;
29
+ top: 50%;
30
+ transform: translateY(-50%);
31
+ }
32
+
33
+ > img {
34
+ width: 80%;
35
+ height: auto;
36
+ }
37
+ }
38
+
39
+ @include media-breakpoint-between(sm, md) {
40
+ width: calc(100 / 6 * 1%);
41
+ }
31
42
  }
32
-
33
- > img {
34
- width: 50%;
35
- height: auto;
36
- }
37
- }
38
-
39
- @include media-breakpoint-between(sm, md) {
40
- width: calc(100 / 6 * 1%);
41
- }
42
43
  }
43
- }
44
44
 
45
- > .widget-body {
46
- max-height: 300px;
47
- overflow: auto;
48
- }
45
+ > .widget-body {
46
+ max-height: 300px;
47
+ overflow: auto;
48
+ }
49
49
  }