@woosmap/ui 3.68.0 → 3.71.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "3.68.0",
3
+ "version": "3.71.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -73,7 +73,6 @@
73
73
  .section--color7 &
74
74
  .section--color8 &
75
75
  border-color $dark50
76
- box-shadow 0 1.5rem 3rem $dark60
77
76
  &:not(.wcard--featured)
78
77
  flex-direction column
79
78
  .category
@@ -85,7 +84,7 @@
85
84
  font-size $cardTitle
86
85
  line-height $cardTitleLineHeight
87
86
  font-weight 600
88
- margin-bottom 0
87
+ margin-bottom $cardPadding
89
88
  min-height 7.8rem
90
89
  overflow hidden
91
90
  text-overflow ellipsis
@@ -93,6 +92,7 @@
93
92
  -webkit-line-clamp 3
94
93
  -webkit-box-orient vertical
95
94
  text-shadow none
95
+ overflow hidden
96
96
  .image-title
97
97
  max-width 16rem
98
98
  margin auto
@@ -103,6 +103,7 @@
103
103
  -webkit-line-clamp 3
104
104
  -webkit-box-orient vertical
105
105
  text-shadow none
106
+ overflow hidden
106
107
  &__header
107
108
  trans()
108
109
  height $cardHeaderHeight
@@ -115,6 +116,11 @@
115
116
  padding $cardPadding
116
117
  &__boxlink
117
118
  width 100%
119
+ &__link
120
+ .btn
121
+ width 100%
122
+ &__label
123
+ ellipsis()
118
124
  &--featured
119
125
  flex-grow 1
120
126
  justify-content center
@@ -150,7 +156,7 @@
150
156
  padding 0
151
157
  &--testimonial
152
158
  width 46rem
153
- margin 2rem 2rem 4rem 2rem
159
+ margin 2rem 2rem 12rem 2rem
154
160
  cursor default
155
161
  .wcard
156
162
  &__header
@@ -245,26 +251,32 @@
245
251
  position relative
246
252
  background-color $light
247
253
  &--demo
248
- .title
249
- margin-bottom 1rem
250
- display flex
251
- align-items center
252
- color $light
253
- span
254
- display -webkit-box
255
- -webkit-line-clamp 2
256
- -webkit-box-orient vertical
257
- .wcard
258
- &__body
259
- .paragraph
260
- margin-bottom 2rem !important
254
+ &.wcard--small
255
+ width 22rem
256
+ .title
257
+ display flex
258
+ align-items center
259
+ padding 2rem
260
+ color $secondary
261
+ border-bottom .1rem solid $dark10
262
+ margin-bottom 0
263
+ height 11rem
264
+ span
265
+ display -webkit-box
266
+ -webkit-line-clamp 3
267
+ -webkit-box-orient vertical
261
268
  overflow hidden
262
- color $light
263
- &__link
264
- .btn
265
- color $logo1
266
- .icon
267
- fill $logo1 !important
269
+ .wcard
270
+ &__body
271
+ .paragraph
272
+ margin-bottom 2rem !important
273
+ overflow hidden
274
+ color $secondary
275
+ &__link
276
+ .btn
277
+ color $primary
278
+ .icon
279
+ fill $primary !important
268
280
 
269
281
  &--office
270
282
  margin 0 2rem 10rem 2rem
@@ -323,6 +335,12 @@
323
335
  color $linkColorHover !important
324
336
  .icon
325
337
  fill $linkColorHover !important
338
+
339
+
340
+ @media screen and (min-width 1260px)
341
+ .wcard-container
342
+ max-width 100%
343
+
326
344
  @media screen and (max-width 960px)
327
345
  .wcard--testimonial
328
346
  margin 0 0 6rem 0
@@ -344,10 +362,14 @@
344
362
  padding 2.3rem
345
363
  .wcard--testimonial
346
364
  width 100%
365
+
347
366
  @media screen and (max-width 580px)
348
367
  .wcard--small
349
368
  width auto
350
369
  max-width unset
351
370
  margin 0 0 5rem 0
371
+ .wcard--demo
372
+ &.wcard--small
373
+ width auto
352
374
  .wcard--office
353
375
  margin 0 0 5rem 0