| 1 |
/** |
| 2 |
* |
| 3 |
* Admin menus |
| 4 |
* |
| 5 |
*/ |
| 6 |
#wp-admin-bar-happyforms .ab-icon svg { |
| 7 |
width: 20px; |
| 8 |
margin-top: 2px; |
| 9 |
} |
| 10 |
|
| 11 |
#wp-admin-bar-happyforms:hover .ab-icon .cls-2 { |
| 12 |
fill: #00b9eb; |
| 13 |
} |
| 14 |
|
| 15 |
i.mce-i-happyforms-form-picker:before, i.mce-i-happyforms-form-picker:before { |
| 16 |
content: '\f130'; |
| 17 |
display: block; |
| 18 |
width: 20px; |
| 19 |
height: 20px; |
| 20 |
font: 400 20px/1 dashicons; |
| 21 |
background-size: cover; |
| 22 |
background-position: center; |
| 23 |
} |
| 24 |
|
| 25 |
th.column-shortcode { |
| 26 |
width: 185px; |
| 27 |
max-width: 185px; |
| 28 |
} |
| 29 |
|
| 30 |
@media screen and (min-width: 1024px) { |
| 31 |
th.column-shortcode { |
| 32 |
width: 340px; |
| 33 |
max-width: 340px; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
td.column-shortcode input { |
| 38 |
width: 135px; |
| 39 |
float: left; |
| 40 |
margin-right: 8px; |
| 41 |
margin-bottom: 8px; |
| 42 |
} |
| 43 |
|
| 44 |
.happyforms-clipboard { |
| 45 |
float: left; |
| 46 |
display: flex; |
| 47 |
align-items: center; |
| 48 |
min-width: 185px; |
| 49 |
} |
| 50 |
|
| 51 |
.happyforms-clipboard span { |
| 52 |
color: #008a20; |
| 53 |
margin-left: 8px; |
| 54 |
} |
| 55 |
|
| 56 |
.happyforms-clipboard span.hidden { |
| 57 |
display: none; |
| 58 |
} |
| 59 |
|
| 60 |
/** |
| 61 |
* |
| 62 |
* All forms screen |
| 63 |
* |
| 64 |
*/ |
| 65 |
.fixed .column-modified { |
| 66 |
width: 14%; |
| 67 |
} |
| 68 |
|
| 69 |
/** |
| 70 |
* |
| 71 |
* Message edit screen |
| 72 |
* |
| 73 |
*/ |
| 74 |
table.happyforms-message-data-table { |
| 75 |
margin-top: 0; |
| 76 |
box-shadow: 0 1px 1px rgba(0,0,0,0.04); |
| 77 |
background: #fff; |
| 78 |
border: 1px solid #ccd0d4; |
| 79 |
} |
| 80 |
|
| 81 |
.happyforms-message-data-table th { |
| 82 |
padding: 20px 15px; |
| 83 |
} |
| 84 |
|
| 85 |
#happyforms-message-details .inside { |
| 86 |
padding: 0; |
| 87 |
} |
| 88 |
|
| 89 |
#happyforms-message-details .inside .dashicons { |
| 90 |
color: #8c8f94; |
| 91 |
margin-right: 2px; |
| 92 |
} |
| 93 |
|
| 94 |
#happyforms-message-details .misc-pub-trash:before { |
| 95 |
font: normal 20px/1 dashicons; |
| 96 |
speak: none; |
| 97 |
display: inline-block; |
| 98 |
margin-left: -1px; |
| 99 |
padding-right: 3px; |
| 100 |
vertical-align: top; |
| 101 |
-webkit-font-smoothing: antialiased; |
| 102 |
-moz-osx-font-smoothing: grayscale; |
| 103 |
content: "\f182"; |
| 104 |
color: #8c8f94; |
| 105 |
} |
| 106 |
|
| 107 |
#happyforms-message-details .misc-pub-trash a { |
| 108 |
text-decoration: none; |
| 109 |
color: #d63638; |
| 110 |
} |
| 111 |
|
| 112 |
p.happyforms-message-nav { |
| 113 |
text-align: right; |
| 114 |
} |
| 115 |
|
| 116 |
p.happyforms-message-nav span.divider:first-child, |
| 117 |
p.happyforms-message-nav span.divider:last-child { |
| 118 |
display: none; |
| 119 |
} |
| 120 |
|
| 121 |
/** |
| 122 |
* |
| 123 |
* Automatic updates notice |
| 124 |
* |
| 125 |
*/ |
| 126 |
.notice form#automatic-updates { |
| 127 |
padding-bottom: 10px; |
| 128 |
} |
| 129 |
|
| 130 |
.notice-success #automatic-updates { |
| 131 |
display: none; |
| 132 |
} |
| 133 |
|
| 134 |
.notice form#automatic-updates input { |
| 135 |
display: inline-block; |
| 136 |
} |
| 137 |
|
| 138 |
.notice form#automatic-updates input[type="email"], |
| 139 |
.notice form#automatic-updates input[type="password"] { |
| 140 |
display: inline-block; |
| 141 |
padding: 5px 7px; |
| 142 |
margin: 0 1px; |
| 143 |
} |
| 144 |
|
| 145 |
#available-widgets div[id*='widget-tpl-happyforms_widget-'] .widget-title:before { |
| 146 |
content: '\f175'; |
| 147 |
} |
| 148 |
|
| 149 |
.happyforms-editor-button span.dashicons { |
| 150 |
position: relative; |
| 151 |
top: 4px; |
| 152 |
padding-right: 5px; |
| 153 |
} |
| 154 |
|
| 155 |
#happyforms-modal { |
| 156 |
display: none; |
| 157 |
border: 0; |
| 158 |
} |
| 159 |
|
| 160 |
.happyforms-dialog { |
| 161 |
top: calc(50% - 150px) !important; |
| 162 |
} |
| 163 |
|
| 164 |
.happyforms-dialog .ui-button-icon-primary.ui-icon-closethick { |
| 165 |
display: none; |
| 166 |
} |
| 167 |
|
| 168 |
.happyforms-dialog .ui-dialog-title { |
| 169 |
font-size: 14px; |
| 170 |
color: #000; |
| 171 |
} |
| 172 |
|
| 173 |
.happyforms-dialog__select { |
| 174 |
min-width: 290px; |
| 175 |
} |
| 176 |
|
| 177 |
.happyforms-dialog__button { |
| 178 |
float: right; |
| 179 |
margin-top: 18px !important; |
| 180 |
} |
| 181 |
|
| 182 |
.happyforms-dialog .ui-dialog-titlebar { |
| 183 |
border: 0; |
| 184 |
} |
| 185 |
|
| 186 |
.happyforms-dialog .ui-dialog-titlebar-close { |
| 187 |
width: 35px; |
| 188 |
height: 35px; |
| 189 |
overflow: hidden; |
| 190 |
} |
| 191 |
|
| 192 |
#happyforms-notice-happyforms_form_saved_guide { |
| 193 |
border-left-color: #00a32a; |
| 194 |
} |
| 195 |
|
| 196 |
.post-type-happyform input[type="number"] { |
| 197 |
width: 4em; |
| 198 |
} |
| 199 |
|
| 200 |
/** |
| 201 |
* |
| 202 |
* Gutenberg block |
| 203 |
* |
| 204 |
*/ |
| 205 |
.edit-post-visual-editor .happyforms-block-form-selector-wrap .components-select-control__input { |
| 206 |
padding: 0 10px; |
| 207 |
max-width: 100%; |
| 208 |
} |
| 209 |
|
| 210 |
.happyforms-block-placeholder__control-group { |
| 211 |
display: flex; |
| 212 |
width: 100%; |
| 213 |
align-items: stretch; |
| 214 |
} |
| 215 |
|
| 216 |
.happyforms-block-placeholder__control-group > *:first-child { |
| 217 |
flex: 1 0 auto; |
| 218 |
} |
| 219 |
|
| 220 |
.happyforms-block-placeholder__control-group button { |
| 221 |
margin-left: 8px; |
| 222 |
} |
| 223 |
|
| 224 |
.happyforms-block-placeholder__control-group select { |
| 225 |
height: 36px !important; |
| 226 |
} |
| 227 |
|
| 228 |
.happyforms-block-form-selector-wrap .components-placeholder__instructions { |
| 229 |
width: 100%; |
| 230 |
} |
| 231 |
|
| 232 |
.happyforms-block-form-selector-wrap .components-notice { |
| 233 |
margin: 0 0 1em 0; |
| 234 |
} |
| 235 |
|
| 236 |
.happyforms-buttongroup { |
| 237 |
display: flex; |
| 238 |
} |
| 239 |
|
| 240 |
.happyforms-buttongroup label, |
| 241 |
#happyforms-integrations-screen .widget-content .happyforms-buttongroup label { |
| 242 |
display: inline-flex; |
| 243 |
} |
| 244 |
|
| 245 |
.happyforms-buttongroup label span { |
| 246 |
box-shadow: inset 0 0 0 1px #8c8f94; |
| 247 |
padding: 0 8px; |
| 248 |
font-size: 14px; |
| 249 |
line-height: 30px; |
| 250 |
} |
| 251 |
|
| 252 |
.happyforms-buttongroup label:first-child span{ |
| 253 |
border-radius: 4px 0 0 4px; |
| 254 |
} |
| 255 |
|
| 256 |
.happyforms-buttongroup label:last-child span{ |
| 257 |
border-radius: 0 4px 4px 0; |
| 258 |
} |
| 259 |
|
| 260 |
.happyforms-buttongroup label:nth-child(n+1) { |
| 261 |
margin-left: -1px; |
| 262 |
} |
| 263 |
|
| 264 |
.happyforms-buttongroup label input[type='radio'] { |
| 265 |
appearance: none; |
| 266 |
-webkit-appearance: none; |
| 267 |
-moz-appearance: none; |
| 268 |
background-color: #fff; |
| 269 |
margin: 0; |
| 270 |
width: 0; |
| 271 |
min-width: 0px; |
| 272 |
height: 0; |
| 273 |
border: 0; |
| 274 |
} |
| 275 |
|
| 276 |
|
| 277 |
.happyforms-buttongroup label span:hover { |
| 278 |
color: var(--wp-admin-theme-color); |
| 279 |
} |
| 280 |
|
| 281 |
.happyforms-buttongroup input[type='radio']:checked + span { |
| 282 |
white-space: nowrap; |
| 283 |
background: var(--wp-admin-theme-color); |
| 284 |
color: #fff; |
| 285 |
text-decoration: none; |
| 286 |
text-shadow: none; |
| 287 |
outline: 1px solid transparent; |
| 288 |
} |
| 289 |
|
| 290 |
.happyforms-buttongroup input:focus + span { |
| 291 |
box-shadow: inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); |
| 292 |
outline: 3px solid transparent; |
| 293 |
z-index: 999; |
| 294 |
} |
| 295 |
|
| 296 |
|
| 297 |
.happyforms-buttongroup input[type='radio']:checked + span:hover, |
| 298 |
.happyforms-buttongroup input:focus + span:hover { |
| 299 |
background: var(--wp-admin-theme-color-darker-10); |
| 300 |
} |
| 301 |
|
| 302 |
#happyforms-export-form p { |
| 303 |
margin: 0 0 1em; |
| 304 |
} |