| 1 |
// .advertisement-general-tab { |
| 2 |
// margin: 20px 0; |
| 3 |
// padding: 20px; |
| 4 |
// border: 1px solid #e0e0e0; |
| 5 |
// border-radius: 6px; |
| 6 |
// background-color: #fff; |
| 7 |
// } |
| 8 |
|
| 9 |
.sp-smart-post-ad-content-item { |
| 10 |
border: 1px solid #cccccc; |
| 11 |
border-radius: 2px; |
| 12 |
transition: max-height 0.4s ease-out, padding 0.4s ease-out; |
| 13 |
padding-right: 4px; |
| 14 |
margin-bottom: 12px; |
| 15 |
} |
| 16 |
|
| 17 |
.sp-smart-post-ad-content-header { |
| 18 |
display: flex; |
| 19 |
justify-content: space-between; |
| 20 |
background-color: #f0f0f0; |
| 21 |
width: 246px; |
| 22 |
height: 28px; |
| 23 |
align-items: center; |
| 24 |
padding: 4px 8px 4px 10px; |
| 25 |
} |
| 26 |
|
| 27 |
.sp-smart-post-ad-content-header h4 { |
| 28 |
margin: 0; |
| 29 |
font-size: 16px; |
| 30 |
color: #333; |
| 31 |
} |
| 32 |
|
| 33 |
// .ad-title { |
| 34 |
// display: flex; |
| 35 |
// justify-content: space-between; |
| 36 |
// align-items: center; |
| 37 |
// width: 100%; |
| 38 |
// } |
| 39 |
|
| 40 |
.sp-smart-post-dropdown-arrow { |
| 41 |
cursor: pointer; |
| 42 |
} |
| 43 |
|
| 44 |
.sp-smart-post-remove-ad-button { |
| 45 |
cursor: pointer; |
| 46 |
} |
| 47 |
|
| 48 |
// .sp-smart-post-CodeMirror { |
| 49 |
// width: 100%; |
| 50 |
// height: 150px; |
| 51 |
// border: 1px solid #e0e0e0; |
| 52 |
// border-radius: 6px; |
| 53 |
// padding: 10px; |
| 54 |
// font-family: monospace; |
| 55 |
// } |
| 56 |
|
| 57 |
.sp-smart-post-add-ad-button { |
| 58 |
display: block; |
| 59 |
margin-top: 12px; |
| 60 |
background-color: var(--sp-smart-primary-2-600); |
| 61 |
color: #fff; |
| 62 |
padding: 8px 12px 8px 12px; |
| 63 |
width: 97px; |
| 64 |
height: 32px; |
| 65 |
border-radius: 2px; |
| 66 |
cursor: pointer; |
| 67 |
font-size: 11px; |
| 68 |
font-weight: 400; |
| 69 |
line-height: 16px; |
| 70 |
text-align: left; |
| 71 |
} |
| 72 |
|
| 73 |
.sp-smart-post-add-ad-button:hover { |
| 74 |
color: #fff !important; |
| 75 |
} |
| 76 |
|
| 77 |
.sp-smart-post-ad-title-icon { |
| 78 |
display: flex; |
| 79 |
align-items: center; |
| 80 |
gap: 8px; |
| 81 |
height: 16px; |
| 82 |
width: 34px; |
| 83 |
} |
| 84 |
|
| 85 |
.sp-smart-post-ad-gap { |
| 86 |
width: 246px; |
| 87 |
height: 16px; |
| 88 |
background-color: #fff; |
| 89 |
} |
| 90 |
|
| 91 |
.sp-smart-post-ad-gap { |
| 92 |
width: 246px; |
| 93 |
height: 12px; |
| 94 |
background-color: #fff; |
| 95 |
} |
| 96 |
|
| 97 |
.sp-smart-post-code-mirror-container { |
| 98 |
height: 200px; |
| 99 |
.CodeMirror { |
| 100 |
width: 100%; |
| 101 |
height: 102px; |
| 102 |
border: 1px solid #e0e0e0; |
| 103 |
border-radius: 0px !important; |
| 104 |
gap: 8px; |
| 105 |
margin: 0px 2px 2px 2px; |
| 106 |
font-family: monospace; |
| 107 |
} |
| 108 |
} |
| 109 |
|
| 110 |
/* editor.scss */ |
| 111 |
|
| 112 |
.sp-smart-post-dropdown-arrow { |
| 113 |
display: inline-flex; |
| 114 |
align-items: center; |
| 115 |
cursor: pointer; |
| 116 |
transition: color 0.3s ease; |
| 117 |
} |
| 118 |
|
| 119 |
.sp-smart-post-dropdown-arrow:hover { |
| 120 |
color: #FF0000; |
| 121 |
/* Hover color */ |
| 122 |
} |
| 123 |
|
| 124 |
.sp-smart-post-ad-content-item.expanded { |
| 125 |
transition: height 2s ease-in-out; |
| 126 |
|
| 127 |
} |