| 1 |
/** |
| 2 |
* BetterDocs Unified Metabox Styles |
| 3 |
*/ |
| 4 |
|
| 5 |
// Import circular progress quality analysis styles |
| 6 |
@import 'quality-analysis-circular'; |
| 7 |
|
| 8 |
#betterdocs-unified-metabox { |
| 9 |
background-color: #FAFBFB; |
| 10 |
.postbox-header { |
| 11 |
background-color: #fff; |
| 12 |
padding: 12px 0; |
| 13 |
border-bottom: 1px solid #D0D5DD; |
| 14 |
h2 { |
| 15 |
font-weight: 600; |
| 16 |
font-size: 20px; |
| 17 |
line-height: 100%; |
| 18 |
color: #1D2939; |
| 19 |
} |
| 20 |
} |
| 21 |
.inside { |
| 22 |
margin-top: 24px; |
| 23 |
} |
| 24 |
} |
| 25 |
.betterdocs-unified-metabox { |
| 26 |
width: 100%; |
| 27 |
max-width: 850px; |
| 28 |
margin: 0 auto; |
| 29 |
.betterdocs-metabox-tabs { |
| 30 |
display: flex; |
| 31 |
border-bottom: 1px solid #E2E5E9; |
| 32 |
background-color: #fff; |
| 33 |
margin: 0; |
| 34 |
padding: 0 24px; |
| 35 |
gap: 24px; |
| 36 |
|
| 37 |
.betterdocs-metabox-tab { |
| 38 |
flex: 0 0 auto; |
| 39 |
padding: 16px 32px; |
| 40 |
background: transparent; |
| 41 |
border: none; |
| 42 |
border-bottom: 2px solid transparent; |
| 43 |
cursor: pointer; |
| 44 |
font-size: 14px; |
| 45 |
line-height: 1.5; |
| 46 |
font-weight: 500; |
| 47 |
color: #D0D5DD; |
| 48 |
transition: all 0.2s ease; |
| 49 |
display: flex; |
| 50 |
align-items: center; |
| 51 |
|
| 52 |
|
| 53 |
.tab-icon { |
| 54 |
display: inline-flex; |
| 55 |
align-items: center; |
| 56 |
justify-content: center; |
| 57 |
width: 16px; |
| 58 |
height: 16px; |
| 59 |
|
| 60 |
svg { |
| 61 |
width: 16px; |
| 62 |
height: 16px; |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
&:hover { |
| 67 |
color: #00B884; |
| 68 |
} |
| 69 |
|
| 70 |
&.active { |
| 71 |
border-bottom-color: #00B884; |
| 72 |
color: #00B884; |
| 73 |
border-radius: 0px; |
| 74 |
} |
| 75 |
|
| 76 |
&:focus { |
| 77 |
outline: none; |
| 78 |
box-shadow: none; |
| 79 |
} |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
.betterdocs-metabox-content { |
| 84 |
background: #fff; |
| 85 |
padding: 24px; |
| 86 |
|
| 87 |
.betterdocs-metabox-panel { |
| 88 |
display: none; |
| 89 |
|
| 90 |
&.active { |
| 91 |
display: block; |
| 92 |
} |
| 93 |
} |
| 94 |
} |
| 95 |
} |
| 96 |
|
| 97 |
// Article Quality Analysis Tab Styles - Now imported from _quality-analysis-circular.scss |
| 98 |
|
| 99 |
// Regenerate button |
| 100 |
.betterdocs-regenerate-btn { |
| 101 |
display: inline-flex; |
| 102 |
align-items: center; |
| 103 |
gap: 6px; |
| 104 |
padding: 8px 14px; |
| 105 |
background: #fff; |
| 106 |
border: 1px solid #2271b1; |
| 107 |
color: #2271b1; |
| 108 |
border-radius: 6px; |
| 109 |
font-size: 13px; |
| 110 |
font-weight: 500; |
| 111 |
cursor: pointer; |
| 112 |
transition: all 0.2s ease; |
| 113 |
line-height: 1; |
| 114 |
|
| 115 |
svg { |
| 116 |
width: 14px; |
| 117 |
height: 14px; |
| 118 |
} |
| 119 |
|
| 120 |
&:hover { |
| 121 |
background: #2271b1; |
| 122 |
color: #fff; |
| 123 |
border-color: #2271b1; |
| 124 |
|
| 125 |
svg { |
| 126 |
animation: rotate 0.6s ease-in-out; |
| 127 |
} |
| 128 |
} |
| 129 |
|
| 130 |
&:disabled { |
| 131 |
opacity: 0.5; |
| 132 |
cursor: not-allowed; |
| 133 |
} |
| 134 |
|
| 135 |
.dashicons { |
| 136 |
font-size: 16px; |
| 137 |
width: 16px; |
| 138 |
height: 16px; |
| 139 |
} |
| 140 |
} |
| 141 |
|
| 142 |
@keyframes rotate { |
| 143 |
from { |
| 144 |
transform: rotate(0deg); |
| 145 |
} |
| 146 |
to { |
| 147 |
transform: rotate(360deg); |
| 148 |
} |
| 149 |
} |
| 150 |
|
| 151 |
// Reading Time Tab Styles |
| 152 |
.betterdocs-reading-time-content { |
| 153 |
.est-reading-box-wrapper { |
| 154 |
p { |
| 155 |
margin-bottom: 15px; |
| 156 |
color: #50575e; |
| 157 |
font-size: 14px; |
| 158 |
line-height: 1.6; |
| 159 |
} |
| 160 |
|
| 161 |
.est-reading-box-outer-wrapper { |
| 162 |
background: #f9fafb; |
| 163 |
border-radius: 6px; |
| 164 |
display: flex; |
| 165 |
padding: 1em; |
| 166 |
margin-bottom: 10px; |
| 167 |
|
| 168 |
.ert-text-field-class { |
| 169 |
width: 100%; |
| 170 |
max-width: 400px; |
| 171 |
padding: 10px 14px; |
| 172 |
border: 1px solid #8c8f94; |
| 173 |
border-radius: 6px; |
| 174 |
font-size: 14px; |
| 175 |
background: #fff; |
| 176 |
transition: all 0.2s ease; |
| 177 |
|
| 178 |
&:focus { |
| 179 |
border-color: #2271b1; |
| 180 |
outline: none; |
| 181 |
box-shadow: 0 0 0 1px #2271b1; |
| 182 |
} |
| 183 |
|
| 184 |
&::placeholder { |
| 185 |
color: #9ca3af; |
| 186 |
} |
| 187 |
} |
| 188 |
} |
| 189 |
} |
| 190 |
} |
| 191 |
|
| 192 |
// Related Docs Tab Styles |
| 193 |
.betterdocs-related-docs-content { |
| 194 |
#betterdocs-related-articles-root { |
| 195 |
min-height: 200px; |
| 196 |
} |
| 197 |
} |
| 198 |
|
| 199 |
|