| 1 |
|
| 2 |
.widget-context { float:left; width:100%; clear:both; margin:0.5em 0; padding:0 0 0.5em 0; border-bottom:1px solid #dfdfdf; } |
| 3 |
.widget-context-inside { float:left; width:100%; clear:both; } |
| 4 |
.widget-context-inside p { margin:0 0 0.5em; } |
| 5 |
.widget-context textarea { display:block; width:100%; height:8em; font:inherit; } |
| 6 |
.widget-context .help { line-height:1.2; color:#666; } |
| 7 |
|
| 8 |
.widget-context .widget-context-header { float:left; width:100%; clear:both; } |
| 9 |
.widget-context .widget-context-header h3 { font-size:1.1em; margin:0 0.5em 0.5em 0; padding:0; } |
| 10 |
.widget-context .widget-context-header h3:before { font-family: 'dashicons'; content: "\f489"; vertical-align:bottom; margin-right:0.2em; } |
| 11 |
|
| 12 |
.widget-context .context-group { float:left; width:100%; clear:both; margin-bottom:0.5em; } |
| 13 |
.widget-context .context-toggle { margin:0 0 0.3em 0; display:block; text-decoration:none; color:inherit; font-weight:bold; } |
| 14 |
|
| 15 |
.widget-context .context-inactive { display:none; } |
| 16 |
|
| 17 |
.widget-context .context-global .context-group { display:none; } |
| 18 |
.widget-context .context-global .context-group-incexc { display:block; } |
| 19 |
|
| 20 |
/** Modules **/ |
| 21 |
|
| 22 |
.context-group-incexc select { width:100%; border-width:2px; } |
| 23 |
.context-group-incexc .context-toggle { display:none; } |
| 24 |
|
| 25 |
.context-group-location .context-group-wrap { max-height:10em; overflow:auto; padding:0.5em; margin-bottom:0.5em; background:#fff; border:1px solid #ddd; } |
| 26 |
.context-group-location label { display:block; padding:0.25em 0; } |
| 27 |
|
| 28 |
.context-group-custom_post_types_taxonomies .context-group-wrap { max-height:10em; overflow:auto; padding:0.5em; margin-bottom:0.5em; background:#fff; border:1px solid #ddd; } |
| 29 |
.context-group-custom_post_types_taxonomies label { display:block; padding:0.25em 0; } |
| 30 |
|
| 31 |
.context-group-wrap .wc-field-text-word-count input { width:3em; } |
| 32 |
|
| 33 |
.context-group-admin_notes textarea { height:4em; } |
| 34 |
|
| 35 |
/** Settings UI **/ |
| 36 |
|
| 37 |
.widget-context-form th { width:auto; } |
| 38 |
.widget-context-form ul { border-top:1px solid #ddd; margin:0 0 1em 0; padding:0; float:left; width:100%; clear:both; display:block; } |
| 39 |
.widget-context-form li { float:left; width:100%; clear:both; margin:0; padding:0.5em 0; border-bottom:1px solid #ddd; } |
| 40 |
.widget-context-form li label { vertical-align:middle; float:left; width:34%; margin:0 -100em 0 0; } |
| 41 |
.widget-context-form li label input { vertical-align:middle; } |
| 42 |
.widget-context-form .context-desc { font-style:italic; color:#666; margin:0 0 0 40%; } |
| 43 |
.widget-context-settings-wrap { padding-right:300px; } |
| 44 |
.widget-context-form { float:left; width:100%; margin-right:-100em; } |
| 45 |
.widget-context-sidebar { float:right; width:280px; position:relative; right:-300px; border:1px solid #ddd; } |
| 46 |
.widget-context-sidebar h2, .widget-context-sidebar h3 { margin-bottom:0.5em ; } |
| 47 |
.widget-context-sidebar p { margin:0 0 1em 0; } |
| 48 |
.wc-sidebar-in { padding:1em; } |
| 49 |
.wc-sidebar-credits { padding-bottom:0.5em; margin-bottom:1em; border-bottom:1px solid #ddd; } |
| 50 |
.wc-sidebar-credits img { float:left; margin:0 1em 1em 0; } |
| 51 |
|
| 52 |
/** Sets correct widget height when child element height changes **/ |
| 53 |
.widget-control-actions, |
| 54 |
.widget-content, |
| 55 |
#widgets-right .widget { clear:left; } |
| 56 |
|
| 57 |
@media screen and ( max-width: 900px ) { |
| 58 |
.widget-context-settings-wrap { padding-right:0; } |
| 59 |
.widget-context-form { margin:0; } |
| 60 |
.widget-context-sidebar { width:100%; right:0; } |
| 61 |
} |
| 62 |
|