| 1 |
.sp-smart-post-layout-picker { |
| 2 |
p { |
| 3 |
font-size: 13px; |
| 4 |
line-height: 20px; |
| 5 |
font-weight: 400; |
| 6 |
} |
| 7 |
.sp-smart-post-layouts { |
| 8 |
display: grid; |
| 9 |
gap: 8px; |
| 10 |
text-align: center; |
| 11 |
max-width: 620px; |
| 12 |
// margin-top: 16px; |
| 13 |
&.grid-1 { |
| 14 |
grid-template-columns: 1; |
| 15 |
} |
| 16 |
&.grid-2 { |
| 17 |
grid-template-columns: repeat(2, 1fr); |
| 18 |
} |
| 19 |
&.grid-3 { |
| 20 |
grid-template-columns: repeat(3, 1fr); |
| 21 |
} |
| 22 |
&.grid-4 { |
| 23 |
grid-template-columns: repeat(4, 1fr); |
| 24 |
} |
| 25 |
.sp-smart-post-layout-card { |
| 26 |
cursor: pointer; |
| 27 |
position: relative; |
| 28 |
.sp-smart-layout-img { |
| 29 |
display: flex; |
| 30 |
position: relative; |
| 31 |
} |
| 32 |
.sp-smart-post-layout-title { |
| 33 |
font-size: 13px; |
| 34 |
color: #1e1e1e; |
| 35 |
font-weight: 400; |
| 36 |
line-height: 16px; |
| 37 |
text-align: center; |
| 38 |
margin-top: 4px; |
| 39 |
} |
| 40 |
&.active .active-symbol { |
| 41 |
position: absolute; |
| 42 |
right: 5px; |
| 43 |
top: 2px; |
| 44 |
z-index: 9; |
| 45 |
} |
| 46 |
&.active svg path, |
| 47 |
&.active svg rect:not(.sp-card) { |
| 48 |
stroke-width: 1.6; |
| 49 |
} |
| 50 |
} |
| 51 |
} |
| 52 |
} |
| 53 |
|
| 54 |
.sp-smart-post-panel-pb { |
| 55 |
padding-bottom: 16px; |
| 56 |
} |
| 57 |
|
| 58 |
.sp-smart-post-layout-card.sp-smart-pro-layout { |
| 59 |
transition: all .3s ease-in-out; |
| 60 |
cursor: default !important; |
| 61 |
|
| 62 |
.sp-smart-layout-img > svg { |
| 63 |
opacity: .6; |
| 64 |
transition: all .3s ease-in-out; |
| 65 |
} |
| 66 |
|
| 67 |
&:hover .sp-smart-layout-img > svg { |
| 68 |
opacity: .4; |
| 69 |
} |
| 70 |
|
| 71 |
&:hover .sp-smart-pro-btn-wrapper { |
| 72 |
opacity: 1; |
| 73 |
visibility: visible; |
| 74 |
top: 50%; |
| 75 |
} |
| 76 |
} |
| 77 |
|